<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><a href="https://wiki.freeswitch.org/wiki/Sofia-SIP#Specifying_SIP_Proxy_With_fs_path">https://wiki.freeswitch.org/wiki/Sofia-SIP#Specifying_SIP_Proxy_With_fs_path</a><div><br><div style=""><div>On Nov 21, 2013, at 3:58 PM, Thomas Titty &lt;<a href="mailto:ttitty@kineto.com">ttitty@kineto.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-AU" link="blue" vlink="purple" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0cm 0cm 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);">I tried all of the variables (sip_network_destination, sip_route_uri, sip_invite_req_uri) that you suggested &nbsp;but the SIP INVITE is not being routed to the p-cscf.<o:p></o:p></span></div><div style="margin: 0cm 0cm 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);">&nbsp;</span></div><div style="margin: 0cm 0cm 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);">I have 2 sip users (say)<span class="Apple-converted-space">&nbsp;</span><a href="mailto:user-a@example.com" style="color: purple; text-decoration: underline;">user-a@example.com</a><span class="Apple-converted-space">&nbsp;</span>and<span class="Apple-converted-space">&nbsp;</span><a href="mailto:user-b@example.com" style="color: purple; text-decoration: underline;">user-b@example.com</a>, and P-CSCF at<span class="Apple-converted-space">&nbsp;</span><a href="http://p-cscf.com/" style="color: purple; text-decoration: underline;">p-cscf.com</a><o:p></o:p></span></div><div style="margin: 0cm 0cm 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);">&nbsp;</span></div><div style="margin: 0cm 0cm 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);">I would like the SIP INVITE from FS to look like<o:p></o:p></span></div><div style="margin: 0cm 0cm 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);">&nbsp;</span></div><div style="margin: 0cm 0cm 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);">INVITE<span class="Apple-converted-space">&nbsp;</span><a href="sip:user-b@example.com" style="color: purple; text-decoration: underline;">sip:user-b@example.com</a><span class="Apple-converted-space">&nbsp;</span>SIP/2.0<o:p></o:p></span></div><div style="margin: 0cm 0cm 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);">From: "user-a" &lt;<a href="sip:user-a@example.com" style="color: purple; text-decoration: underline;">sip:user-a@example.com</a>&gt;;tag=a7c50F74399yc<o:p></o:p></span></div><div style="margin: 0cm 0cm 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);">To: &lt;<a href="sip:userba@p-cscf.com:5060" style="color: purple; text-decoration: underline;">sip:userba@p-cscf.com:5060</a>&gt;<o:p></o:p></span></div><div style="margin: 0cm 0cm 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);">&nbsp;</span></div><div style="margin: 0cm 0cm 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);">&nbsp;</span></div><div style="margin: 0cm 0cm 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);">Here is what my dial-plan looks like<o:p></o:p></span></div><div style="margin: 0cm 0cm 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);">&nbsp;</span></div><div style="margin: 0cm 0cm 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);">&nbsp;&nbsp; &lt;extension name="pcscf_outbound"&gt;<o:p></o:p></span></div><div style="margin: 0cm 0cm 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);">&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^(\d{10})$"&gt;<o:p></o:p></span></div><div style="margin: 0cm 0cm 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);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="{</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><a href="mailto:sip_network_destination=$1@example.com" style="color: purple; text-decoration: underline;">sip_network_destination=$1@example.com</a>,sip_route_uri=sip:$<a href="mailto:1@example.com" style="color: purple; text-decoration: underline;">1@example.com</a>,sip_invite,sip_invite_req_uri=sip:$<a href="mailto:1@example.com" style="color: purple; text-decoration: underline;">1@example.com</a>}<a href="mailto:sofia/external/$1@p-cscf.com" style="color: purple; text-decoration: underline;">sofia/external/$1@p-cscf.com</a>:5060"/&gt;<o:p></o:p></span></div><div style="margin: 0cm 0cm 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);">&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<o:p></o:p></span></div><div style="margin: 0cm 0cm 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);">&nbsp; &lt;/extension&gt;<o:p></o:p></span></div><div style="margin: 0cm 0cm 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);">&nbsp;</span></div><div style="margin: 0cm 0cm 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);">With this setting the SIP INVITE looks okay, but is being sent to<span class="Apple-converted-space">&nbsp;</span><a href="http://example.com/" style="color: purple; text-decoration: underline;">example.com</a><span class="Apple-converted-space">&nbsp;</span>rather than<span class="Apple-converted-space">&nbsp;</span><a href="http://p-cscf.com/" style="color: purple; text-decoration: underline;">p-cscf.com</a>.<o:p></o:p></span></div><div style="margin: 0cm 0cm 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);">&nbsp;</span></div><div style="margin: 0cm 0cm 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);">&nbsp;</span></div><div><div style="border-style: solid none none; border-top-color: rgb(225, 225, 225); border-top-width: 1pt; padding: 3pt 0cm 0cm;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif;">From:</span></b><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif;"><span class="Apple-converted-space">&nbsp;</span><a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>]<span class="Apple-converted-space">&nbsp;</span><b>On Behalf Of</b>Ken Rice<br><b>Sent:</b><span class="Apple-converted-space">&nbsp;</span>Thursday, 21 November 2013 10:12 AM<br><b>To:</b><span class="Apple-converted-space">&nbsp;</span>FreeSWITCH Users Help<br><b>Subject:</b><span class="Apple-converted-space">&nbsp;</span>Re: [Freeswitch-users] Configure Freeswitch as an IMS application server<o:p></o:p></span></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p>&nbsp;</o:p></div><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: 'Courier New';">In the dialplan you just need to have FS send the invite back to the S-CSCF for user B... This can be done a couple of ways, 1 is specify the URI for the user@s-cscf or to specify to route it via the s-cscf there are a few ways to choose from on this... See<span class="Apple-converted-space">&nbsp;</span><a href="http://wiki.freeswitch.org/wiki/Variable_sip_network_destination" style="color: purple; text-decoration: underline;">http://wiki.freeswitch.org/wiki/Variable_sip_network_destination</a><span class="Apple-converted-space">&nbsp;</span>for 1 way with links to others<br><br><br>On 11/20/13 11:04 PM, "Thomas Titty" &lt;<a href="x-msg://27/ttitty@kineto.com" style="color: purple; text-decoration: underline;">ttitty@kineto.com</a>&gt; wrote:</span><o:p></o:p></p><blockquote style="margin-top: 5pt; margin-bottom: 5pt;"><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif;">Hello,<br>&nbsp;<br>I installed Freeswitch 1.5.7 and am trying to configure it as an telephony application server in an IMS network. &nbsp;<br>&nbsp;<br>Here is the high-level signaling flow that I am considering.<br>&nbsp;<br>1. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Two SIP users (User-A and User-B) registered with S-CSCF in the IMS network (not with Freeswitch)<br></span><span style="font-size: 11pt; font-family: 'Courier New';"><br></span><span style="font-size: 11pt; font-family: Calibri, sans-serif;">2. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;User-A makes a voice call to User-B.<br></span><span style="font-size: 11pt; font-family: 'Courier New';"><br></span><span style="font-size: 11pt; font-family: Calibri, sans-serif;">3. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S-CSCF forwards the SIP INVITE to Freeswitch.<br></span><span style="font-size: 11pt; font-family: 'Courier New';"><br></span><span style="font-size: 11pt; font-family: Calibri, sans-serif;">4. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Freeswitch acting as a B2BUA changes SDP to anchor the media flow and sends SIP INVITE to User-B back to S-CSCF.<br></span><span style="font-size: 11pt; font-family: 'Courier New';"><br></span><span style="font-size: 11pt; font-family: Calibri, sans-serif;">5. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SIP 200 OK from User-B follows the same path as INVITE in reverse direction.<br></span><span style="font-size: 11pt; font-family: 'Courier New';"><br></span><span style="font-size: 11pt; font-family: Calibri, sans-serif;"><br>I went through the dial-plan documentation and could not figure out whether such a configuration is possible.<br>&nbsp;<br>Please let me know whether such a configuration is feasible and any broad pointers on how to make it work would be appreciated.<br>&nbsp;<br>Thanks,<br>Thomas<br>&nbsp;<br>&nbsp;<br>&nbsp;<br>&nbsp;<br>&nbsp;<br>&nbsp;</span><span style="font-size: 11pt; font-family: 'Courier New';"><o:p></o:p></span></p><div class="MsoNormal" align="center" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-align: center;"><span style="font-size: 11pt; font-family: 'Courier New';"><hr size="3" width="95%" align="center"></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 10pt; font-family: Consolas;">_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="x-msg://27/consulting@freeswitch.org" style="color: purple; text-decoration: underline;">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com/" style="color: purple; text-decoration: underline;">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com/" style="color: purple; text-decoration: underline;">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" style="color: purple; text-decoration: underline;">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org/" style="color: purple; text-decoration: underline;">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com/" style="color: purple; text-decoration: underline;">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="x-msg://27/FreeSWITCH-users@lists.freeswitch.org" style="color: purple; text-decoration: underline;">FreeSWITCH-users@lists.freeswitch.org</a><br><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><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" style="color: purple; text-decoration: underline;">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" style="color: purple; text-decoration: underline;">http://www.freeswitch.org</a></span><o:p></o:p></div></blockquote><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 10pt; font-family: Consolas;"><br></span><span style="font-size: 11pt; font-family: 'Courier New';">--<span class="Apple-converted-space">&nbsp;</span><br>Ken<br><a href="http://www.freeswitch.org/" style="color: purple; text-decoration: underline;">http://www.FreeSWITCH.org</a><br><a href="http://www.cluecon.com/" style="color: purple; text-decoration: underline;">http://www.ClueCon.com</a><br><a href="http://www.ostag.org/" style="color: purple; text-decoration: underline;">http://www.OSTAG.org</a><br>G+ ClueCon : &nbsp;&nbsp;&nbsp;<a href="http://fs0.us/cluecon-gplus" style="color: purple; text-decoration: underline;">http://fs0.us/cluecon-gplus</a><br>FB ClueCon : &nbsp;&nbsp;&nbsp;<a href="http://fs0.us/cluecon-fb" style="color: purple; text-decoration: underline;">http://fs0.us/cluecon-fb</a><br>G+ FreeSwitch :<span class="Apple-converted-space">&nbsp;</span><a href="http://fs0.us/freeswitch-gplus" style="color: purple; text-decoration: underline;">http://fs0.us/freeswitch-gplus</a><br>FB FreeSWITCH :<span class="Apple-converted-space">&nbsp;</span><a href="http://fs0.us/freeswitch-fb" style="color: purple; text-decoration: underline;">http://fs0.us/freeswitch-fb</a><span class="Apple-converted-space">&nbsp;</span><br>Twitter : @FreeSWITCH_WIRE<br><a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch</span><o:p></o:p></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></body></html>