Displaying 1 result from an estimated 1 matches for "waiting_call".
2007 May 08
0
Re: Call waiting tone
...hort message
is sent to the caller (may be also a recording of the stuttered ringing) and
then the call is passed. Here is the code fragment:
exten => _806XX,n,Set(Status=${DEVSTATE(SIP/${EXTEN})}) ; Get his status
exten => _806XX,n,GotoIf($["${Status}" == "NOT_INUSE"]?OK:WAITING_CALL)
exten => _806XX,n(WAITING_CALL),Playback(waiting-call)
exten => _806XX,n(OK),Dial(SIP/${EXTEN}${aEXTEN},20,) ; Dial the phone for 20
Hope it helps someone...
Regards, __Yehavi: