[Freeswitch-users] Inbound sip invite from external gateway

juan camilo ospina quintero camilin2212 at hotmail.com
Tue Jan 26 13:10:48 PST 2010


hi to all

im already do the integration with. Freeswitch sends invite messages to sailfin, in sailfin there is a sip
servlet that acts as a proxy, this means it receives the invite from extension1000 and send the invite back
to freeswitch at extension 1001, but i get the freeswitch messages go to sailfin, but i dont get freeswitch
to understand sailfin messages.

there is my configuration for sending messages and for receiving messages

In /freeswitch/conf/dialplan/default.xml

    <extension name="redirect">
      <condition field="network_addr" expression="^192\.168\.2\.9$"/>    
      <condition field="destination_number" expression="^1(\d+)$">
          <action application="bridge" data="sofia/external/$0 at 127.0.0.1:5070"/>
      </condition>
    </extension>

this works fine, it redirects the messages to sailfin in 127.0.0.1


In /freeswitch/conf/dialplan/public.xml

    <extension name="receive">
      <condition field="network_addr" expression="^127\.0\.0\.1$"/>    
      <condition field="destination_number" expression="^1(\d+)$">
          <action application="bridge" data="sofia/internal/$0 at 192.168.2.9:5060"/>
      </condition>
    </extension>

this doesnt work, i also use <action application="transfer" data="$1001 XML default/> instead <action application="bridge" data="sofia/internal/$0 at 192.168.2.9:5060"/>

but still doesnt work, the invite that sailfin sends appears in the freeswitch console, but the 1001 extension doesnt get it
 		 	   		  
_________________________________________________________________
Keep your friends updated—even when you’re not signed in.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100126/c019aadc/attachment-0002.html 


More information about the FreeSWITCH-users mailing list