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.