I run Asterisk 1.4.11 on a FreeBSD-6.2 server with a single X101P card and two IP phones on a 10/100 LAN. There are also several plain analog phones plugged into the existing POTS jacks around the house.
The POTS calls come and go on the * server without any problems these days. There were big problems before, but since 1.4.10 came out that seems to have settled down.
My * server will let the POTS calls ring for 20 seconds so I can try to answer the call on one of the regular analog phones. Then it will take the call and allow the user to dial one of the SIP extensions if they want. If they don’t select an extension it sends them to voicemail.
I want to be able to pickup the calls on one of the sip phones during the initial 20 second wait period. But my dialplan doesn’t exactly answer the phone until after this 20 second wait period.
[incoming]
exten => s,1,Wait,20 ; Wait 20 seconds
exten => s,n,Answer() ; Answer the call
exten => s,n,Set(TIMEOUT(digit)=5) ; Set Digit Timeout to 5 seconds
exten => s,n,Set(TIMEOUT(response)=7) ; Set Response Timeout to 10 seconds
exten => s,n(restart),BackGround(welcome) ; Play the initial welcome message
exten => s,n,WaitExten(7) ; Wait for an extension to be dialed.
exten => s,n,Voicemail(201@default,u) ; Send Caller to Voicemail
Since I need the analog phones more than the sip phones I’m wondering if this is possible. Can I get something to work so that I can pickup the incoming call from one of the sip phones?
Also, whenever I’m on a sip phone making a call through the X101P card on the POTS line and I hear the “beep” of another incoming call, I cannot accept it. This only works when I’m on one of the analog phones. Is there a way to get the sip phones working with Call Waiting? My zapata.conf has call waiting enabled and these phones are supposed to work with call waiting. But I cannot accept a second POTS call when on the SIP phones.
Any advice would be appreciated.
.