When I dial a SIP phone which is specified in the sip.conf, but the phone is not connected, Asterisk gives the message "The user at Extension XXX is on the phone ...." Shouldn't the message be the unavailable message? Is there something wrong with my set up or is this a "bug" with Asterisk? Simon Brown
That message is created by the Voicemail application. Check your extensions.conf and see what your action is for when the call can not be connected. For example, a correct dialplan for a SIP extension would read: exten => _200Z,1,Dial(SIP/${EXTEN},20) exten => _200Z,2,Voicemail(u${EXTEN}) exten => _200Z,102,Voicemail(b${EXTEN}) exten => _200Z,103,Hangup If the SIP phone can't be contacted, Asterisk flows down to the Voicemail application and executes it with the first parameter being u - the unavailable message. The b signals the unavailable message. If this doesn't help, post the relevant section of your extensions.conf . Andrew _________________________ Andrew Yager Real World Technology Solutions Real People, Real SolUtions (tm) ph: (02) 9945 2567 fax: (02) 9945 2566 mob: 0405 15 2568 http://www.rwts.com.au/ _________________________ On 22/06/2004, at 2:26 PM, Simon Brown wrote:> When I dial a SIP phone which is specified in the sip.conf, but the > phone is > not connected, Asterisk gives the message "The user at Extension XXX > is on > the phone ...." > Shouldn't the message be the unavailable message? > Is there something wrong with my set up or is this a "bug" with > Asterisk? > > Simon Brown > _______________________________________________ > 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-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2365 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040622/f68ccd5d/smime.bin
Keith Waters wrote:>>Are you running Redhat or Fedora? If so, read this thread for a solution: >> >>http://lists.digium.com/pipermail/asterisk-users/2004-January/031953.html > > > Nope, SUSE SLES 8 >There are other users running the latest CVS-HEAD reporting that problem (asterisk segfaults when unable to create channel). Maybe you have to revert to a previous version till the bug is fixed. ( cvs -D ) -- Nicolas Gudino House Internet S.R.L. Buenos Aires - Argentina
On Mon, 2004-06-21 at 23:26, Simon Brown wrote:> When I dial a SIP phone which is specified in the sip.conf, but the phone is > not connected, Asterisk gives the message "The user at Extension XXX is on > the phone ...." > Shouldn't the message be the unavailable message? > Is there something wrong with my set up or is this a "bug" with Asterisk?No. It's just the way Asterisk works. -- Eric Wieling * BTEL Consulting * 504-899-1387 x2111 "In a related story, the IRS has recently ruled that the cost of Windows upgrades can NOT be deducted as a gambling loss."
Then shouldn't Asterisk be changed so it jumps to "unavailable" in the dial plan? Surely this would be the "correct" way of working. Simon Brown -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Eric Wieling Sent: Wednesday, 23 June 2004 0:47 To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Busy message On Mon, 2004-06-21 at 23:26, Simon Brown wrote:> When I dial a SIP phone which is specified in the sip.conf, but the > phone is not connected, Asterisk gives the message "The user at > Extension XXX is on the phone ...." > Shouldn't the message be the unavailable message? > Is there something wrong with my set up or is this a "bug" with Asterisk?No. It's just the way Asterisk works. -- Eric Wieling * BTEL Consulting * 504-899-1387 x2111 "In a related story, the IRS has recently ruled that the cost of Windows upgrades can NOT be deducted as a gambling loss." _______________________________________________ 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
This should be listed as a bug - it is not logical to go to busy, when in fact the extension is unavailable. Simon -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Eric Wieling Sent: Wednesday, 23 June 2004 8:43 To: asterisk-users@lists.digium.com Subject: RE: [Asterisk-Users] Busy message *I* think it should go to unavailable, but it has always gone to busy. On Tue, 2004-06-22 at 16:34, Simon Brown wrote:> Then shouldn't Asterisk be changed so it jumps to "unavailable" in the > dial plan? Surely this would be the "correct" way of working. > > Simon Brown > > -----Original Message----- > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Eric > Wieling > Sent: Wednesday, 23 June 2004 0:47 > To: asterisk-users@lists.digium.com > Subject: Re: [Asterisk-Users] Busy message > > On Mon, 2004-06-21 at 23:26, Simon Brown wrote: > > When I dial a SIP phone which is specified in the sip.conf, but the > > phone is not connected, Asterisk gives the message "The user at > > Extension XXX is on the phone ...." > > Shouldn't the message be the unavailable message? > > Is there something wrong with my set up or is this a "bug" with Asterisk? > > No. It's just the way Asterisk works.-- Eric Wieling * BTEL Consulting * 504-899-1387 x2111 "In a related story, the IRS has recently ruled that the cost of Windows upgrades can NOT be deducted as a gambling loss." _______________________________________________ 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
On Tue, 2004-06-22 at 18:43, Simon Brown wrote:> This should be listed as a bug - it is not logical to go to busy, when in > fact the extension is unavailable.I think the whole idea of "busy" or "unavailable" is flawed. Asterisk sets ${CAUSECODE} with the cause of the call being cleared. You can use this to determine what you want to do. For exmaple if the cause code indicates "unallocated" then you should give the caller some indication that they number they dialed is disconnected or no longer in service. I think I posed an example of how I handle this. Check the archives. -- Eric Wieling * BTEL Consulting * 504-899-1387 x2111 "In a related story, the IRS has recently ruled that the cost of Windows upgrades can NOT be deducted as a gambling loss."
Logged in bugtracker as Bug #1893 Simon Brown -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Rich Adamson Sent: Wednesday, 23 June 2004 11:37 To: asterisk-users@lists.digium.com Subject: RE: [Asterisk-Users] Busy message The issue has been suggested several times. Open a bug tracker entry, let's track it; I'll support it. ------------------------> This should be listed as a bug - it is not logical to go to busy, when > in fact the extension is unavailable. > > Simon > > -----Original Message----- > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Eric > Wieling > Sent: Wednesday, 23 June 2004 8:43 > To: asterisk-users@lists.digium.com > Subject: RE: [Asterisk-Users] Busy message > > *I* think it should go to unavailable, but it has always gone to busy. > > On Tue, 2004-06-22 at 16:34, Simon Brown wrote: > > Then shouldn't Asterisk be changed so it jumps to "unavailable" in > > the dial plan? Surely this would be the "correct" way of working. > > > > Simon Brown > > > > -----Original Message----- > > From: asterisk-users-admin@lists.digium.com > > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Eric > > Wieling > > Sent: Wednesday, 23 June 2004 0:47 > > To: asterisk-users@lists.digium.com > > Subject: Re: [Asterisk-Users] Busy message > > > > On Mon, 2004-06-21 at 23:26, Simon Brown wrote: > > > When I dial a SIP phone which is specified in the sip.conf, but > > > the phone is not connected, Asterisk gives the message "The user > > > at Extension XXX is on the phone ...." > > > Shouldn't the message be the unavailable message? > > > Is there something wrong with my set up or is this a "bug" withAsterisk?> > > > No. It's just the way Asterisk works. > -- > Eric Wieling * BTEL Consulting * 504-899-1387 x2111 "In a > related story, the IRS has recently ruled that the cost of Windows > upgrades can NOT be deducted as a gambling loss." > > _______________________________________________ > 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 > _______________________________________________ > 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---------------End of Original Message----------------- _______________________________________________ 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
Bug #1893 has now been acknowledged Simon Brown -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Rich Adamson Sent: Wednesday, 23 June 2004 11:37 To: asterisk-users@lists.digium.com Subject: RE: [Asterisk-Users] Busy message The issue has been suggested several times. Open a bug tracker entry, let's track it; I'll support it. ------------------------> This should be listed as a bug - it is not logical to go to busy, when > in fact the extension is unavailable. > > Simon > > -----Original Message----- > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Eric > Wieling > Sent: Wednesday, 23 June 2004 8:43 > To: asterisk-users@lists.digium.com > Subject: RE: [Asterisk-Users] Busy message > > *I* think it should go to unavailable, but it has always gone to busy. > > On Tue, 2004-06-22 at 16:34, Simon Brown wrote: > > Then shouldn't Asterisk be changed so it jumps to "unavailable" in > > the dial plan? Surely this would be the "correct" way of working. > > > > Simon Brown > > > > -----Original Message----- > > From: asterisk-users-admin@lists.digium.com > > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Eric > > Wieling > > Sent: Wednesday, 23 June 2004 0:47 > > To: asterisk-users@lists.digium.com > > Subject: Re: [Asterisk-Users] Busy message > > > > On Mon, 2004-06-21 at 23:26, Simon Brown wrote: > > > When I dial a SIP phone which is specified in the sip.conf, but > > > the phone is not connected, Asterisk gives the message "The user > > > at Extension XXX is on the phone ...." > > > Shouldn't the message be the unavailable message? > > > Is there something wrong with my set up or is this a "bug" withAsterisk?> > > > No. It's just the way Asterisk works. > -- > Eric Wieling * BTEL Consulting * 504-899-1387 x2111 "In a > related story, the IRS has recently ruled that the cost of Windows > upgrades can NOT be deducted as a gambling loss." > > _______________________________________________ > 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 > _______________________________________________ > 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---------------End of Original Message----------------- _______________________________________________ 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