I have SIP handsets which allow the user to forward a call to another number after a specified interval of ringing time. On the SwissVoice this is refered to as CFNR (Call Forward on No Response). What actually happens is that after a specified period of time (default 15 seconds), the handset sends back a “302 Moved Temporarily” response to Asterisk.

 

The problem is that when Asterisk receives the 302 message, it doesn’t reset the ringing timer in the Dial command. Let’s say I’ve issued a Dial command such as:

 

exten => _34XX,1,Dial(SIP/fred|20)

exten => _34XX,n,Voicemail(fred)

 

What happens is that the SIP handset rings for the default time of 15 seconds, then sends back the 302 message with the new number to forward to. Asterisk faithfully drops into the Local context with this number, but after a further 5 seconds of ringing the new number, the original Dial command exits and proceeds to the next priority, namely the Voicemail command.

 

The problem with this is that the forwarded number only rings for 5 seconds (or not at all if it takes a few seconds to actually make the new outgoing call, as can happen often with cellphones), which is not enough time for them to answer it.

 

Has anyone else had this problem, and is there a solution?

 

 

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to