[asterisk-users] GXP - 2000 BLF

Andrew Shelton andrew.shelton at stemnetworks.co.uk
Thu Oct 5 06:00:41 MST 2006


Hello,

 

I have been trying to get my Grandstream busy line filter to work for
ages..

 

All the lights flash as they are supposed to.

 

If one Grandstream 7000 calls another Grandstream 7003 I can use
Grandstream 7002 to pick the call up pressing the BLF button and all
works fine.

 

However if I call Grandstream 7000 with a mobile phone and try to pickup
the call with Grandstream 7002 all I get is a 603 error on Grandstream
7002.

 

I am using firmware 1.1.12 for the Grandstream and 1.2.12.1 version of
asterisk

 

 

This is the error I get from my log..

 

if some one could please help

 
Oct  5 12:12:51 DEBUG[7723] chan_sip.c: build_route: Contact hop:
<sip:7003 at 192.168.1.94:5060>
Oct  5 12:12:51 VERBOSE[8828] logger.c:     -- Executing
NoOp("SIP/7003-b721be28", "**7002") in new stack
Oct  5 12:12:51 VERBOSE[8828] logger.c:     -- Executing
Pickup("SIP/7003-b721be28", "7002") in new stack
Oct  5 12:12:51 DEBUG[8828] app_directed_pickup.c: No originating
channel found.
Oct  5 12:12:51 DEBUG[8828] app_directed_pickup.c: No call pickup
possible...
Oct  5 12:12:51 VERBOSE[8828] logger.c:   == Spawn extension
(inbound-from-stem, **7002, 2) exited non-zero on 'SIP/7003-b721be28'
Oct  5 12:12:51 DEBUG[7716] channel.c: Avoiding initial deadlock for
'SIP/7003-b721be28'

 

SIP
 
[7000]
type=friend
context=inbound-from-stem
Subscribecontext=BLF
secret=*
host=dynamic
canreinvite=no
callgroup=2
pickupgroup=2
mailbox=7000 at default
username=7000
dtmfmode=rfc2833
callerid="STEM" <17524543545>
qualify=yes

 

 

EXTENSIONS

 

[default]

include => stem

include => to-siemens

include => BLF

include => BLF_group_pickup

 

 

[stem]

;exten STEM GROUP = 01752 692205

exten => 123454,1,Ringing

exten => 123454,n,Wait(1)

exten => 123454,n,Answer()

exten => 123454,n,NoOp(${CALLERID(all)})

exten => 123454,n,SetCIDName(Outside Caller)

exten => 123454,n,Set(CALLERID(number)=9${CALLERIDNUM})

exten => 123454,n,NoOp(${CALLERID(all)})

exten => 123454,n,Macro(stdexten2,7003,${STEMGROUP},20)

 

;exten 7000 = 01752 692204

exten => 123455,1,Ringing

exten => 123455,n,Wait(1)

exten => 123455,n,Answer()

exten => 123455,n,NoOp(${CALLERID(all)})

exten => 123455,n,SetCIDName(Outside Caller)

exten => 123455,n,Set(CALLERID(number)=9${CALLERIDNUM})

exten => 123455,n,NoOp(${CALLERID(all)})

exten => 123455,n,Macro(stdexten2,7000,${stem},20)

 

;exten 7001 = 01752 692283

exten => 123456,1,Ringing

exten => 123456,n,Wait(1)

exten => 123456,n,Answer()

exten => 123456,n,NoOp(${CALLERID(all)})

exten => 123456,n,SetCIDName(Outside Caller)

exten => 123456,n,Set(CALLERID(number)=9${CALLERIDNUM})

exten => 123456,n,NoOp(${CALLERID(all)})

exten => 123456,n,Macro(stdexten2,7001,${stem1},20)

 

 

[internal]

;Internal Extensions

exten => _7XXX,1,Ringing

exten => _7XXX,n,Wait(1)

exten => _7XXX,n,Answer()

exten => _7XXX,n,Set(FOO1=${CHANNEL:4})

exten => _7XXX,n,Set(FOO2=${CUT(FOO1,-,1)})

exten => _7XXX,n,Set(CALLERID(number)=${FOO2})

exten => _7XXX,n,Macro(stdexten,${EXTEN},SIP/${EXTEN})

 

 

[inbound-from-pstn] ; inbound calls to this context from outside lines

include => default

 

 

[inbound-from-sip]

include => default

 

[inbound-from-local]

;from sip default context used.. requires hints

include => voicemail

include => provider

include => outbound

;include => stem  ;for hints

 

 

[inbound-from-stem]

include => BLF

include => internal

include => DefExt

include => voicemail

include => outbound

include => BLF_group_pickup

include => feature-cfu

include => feature-cfna

include => feature-cfb

 

[inbound-from-logicall]

include => internal

include => DefExt

include => voicemail

include => outbound

include => BLF_group_pickup

include => feature-cfu

include => feature-cfna

include => feature-cfb

 

;Test section for BLF on Grandstreams for Stem

[BLF_group_pickup]

include =>inbound-from-stem

exten => _**.,1,NoOp(${EXTEN})

exten => _**.,2,Pickup(${EXTEN:2})

exten => _**.,3,Hangup

 

[BLF]

include =>inbound-from-stem

exten =>7000,hint,SIP/7000

exten =>7000,1,Dial(SIP/7000,20,r)

exten =>7001,hint,SIP/7001

exten =>7001,1,Dial(SIP/7001,20,r)

exten =>7002,hint,SIP/7002

exten =>7002,1,Dial(SIP/7002,20,r)

exten =>7003,hint,SIP/7003

exten =>7003,1,Dial(SIP/7003,20,r)

exten =>7004,hint,SIP/7004

exten =>7004,1,Dial(SIP/7004,20,r)

exten =>7005,hint,SIP/7005

exten =>7005,1,Dial(SIP/7005,20,r)

exten =>7006,hint,SIP/7006

exten =>7006,1,Dial(SIP/7006,20,r)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061005/f4499db5/attachment.htm


More information about the asterisk-users mailing list