[Freeswitch-users] Originate doubt
David Villasmil
david.villasmil.work at gmail.com
Tue Jan 16 13:06:01 UTC 2018
I assume this is perl, so try:
$con->bgapi("originate",);
or maybe construct first the string like:
$mydialstr = '{origination_uuid=' . $uuid . '}sofia/
external/55007537203517 at 64.34.75.23 5004';
(note the single quotes)
and then
$con->bgapi("originate",$mydialstr);
Regards,
David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
On Tue, Jan 16, 2018 at 2:00 PM, Madovsky <infos at madovsky.org> wrote:
> nevermind bridge or not.
>
> when you use originate with variables inside the chain so
>
> you have to use expand originate
>
>
> On 1/16/2018 4:56 AM, Alexander Haugg wrote:
>
>> What can you see in a wireshark trace, or what can you see in the
>> freeswitch CLI?
>>
>> -----Ursprüngliche Nachricht-----
>> Von: FreeSWITCH-users [mailto:freeswitch-users-bounc
>> es at lists.freeswitch.org] Im Auftrag von Raimundo Pérez Nieves
>> Gesendet: Dienstag, 16. Januar 2018 13:37
>> An: Madovsky <infos at madovsky.org>
>> Cc: freeswitch-users at lists.freeswitch.org
>> Betreff: Re: [Freeswitch-users] Originate doubt
>>
>> I tried but it does not work. Iam not trying to bridge. Just originate an
>> outbound call
>>
>> Enviado desde mi iPhone
>>
>> El 16/01/2018, a la(s) 13:03, Madovsky <infos at madovsky.org> escribió:
>>
>> you should use "expand originate"
>>>
>>> since you use variables into your bridge
>>>
>>> On 1/16/2018 3:46 AM, Raimundo Pérez Nieves wrote:
>>>> Hi guys
>>>> Why this works?
>>>> <action application="bridge"
>>>> data="sofia/external/550075372035172 at 64.34.75.23"/>
>>>> And this not?
>>>> $con->bgapi("originate","{origination_uuid=$uuid}sofia/external/55007
>>>> 537203517%64.34.75.23 5004"); And I exchange % for @.
>>>> Get this error
>>>> 2018-01-16 11:18:39.410205 [WARNING] mod_sofia.c:4652 Cannot locate
>>>> registered user 550075372035172 at 64.34.75.23
>>>> _____________________________________________________________________
>>>> ____ 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-us
>>>> ers
>>>> http://www.freeswitch.org
>>>>
>>>>
>>>
>>> ____________________________________________________________
>> _____________
>> 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
>> _________________________________________________________________________
>> 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
>>
>>
>
> _________________________________________________________________________
> 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
>
ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180116/721aa345/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list