[asterisk-users] Pickup() ringing extension and call waiting
Dominik Zalewski
dzalewski at open-craft.com
Mon Jan 29 05:58:42 MST 2007
Hi All,
I'm using Asterisk 1.2.14 under openSuSE 10.2 with kernel 2.6.18. I have
Wildcard TDM400P card and D-Link DPH-120S and DPH-140S SIP phones. I would
like to be able to pickup ringing extention from any SIP phone using Pickup()
application.
from my dial plan:
[incoming]
exten => s,1,Dial(SIP/somebody1|60|tTrR)
[internal]
include => outbound-local
include => parkedcalls
exten => 200,1,Dial(SIP/somebody1|20|tTrR)
exten => 201,1,Dial(SIP/somebody2|20|tTrR)
exten => 202,1,Dial(SIP/somebody3|20|tTrR)
exten => _8.,1,Pickup(${EXTEN:1})
[outbound-local]
ignorepat => 9
exten => _9XXX,1,Dial(Zap/g1/${EXTEN:1}|60|tT)
exten => _9XXXXX,1,Dial(Zap/g1/${EXTEN:1}|60|tT)
exten => _9ZXXXXXX,1,Dial(Zap/g1/${EXTEN:1}|60|tT)
When there is incoming call and extension 200 rings, I press 8200 to pickup a
call and I get disconnected.
here is debug from asterisk CLI:
-- Starting simple switch on 'Zap/3-1'
-- Executing Dial("Zap/3-1", "SIP/somebody1|60|tTrR") in new stack
-- Called somebody1
-- SIP/somebody1-081bea58 is ringing
-- Executing Pickup("SIP/somebody3-081b3cd8", "200") in new stack
== Spawn extension (internal, 8200, 1) exited non-zero
on 'SIP/somebody3-081b3cd8'
Also,
Call waiting seems to not work. While having a conversation I hear "beep" in
my phone but the M2 (second line) button doesn't blink so I can not pickup
second call and put first one on hold.
from my zapata.conf:
[channels]
signalling=fxs_ks
echocancel=yes
echocancelwhenbridged=yes
echotraining=400
rxgain=0.0
txgain=0.0
callerid=asreceived
usecallerid=no
hidecallerid=no
threewaycalling=yes
transfer=yes
callwaiting=yes
cancallforward=yes
;;hanguponpolarityswitch
busydetect=yes
faxdetect=both
group=1
callgroup=1
pickupgroup=1
context=incoming
channel => 3
;;channel => 4 ;; no line yet
Any ideas?
Thank you in advance,
Dominik
More information about the asterisk-users
mailing list