Took some examples from voip-info.org to deal with
call forwarding etc:

exten => _*21*X.,1,NoOp(Unconditional Call Forward on extension 
${CALLERID(num)} to ${EXTEN:4})
exten => _*21*X.,n,Set(DB(CFIM/${CALLERID(num)})=${EXTEN:4})
exten => _*21*X.,n,Hangup()

Problem is that * don't hangup cleanly:

Spawn extension (default, *21*2403, 3) exited non-zero on 'SIP/2401-081e7048'

and I get the 'wrong extension' signal in the phone...

And SoftHangup() don't work much better. No *Hangup() at all 'hangs' for
a while, until I'm forcibly hung up...

Replacement?

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to