[Freeswitch-users] Bridge command getting truncated

Manish Kumar manish.kumar.fs at gmail.com
Mon Mar 10 09:45:07 MSK 2014


Hi Brian,

Tried dowloading the patch, but it seems the link is not working. Meanwhile
i will be trying to recompile with few changes.


On Sat, Mar 8, 2014 at 8:20 PM, Brian West <brian at freeswitch.org> wrote:

> www.bkw.org/esl.diff, Apply this and let me know how it works for you.
>
> --
> 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 8, 2014, at 2:17 AM, Manish Kumar <manish.kumar.fs at gmail.com>
> wrote:
>
> > Thanks Brian, the arg_buf[512] begins with "execute-app-arg: " (17
> characters)
> > After recalculating my argument string its exact 495 characters and
>  adding above it gives 512.
> >
> > However it seems there is no configuration parameter to increase this
> value. I have to edit and recompile it.
> > I hope increasing this value by 1024 would not create any problem. :)
> >
> >
> >
> >
> > On Fri, Mar 7, 2014 at 11:47 PM, Brian West <brian at freeswitch.org>
> wrote:
> > 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
> >
> >
> > _________________________________________________________________________
> > 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
> >
> >
> > _________________________________________________________________________
> > 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
>
>
> _________________________________________________________________________
> 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 --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140310/ecf43fce/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list