<div>Hi Brian,</div>  <div> </div>  <div>thanks in advance for your quick reply.</div>  <div> </div>  <div>Actually I am using the following default_context.xml</div>  <div> </div>  <div><!-- Valid fields in conditions: --><BR><!-- "dialplan, caller_id_name, ani, ani2, caller_id_number, --><BR><!-- rdnis, destination_number, uuid, source, context, chan_name" --></div>  <div><!-- *NOTE* The special context name 'any' will match any context --><BR><context><BR>  <extension name="from-unidata" continue="true"><BR>    <condition field="destination_number" expression="390640043101"><BR>      <action application="set" data="call_timeout=30"/><BR>      <action application="set" data="continue_on_fail=true"/><BR>      <action application="bridge" data="<A
 href="mailto:sofia/sip/513@192.168.1.213%22/">sofia/sip/513@192.168.1.213"/</A>><BR>    </condition><BR>  </extension></div>  <div><BR></context></div>  <div> </div>  <div>where 390640043101 is the SIP account number given me from my SIP provider.</div>  <div>With the current configuration when the INVITE is received by FS, it answers with 404 Not found</div>  <div>When I receive a call, I would like to route it towards <U><FONT color=#0000ff><A href="mailto:513@192.168.1.213">513@192.168.1.213</A></FONT></U> via SIP, so which sofia profile should I use?</div>  <div> </div>  <div>Thanks a lot and regards,</div>  <div>Francesco.<BR><BR><BR><B><I>Brian West <brian.west@mac.com></I></B> ha scritto:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Example 1:  <DIV><BR class=khtml-block-placeholder></DIV>  <DIV><extension name="from-sip-provider"> 
                                                                                                                                      </DIV>  <DIV>    <condition field="destination_number" expression="55512512">                                                                                                    </DIV>  <DIV>      <action application="bridge"
 data="sofia/profile/extension@ip"/>                                                                                              </DIV>  <DIV>    </condition>                                                                                                                                                </DIV>  <DIV>  </extension></DIV>  <DIV><BR
 class=khtml-block-placeholder></DIV>  <DIV><BR class=khtml-block-placeholder></DIV>  <DIV>/b</DIV>  <DIV><BR class=khtml-block-placeholder></DIV>  <DIV><BR class=khtml-block-placeholder></DIV>  <DIV><BR>  <DIV>  <DIV>On Oct 3, 2007, at 10:54 AM, Midiclorian wrote:</DIV><BR class=Apple-interchange-newline>  <BLOCKQUOTE type="cite">  <DIV>Hi all,</DIV>  <DIV> </DIV>  <DIV>I have managed to have FS registered to my SIP Provider.</DIV>  <DIV> </DIV>  <DIV>Now how can I set the routing rules so that when I receive an incoming call form my external SIP provider, the call is routed to an extension?</DIV>  <DIV> </DIV>  <DIV>Thanks a lot and regards,</DIV>  <DIV>Francesco.</DIV>  <DIV><BR class=khtml-block-placeholder></DIV>  <HR SIZE=1>  <FONT face=Arial size=2>  <HR SIZE=1>  <FONT face=Arial size=2>L'email della prossima generazione? Puoi averla con la <A
 href="http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://it.docs.yahoo.com/nowyoucan.html">nuova Yahoo! Mail</A></FONT></FONT>  <DIV style="MARGIN: 0px">_______________________________________________</DIV>  <DIV style="MARGIN: 0px">Freeswitch-users mailing list</DIV>  <DIV style="MARGIN: 0px"><A href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</A></DIV>  <DIV style="MARGIN: 0px"><A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A></DIV>  <DIV style="MARGIN: 0px">UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A></DIV>  <DIV style="MARGIN: 0px"><A href="http://www.freeswitch.org/">http://www.freeswitch.org</A></DIV></BLOCKQUOTE></DIV><BR></DIV>_______________________________________________<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<BR></BLOCKQUOTE><BR><p> 
      <hr size=1><font face="Arial" size="2"><hr size=1><font face="Arial" size="2">L'email della prossima generazione? Puoi averla con la <a href="http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://it.docs.yahoo.com/nowyoucan.html">nuova Yahoo! Mail</a></font>