[Freeswitch-users] Originate length issue via fs_cli

David VILLAUME david.villaume at sewan.fr
Wed Nov 23 09:35:31 UTC 2022


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;fs_path=sip: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;fs_path=sip: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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20221123/eea1ae97/attachment-0001.html>


More information about the FreeSWITCH-users mailing list