[Asterisk-Users] Calling from PSTN let exension 601 ring twice, hang up and starts over again to ring twice, ...

Wayne Sheppard wayne at vastcommunications.com
Mon Nov 29 18:31:07 MST 2004


I think you need to Answer the call after Wait ing for the CID.

Ronald Wiplinger wrote:

> Calling from PSTN let extension 601 ring twice, hang up and starts 
> over again to ring twice, ...
> If I pickup I do not hear on extension 601, and on the PSTN it is 
> still signaling to ring.
> Can anybody enlighten me, please?
>
> extension.conf
>
> [incoming_88097074]
> exten => s,1,Wait(1) ;wait to get caller ID in.
> exten => s,2,Dial(SIP/102,20)
> exten => s,3,Voicemail(u102)
> exten => s,102,Voicemail(b102)
> exten => s,103,Hangup
>
>
>
>
> *CLI>
> Starting simple switch on 'Zap/4-1'
> Executing Wait("Zap/4-1", "1") in new stack
> Executing Dial("Zap/4-1", "SIP/601|20") in new stack
> Called 601
> SIP/601-06ae is ringing
> WARNING[19176]: chan_zap.c"3452: zt_handle_event: Ring/Off-hook in 
> strage state 6 on channel 4
> WARNING[19176]: chan_zap.c"3452: zt_handle_event: Ring/Off-hook in 
> strage state 6 on channel 4
> Spawn extension (incoming_88097074, s, 2) exited non-zero on 'Zap/4-1'
> Hungup 'Zap/4-1'
> Starting simple switch on 'Zap/4-1'
> Executing Wait("Zap/4-1", "1") in new stack
> Executing Dial("Zap/4-1", "SIP/601|20") in new stack
> Called 601
> SIP/601-06ae is ringing
> WARNING[19176]: chan_zap.c"3452: zt_handle_event: Ring/Off-hook in 
> strage state 6 on channel 4
> WARNING[19176]: chan_zap.c"3452: zt_handle_event: Ring/Off-hook in 
> strage state 6 on channel 4
> Spawn extension (incoming_88097074, s, 2) exited non-zero on 'Zap/4-1'
> Hungup 'Zap/4-1'
>
>



More information about the asterisk-users mailing list