[Freeswitch-users] Routing to different exit

Gerardo Marin Plascencia gmplascencia at hotmail.com
Wed Mar 5 09:39:23 EST 2008


Hi everyone,
 
I have succefull instaled freeswitch, and I want to start with something interesting, here is the Case:
 
- Freeswitch receive a Media call
- Based on the number received (ANI) forward it to different routes (for example offices or suppliers)
 
Could we have any way to filter that call based on their dialed number and route it to different routes?
 
I want to create a Table in MySQL with that information, look for the number dialed and send it to dial either Mobile route or Fixed Route. But I don't know how to doit, and if that is possible.
 
Thanks in advance for your support
Best Regards, Gerardo Marin.

Date: Wed, 5 Mar 2008 06:15:17 -0800From: anthmct at yahoo.comTo: freeswitch-users at lists.freeswitch.orgSubject: Re: [Freeswitch-users] Does dialplan. bridge application can detect call hangup earlier?




What is it that you are calling in that example?Is it a pstn gateway or something?It sounds like the gateway you are calling always answers the call before it tries to dial the far end destination and does not have proper supervision handling.The correct method would be that the gateway places the far end call without answering it and passes the indications across as they are encountered by the far end.You may want to send your question to whoever is in charge of that gateway as I am fairly certain we do basic call scenarios correctly since we have had people interop with several major carriers.
 
Anthony Minessale IIFreeSWITCH http://www.freeswitch.org/ClueCon http://www.cluecon.com/AIM: anthmMSN:anthony_minessale at hotmail.comGTALK/JABBER/PAYPAL:anthony.minessale at gmail.comIRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conferencesip:888 at conference.freeswitch.orgiax:guest at conference.freeswitch.org/888googletalk:conf+888 at conference.freeswitch.orgpstn:213-799-1400

----- Original Message ----From: Steve Xu <516888 at gmail.com>To: freeswitch-users at lists.freeswitch.orgSent: Tuesday, March 4, 2008 6:01:56 PMSubject: [Freeswitch-users] Does dialplan. bridge application can detect call hangup earlier?Hi all,Here is another question.  I try to use dialplan<action application="bridge" data="sofia/default/999917728693819 at 66.55.44.33"/>  to bridge two SIP endpoints. Here are  the strange pattern I found during call handling.1.The called party still keep ringing for a long time period even I have hanged up the calling party already. I have to pick up the called party to stop the ring sometimes, however the call record shows the call has been answered. I think FS will detect the calling party status and drop the call if calling party hung up. It does not need to waiting for the status of called party changes.2.The calling party does not hear anything ( ie. a busy tone) when the called party hang up the call during the normal conversation, the call keep connecting there until the calling party hang up, then FS start realize  the call ended.Is there some configuration setting can make FS to detect the call status earlier and make the call handling properly?or may be I used the wrong action application (bridge)to handle the calls?Thanks again,Steven Xu 
-----Inline Attachment Follows-----_______________________________________________Freeswitch-users mailing listFreeswitch-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org

Never miss a thing. Make Yahoo your homepage. 
_________________________________________________________________
Tú, como Pedro, gana tiempo buscando en Live.com
http://www.live.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080305/1a5c1346/attachment.html 


More information about the Freeswitch-users mailing list