[Freeswitch-users] Originate length issue via fs_cli
Gilles SAUVAIRE
gilles at sauvaire.com
Wed Nov 23 13:04:00 UTC 2022
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> De la part de David VILLAUME
Envoyé : mercredi 23 novembre 2022 10:36
À : 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;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/77cffa2e/attachment.html>
More information about the FreeSWITCH-users
mailing list