<div dir="ltr"><div>Hello,</div><div><br></div><div>I'm trying to find more information about this Remote Attended Transfers, as is explained in </div><div><a href="https://wiki.asterisk.org/wiki/display/AST/res_pjsip+Remote+Attended+Transfers">https://wiki.asterisk.org/wiki/display/AST/res_pjsip+Remote+Attended+Transfers</a><br></div><div>for Asterisk 12 using pjsip stack</div><div><br></div><div>Was Remote Attended Transfer implemented in previous versions of Asterisk (versions without PJSIP, Asterisk 11 and previous)?</div><div><br></div><div>Where can I find configuration examples to do it work with the last version of Asterisk (Asterisk 13)?</div><div><br></div><div>I have try the following configuration without success:</div><div>2 phones and Asterisk 13 are registered in an OpenSIPS</div><div>Phone1 calls Phone2</div><div>Phone1 calls Asterisk 13</div><div>Phone1 transfers call in Asterisk 13 to Phone 2</div><div>But the transfer fails with an "NOTIFY 400 Bad Request". In Asterisk log I don't see any reference to "external_replaces" extension when the REFER arrives</div><div><br></div><div>pjsip.conf</div><div><br></div><div>[simpletrans]</div><div>type=transport</div><div>protocol=udp</div><div>bind=0.0.0.0</div><div> </div><div>[mytrunk]</div><div>type=registration</div><div>transport=simpletrans</div><div>outbound_auth=mytrunk</div><div>server_uri=<a href="http://sip:111@89.1.23.217:5060">sip:111@89.1.23.217:5060</a></div><div>client_uri=<a href="http://sip:111@89.1.23.217:5060">sip:111@89.1.23.217:5060</a></div><div> </div><div>[mytrunk]</div><div>type=auth</div><div>auth_type=userpass</div><div>password=111</div><div>username=111</div><div> </div><div>[mytrunk]</div><div>type=aor</div><div>contact=sip:<a href="http://89.1.23.217:5060">89.1.23.217:5060</a></div><div> </div><div>[mytrunk]</div><div>type=endpoint</div><div>transport=simpletrans</div><div>context=bucle-weasels</div><div>disallow=all</div><div>allow=ulaw</div><div>outbound_auth=mytrunk</div><div>aors=mytrunk</div><div> </div><div>[mytrunk]</div><div>type=identify</div><div>endpoint=mytrunk</div><div>match=89.1.23.217</div><div><br></div><div>extensions.conf</div><div><br></div><div>[transferencia]</div><div>exten => external_replaces,1,NoOp()</div><div> same => n,Dial(PJSIP/${<a href="mailto:SIPREFERTOHDR%7D@89.1.23.217">SIPREFERTOHDR}@89.1.23.217</a>)</div><div><br></div><div>[bucle-weasels]</div><div>exten => _.,1,Answer</div><div>exten => _.,n,Wait(1)</div><div>exten => _.,n,Set(TRANSFER_CONTEXT=transferencia)</div><div>exten => _.,n,Playback(tt-weasels)</div><div>exten => _.,n,Goto(2)</div><div>exten => _.,n,Hangup</div><div><br></div><div>Thank you in advance for your help</div><div><br></div><div>David Pinedo</div><div><br></div><div class="gmail_signature"><div dir="ltr"><br></div></div>
</div>