[asterisk-users] Asterisk Inbound calls, multiple SIP accounts, calledID
andres at telesip.net
Wed Apr 1 20:00:21 CDT 2015
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
> 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 at incoming:1] Set("SIP/*Account1_0822222222*",
> <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
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users