[Asterisk-Users] Problem with call pickup -or- what stupid mistake have I made?

Steve Rodgers hwstar at rodgers.sdcoxmail.com
Sat Nov 15 19:54:11 MST 2003


For some reason, I can't get call pickup to work between Sip phones or between 
Sip and Zap phones. All phones are in the same call group and pickup group 
(1). The source code was downloaded and built as of today 11/15/03.



Here's what's in sip.conf:


[general]
port=5060
bindaddr=192.168.17.2
tos=lowdelay
disallow=all
allow=ulaw
context=aliens
;
; SIP Entry for sipura line 1
; This phone is allowed to dial extensions and local phone numbers
;
[101]
type=friend
host=dynamic
context=house-toll
reinvite=no
canreinvite=no
qualify=300
secret=xxxxx
callerid="Sipura Line 1" <101>
username=101
callgroup=1
pickupgroup=1
mailbox=101 at default
nat=0
                                                                                                                              
; Sample for sipura line 2
; This phone is allowed to dial extensions and local phone numbers
;
[102]
type=friend
host=dynamic
context=house-toll
reinvite=no
canreinvite=no
qualify=300
secret=yyyyy
callerid="Sipura Line 2" <102>
username=102
callgroup=1
pickupgroup=1
mailbox=102 at default
nat=0
                                                                                                                                   

Here's what's in zapata.conf:


;
; zapata.conf
;
                                                                                                                              
[channels]
;
; 2 ea. X100P plugged into PSTN
;
context=from-pstn-xxxxxxxxxx
signalling=fxs_ks
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
relaxdtmf=yes
rxgain=1.5
txgain=1.5
immediate=no
busydetect=no
callprogress=no
musiconhold=default
usecallerid=no
;callerid=asreceived
group=1
channel=1
;
context=from-pstn-xxxxxxxxxx
channel=2

;
; TDM100B Port #1 plugged into analog Phone
; This phone is allowed to dial extensions and local and long distance numbers
;
amaflags=documentation
context=house-admin
signalling=fxo_ks
callwaiting=yes
callwaitingcallerid=no
threewaycalling=yes
cancallforward=yes
transfer=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=no
relaxdtmf=yes
rxgain=1
txgain=1
immediate=no
musiconhold=default
usecallerid=yes
callerid="TDM100 Zap Phone" <103>
callgroup=1
pickupgroup=1
group=2
channel=3


Here's the verbose output from the console when *8# is dialed on a sip phone:

    -- Starting simple switch on 'Zap/3-1'
    -- Executing SetVar("Zap/3-1", "ALERT_INFO=Bellcore-r3") in new stack
    -- Executing Dial("Zap/3-1", "SIP/101 at 192.168.17.6:5060|20") in new stack
    -- Called 101 at 192.168.17.6:5060
    -- SIP/192.168.17.6-67bd is ringing
NOTICE[1142127920]: File chan_sip.c, Line 5090 (handle_request): Nothing to 
pick up
  == Spawn extension (house-admin, 101, 2) exited non-zero on 'Zap/3-1'
    -- Hungup 'Zap/3-1'




More information about the asterisk-users mailing list