Re: [Asterisk-Users] zap to zap bridging not hanging up
i have the same problem. it seems to be a bug. On 6/5/05, Master Abi [EMAIL PROTECTED] wrote: Hi I am trying to develop a night divert. Caller dials in after hours on Zap and it gets divert to a mobile number via a second Zap. The call bridges but will not hangup the channels when the parties finish. Is there something I am missing or an dial option that I should be using. I am using latest CVS. [night] exten = s,1,Answer exten = s,2,Wait,1 exten = s,3,Set(TIMEOUT(digit)=3) exten = s,4,Set(TIMEOUT(response)=6) exten = s,5,Set(dvt=${DB(DIVERT/MOBILE)}) exten = s,6,Gotoif($[${dvt} != ]?s|7:s|103) exten = s,7,Dial,${PSTNTRUNK}/${dvt}|30|tr exten = s,8,Hangup [default] include = melton-night|17:31-8:59|mon-fri|*|* Thanks master ___ 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] zap to zap bridging not hanging up
Paradise Dove wrote: i have the same problem. it seems to be a bug. Is this related to the problem i posted yesterday (in a mail with subject Zap channel not hangingup raj On 6/5/05, Master Abi [EMAIL PROTECTED] wrote: Hi I am trying to develop a night divert. Caller dials in after hours on Zap and it gets divert to a mobile number via a second Zap. The call bridges but will not hangup the channels when the parties finish. Is there something I am missing or an dial option that I should be using. I am using latest CVS. ___ 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] zap to zap bridging not hanging up
On Sunday 05 June 2005 01:37, Master Abi wrote: I am trying to develop a night divert. Caller dials in after hours on Zap and it gets divert to a mobile number via a second Zap. The call bridges but will not hangup the channels when the parties finish. Since you give us no information whatsoever about your hardware (what FXO device, the name of the PSTN, the version of Asterisk, I'm just shooting in the dark here. I'm willing to bet that you're either using a channel bank without CPD, you've told Asterisk that your Zap channel is not fxs_ks or you're on a phone network that does not provide CPD. Unless your Zap channel is set to fxs_ks, Asterisk won't detect the battery polarity reversal (or drop) and thus has no way of knowing when the line has been hung up. BT doesn't seem to provide it and there are a few others that don't either. There is no real way around this because the phone network does NOT let you know when someone hangs up. And no, this is NOT a bug, unless you consider it the telephone network's bug. busydetect is a workaround but it has its own unique set of problems (false positives). In short, if you've got your Zap device set to fxs_ks and your PSTN is providing CPD, you can either use AbsoluteTimeout(), try your luck with busydetect or try to get the telco to give you CPD. -A. ___ 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] zap to zap bridging not hanging up
On Sunday 05 June 2005 12:21, Rajkumar S wrote: Sorry to intrude into this thread. I have a similar problem which I posted a couple of days back. http://lists.digium.com/pipermail/asterisk-users/2005-June/110617.html You shouldn't have to restart asterisk. the soft hangup command should also work. But yes, it otherwise sounds like your provider does not provide CPD. Is there a way for me to check if my network provides CPD, if indeed that is the problem? Easy way is with one of those cheapass phones which have an LED which comes on when the phone is in use. If the LED goes off briefly when the remote party hangs up, there's a pretty good chance you have either battery drop or battery reversal CPD. The *proper* way to see it is with a voltmeter. your off-hook voltage should be between roughly -5 and -15 Volts DC. CPD should either disconnect the battery (0V) or reverse the battery (-5-15VDC) briefly upon remote party hangup. Regards, Andrew ___ 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] zap to zap bridging not hanging up
On Sunday 05 June 2005 12:21, Rajkumar S wrote: Sorry to intrude into this thread. I have a similar problem which I posted a couple of days back. http://lists.digium.com/pipermail/asterisk-users/2005-June/110617.html You shouldn't have to restart asterisk. the soft hangup command should also work. But yes, it otherwise sounds like your provider does not provide CPD. Is there a way for me to check if my network provides CPD, if indeed that is the problem? Easy way is with one of those cheapass phones which have an LED which comes on when the phone is in use. If the LED goes off briefly when the remote party hangs up, there's a pretty good chance you have either battery drop or battery reversal CPD. The *proper* way to see it is with a voltmeter. your off-hook voltage should be between roughly -5 and -15 Volts DC. CPD should either disconnect the battery (0V) or reverse the battery (-5-15VDC) briefly upon remote party hangup. Just to add to Andrew's comment above, the majority of US analog pstn lines will disconnect battery for about 400 milliseconds. However, a fair number of non-US countries either provide no disconnect supervision, or use some other approach (eg, tones). ___ 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] zap to zap bridging not hanging up
Rich Adamson wrote: The *proper* way to see it is with a voltmeter. your off-hook voltage should be between roughly -5 and -15 Volts DC. CPD should either disconnect the battery (0V) or reverse the battery (-5-15VDC) briefly upon remote party hangup. Just to add to Andrew's comment above, the majority of US analog pstn lines will disconnect battery for about 400 milliseconds. However, a fair number of non-US countries either provide no disconnect supervision, or use some other approach (eg, tones). Thanks for your suggestions. Let me check with my provider if the network supports CPD. raj ___ 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] zap to zap bridging not hanging up
Hi I am trying to develop a night divert. Caller dials in after hours on Zap and it gets divert to a mobile number via a second Zap. The call bridges but will not hangup the channels when the parties finish. Is there something I am missing or an dial option that I should be using. I am using latest CVS. [night] exten = s,1,Answer exten = s,2,Wait,1 exten = s,3,Set(TIMEOUT(digit)=3) exten = s,4,Set(TIMEOUT(response)=6) exten = s,5,Set(dvt=${DB(DIVERT/MOBILE)}) exten = s,6,Gotoif($[${dvt} != ]?s|7:s|103) exten = s,7,Dial,${PSTNTRUNK}/${dvt}|30|tr exten = s,8,Hangup [default] include = melton-night|17:31-8:59|mon-fri|*|* Thanks master ___ 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