RE: [Asterisk-Users] Hangup detection with TDM400 in UK

2005-02-08 Thread Doug Reid - Stormcorp
Hi

Try going into vi /etc/profile insert the lines in brackets.



USER=`id -un`
LOGNAME=$USER
MAIL=/var/spool/mail/$USER
MONITOR_EXEC=/usr/bin/soxmix
VPB_TONE=BUSY,P,400,100,500(insert the following line)


HOSTNAME=`/bin/hostname`
HISTSIZE=1000

if [ -z $INPUTRC -a ! -f $HOME/.inputrc ]; then
INPUTRC=/etc/inputrc
fi

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC MONITOR_EXEC
VPB_TONE  (and insert here VPB_TONE)


==

The 400 100 and 500 are related to your country use indications file for
info
on what those values should be.

Regards
Doug


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Patrick
Lidstone (Personal E-mail)
Sent: Wednesday, February 02, 2005 2:03 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Hangup detection with TDM400 in UK


When a caller hangs up (e.g. after leaving a voicemail), my British Telecom
exchange sends a continuous tone for about 15s and then silence. I can't get
asterisk to recognise this tone as a hangup indication.

I have tried indications.conf with both country=uk and country=us.

My zapata.conf has busydetect=yes, callprogress=yes and I've tried setting
busycount from 1 through 7

I am using kewlstart signalling on the FXO module.

Any suggestions gratefully received - I really don't want to resort to using
an absolute timeout.

Thanks
Patrick

___
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


Re: [Asterisk-Users] Hangup detection with TDM400 in UK

2005-02-08 Thread Tzafrir Cohen
On Tue, Feb 08, 2005 at 04:03:50PM +0200, Doug Reid - Stormcorp wrote:
 Hi
 
 Try going into vi /etc/profile insert the lines in brackets.
 
 
 
 USER=`id -un`
 LOGNAME=$USER

Generally LOGNAME is set by login, sshd or whatever program you login
with. If this is linux you generally shouldn't change those parts of 
/etc/profile unless you have a strange setup and you know what you're 
doing and you're absolutely sure you know what you're doing.

 MAIL=/var/spool/mail/$USER

Correct with the default settings. However many programs assume that (or
/var/mail/$USER )

 MONITOR_EXEC=/usr/bin/soxmix
 VPB_TONE=BUSY,P,400,100,500(insert the following line)
 
 
 HOSTNAME=`/bin/hostname`
 HISTSIZE=1000
 

 if [ -z $INPUTRC -a ! -f $HOME/.inputrc ]; then
 INPUTRC=/etc/inputrc
 fi

Handy, but only for an interactive shell. Don't add it to your
/etc/profile unless you know where to place it. and it may be a bit
distro-specific.

 
 export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC MONITOR_EXEC
 VPB_TONE  (and insert here VPB_TONE)
 
 
 ==
 
 The 400 100 and 500 are related to your country use indications file for
 info
 on what those values should be.
 
 Regards
 Doug

Most Linux distros have /etc/profile.d where you can add your custom .sh
scriptlets to add some vaiables without stepping over the default
/etc/profile so you don't have you worry about upgrades of the distro's
packages.

In my Debian system there is no such thing. However I see
/etc/environment with has lines of 'var=value', and the pam module
pam_env.so loads it at login time. I don't know if this is used with
other distros.

-- 
Tzafrir Cohen | New signature for new address and  |  VIM is
http://tzafrir.org.il | new homepage   | a Mutt's  
[EMAIL PROTECTED] ||  best
ICQ# 16849755 | Space reserved for other protocols | friend
___
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] Hangup detection with TDM400 in UK

2005-02-02 Thread Patrick Lidstone (Personal E-mail)
When a caller hangs up (e.g. after leaving a voicemail), my British Telecom
exchange sends a continuous tone for about 15s and then silence. I can't get
asterisk to recognise this tone as a hangup indication.

I have tried indications.conf with both country=uk and country=us.

My zapata.conf has busydetect=yes, callprogress=yes and I've tried setting
busycount from 1 through 7

I am using kewlstart signalling on the FXO module.

Any suggestions gratefully received - I really don't want to resort to using
an absolute timeout.

Thanks
Patrick

___
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