eoleg Posted April 8, 2022 Posted April 8, 2022 Из АТС1 поступает звонок от абонента с номером 79107776655 на АТС2 номер 76665554433 который затем переадресовывается на АТС3 номер 79998887766. АТС3 отбивает этот вызов так как на АТС2 нет нумерации 7910777ХХХХ. Как при переадресации номер вызывающего 79107776655 подменить на 76665554433? Вставить ник Quote
eoleg Posted April 9, 2022 Author Posted April 9, 2022 (edited) Помогите правильно сформировать условие на XML для freeswitch Если переменная RDNIS пустая то выполнить <action application="set" data="outbound_caller_id_number=${accountcode}"/> а если там чтото есть то <action application="set" data="outbound_caller_id_number=88844${rdnis}"/> и вставить в эту конструкцию <extension name="follow-me-destinations" continue="false" uuid="de26243f-6052-4fc0-a111-4cada22a8d9d"> <condition field="${user_exists}" expression="^true$"/> <condition field="${follow_me_enabled}" expression="^true$"> <action application="lua" data="call_timeout"/> <action application="lua" data="app.lua follow_me"/> </condition> </extension> Edited April 9, 2022 by eoleg Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.