Correct way to revert back to originating server?

点点圈 提交于 2019-12-12 02:42:02

问题


I have two servers on the same network. SIP is setup with canreinvite=yes

I call Server 2 from server 1 with DIAL() cmd

What is the correct way to revert back to server 1 after I am complete with the call on server 2 without dropping the channel? (I still want the channel active to offer the user specific options back on server 1).


回答1:


Please use "g" option of Dial command like this:

exten => _X.,n,Dial(SIP/mytrunk/${EXTEN},,g)

After Dial command it will continue to run next Dialplan command of Server 1. More details you can find here:

http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial



来源:https://stackoverflow.com/questions/38749530/correct-way-to-revert-back-to-originating-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!