[Freeswitch-users] Originate loops Dialplan

Raimundo Pérez Nieves raimundo.perez.cuba at gmail.com
Wed Jan 17 15:54:46 UTC 2018


It parks the other leg, and stops running dialplan but also do not get any other events from its. 
There has to be a way to keep hearing from leg B in an originate avoiding loop. 
Thanks
If you have more ideas please

Enviado desde mi iPhone

El 17/01/2018, a la(s) 15:25, Christoph Russow <russow at emtex.de> escribió:

> try &park instead of 10000 at the end of your dialstring
> 
>> Am 17.01.2018 um 15:17 schrieb Raimundo Pérez Nieves:
>> Hi guys, 
>> Iam trying to use originate from event socket and get events from the
>> number dialed in this originate.
>> The problem I am having is that when I use internal phone in my server
>> works great, but when I am trying to originate an outbound call to other
>> server it loops in Dialplan.
>> I just want to get tone detected event from that external call.
>> 
>> my $mydialstr = '{origination_uuid=' . $uuidLegB .
>> ',absolute_codec_string=G729,originate_retries=0}sofia/external/550075378355222 at 64.34.75.23
>> <mailto:originate_retries=0}sofia/external/550075378355222 at 64.34.75.23>
>> 10000';
>> my $res = $con->api("originate",$mydialstr);
>> 
>> The extension 10000 in non-existing, and when Dialplan end it starts
>> again and again. 
>> Can I put another thing just for listen events for that outbound call?
>> 
>> Thanks
>> 
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>> 
>> 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
> 
> -- 
> ________________________________________________________________
> 
> EMTEX GmbH
> Christoph Russow
> Software Engineer
> 
> Bischof-Otto-Weg 9
> D-91086 Aurachtal
>                          Geschäftsführer:       Markus Enzinger
> Tel. +49 9132 7490 0      Sitz der Gesellschaft: 91086 Aurachtal
> Fax. +49 9132 7490 900    Amtsgericht Fürth:     HRB6804
> ________________________________________________________________
> 
> 



More information about the FreeSWITCH-users mailing list