Bridge, Ringing
Posted: Tue Aug 24, 2010 10:44 am
Hi,
I would like to request these two Dial Plan functions:
Bridge: Bridges 2 legs.
Ringing: Signals Ringing to the caller
What I want to do:
SS is registered with 2 providers. Provider 1 receives a call, SS does not switch this incoming call but signals "ringing" to the caller. Meanwhile SS initiates a call to my mobile number via provider 2. I reject the call and immediately call back via provider 2. SS connects these 2 calls.
My Dial Plan would look something like this:
In-Plan for SIPAccount 1:
sys.Dial(<mobile number>@SipProvider2) # will be rejected on mobile phone (could yet be accepted,too...)
sys.Ringing(<ring timeout>) # caller is kept waiting for <ring timeout> seconds and hears ringing signal.
sys.Respond(<Cannot complete call>)
In-Plan for SIPAccount2:
if <caller is my mobile phone and SIPAccount1.call is waiting>
sys.Bridge(SIPAccount1)
or so...
Regards,
bosserer
I would like to request these two Dial Plan functions:
Bridge: Bridges 2 legs.
Ringing: Signals Ringing to the caller
What I want to do:
SS is registered with 2 providers. Provider 1 receives a call, SS does not switch this incoming call but signals "ringing" to the caller. Meanwhile SS initiates a call to my mobile number via provider 2. I reject the call and immediately call back via provider 2. SS connects these 2 calls.
My Dial Plan would look something like this:
In-Plan for SIPAccount 1:
sys.Dial(<mobile number>@SipProvider2) # will be rejected on mobile phone (could yet be accepted,too...)
sys.Ringing(<ring timeout>) # caller is kept waiting for <ring timeout> seconds and hears ringing signal.
sys.Respond(<Cannot complete call>)
In-Plan for SIPAccount2:
if <caller is my mobile phone and SIPAccount1.call is waiting>
sys.Bridge(SIPAccount1)
or so...
Regards,
bosserer