[Freeswitch-users] Does FS handle remote NATed phones?

Anthony Minessale anthmct at yahoo.com
Thu May 24 12:26:44 PDT 2007


thanks =D

 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com
JABBER:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
pstn:213-799-1400


----- Original Message ----
From: Jason Garland <jgarland at gmail.com>
To: freeswitch-users at lists.freeswitch.org
Sent: Thursday, May 24, 2007 12:05:26 PM
Subject: Re: [Freeswitch-users] Does FS handle remote NATed phones?

http://wiki.freeswitch.org/wiki/Talk:Event_Socket

http://wiki.freeswitch.org/wiki/Event_Socket



On 5/24/07, Anthony Minessale <anthmct at yahoo.com> wrote:
>
> We do have mod_event_socket's "socket" app which is similar to the network
> based fast-agi (FAGI).  This application makes an outbound tcp connection to
> the specified ip:port and the other end can control the call in similar ways
> to an agi only the dialect is much different and it supports async
> operations e.g. telling the call to play foo.wav and getting an immediate
> return to listen for dtmf as the file plays rather than block till the file
> is over.
>
> there is an example perl script in tree:
>
> "scripts/socket/sock.pl"
>
> The data syntax from the dialplan is
> <ip>:<port> [<keywords>]
>
> keywords:
>
> async:
>
> The "async" keyword indicates that all commands will return instantly making
> it possible to monitor the socket for events etc while the
> stack of commands are executing.
>
> If the async keyword is absent then all calls will block until the
> command has finished.
>
> full:
>
> The "full" keyword indicates that the other end will have the full command
> set for event_socket this is the same command set an inbound connection to
> event_socket has so you can execute api commands, get global events etc.
>
> If the "full" keyword is absent the command set and events are limited
> to that paticular call
>
> Here are examples of how to use it in the dialplan.
>
> <action application="socket" data="127.0.0.1:8084"/>
>  <action application="socket" data="127.0.0.1:8084 async"/>
> <action application="socket" data="127.0.0.1:8084 full"/>
>  <action application="socket" data="127.0.0.1:8084 async full"/>
>
>
> I think if wasim's angel want's to implement it a good idea
> is to write it as a separate application and use this interface
> to control the call then let the forked processes in the remote
> application provide the AGI emulation.
>
> We have someone working on a C library to use as an event socket library
> also.
> but in the meantime there is also a crude C example with no client library
> but just inline commands in "scripts/socket/socket2me" this small C program
> demonstrates how you can use the interface to not only control the call but
> to also request a 2 way media stream and process the data.  This application
> uses spandsp to implement a fax send/recv similar to asterisk's rxfax txfax
> only over the loopback interface.
>
>
>
> /me hopes somone makes a wiki page out of this info =D
>
>
>
>
>
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> JABBER:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org
> pstn:213-799-1400
>
>
> ----- Original Message ----
> From: Wasim Baig <wasim at convergence.pk>
> To: freeswitch-users at lists.freeswitch.org
> Sent: Thursday, May 24, 2007 7:13:24 AM
> Subject: Re: [Freeswitch-users] Does FS handle remote NATed phones?
>
> On 5/24/07, Fred <codecomplete at free.fr> wrote:
>
> > Hopefully, the AGI interface works the same, so that existing scripts will
> > still work in FS.
>
> nope, not as yet, but i'm convincing an angel to write up a mod_agi that
> would allow using most if not all of the AGI functions in freeswitch
> (atleast SetVar and GetVar, if not Dial)
>
>  imho thats one of the main bottlenecks for people who have existing
> asterisk deployments on AGI from switching to FS, lets see if we can get
> some good news on this shortly
>
> --
> wasim h. baig | principal consultant | convergence pk | +92 300 8508070
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>  ________________________________
> Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV.
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org







 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070524/944a7ec8/attachment-0002.html 


More information about the FreeSWITCH-users mailing list