Skip to main content

Incoming calls from different clients through the same VoIP Provider

Posted by mvarela on Wed, 09/01/2010

Hi,

i have a question related to the incoming calls from different clients through the same VoIP Provider.

I'm receiving calls from different clients but all these calls come from the same VoIP provider, so the come from the same IP. Even if I configure several trunks, each one for one client, all the calls match through the last trunk, and one client receives the calls of all the clients.

Any idea would be apreciated.

Regards,


Submitted by eeman on Wed, 09/01/2010 Permalink

this is why you CANNOT try to set up multiple trunks to 1 IP. Lets think about this logically. You set up a trunk to a provider and told asterisk to match based on its IP. How the hell do you expect a program to have 15 different trunks, all based on the exact same IP, to somehow know which device this inbound call matches?

You need to setup a single trunk for your inbound calls that deliver to the general from-outside context and use a different criteria for your billing software to rate your calls.

Submitted by mvarela on Thu, 09/02/2010 Permalink

HI,

I perfectly understand the problem. And it's not a billing problem.

The question is that it's very common to receive calls for different clients from the same voip provider, and with thirdlane, all the calls are being received only by one tenant, even they are for different tenants, because thidlane matches only through the trunk the call is coming from, not by other ways, like DDI, for example.

What options do you give me?

Submitted by eeman on Thu, 09/02/2010 Permalink

you're assuming incorrectly. If you do a sip show peers I bet you see a lot of different phones on matching IP, yet asterisk can tell them apart with proxy authentication. However, when you tell asterisk that the *IP* is the element by which to match, then you will have this problem every time. This may be because the provider equipment does not use any other mechanism for sending calls to you.

why don't you post the sip.conf entries for 3 or 4 of your tenants so I can nit-pick some settings and see if there is any middle ground. You might have to compromise and have a single universal trunk for incoming and separate trunks for sending calls.