My PSTN line doesn't allways hang up properly after it goes to voicemail. The problem occurs when a caller hangs up during the initial greeting. Even though the hangup accured, voicemail continues to record, usually a fast busy and/or a teleco generated "please hangup now" message. After the voicemail.conf 'maxmessage=180' expires the line simply stays offhook. The hardware is a X100P card and this is my extensions.conf for incoming PSTN calls: ; Parameters for calls from PSTN PSTN_RNG_EXTEN=SIP/251&SIP/261&SIP/211 PSTN_RNG_TIME=20 ; 20 seconds are about 6 rings [inbound-pstn-local] ; ; Our local telephone line. We do not have caller ID so we set it to ; a sensible value. ; exten => s,1,SetCallerID(Outside Caller <7377296>) exten => s,2,Dial(${PSTN_RNG_EXTEN},${PSTN_RNG_TIME},tr) exten => s,3,Voicemail(u01) exten => s,4,Hangup exten => s,103,Voicemail(b01) exten => s,104,Hangup Adi
Is your X100P set for loop start or Kewl Start? I am betting loop start, try changing to ks instead. Lyle ----- Original Message ----- From: "Adi Linden" <adil@adis.on.ca> To: <asterisk-users@lists.digium.com> Sent: Thursday, December 30, 2004 11:08 AM Subject: [Asterisk-Users] Voicemail and Zapatel> My PSTN line doesn't allways hang up properly after it goes to voicemail. > The problem occurs when a caller hangs up during the initial greeting. > Even though the hangup accured, voicemail continues to record, usually a > fast busy and/or a teleco generated "please hangup now" message. After the > voicemail.conf 'maxmessage=180' expires the line simply stays offhook. > > The hardware is a X100P card and this is my extensions.conf for incoming > PSTN calls: > > ; Parameters for calls from PSTN > PSTN_RNG_EXTEN=SIP/251&SIP/261&SIP/211 > PSTN_RNG_TIME=20 ; 20 seconds are about 6 rings > > [inbound-pstn-local] > ; > ; Our local telephone line. We do not have caller ID so we set it to > ; a sensible value. > ; > exten => s,1,SetCallerID(Outside Caller <7377296>) > exten => s,2,Dial(${PSTN_RNG_EXTEN},${PSTN_RNG_TIME},tr) > exten => s,3,Voicemail(u01) > exten => s,4,Hangup > exten => s,103,Voicemail(b01) > exten => s,104,Hangup > > Adi > _______________________________________________ > 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 Thu, 30 Dec 2004, Lyle Giese wrote:> Is your X100P set for loop start or Kewl Start? I am betting loop start, > try changing to ks instead. > > LyleThis is what I have in /etc/asterisk/zapata.conf so it should be Kewl Start. [channels] ; X100P signalling=fxs_ks echocancel=yes ; You can set this to 32, 64, or 128, ; tweak to your needs. echocancelwhenbridged=yes echotraining=400 ; Asterisk trains to the beginning of the call, ; number is in milliseconds usecallerid=no ; This cause Asterisk to answer the call immediately ;callerid=asreceived context=inbound-pstn-local group=1 channel => 1 Adi
Not knowing where you are or your local telco, a lot use battery removal for disconnect and ls ignores that and ks sees and disconnects on that signal. Lyle ----- Original Message ----- From: "Adi Linden" <adil@adis.on.ca> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Thursday, December 30, 2004 12:04 PM Subject: Re: [Asterisk-Users] Voicemail and Zapatel> On Thu, 30 Dec 2004, Lyle Giese wrote: > > > Is your X100P set for loop start or Kewl Start? I am betting loopstart,> > try changing to ks instead. > > > > Lyle > > This is what I have in /etc/asterisk/zapata.conf so it should be Kewl > Start. > > [channels] > ; X100P > signalling=fxs_ks > echocancel=yes ; You can set this to 32, 64, or 128, > ; tweak to your needs. > echocancelwhenbridged=yes > echotraining=400 ; Asterisk trains to the beginning of the call, > ; number is in milliseconds > usecallerid=no ; This cause Asterisk to answer the call > immediately > ;callerid=asreceived > context=inbound-pstn-local > group=1 > channel => 1 > > Adi > > _______________________________________________ > 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 >
> Not knowing where you are or your local telco, a lot use battery removal for > disconnect and ls ignores that and ks sees and disconnects on that signal.I am in Northern Ontario and Bell Canada is the local telco. Adi