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@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@64.34.75.23"/> And this not? $con->bgapi("originate","{origination_uuid=$uuid}sofia/external/55007537203517%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@64.34.75.23 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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-bounces@lists.freeswitch.org] Im Auftrag von Raimundo Pérez Nieves Gesendet: Dienstag, 16. Januar 2018 13:37 An: Madovsky <infos@madovsky.org> Cc: freeswitch-users@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@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@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@64.34.75.23 _____________________________________________________________________ ____ Professional FreeSWITCH Consulting Services: consulting@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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-bounces@lists.freeswitch.org] Im Auftrag von Raimundo Pérez Nieves Gesendet: Dienstag, 16. Januar 2018 13:37 An: Madovsky <infos@madovsky.org> Cc: freeswitch-users@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@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@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@64.34.75.23 _____________________________________________________________________ ____ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I assume this is perl, so try: $con->bgapi("originate",); or maybe construct first the string like: $mydialstr = '{origination_uuid=' . $uuid . '}sofia/ external/55007537203517@64.34.75.23 5004'; (note the single quotes) and then $con->bgapi("originate",$mydialstr); Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 On Tue, Jan 16, 2018 at 2:00 PM, Madovsky <infos@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@lists.freeswitch.org] Im Auftrag von Raimundo Pérez Nieves Gesendet: Dienstag, 16. Januar 2018 13:37 An: Madovsky <infos@madovsky.org> Cc: freeswitch-users@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@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@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@64.34.75.23 _____________________________________________________________________ ____ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
ᐧ
I assume this is perl, so try: (note the single quotes) $con->bgapi('originate', '{origination_uuid=' . $uuid . '}sofia/external/ 55007537203517@64.34.75.23 5004'); or maybe construct first the string like: $mydialstr = '{origination_uuid=' . $uuid . '}sofia/external/ 55007537203517@64.34.75.23 5004'; and then $con->bgapi('originate',$mydialstr); ᐧ Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 On Tue, Jan 16, 2018 at 2:06 PM, David Villasmil < david.villasmil.work@gmail.com> wrote:
I assume this is perl, so try:
$con->bgapi("originate",);
or maybe construct first the string like:
$mydialstr = '{origination_uuid=' . $uuid . '}sofia/external/ 55007537203517@64.34.75.23 5004';
(note the single quotes)
and then
$con->bgapi("originate",$mydialstr);
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 <+34%20669%2044%2083%2037>
On Tue, Jan 16, 2018 at 2:00 PM, Madovsky <infos@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@lists.freeswitch.org] Im Auftrag von Raimundo Pérez Nieves Gesendet: Dienstag, 16. Januar 2018 13:37 An: Madovsky <infos@madovsky.org> Cc: freeswitch-users@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@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@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@64.34.75.23 _____________________________________________________________________ ____ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
ᐧ
participants (4)
-
Alexander Haugg
-
David Villasmil
-
Madovsky
-
Raimundo Pérez Nieves