<div dir="ltr">Hi!<div><br></div><div>This is incorrect task. At the point of view of FreeSWITCH (and a client B SIP UA too), this is simple new parallel call when you start consultation. Transfer procedure will be started by FreeSWITCH only when B client`s SIP UA send an REFER request. Befor this timepoint none (except operator B, not operator`s B SIP UA) know that calls A to B and B to C have somthing common. You can see at SIP transaction diagram to understood this: <a href="https://www.tech-invite.com/fo-sip/tinv-fo-sip-service-05.html">https://www.tech-invite.com/fo-sip/tinv-fo-sip-service-05.html</a></div><div><br></div><div>If your business logic assumes that operator B always make only consultations and can`t make a new not connected with incoming call, you must sent to FreeSWITCH some custom signal and interpret it manually on the FreeSWITCH side.</div><div><br></div><div>As an example: operators SIP UA can have a 'Consultation' button. Your SIP UA must inser an extended header (something like X-Consultated-Call-Id) with an CallId of a call, which need to be consulted and will be transferred, into B to C call INVITE when operator B press 'Consultation' button. On the FreeSWITCH side you need to look on variable sip_h_X-Consultated-Call-Id (or, maybe sip_h_x_consultated_call_id, need to chek on a live FS, dont remember now, sorry), and make something like </div><div><font face="monospace"><action application="bridge" data="[effective_caller_id_number=${uuid_getvar ${</font>sip_h_X-Consultated-Call-Id<span style="font-family:monospace">} caller_id_number}]sofia/internal/<operator_c_number>@<operato_c_ip>"/></span></div><div><span style="font-family:monospace"><br></span></div><div><font face="arial, sans-serif">But this way for you only when you can make a changes in your operator B`s SIP UA</font></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пт, 6 сент. 2019 г. в 20:37, Gaurang Gohil <<a href="mailto:gaurang.gohil@ecosmob.com">gaurang.gohil@ecosmob.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">how can i achieve the below scenario using freeswitch<br>when extension A calls extension B and extension B forward the call to external number, caller ID that is presented to the external number should be extension A.<br>A(1000)(callerID=2323) -> B(2000)(callerID=12345) B transfer(blind) the call to XX929. XX929 show callerID as 2323 <br>A(1000)(callerID=2323) -> B(2000)(callerID=12345) B transfer(consultative) the call to XX929. XX929 show callerID as 12345 <br>caller ID updation is working for "blind transfer" but not for "consultative transfers"</div>
<br>
<div><font face="Arial" size="2" style="background-color:white" color="#808080"><b>Disclaimer</b></font></div><div><div><span style="background-color:white;color:rgb(128,128,128);font-family:Arial;font-size:small">In addition to generic Disclaimer which you have agreed on our website, any views or opinions presented in this email are solely those of the originator and do not necessarily represent those of the Company or its sister concerns. Any liability (in negligence, contract or otherwise) arising from any third party taking any action, or refraining from taking any action on the basis of any of the information contained in this email is hereby excluded.</span></div></div><div><span style="background-color:white;color:rgb(128,128,128);font-family:Arial;font-size:small"><br></span></div><div><font face="Arial" size="2" style="background-color:white" color="#808080"><b>Confidentiality</b></font></div><div><font face="Arial" size="2" style="background-color:white" color="#808080">This communication (including any attachment/s) is intended only for the use of the addressee(s) and contains information that is PRIVILEGED AND CONFIDENTIAL. Unauthorized reading, dissemination, distribution, or copying of this communication is prohibited. Please inform originator if you have received it in error.</font></div><div><font face="Arial" size="2" style="background-color:white" color="#808080"><br></font></div><div><span style="background-color:white;color:rgb(128,128,128);font-family:Arial;font-size:small"><b>Caution for viruses, malware etc.</b></span></div><div><font face="Arial" size="2" style="background-color:white" color="#808080">This communication, including any attachments, may not be free of viruses, trojans, similar or new contaminants/malware, interceptions or interference, and may not be compatible with your systems. You shall carry out virus/malware scanning on your own before opening any attachment to this e-mail. The sender of this e-mail and Company including its sister concerns shall not be liable for any damage that may incur to you as a result of viruses, incompleteness of this message, a delay in receipt of this message or any other computer problems. </font></div>_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">With best regards<br> Dmitry Borisov<br></div>