<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16850" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=194560508-22062009><FONT face=Arial
color=#0000ff size=2>Ignore this thread. Apparently I was stripping sip: from
the prefix. I guess you have to specify sip: before utilizing fs_nat and fs_path
variables.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=194560508-22062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=194560508-22062009><FONT face=Arial
color=#0000ff size=2>My bad.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=194560508-22062009></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Darren Schreiber [mailto:d@d-man.org]
<BR><B>Sent:</B> Monday, June 22, 2009 12:32 AM<BR><B>To:</B>
freeswitch-users@lists.freeswitch.org<BR><B>Subject:</B> [Freeswitch-users]
Question about bridging calls to a specific URIvia a specific
profile<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=631582107-22062009><FONT face=Arial
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=631582107-22062009> <FONT face=Arial size=2>I
was wondering, I am bridging a call to a specific URI as
follows:</FONT></SPAN></DIV>
<DIV><SPAN class=631582107-22062009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=631582107-22062009><FONT face=Arial size=2><action
application="bridge" data="<FONT
size=3>sofia/internal/3032223232@3.55.66.180;fs_nat=yes;fs_path=sip%3As%403.55.66.180%3A7812"></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=631582107-22062009><FONT face=Helvetica>
<P align=left>EXECUTE <A
href="mailto:sofia/internal/+17209460000@2.3.4.5">sofia/internal/+17209460000@<SPAN
class=631582107-22062009>2.3.4.5</A></SPAN>
bridge(sofia/internal/3032223232@3.55.66.180;fs_nat=yes;fs_path=sip%3As%403.55.66.180%3A7812)</P>
<P align=left>2009-06-22 00:16:15.722872 [WARNING] mod_sofia.c:2687 Cannot
locate registered user <A
href="mailto:3032223232@3.55.66.180;fs_nat=yes;fs_path=sip@3As%403.55.66.180%3A7812">3032223232@3.55.66.180;fs_nat=yes;fs_path=sip@3As%403.55.66.180%3A7812</A></P>
<P align=left><FONT face=Arial size=2></FONT> </P>
<P align=left><SPAN class=631582107-22062009><FONT face=Arial size=2>The fs_nat
and fs_path info and domain are coming from a previous dialplan app that looked
up a user's registered info via sofia_contact. I am replacing the registered
user's SIP username with the DID being called (3032223232 in this
case)</FONT></SPAN></P>
<P align=left><SPAN class=631582107-22062009><FONT face=Arial size=2>My
understanding of bridging a call is that if I specify <A
href="mailto:sofia/profile/URI@domain">sofia/profile/URI@domain</A> that FS will
use the specified SIP profile to try and connect a call to the <A
href="mailto:URI@domain">URI@domain</A> specified. Since the full <A
href="mailto:URI@domain">URI@domain</A> was specified, there is no reason to
lookup the registered user - the call will just be delivered as a sip call to
sip:XXX@domain .</FONT></SPAN></P>
<P align=left><SPAN class=631582107-22062009><FONT face=Arial size=2>However,
adding fs_nat=yes;fs_path=XXX seems to cause FS to look in the user directory
for a matching user. Why is this? Maybe I could use a better understanding of
how fs_nat and fs_path work, but I couldn't find much on the Wiki about them.
Does appending them automatically cause FS to look for the user being contacted
in the directory, as opposed to just using the fs_path variable? Is this
behavior from fs_nat alone?</FONT></SPAN></P>
<P align=left><SPAN class=631582107-22062009><FONT face=Arial
size=2></FONT></SPAN> </P>
<P align=left><SPAN class=631582107-22062009><FONT face=Arial size=2>Any
explanation would be helpful.</FONT></SPAN></P>
<P align=left><SPAN class=631582107-22062009><FONT face=Arial
size=2>Thanks,<BR></FONT></SPAN><SPAN
class=631582107-22062009> <FONT face=Arial size=2>Darren
Schreiber</FONT></SPAN></P>
<P align=left><SPAN class=631582107-22062009><FONT face=Arial
size=2></FONT></SPAN> </P></FONT></SPAN></DIV></BODY></HTML>