[Freeswitch-users] can I set the "api originate" command to use dialplan?
govoiper at gmail.com
Tue Aug 14 07:56:15 MSD 2012
Though Brain already spoke on this, just to add. If you are thinking of
handing your call over to the dialplan and do some processing before
sending out call then you need to use loopback channel instead of sofia.
That way you can dial the pstn number within your dialplan and do something
Dialplan needs to be in place obviously.
Otherwise I dont think there is any mechanism or key-word you can put in
that field and it do the LCR or distribution or failover the carrier it
On Aug 14, 2012 4:11 AM, "Brian Foster" <bdfoster at endigotech.com> wrote:
> 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 at daitangroup.com> wrote:
>> I'm using the command "originate" to make a call via socket interface:
>> api originate sofia/external/MY_PSTN_NUMBER at PSTN_GATEWAY &park()
>> api originate sofia/external/MY_PSTN_NUMBER at PSTN_GATEWAY&bridge(originate sofia/external/OTHER_PSTN_NUMBER@
>> 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,
>> Leonardo N. S. Pereira, *Software Engineer*
>> T:+55.19.3112-1200 ext. 1283*|*F:+55.19.3207-1437
>> *Daitan**Group**|**www.daitangroup.com* <http://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 at freeswitch.org
>> Official FreeSWITCH Sites
>> Join Us At ClueCon - Aug 7-9, 2012
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> Join Us At ClueCon - Aug 7-9, 2012
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users