Sip trunk?<br><br><div class="gmail_quote">2012/10/10 Deepesh D <span dir="ltr">&lt;<a href="mailto:deep.d2010@gmail.com" target="_blank">deep.d2010@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
How do I use the asterisk application &#39;Transfer&#39; to transfer a SIP<br>
call from one asterisk to another?<br>
<br>
I have the following scenario. I have two asterisk servers S1 and S2.<br>
There is a third asterisk server C1 which registers as a peer to S1.<br>
>From C1, I dial into S1 using &#39;Dial&#39; command. What I want to do is,<br>
use the Transfer command in S1 and transfer the call to S2.<br>
<br>
Dialplan on S1<br>
[test_context]<br>
exten =&gt; _X.,1,Transfer(SIP/${EXTEN}@IP_of_S2)<br>
exten =&gt; _X.,n,NoOp(${TRANSFERSTATUS})<br>
exten =&gt; _X.,n,Hangup<br>
<br>
Dialplan on S2<br>
[default]<br>
exten =&gt; _X.,1,Playback(somemsg)<br>
exten =&gt; _X.,n,Hangup<br>
<br>
[test_context]<br>
exten =&gt; _X.,1,Answer<br>
exten =&gt; _X.,n,Playback(msg)<br>
exten =&gt; _X.,n,Hangup<br>
<br>
The context for the SIP peer C1 is defined as &#39;test_context&#39; in S1 and S2.<br>
<br>
In C1, I have set &#39;promiscredir = yes&#39; in sip.conf.<br>
<br>
When I dial from C1, the call is successfully transferred to S1 (I get<br>
TRANSFERSTATUS as SUCCESS and I can see C1 trying to send the call to<br>
S2). But the call does not get authenticated on S2 and goes into<br>
default context instead of &#39;test_context&#39;. How can I transfer the call<br>
such that S2 authenticates the call and sends it to the required<br>
context?<br>
<br>
Thanks<br>
<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"><div><br></div>-- <br>Saludos<br><br>     Gustavo Ch. Apaza<br>   Core Consulting Group <br>       CEL.  993783686<br>