Hello!

There are two asterisk servers connected by sip. Registered on each other. I want that on one server when an event occurs in a specific place of the dialplan, it will switch to a dialplan on another server (like Goto). Is there such a possibility?

For example, imagine:

exten => _X.,1,Dial(Dongle/MOBILE_OPERATOR/${EXTEN}) -- на 1 сервере exten => _X.,n,DongleSendSms(MOBILE_OPERATOR,+1212121212,Outgoing Call) -- на 2 сервере 

Thank you for the answers.

    2 answers 2

    When an event occurs in a certain place, Dial to another aster and then process the call.

    Update

    By Dial thought you should send a call to another aster. First you need to have an extension number on the second aster, you will send SMS to it, then the second aster sends SMS to the right place.

    And for example, http://asterisk-service.com/blog/asterisk-1/post/sip-50 http://www.voip-info.org/wiki/view/Asterisk+func+message

    • Did not quite understand. I generally need to implement Sms. Sms comes to the modem on the first aster and it should also be sent from another modem from the second aster. Where to insert the Dial did not understand. - Mihail Politaev
    • Try to write more detailed answers. Explain what is the basis of your statement? - Nicolas Chabanovsky

    I generally need to implement Sms. Sms comes to the modem on the first aster and it should also be sent from another modem from the second aster.

    Try to use MessageSend to transfer the sms content from the first server to the second.

    • Ok, I'll try. Thank you. - Mihail Politaev