<div dir="ltr"><div><div><div>Can you show us the CDR record for that call?<br><br></div>And maybe what your s priority of your incoming context is?<br><br></div>It should be easy to get what number was dialed, Try:<br><br>${CUT(PASSTHRU(${SIP_HEADER(TO):5}),@,1)}<br><br></div>Normally I display the callers number on my phones, Not the number they dialed?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 1, 2015 at 4:50 PM, Andrew Galdes <span dir="ltr"><<a href="mailto:andrew.galdes@agix.com.au" target="_blank">andrew.galdes@agix.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>







</p><p><span>-- Executing [s@incoming:1] </span><span>Set</span><span>("</span><span>SIP/<b>Account1_0822222222</b></span><span>", "</span><span>thedid=""NodePhone"<sip:<b>0811111111</b>@<a href="http://sip.internode.on.net" target="_blank">sip.internode.on.net</a>>"</span><span>") 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>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><div dir="ltr"><div><div dir="ltr">-Andrew</div></div></div></div></div>
</div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.<br>---Heinlein</div>
</div>