[Freeswitch-users] can I set the "api originate" command to use dialplan?
SamyGo
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
there.
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
self.
BR
Sammy G.
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:
>
>> Hi.
>> 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@
>> 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
>> *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
>> http://www.freeswitchsolutions.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 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
>>
>>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.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 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120814/5361deed/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list