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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20110906/0dba3399/attachment.htm>
On Tue, Sep 06, 2011 at 04:43:39PM +0000, salaheddine elharit wrote: [asterisk 1.4]> [agents] > exten => _2XX,1,Dial(SIP/${EXTEN}) > exten => _*8XXX,1,PickupChan(SIP/${EXTEN:2})SIP/222 is not a channel but an extension. See: http://www.voip-info.org/wiki/view/Asterisk+cmd+Pickup -- Daniel Tryba
ok thanks for you response how can i do in order to fix this issue regards 2011/9/6 Daniel Tryba <daniel at tryba.nl>> On Tue, Sep 06, 2011 at 04:43:39PM +0000, salaheddine elharit wrote: > > [asterisk 1.4] > > [agents] > > exten => _2XX,1,Dial(SIP/${EXTEN}) > > exten => _*8XXX,1,PickupChan(SIP/${EXTEN:2}) > > SIP/222 is not a channel but an extension. See: > http://www.voip-info.org/wiki/view/Asterisk+cmd+Pickup > > -- > > Daniel Tryba > > -- > _____________________________________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110906/cf7cb937/attachment.htm>