Re: [Freeswitch-users] Trouble with Originate/Bridge from ESL [SOLVED]
Given that I'm using Java, I had to escape the ringback value's quote twice: originate {ringback=\\'%(2000,4000,440.0,480.0)\\'}sofia/internal/1004%74.63.243.52 &bridge(sofia/internal/1005%74.63.243.52) On Sun, Jan 17, 2010 at 3:51 PM, Max Bridgewater <max.bridgewater@gmail.com>wrote:
One more piece of information: the call is being terminated by Freeswitch with the event:
Event-Name: CHANNEL_HANGUP Hangup-Cause: NO_ANSWER
Which is strange because B leg doesn't even have the time to answer.
On Sun, Jan 17, 2010 at 1:55 PM, Max Bridgewater < max.bridgewater@gmail.com> wrote:
Hi,
The following command works great from the command line: originate {ringback=\'%(2000,4000,440.0,480.0)\'}sofia/internal/1004%74.63.243.52 &bridge(sofia/internal/1005%74.63.243.52)
But this one isn't working from the ESL: api originate {ringback=\'%(2000,4000,440.0,480.0)\'}sofia/internal/1004%74.63.243.52 &bridge(sofia/internal/1005%74.63.243.52)
The observed behavior is following: The A leg is dialed, then B leg is also dialed but immediately followed by a hangup. That is, the B user doesn't even has time to answer.
Any idea what I'm doing wrong?
Thanks, Max.
Its not just java! :P /b On Jan 17, 2010, at 4:02 PM, Max Bridgewater wrote:
Given that I'm using Java, I had to escape the ringback value's quote twice:
originate {ringback=\\'%(2000,4000,440.0,480.0)\\'}sofia/internal/1004%74.63.243.52 &bridge(sofia/internal/1005%74.63.243.52)
Oh btw happen to wanna write me some sample ESL java samples to put in tree.. see the examples in the perl folder. /b On Jan 17, 2010, at 4:02 PM, Max Bridgewater wrote:
Given that I'm using Java, I had to escape the ringback value's quote twice:
originate {ringback=\\'%(2000,4000,440.0,480.0)\\'}sofia/internal/1004%74.63.243.52 &bridge(sofia/internal/1005%74.63.243.52)
I might. Stay tuned. Self imposed deadline: Feb 14th ;). On Sun, Jan 17, 2010 at 11:15 PM, Brian West <brian@freeswitch.org> wrote:
Oh btw happen to wanna write me some sample ESL java samples to put in tree.. see the examples in the perl folder.
/b
On Jan 17, 2010, at 4:02 PM, Max Bridgewater wrote:
Given that I'm using Java, I had to escape the ringback value's quote twice:
originate {ringback=\\'%(2000,4000,440.0,480.0)\\'}sofia/internal/1004%74.63.243.52 &bridge(sofia/internal/1005%74.63.243.52)
_______________________________________________ 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 (2)
-
Brian West
-
Max Bridgewater