Joe Dennick
2004-Aug-08 18:56 UTC
[Asterisk-Users] pbx answers after answering from analog phone
I've got the same setup at home. When * sees an incoming call; I let it ring my desk extension for 20 seconds. If an analog phone picks up the call, * hangs up the line; if nobody picks up the call it goes to the Phone Company's voicemail before the end of the 20 seconds and * sees it as a hangup. I've pasted the appropriate lines from my extensions.conf below: exten => s,1,Dial(SIP/7007,20) That's it. -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Lyle Giese Sent: Sunday, August 08, 2004 8:59 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] pbx answers after answering from analog phone I am setting up my * for at home office and still have analog phones attached and answer from those analog phones and not necessarily through the pbx. I found that with the X100P cards, they see the 2nd ring and will be ready to answer the line. I used a Wait to pause and allow another 2 rings before * answers. But found that if we answer the line after the 2nd ring and before the 4th, * still answers and plays the recordings. I am able to hit # to cancel and * will hangup, but that's a pain and not very professional<GRIN>! The context in zapata.conf is set to lcrmainmenu, so they drop into this menu when * answers the zap call. I tried callprogress=yes in zapata.conf and that generated errors and * never answers. WARNING[262159]: chan_zap.c:2293 zt_handle_event: Ring/Off-hook in strange state 6 on channel 1 I am using oem X100P cards and CVS HEAD (08/06/04). Here's the approiate portion of my extensions.conf: [lcrmainmenu] ; ; "main menu" context with submenu ; exten => s,1,Wait,12 ; wait 12 seconds zap driver waits for 2 rings for CID, then passes to here ; 12 seconds give two more rings before answering phone or 4 rings total exten => s,2,Answer ; Answer exten => s,3,DigitTimeout,5 ; set Digit Timeout to 5 seconds exten => s,4,ResponseTimeout,10 ; Set Response Timeout to 10 sec. exten => s,5,Background(lcrmain) ; LCR Main Menu exten => s,6,Voicemail(u110); Drop into general vm for LCR exten => 1,1,Goto(usersmenu,s,1) exten => 2,1,Hangup include => default ; [usersmenu] exten => s,1,DigitTimeout,5 ;set digit timeout to 5 seconds exten => s,2,ResponseTimeout,10 ; Set Response Timeoute to 10 sec exten => s,3,Background(usermenuopts) ; Press 1 for general, 2 for Lyle exten => s,4,Voicemail(u110); Drop into general vm for LCR exten => 1,1,Goto(default,101,2) exten => 2,1,Goto(default,103,2) exten => 3,1,Goto(default,102,2) exten => 4,1,Goto(default,110,1) exten => 0,1,Goto(lcrmainmenu,s,1) _______________________________________________ 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.732 / Virus Database: 486 - Release Date: 7/29/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.732 / Virus Database: 486 - Release Date: 7/29/2004
Lyle Giese
2004-Aug-08 18:58 UTC
[Asterisk-Users] pbx answers after answering from analog phone
I am setting up my * for at home office and still have analog phones attached and answer from those analog phones and not necessarily through the pbx. I found that with the X100P cards, they see the 2nd ring and will be ready to answer the line. I used a Wait to pause and allow another 2 rings before * answers. But found that if we answer the line after the 2nd ring and before the 4th, * still answers and plays the recordings. I am able to hit # to cancel and * will hangup, but that's a pain and not very professional<GRIN>! The context in zapata.conf is set to lcrmainmenu, so they drop into this menu when * answers the zap call. I tried callprogress=yes in zapata.conf and that generated errors and * never answers. WARNING[262159]: chan_zap.c:2293 zt_handle_event: Ring/Off-hook in strange state 6 on channel 1 I am using oem X100P cards and CVS HEAD (08/06/04). Here's the approiate portion of my extensions.conf: [lcrmainmenu] ; ; "main menu" context with submenu ; exten => s,1,Wait,12 ; wait 12 seconds zap driver waits for 2 rings for CID, then passes to here ; 12 seconds give two more rings before answering phone or 4 rings total exten => s,2,Answer ; Answer exten => s,3,DigitTimeout,5 ; set Digit Timeout to 5 seconds exten => s,4,ResponseTimeout,10 ; Set Response Timeout to 10 sec. exten => s,5,Background(lcrmain) ; LCR Main Menu exten => s,6,Voicemail(u110); Drop into general vm for LCR exten => 1,1,Goto(usersmenu,s,1) exten => 2,1,Hangup include => default ; [usersmenu] exten => s,1,DigitTimeout,5 ;set digit timeout to 5 seconds exten => s,2,ResponseTimeout,10 ; Set Response Timeoute to 10 sec exten => s,3,Background(usermenuopts) ; Press 1 for general, 2 for Lyle exten => s,4,Voicemail(u110); Drop into general vm for LCR exten => 1,1,Goto(default,101,2) exten => 2,1,Goto(default,103,2) exten => 3,1,Goto(default,102,2) exten => 4,1,Goto(default,110,1) exten => 0,1,Goto(lcrmainmenu,s,1)
Trevor Peirce
2004-Aug-09 00:44 UTC
[Asterisk-Users] pbx answers after answering from analog phone
Lyle Giese wrote:>I am setting up my * for at home office and still have analog phones >attached and answer from those analog phones and not necessarily through the >pbx. >I don't think * likes this. I have an analog phone hooked directly to the line, and very frequently if I place an ougoing call from that phone * will pick up and go through the answer routine after the call has been connected for a minute or two. This is even if the phone doesn't ring, just a regular outgoing call. It just picks up the voltage I guess, and thinks it's a ring. Best way to use * is to get an ATA adapter and connect your phones to that. I'm having no problems connecting two phones to one port of a Sipura 2000 unit... you could probably get away with three or four if they all played nice.