Hello,
The config:
-------------------
PSTN <----pri-t1----> Asterisk_Box_1 <---Local LAN----> Asterisk_Box_2
When a call comes in on the PRI, it lands on Asterisk Box 1.
In some cases, the call will then be passed onto the Asterisk Box 2 using "Dial(IAX2/loginname)" with 'g' flag, so that the dialplan on the Box 1 continues after Box 2 hangs up the call.
The Question:
------------------
Depending on what choices the caller has made while going through the dialplan on Box 2, I'd like the dialplan on Box 1 to do different things after Box 2 hangs up.
How can the Box 2 pass a message to the Box 1, when hanging up the call, to ask Box 1 what to do next ?
Hope there is a way to do so...
Thanks to All !
The config:
-------------------
PSTN <----pri-t1----> Asterisk_Box_1 <---Local LAN----> Asterisk_Box_2
When a call comes in on the PRI, it lands on Asterisk Box 1.
In some cases, the call will then be passed onto the Asterisk Box 2 using "Dial(IAX2/loginname)" with 'g' flag, so that the dialplan on the Box 1 continues after Box 2 hangs up the call.
The Question:
------------------
Depending on what choices the caller has made while going through the dialplan on Box 2, I'd like the dialplan on Box 1 to do different things after Box 2 hangs up.
How can the Box 2 pass a message to the Box 1, when hanging up the call, to ask Box 1 what to do next ?
Hope there is a way to do so...
Thanks to All !