That stinks... We are migrating to SIP from IAX2 at the moment and running into the same exact problem. No way to control the destination context unless you use the "fromuser". Of course that is rendering Caller ID useless as you pointed out.<br>
<br>I am still researching this though, if I find anything I will post it here...<br><br><br><div class="gmail_quote">On Fri, Mar 6, 2009 at 2:13 PM, Adam Robins <span dir="ltr"><<a href="mailto:arobins@pharmacentra.com">arobins@pharmacentra.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">no</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>]
<b>On Behalf Of </b>tracinet<br>
<b>Sent:</b> Friday, March 06, 2009 2:08 PM<br>
<b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br>
<b>Subject:</b> Re: [asterisk-users] [Asterisk-Users] Inter-Asterisk Using SIP</span></p>
</div><div><div></div><div class="h5">
<p> </p>
<p style="margin-bottom: 12pt;"> </p>
<div>
<p>On Wed, Mar 29, 2006 at 2:12 PM, Adam Robins <<a href="mailto:arobins@pharmacentra.com" target="_blank">arobins@pharmacentra.com</a>> wrote:</p>
<p><br>
I am switching from IAX2 to SIP for my inter-Asterisk transport due to<br>
assorted quality issues following the 1.2.4 upgrade.<br>
<br>
On the server that SENDS the call, I have the following in SIP.CONF:<br>
<br>
[192.168.1.2_OB]<br>
type=peer<br>
fromuser=OB<br>
host=192.168.1.2<br>
<br>
And in EXTENSIONS.CONF<br>
<br>
exten => 91NXXNXXXXXX,1,Dial(SIP/${EXTEN}@192.168.1.2_OB)<br>
<br>
<br>
On the RECEIVING Server in SIP.CONF:<br>
<br>
[OB]<br>
type=user<br>
context=longdistance<br>
<br>
<br>
I am not using a REGISTER statement on the receiving server.<br>
<br>
My problem is that the only way I can seem to get the call delivered<br>
into the proper SIP context on the receiving box is to use the<br>
"fromuser=OB" on the sending machine. I tried using
"username=OB", but<br>
then it delivers into the default context. I don't want to use<br>
"fromuser" because it overrides the callerid.<br>
<br>
Any suggestions?<br>
<br>
Thanks,<br>
Adam<br>
<br>
The contents of this email message and any attachments are confidential and are
intended solely for addressee. The information may also be legally privileged.
This transmission is sent in trust, for the sole purpose of delivery to the
intended recipient. If you have received this transmission in error, any use,
reproduction or dissemination of this transmission is strictly prohibited. If
you are not the intended recipient, please immediately notify the sender by
reply email and delete this message and its attachments, if any.<br>
<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation provided by Easynews.com --<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></p>
</div>
<p><br>
<br>
Did you ever get a resolution on this?</p>
</div></div></div>
</div>
<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</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>