Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] subscriber absent


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
ethy.brito at inexo.co...
Guest





PostPosted: Wed Jan 28, 2015 12:41 pm    Post subject: [asterisk-users] subscriber absent Reply with quote

Hi all

WE have some users that turns off their phones when they are not at home.

We see the warning message:

Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)

just after the Dial() command and a

Everyone is busy/congested at this time

message.

Where is this "unable - cause 20" status available in the dialplan?
Which variable holds this?

We'd like to play something to the caller in case the user is absent.

Cheers

Ethy

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
asterisk_list at earth...
Guest





PostPosted: Thu Jan 29, 2015 3:58 am    Post subject: [asterisk-users] subscriber absent Reply with quote

On Wednesday 28 Jan 2015, Ethy H. Brito wrote:
Quote:
Hi all

WE have some users that turns off their phones when they are not at home.

We see the warning message:

Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)

just after the Dial() command and a

Everyone is busy/congested at this time

message.

Where is this "unable - cause 20" status available in the dialplan?

This means the SIP endpoint is defined in sip.conf, but no device is
registered; which is consistent with phones being turned off.

Quote:
Which variable holds this?

We'd like to play something to the caller in case the user is absent.

It should be ${HANGUPCAUSE} . So you can use something like

Gotoif($[${HANGUPCAUSE}=20]?subs_absent)

in your dialplan, and it will go to the label (subs_absent) if the Dial()
fails for "cause 20 - Subscriber Absent". Then you can play a recorded
announcement, or send them to voicemail.


--
AJS

Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services