Hello list


i want to use pickup with sip and astersik 1.4



i configured all the inbound calls in 1 sip phone 224 and want to pickup the
calls using 222 SIP



Could you please see the code below and tell me what is wrong



NB when i make *8+ok i can pickup the call but i want to specify the number.



extenssion.conf

[agents]
exten => _2XX,1,Dial(SIP/${EXTEN})
exten => _*8XXX,1,PickupChan(SIP/${EXTEN:2})


sip.conf

[general]
context=agents
allowguest=yes
allowoverlap=no
allowtransfer=yes
allow=alaw
allow=ulaw
allow=gsm
allow=ilbc

[222]
type=friend
context=agents
host=dynamic
dtmfmode=auto
disallow=all
allow=alaw
allow=ulaw
qualify=yes
callgroup=1
pickupgroup=1

[224]
type=friend
context=agents
host=dynamic
dtmfmode=auto
disallow=all
allow=alaw
allow=ulaw
qualify=yes
callgroup=1
pickupgroup=1
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to