Ariel's Hotmail
2004-Aug-29 11:11 UTC
[Asterisk-Users] Sip device not login or register calls to that device go to busy voicemail not un-available
I feel this is in error some place. If I call a sip device that is not registered or not connected at the time. Asterisk will send that call to voicemail to busy not unavailable. Is there a way to correct this? Ariel Batista Kasi International - Computer Networking Ph: 305-574-6721 Fx: 305-574-0212 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040829/60ad6368/attachment.htm
Rich Adamson
2004-Aug-29 12:46 UTC
[Asterisk-Users] Sip device not login or register calls to that device go to busy voicemail not un-available
> I feel this is in error some place. If I call a sip device that is not > registered or not connected at the time. Asterisk will send that call to > voicemail to busy not unavailable. Is there a way to correct this? >That's the way its always been. Lots of folks believe its not the 'correct' way, but I've since forgotten what the logic was for leaving it the way it is now.
Craig Guy
2004-Aug-29 16:50 UTC
[Asterisk-Users] Sip device not login or register calls to that device go to busy voicemail not un-available
>From my observation, if a call cannot be successfully placed then executiongoes to n+101. So for example if a phone is busy then the call can't be placed (channel can't be created) and you jump tp n+101 which is typically voicemail busy. In the case of a phone being offline then the call cannot be placed and hence the jump to n+101 and again the busy message. What I did in this situation is have some logic at n+101 that checks $DIALSTATUS and then takes action as appropriate (In this case forward to reception, but easy to send to unanswered voicemail instead - specify unanswered voicemail at line 106) exten => _123495XX,1,Macro(SetCID,${CALLERID}) exten => _123495XX,2,Dial(SIP/${EXTEN:4},16,tr) exten => _123495XX,3,Voicemail,u${EXTEN:4} exten => _123495XX,4,Hangup exten => _123495XX,103,GotoIf($[${DIALSTATUS} = CHANUNAVAIL]?106:104) exten => _123495XX,104,Voicemail,b${EXTEN:4} exten => _123495XX,105,Hangup exten => _123495XX,106,Dial(SIP/9500,20,tr) exten => _123495XX,107,Voicemail,u9500 exten => _123495XX,108,Hangup exten => _123495XX,207,Voicemail,b9500 exten => _123495XX,208,Hangup Craig ----- Original Message ----- From: "Ariel's Hotmail" <arielb27@hotmail.com> To: <asterisk-users@lists.digium.com> Sent: Monday, August 30, 2004 2:11 AM Subject: [Asterisk-Users] Sip device not login or register calls to that device go to busy voicemail not un-available I feel this is in error some place. If I call a sip device that is not registered or not connected at the time. Asterisk will send that call to voicemail to busy not unavailable. Is there a way to correct this? Ariel Batista Kasi International - Computer Networking Ph: 305-574-6721 Fx: 305-574-0212 ---------------------------------------------------------------------------- ----> _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users