[asterisk-users] Grandstream Busy Light Fields
Jan Prunk
janprunk at gmail.com
Fri Jun 20 06:58:31 CDT 2008
Hello Gordon,
On Thu, 19 Jun 2008, Jan Prunk wrote:
>* You might want to try:
*>*
*>* exten => _**.,1,Pickup(${EXTEN:2})
*>* exten => _**.,n,Hangup()
*
>*
*>* Ok I have tried adding these 2 lines, and the error which I get when calling
*>* 01 5863165, which then rings extension 65, and I try to accept the call on
*>* extension 70 by a BLF button. It gives me error code.
*>*
*>* -- Accepting overlap voice call from '015852977' to '5863165' on channel
*>* 0/1, span 3
*>* -- Starting simple switch on 'Zap/7-1'
*>* -- Executing [5863165 at buster
<http://lists.digium.com/mailman/listinfo/asterisk-users>:1]
Dial("Zap/7-1", "SIP/65|17|rtk") in new
*>* stack
*>* Extension Changed 65[BLF] new state Ringing for Notify User 70
*>* -- Called 65
*>* -- SIP/65-081fb370 is ringing
*>* -- Executing [**65 at buster
<http://lists.digium.com/mailman/listinfo/asterisk-users>:1]
PickUp("SIP/70-b5f18268", "65") in new
*>* stack
*>* [2008-06-19 15:13:33] WARNING[7287]: channel.c:4347 ast_get_group: Ignoring
*>* invalid group 65 (maximum group is 63)
*>* -- No channel found 0.
*>* == Spawn extension (buster, **65, 1) exited non-zero on 'SIP/70-b5f18268'
*>* -- Channel 0/1, span 3 got hangup request, cause 16
*>* Extension Changed 65[BLF] new state Idle for Notify User 70
*>* == Spawn extension (buster, 5863165, 1) exited non-zero on 'Zap/7-1'
*>* -- Hungup 'Zap/7-1'
*
Er, I don't get quite the same output as you - I'm on 1.2 though. A test
call I've just done - extension 109 called extension 100, and extension
101 (a grandstream phone) picked it up by pushing the BLF key
corresponding to extension 100:
-- Executing Dial("SIP/109-0820a178", "IAX2/100&SIP/100||WwTton")
in new stack
-- Called 100
-- SIP/100-081fe780 is ringing
Extension Changed 100 new state Ringing for Notify User 101
-- Executing Pickup("SIP/101-081edf38", "100") in new stack
-- Executing Hangup("SIP/101-081edf38", "") in new stack
== Spawn extension (internal, **100, 2) exited non-zero on 'SIP/101-081edf38'
-- SIP/101-081edf38 answered SIP/109-0820a178
Extension Changed 100 new state Idle for Notify User 101
== Spawn extension (macro-dialInternal, s, 53) exited non-zero on
'SIP/109-0820a178' in macro 'dialInternal'
So your pickup is picking up a group - seems odd to me, but maybe the
behaviour changed after 1.2 ?
One other thing - do you have
exten => 65,1,Dial(SIP/65)
Yes I do have this:
exten => 65,1,Dial(SIP/65,30,rtk)
exten => 65,n,Hangup()
exten => 70,1,Dial(SIP/70,30,rtk)
exten => 70,n,Hangup()
As pickup works on the extension not the channel... (ie. what do you dial
on a phone to make the SIP/65 ring? What does the DDI point to?)
It goes like this:
exten => 5863165,1,Dial(SIP/65,17,rtk)
exten => 5863165,n,Dial(SIP/64,120,rtk)
exten => 5863165,n,Hangup()
Regards,
Jan
--
Jan Prunk <janprunk AT SPAMFREE gmail DOT com>
Website: http://www.prunk.si PGP key: 00E80E86
Fingerprint: 77C5156E29A4EB6C1C4A5EBA414A29F500E80E86
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080620/0164bf12/attachment.htm
More information about the asterisk-users
mailing list