<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 4/1/15 7:50 PM, Andrew Galdes wrote:<br>
</div>
<blockquote
cite="mid:CALm+qqBxG+SL9BHQorfN9CrCV7bd1SqHPCFO1OT97WtuHFOXkg@mail.gmail.com"
type="cite">
<div dir="ltr">Hello all,
<div><br>
</div>
<div>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. </div>
<div><br>
</div>
<div>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. </div>
<div><br>
</div>
<div>For-instance, if Sam on her mobile calls "<b>0811111111</b>",
Asterisk will show a log entry like the following:</div>
<div>
<p class="">
</p>
<p class=""><span class="">-- Executing [s@incoming:1] </span><span
class="">Set</span><span class="">("</span><span class="">SIP/<b>Account1_0822222222</b></span><span
class="">", "</span><span class="">thedid=""NodePhone"<sip:<b>0811111111</b>@<a
moz-do-not-send="true"
href="http://sip.internode.on.net">sip.internode.on.net</a>>"</span><span
class="">") in new stack</span></p>
</div>
<div>But "Account1_<b>0822222222</b>" (as the name suggests) has
a phone number of "<b>0822222222</b>" and not "<b>0811111111</b>". </div>
<div><br>
</div>
</div>
</blockquote>
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'<br>
<blockquote
cite="mid:CALm+qqBxG+SL9BHQorfN9CrCV7bd1SqHPCFO1OT97WtuHFOXkg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>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. </div>
<div><br>
</div>
<div>
<div>I'm after some general advice on how to handle the
problem. </div>
</div>
<div><br>
Ta,</div>
<div><br>
</div>
<div><br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">-Andrew</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Technical Support
<a class="moz-txt-link-freetext" href="http://www.cellroute.net">http://www.cellroute.net</a></pre>
</body>
</html>