No subject


Fri Sep 2 03:59:05 CDT 2011


<br>
use the Transfer command in S1 and transfer the call to S2.<br>
<br>
Dialplan on S1<br>
[test_context]<br>
exten =3D&gt; _X.,1,Transfer(SIP/${EXTEN}@IP_of_S2)<br>
exten =3D&gt; _X.,n,NoOp(${TRANSFERSTATUS})<br>
exten =3D&gt; _X.,n,Hangup<br>
<br>
Dialplan on S2<br>
[default]<br>
exten =3D&gt; _X.,1,Playback(somemsg)<br>
exten =3D&gt; _X.,n,Hangup<br>
<br>
[test_context]<br>
exten =3D&gt; _X.,1,Answer<br>
exten =3D&gt; _X.,n,Playback(msg)<br>
exten =3D&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 =3D 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 c=
all<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=3D"http://www.api-digital.c=
om" target=3D"_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<a href=3D"http://www.asterisk.org/hello" ta=
rget=3D"_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
=A0 =A0<a href=3D"http://lists.digium.com/mailman/listinfo/asterisk-users" =
target=3D"_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</=
a><br>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>Saludos<br><=
br>=A0 =A0=A0 Gustavo Ch. Apaza<br>=A0=A0 Core Consulting Group <br>=A0 =A0=
 =A0=A0 CEL.=A0 993783686<br>

--047d7b3395a73b1e7004cbb63078--



More information about the asterisk-users mailing list