that's up to your script to provide. You'really already at the lowest level to make a call via event socket.

Brian Foster
Endigo Computer LLC

Sent from a mobile device.

On Aug 13, 2012 1:33 PM, "Leonardo" <leonardo@daitangroup.com> wrote:
Hi.
I'm using the command "originate" to make a call via socket interface:

api originate sofia/external/MY_PSTN_NUMBER@PSTN_GATEWAY &park()
api originate sofia/external/MY_PSTN_NUMBER@PSTN_GATEWAY &bridge(originate sofia/external/OTHER_PSTN_NUMBER@PSTN_GATEWAY)

Is there a way to omit the "
PSTN_GATEWAY" and force the Freeswitch figure out which one to use based on PSTN_NUMBER/dialplan?

Thanks i advance,
Leo

--

Leonardo N. S. Pereira, Software Engineer
T:+55.19.3112-1200 ext. 1283|F:+55.19.3207-1437
DaitanGroup|www.daitangroup.com|Highly Reliable Outsourcing. Value Added Services Worldwide.
Privileged and confidential. If this message has been received in error, please notify sender and delete it immediately.
Conteúdo confidencial. Se esta mensagem foi recebida por engano, favor avisar o remetente e apagá-la imediatamente.


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org