On 4/1/15 7:50 PM, Andrew Galdes wrote:
Hello all,

I have an Asterisk server (Asterisk 10.12.4) with multiple sip accounts with the same service provides. We have 8 phone numbers in total.

Incoming calls from the public are all correctly directed to appropriate office handsets. However, the display on the reception phone (the only one i care about) is always showing the same "SIP/Account1_0843214321" rather than the account representing the number dialed.

For-instance, if Sam on her mobile calls "*0811111111*", Asterisk will show a log entry like the following:

-- Executing [s@incoming:1] Set("SIP/*Account1_0822222222*", "thedid=""NodePhone"<sip:*0811111111*@sip.internode.on.net <http://sip.internode.on.net>>"") in new stack

But "Account1_*0822222222*" (as the name suggests) has a phone number of "*0822222222*" and not "*0811111111*".

It looks like all incoming calls are all being matched against the same entry in sip.conf. A 'set set debug on' should clearly indicate this. Look for the line that says : Found peer '<insert peer name here' for '0811111111'
So Sam's call will come through and be routed to the correct handset as the business needs, but it seems that all incoming calls are being labeled as though coming in on a different account. The effective problem is that the calledID is now wrong.

I'm after some general advice on how to handle the problem.

Ta,


-Andrew




--
Technical Support
http://www.cellroute.net

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to