<div dir="ltr">thats what i am passing<br><br>exten=&gt; 456,1,Dial(SIP/<a href="http://adf:123@tulip.axvoice.com:9060/" target="_blank">adf:123@tulip.axvoice.com:9060</a><br><br>adf is username and 123 is the password<br>
<br><br><br><div class="gmail_quote">On Wed, Sep 17, 2008 at 6:01 PM, Alex Balashov <span dir="ltr">&lt;<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>&gt;</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;">
<br>
If there is a secret= on the receiving peer, the sending peer needs to<br>
provide that secret. &nbsp;Along with a username.<br>
<div class="Ih2E3d"><br>
Rizwan Hisham wrote:<br>
<br>
&gt; Hi all,<br>
&gt; I am having a problem with sip uri incoming calls. I have 2 asterisk<br>
</div>&gt; servers both are <a href="http://1.4.2." target="_blank">1.4.2.</a> &lt;<a href="http://1.4.2" target="_blank">http://1.4.2</a>.&gt; i dial sip uri from one asterisk<br>
<div class="Ih2E3d">&gt; server which sends the call to the other asterisk server by seeing its<br>
&gt; domain name in the uri. Invite reaches the recieving asterist server but<br>
&gt; the call is not autenticated. Everytime i see the following NOTICE on<br>
&gt; the asterisk server (caller end)<br>
&gt;<br>
&gt; [Sep 17 15:38:24] NOTICE[4594]: chan_sip.c:11968 handle_response_invite:<br>
&gt; Failed to authenticate on INVITE to &#39;&quot;rizwan&quot; &lt;<a href="http://sip:abc@192.168.0.7:9860" target="_blank">sip:abc@192.168.0.7:9860</a><br>
</div>&gt; &lt;<a href="http://sip:abc@192.168.0.7:9860" target="_blank">http://sip:abc@192.168.0.7:9860</a>&gt;&gt;;tag=as089d4adb&#39;<br>
<div class="Ih2E3d">&gt;<br>
&gt; My dialplan on caller end is:<br>
&gt;<br>
&gt; [directcall]<br>
&gt; exten=&gt; 123,1,Dial(SIP/<a href="http://abc:0786@tulip.axvoice.com:9060" target="_blank">abc:0786@tulip.axvoice.com:9060</a><br>
</div>&gt; &lt;<a href="http://abc:0786@tulip.axvoice.com:9060" target="_blank">http://abc:0786@tulip.axvoice.com:9060</a>&gt;)<br>
<div class="Ih2E3d">&gt; exten=&gt; 123,2,Hangup()<br>
&gt;<br>
&gt; exten=&gt; 456,1,Dial(SIP/<a href="http://adf:123@tulip.axvoice.com:9060" target="_blank">adf:123@tulip.axvoice.com:9060</a><br>
</div>&gt; &lt;<a href="http://adf:123@tulip.axvoice.com:9060" target="_blank">http://adf:123@tulip.axvoice.com:9060</a>&gt;)<br>
<div class="Ih2E3d">&gt; exten=&gt; 456,2,Hangup()<br>
&gt;<br>
&gt; SIP general settings on receiving end are:<br>
&gt;<br>
&gt; [general]<br>
&gt; context=uricall-incoming<br>
&gt; allowoverlap=no<br>
&gt; bindport=9060<br>
</div>&gt; bindaddr=<a href="http://0.0.0.0" target="_blank">0.0.0.0</a> &lt;<a href="http://0.0.0.0" target="_blank">http://0.0.0.0</a>&gt;<br>
<div><div></div><div class="Wj3C7c">&gt; srvlookup=yes<br>
&gt; disallow=all<br>
&gt; allow=ulaw<br>
&gt; allow=alaw<br>
&gt; allow=g729<br>
&gt; allow=gsm<br>
&gt; relaxdtmf=yes<br>
&gt; useragent=Asterisk PBX<br>
&gt; dtmfmode = rfc2833<br>
&gt; nat=no<br>
&gt; canreinvite=yes<br>
&gt;<br>
&gt; peer settings on receiving end:<br>
&gt;<br>
&gt; [adf]<br>
&gt; username=adf<br>
&gt; type=friend<br>
&gt; secret=XXX<br>
&gt; qualify=25000<br>
&gt; nat=yes<br>
&gt; insecure=port,invite<br>
&gt; host=dynamic<br>
&gt; dtmfmode=rfc2833<br>
&gt; context=sipuri-incoming<br>
&gt; canreinvite=yes<br>
&gt; callerid=&quot;adf xyz&quot; &lt;123&gt;<br>
&gt; accountcode=6:0:adf<br>
&gt; amaflags=default<br>
&gt; disallow=all<br>
&gt; allow=g729<br>
&gt; allow=ulaw<br>
&gt; allow=alaw<br>
&gt; allow=gsm<br>
&gt;<br>
&gt; am i doing something wrong here?<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Best Regards<br>
&gt; Rizwan Hisham<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
&gt;<br>
&gt; AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
&gt; Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
&gt;<br>
&gt; asterisk-users mailing list<br>
&gt; To UNSUBSCRIBE or update options visit:<br>
&gt; &nbsp; &nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
<br>
--<br>
Alex Balashov<br>
Evariste Systems<br>
Web &nbsp; &nbsp;: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
Tel &nbsp; &nbsp;: (+1) (678) 954-0670<br>
Direct : (+1) (678) 954-0671<br>
Mobile : (+1) (706) 338-8599<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
 &nbsp; <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>Best Regards<br>Rizwan Hisham<br><br>
</div>