[Freeswitch-users] Originate length issue via fs_cli
David VILLAUME
david.villaume at sewan.fr
Thu Nov 24 08:31:31 UTC 2022
Hello,
Even when I remove the quoting, but extend the length of args, the result is the same.
freeswitch at test_freeswitch> originate {test=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test2=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test3=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test4=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test5=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test6=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test7=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test8=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test9=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test10=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test11=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test12=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test13=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test14=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test15=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test16=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test17=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test18=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test19=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test20=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,test21=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}sofia/activities/a at a.com;fs_path=sip:172.16.20.100:5080 &echo()
-USAGE: <call url> <exten>|&<application_name>(<app_args>) [<dialplan>] [<context>] [<cid_name>] [<cid_num>] [<timeout_sec>]
Do you have any idea about it ?
Regards,
David
From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> On Behalf Of Brian West
Sent: Wednesday, November 23, 2022 3:13 PM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Originate length issue via fs_cli
Your quoting isn't necessary like you have it, and is probably the root cause of your issue.
On Wed, Nov 23, 2022 at 7:04 AM Gilles SAUVAIRE <gilles at sauvaire.com<mailto:gilles at sauvaire.com>> wrote:
Hello,
1024 Char work fine…
1025 not…
this looks a lot like a limit at 1024…
De : FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>> De la part de David VILLAUME
Envoyé : mercredi 23 novembre 2022 10:36
À : FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
Objet : [Freeswitch-users] Originate length issue via fs_cli
Hello,
I encounter a problem trying to trigger some originate via fs_cli while they work with my dial plan.
It seems related to the length of call_url + extension :
In example :
This works fine:
originate {test="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test2="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test3="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test4="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test5="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test6="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test7="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test8="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test9="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test10="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test11="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test12="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test13="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test14="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test15="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test16="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test17="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test18="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test19="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test20="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test21="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}sofia/activities/a at a.com<mailto:a at a.com>;fs_path=sip:172.16.20.100:5080<http://172.16.20.100:5080> &echo
But if I add one char :
originate {test="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test2="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test3="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test4="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test5="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test6="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test7="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test8="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test9="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test10="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test11="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test12="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test13="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test14="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test15="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test16="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test17="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test18="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test19="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test20="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",test21="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}sofia/activities/a at a.com<mailto:a at a.com>;fs_path=sip:172.16.20.100:5080<http://172.16.20.100:5080> &echo
I got a message : -USAGE: <call url> <exten>|&<application_name>(<app_args>) [<dialplan>] [<context>] [<cid_name>] [<cid_num>] [<timeout_sec>]
I tried to look at source code but cannot identify anything.
Is that something you also reproduce ?
Regards,
David
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales at freeswitch.com<mailto:sales at freeswitch.com>
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
--
Brian West | Co-founder and Developer
Need Commercial support? email sales at freeswitch.com<mailto:sales at freeswitch.com>
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: brian at freeswitch.com<mailto:brian at freeswitch.com>
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com<https://www.freeswitch.com/>
[cid:image003.png at 01D8FFE7.88007810]<https://www.facebook.com/freeswitch>[cid:image004.png at 01D8FFE7.88007810]<https://twitter.com/freeswitch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20221124/d6ddf4bf/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1543 bytes
Desc: image003.png
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20221124/d6ddf4bf/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 1705 bytes
Desc: image004.png
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20221124/d6ddf4bf/attachment-0003.png>
More information about the FreeSWITCH-users
mailing list