[Freeswitch-users] Bridge command getting truncated
Brian West
brian at freeswitch.org
Fri Mar 7 21:17:56 MSK 2014
I’m guessing the issue is in src/esl.c char arg_buf[512] = "";
--
Brian West
brian at freeswitch.org
FreeSWITCH Solutions, LLC
PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
Skype:briankwest
PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On Mar 7, 2014, at 10:33 AM, Manish Kumar <manish.kumar.fs at gmail.com> wrote:
> Hi,
>
> I am facing an issue where my argument of bridge command is getting truncated while using through perl esl. I am having a requirement where i need to bridge the call to 8 agents in a sequential manner and i am using pipe separator to fulfil this.
>
> This works well when i am using 2-3 bridging numbers, however the argument part is truncated when trying to use more than 4-5. The argument is truncated at exact length of 503 characters. Please find the below sample from the freeswitch DEBUG logs.
>
> bridge({originate_timeout=40,vcall_id=20140307212134279125021410419292,user_id=11,script_name=ibd_bridge_test,interface_id=81,ignore_early_media=true,caller_id_number=xxxxxxxxxx,api_to_call=http://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}[leg_timeout=40,ignore_early_media=true,destination=xxxxxxxxxx]freetdm/wp4/a/xxxxxxxxxxx|[leg_timeout=40,ignore_early_media=true,destination=xxxxxxxxxx]freetdm/wp4/a/0xxxxxxxxxx|[leg_timeout=40,ignore_early_media=true,destination=99)
>
>
> I am using freeswitch version 1.2.14 with perl ESL, and the bridge command is sent to the freeswitch using below line ,
>
> $conn->execute("bridge","----args as mentioned above----");
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140307/ddaaa30c/attachment.bin
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list