This is one of the chronic problems. Try this option in sip.conf:
match_auth_username=yes

Carefully read the description, it is better to test in "after hours".

02.04.2015 2:50, Andrew Galdes пишет:
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*".

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



-- 
_____________________________________________________________________
-- 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