[Asterisk-Users] Forwarding inbound calls right back out
Eric Jacksch
jacksch at tenebris.ca
Fri Sep 24 23:23:09 MST 2004
I have calls coming in via SIP (a DID) and I want to forward them right back
out to my cell.
If I do it in one step,
(as if 2125551212 was the DID, and 2021111111 was my cell number)
exten => 2125551212,1,Dial(SIP/${PROVIDER}/12021111111,60)
The call comes in via sip, my system sends the invite for the outbound call,
the sends a cancel, and the caller hears "ringing" begin.
If I use
exten => 2125551212,1,Answer
exten => 2125551212,2,Dial(SIP/${PROVIDER}/12021111111,60)
The outbound call happens, CLID is correct, can be answered, etc., but I
only get audio in one direction...from the phone that originated the call TO
the phone that answered the call.
I assume I've done something wrong?
Note that I can direct the inbound call to voicemail and it works fine, so
the inbound SIP session isn't likely the problem.
All help greatly appreciated!
Thanks,
Eric
More information about the asterisk-users
mailing list