[Freeswitch-users] Trouble with Originate/Bridge from ESL [SOLVED]

Max Bridgewater max.bridgewater at gmail.com
Sun Jan 17 14:02:21 PST 2010


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 at 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 at 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.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100117/3d68f98a/attachment-0002.html 


More information about the FreeSWITCH-users mailing list