<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Thanks Michael. That worked. But I ran into another issue.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">I am trying to make FS work as an application server in the IMS network. The IMS network while sending an INVITE to FS include a
route header with Original Dialog Identifier (ODI) to indicate that the INVITE should be send back to the IMS network by FS. IMS network uses ODI to correlate the two INVITEs. When I use the dialplan with fs_path, I do not see the Route header in the terminating
leg INVITE sent by FS. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Is there a way to make FS function this way?
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Or Is there a way to copy a SIP route header from the originating leg to the terminating leg of a call?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Thomas<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
<b>On Behalf Of </b>Michael Jerris<br>
<b>Sent:</b> Thursday, 21 November 2013 1:43 PM<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] Configure Freeswitch as an IMS application server<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><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><o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Nov 21, 2013, at 3:58 PM, Thomas Titty <<a href="mailto:ttitty@kineto.com">ttitty@kineto.com</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I tried all of the variables (sip_network_destination, sip_route_uri, sip_invite_req_uri) that you suggested but the SIP INVITE is not being routed to the
p-cscf.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I have 2 sip users (say)<span class="apple-converted-space"> </span><a href="mailto:user-a@example.com"><span style="color:purple">user-a@example.com</span></a><span class="apple-converted-space"> </span>and<span class="apple-converted-space"> </span><a href="mailto:user-b@example.com"><span style="color:purple">user-b@example.com</span></a>,
and P-CSCF at<span class="apple-converted-space"> </span><a href="http://p-cscf.com/"><span style="color:purple">p-cscf.com</span></a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I would like the SIP INVITE from FS to look like</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">INVITE<span class="apple-converted-space"> </span><a href="sip:user-b@example.com"><span style="color:purple">sip:user-b@example.com</span></a><span class="apple-converted-space"> </span>SIP/2.0</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">From: "user-a" <<a href="sip:user-a@example.com"><span style="color:purple">sip:user-a@example.com</span></a>>;tag=a7c50F74399yc</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">To: <<a href="sip:userba@p-cscf.com:5060"><span style="color:purple">sip:userba@p-cscf.com:5060</span></a>></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Here is what my dial-plan looks like</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> <extension name="pcscf_outbound"></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> <condition field="destination_number" expression="^(\d{10})$"></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> <action application="bridge" data="{<a href="mailto:sip_network_destination=$1@example.com"><span style="color:purple">sip_network_destination=$1@example.com</span></a>,sip_route_uri=sip:$<a href="mailto:1@example.com"><span style="color:purple">1@example.com</span></a>,sip_invite,sip_invite_req_uri=sip:$<a href="mailto:1@example.com"><span style="color:purple">1@example.com</span></a>}<a href="mailto:sofia/external/$1@p-cscf.com"><span style="color:purple">sofia/external/$1@p-cscf.com</span></a>:5060"/></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </condition></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </extension></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">With this setting the SIP INVITE looks okay, but is being sent to<span class="apple-converted-space"> </span><a href="http://example.com/"><span style="color:purple">example.com</span></a><span class="apple-converted-space"> </span>rather
than<span class="apple-converted-space"> </span><a href="http://p-cscf.com/"><span style="color:purple">p-cscf.com</span></a>.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
</div>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<div>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""><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"> </span><b>On Behalf Of</b>Ken Rice<br>
<b>Sent:</b><span class="apple-converted-space"> </span>Thursday, 21 November 2013 10:12 AM<br>
<b>To:</b><span class="apple-converted-space"> </span>FreeSWITCH Users Help<br>
<b>Subject:</b><span class="apple-converted-space"> </span>Re: [Freeswitch-users] Configure Freeswitch as an IMS application server</span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;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"> </span><a href="http://wiki.freeswitch.org/wiki/Variable_sip_network_destination"><span style="color:purple">http://wiki.freeswitch.org/wiki/Variable_sip_network_destination</span></a><span class="apple-converted-space"> </span>for
1 way with links to others<br>
<br>
<br>
On 11/20/13 11:04 PM, "Thomas Titty" <<a href="x-msg://27/ttitty@kineto.com"><span style="color:purple">ttitty@kineto.com</span></a>> wrote:</span><o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Hello,<br>
<br>
I installed Freeswitch 1.5.7 and am trying to configure it as an telephony application server in an IMS network. <br>
<br>
Here is the high-level signaling flow that I am considering.<br>
<br>
1. 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:11.0pt;font-family:"Courier New""><br>
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">2. User-A makes a voice call to User-B.<br>
</span><span style="font-size:11.0pt;font-family:"Courier New""><br>
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">3. S-CSCF forwards the SIP INVITE to Freeswitch.<br>
</span><span style="font-size:11.0pt;font-family:"Courier New""><br>
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">4. 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:11.0pt;font-family:"Courier New""><br>
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">5. SIP 200 OK from User-B follows the same path as INVITE in reverse direction.<br>
</span><span style="font-size:11.0pt;font-family:"Courier New""><br>
</span><span style="font-size:11.0pt;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>
<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>
<br>
Thanks,<br>
Thomas<br>
<br>
<br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:11.0pt;font-family:"Courier New"">
<hr size="3" width="95%" align="center">
</span></div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="x-msg://27/consulting@freeswitch.org"><span style="color:purple">consulting@freeswitch.org</span></a><br>
<a href="http://www.freeswitchsolutions.com/"><span style="color:purple">http://www.freeswitchsolutions.com</span></a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com/"><span style="color:purple">http://www.cudatel.com</span></a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/"><span style="color:purple">http://www.freeswitch.org</span></a><br>
<a href="http://wiki.freeswitch.org/"><span style="color:purple">http://wiki.freeswitch.org</span></a><br>
<a href="http://www.cluecon.com/"><span style="color:purple">http://www.cluecon.com</span></a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="x-msg://27/FreeSWITCH-users@lists.freeswitch.org"><span style="color:purple">FreeSWITCH-users@lists.freeswitch.org</span></a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"><span style="color:purple">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</span></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users"><span style="color:purple">http://lists.freeswitch.org/mailman/options/freeswitch-users</span></a><br>
<a href="http://www.freeswitch.org/"><span style="color:purple">http://www.freeswitch.org</span></a></span><o:p></o:p></p>
</div>
</blockquote>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas"><br>
</span><span style="font-size:11.0pt;font-family:"Courier New"">--<span class="apple-converted-space"> </span><br>
Ken<br>
<a href="http://www.freeswitch.org/"><span style="color:purple">http://www.FreeSWITCH.org</span></a><br>
<a href="http://www.cluecon.com/"><span style="color:purple">http://www.ClueCon.com</span></a><br>
<a href="http://www.ostag.org/"><span style="color:purple">http://www.OSTAG.org</span></a><br>
G+ ClueCon : <a href="http://fs0.us/cluecon-gplus"><span style="color:purple">http://fs0.us/cluecon-gplus</span></a><br>
FB ClueCon : <a href="http://fs0.us/cluecon-fb"><span style="color:purple">http://fs0.us/cluecon-fb</span></a><br>
G+ FreeSwitch :<span class="apple-converted-space"> </span><a href="http://fs0.us/freeswitch-gplus"><span style="color:purple">http://fs0.us/freeswitch-gplus</span></a><br>
FB FreeSWITCH :<span class="apple-converted-space"> </span><a href="http://fs0.us/freeswitch-fb"><span style="color:purple">http://fs0.us/freeswitch-fb</span></a><span class="apple-converted-space"> </span><br>
Twitter : @FreeSWITCH_WIRE<br>
<a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif"">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><o:p></o:p></span></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>