<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><base href="x-msg://31/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I do exactly what you want (call from PSTN to ITSP bridged back out to cell phones), it took a couple of years to figure out, the ITSP must support it (sip_h_In-Reply_To/sip_call_id). Here is a post from me back in Feb 13 (search for "<span style="font-size: 13px; ">adding In-Reply-To in sip header not working"). Try this, good luck:</span><div><br></div><div><div><div>Finally! Sharing with anyone else wanting to pass the calling party ID from an external SIP account into FS then back to the standard PSTN on some ITSPs (Callcentric in this case), this is what works:</div><div><br></div><span style="font-size: 13px; font-family: verdana, 'Lucida Grande', Geneva, arial, helvetica, sans-serif; background-color: rgb(255, 255, 255); ">Anytime before the bridge: (notice it was close to Richards idea but uses _h_ instead of _rh_)</span><div><span style="font-family: verdana, 'Lucida Grande', Geneva, arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><action application="set" data="sip_h_In-Reply-To=${sip_call_id}"/></span></div><div><font class="Apple-style-span" face="verdana, 'Lucida Grande', Geneva, arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: 13px; "><br></span></font></div><div><font class="Apple-style-span" face="verdana, 'Lucida Grande', Geneva, arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: 13px; ">In my bridge below remove the effective caller id number like this:</span></font></div><div><font class="Apple-style-span" face="verdana, 'Lucida Grande', Geneva, arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: 13px; "><br></span></font></div><div><font class="Apple-style-span" face="verdana, 'Lucida Grande', Geneva, arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: 13px; "><action application="bridge" data="{originate_timeout=45,alert_info=n=${lua_ringtone}}${group_call(bria@${domain_name}+A)},${group_call(deskphone@${domain_name}+A)},[leg_delay_start=20,leg_timeout=23]sofia/gateway/${dial_gateway}/19161234567"/><br></span></font></div><div><font class="Apple-style-span" face="verdana, 'Lucida Grande', Geneva, arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: 13px; "><br></span></font></div><div><font class="Apple-style-span" face="verdana, 'Lucida Grande', Geneva, arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: 13px; "><br></span></font></div><div><div>On Jan 14, 2014, at 8:34 AM, Robert Hadley <<a href="mailto:robert.hadley@teotech.com">robert.hadley@teotech.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-US" link="blue" vlink="purple" style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="WordSection1" style="page: WordSection1; "><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Before forwarding the call, try setting the effective_caller_ids, they override what's in vars.xml:<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> <action application="set" data="effective_caller_id_number=${caller_id_number}"/><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> <action application="set" data="effective_caller_id_name=${caller_id_name}"/><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Regards,<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Robert<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></div><div><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(181, 196, 223); padding: 3pt 0in 0in; "><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><span class="Apple-converted-space"> </span>Adrian Pinder [mailto:jpinder@<a href="http://outlook.com">outlook.com</a>]<span class="Apple-converted-space"> </span><br><b>Sent:</b><span class="Apple-converted-space"> </span>Monday, January 13, 2014 9:01 AM<br><b>To:</b><span class="Apple-converted-space"> </span><a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br><b>Subject:</b><span class="Apple-converted-space"> </span>Re: [Freeswitch-users] Maintain external caller ID on follow me forward<o:p></o:p></span></div></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div><div><p class="MsoNormal" style="margin: 0in 0in 12pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-family: Calibri, sans-serif; ">the provider is allowing me to set my own caller ID in vars.xml that's the caller ID I'm getting when calls are forwarded. I wan to get the caller ID of the number that called me<o:p></o:p></span></p><div><div class="MsoNormal" align="center" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-align: center; "><span style="font-family: Calibri, sans-serif; "><hr size="3" width="100%" align="center" id="stopSpelling"></span></div><p class="MsoNormal" style="margin: 0in 0in 12pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-family: Calibri, sans-serif; ">From:<span class="Apple-converted-space"> </span><a href="mailto:jpinder@outlook.com" style="color: purple; text-decoration: underline; ">jpinder@outlook.com</a><br>To:<span class="Apple-converted-space"> </span><a href="mailto:freeswitch-users@lists.freeswitch.org" style="color: purple; text-decoration: underline; ">freeswitch-users@lists.freeswitch.org</a><br>Date: Mon, 13 Jan 2014 11:28:17 -0500<br>Subject: [Freeswitch-users] Maintain external caller ID on follow me forward<o:p></o:p></span></p><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-family: Calibri, sans-serif; "><br>Her's what happening:<br><br>- I have a follow me rule after 3 rings to my internal extension then forward it to my cell phone<br>- someone calls from the pstn side (external caller) the calls comes in with the correct caller ID to my internal extension<br>- When the calls gets forwarded to my cell I get the caller ID setup on freeswitch for all outbound calls basically I get the (Effective Caller ID Number)<br><br>How can I maintain the external caller id to show up on my cell instead of the did information i entered in freeswitch for all outbound calls.<br><br><br>Thanks in advance<o:p></o:p></span></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-family: Calibri, sans-serif; "><br>_________________________________________________________________________ Professional FreeSWITCH Consulting Services:<span class="Apple-converted-space"> </span><a href="mailto:consulting@freeswitch.org" style="color: purple; text-decoration: underline; ">consulting@freeswitch.org</a><a href="http://www.freeswitchsolutions.com" style="color: purple; text-decoration: underline; ">http://www.freeswitchsolutions.com</a><span class="Apple-converted-space"> </span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<span class="Apple-converted-space"> </span><a href="http://www.cudatel.com" style="color: purple; text-decoration: underline; ">http://www.cudatel.com</a>Official FreeSWITCH Sites<span class="Apple-converted-space"> </span><a href="http://www.freeswitch.org" style="color: purple; text-decoration: underline; ">http://www.freeswitch.org</a><a href="http://wiki.freeswitch.org" style="color: purple; text-decoration: underline; ">http://wiki.freeswitch.org</a><span class="Apple-converted-space"> </span><a href="http://www.cluecon.com" style="color: purple; text-decoration: underline; ">http://www.cluecon.com</a><span class="Apple-converted-space"> </span>FreeSWITCH-users mailing list<span class="Apple-converted-space"> </span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" style="color: purple; text-decoration: underline; ">FreeSWITCH-users@lists.freeswitch.org</a><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" style="color: purple; text-decoration: underline; ">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a><span class="Apple-converted-space"> </span><a href="http://www.freeswitch.org" style="color: purple; text-decoration: underline; ">http://www.freeswitch.org</a><o:p></o:p></span></div></div></div></div>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org</div></blockquote></div><br></div></div></body></html>