Hi Khaled,

I believe the 180 Ringing will be sent only if your B-leg sends it to Asterisk.
Asterisk doesn't know WHEN the call will physically ring the destination number
so unless you GW tells it you won't ever see that message unless you patch it.

DISCLAIMER: I may be wrong and was wrong before.

Martin

On Thu, Apr 2, 2009 at 11:07 AM, Khaled W. Chehab <kche...@xplorium.com> wrote:
> Dears
> Kindly find my dial script below,I am trying to send the caller 180 ringing
> but all tries were failed,
> The caller always receive 183 session Progress
> Even I add in the sip.conf
> progressinband=never
>
> exten => _X.,1,Wait(1)
> exten => _X.,n,SetMusicOnHold(English)
> exten => _X.,n,WaitMusicOnHold(2)
> exten => _X.,n,NoOp(Return-----------------)
> exten => _X.,n,Dial(SIP/Gateway1/8430${EXTEN}|300|m)
> ;exten => _X.,n,SIPAddHeader(Alert-Info: Ring Answer)
> exten => _X.,n,Goto(y-${DIALSTATUS},1)   ; Jump based on status
> (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
> exten => y-NOANSWER,1,SetMusicOnHold(busy)
> exten => y-NOANSWER,n,WaitMusicOnHold(18) ; If busy, Playback Busy /
> NOANSWER announce
> exten => y-BUSY,1,SetMusicOnHold(busy)
> exten => y-BUSY,n,WaitMusicOnHold(18) ; If busy, Playback Busy / busy
> announce
> exten => _y-.,1,Goto(y-NOANSWER,1)   ; Treat anything else as no answer
> exten => _X.,n,HangUp()
>
> Please Advice

_______________________________________________
-- 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