[asterisk-users] UK -999 dialing issue

Phil Knighton phil.knighton at mjog.com
Thu Feb 14 03:39:33 CST 2008


Hi Amit
 
OK, the majority of our calls go out via zaptel fxo and pstn lines.
When these are all busy, calls are routed via a VOIP provider here in
the UK.  All activity is recorded in our logs, and I can find no trace
of either 999 or 112 (if since been reminded that in the UK, you can now
also use 112 which is consistent with continental Europe).
 
I can't find a call placed at the relevant time that had these numbers,
even as mid-part of a string.
 
Below is the part which deals with our external calls.  As you can see,
calls are routed out via zap, or VOIP (that's the gradwell bit).  If
someone prefixes a call with "9" it forces it our via VOIP and if
someone dials "999" it is intercepted and sent via the zap channels. If
no zap channel is free, a call on channel 1 is ended and the number
re-dialled.  This makes sure that emergency calls can always be placed
on a landline.

Any ideas would be appreciated!

Phil
 
[softoption-zap]

exten => _0[123456789].,1,NoOp(${EXTEN})
exten => _0[123456789].,2,Dial(Zap/g0/${EXTEN},,j)
exten => _0[123456789].,103,Dial(IAX2/Gradwell/44${EXTEN:1},,)
exten => _00[1-9].,1,Dial(IAX2/Gradwell/${EXTEN:2},,)
exten => _90[123456789].,1,Dial(IAX2/Gradwell/44${EXTEN:2},,)

; The below section will allow for 3 digit BT numbers to be called, by
prefixing them with 9
; For example: 154 is BT Business Faults - dial 9154

exten => _9[123456789]XX,1,NoOp(${EXTEN})
exten => _9[123456789]XX,2,Dial(Zap/g0/${EXTEN:1},,j)

; The below section will allow for 999 Emergency calls to be made. This
will FORCE these calls
; over our BT lines, which will provide CallerID and location
information to the Emergency Operator
; If there are no BT lines free, it will force a call to end and then
dial

exten => 999,1,NoOp(999)
exten => 999,2,Dial(Zap/g0/999,,j)
exten => 999,3,Hangup()
exten => 999,102,SoftHangup(Zap/1-1)
exten => 999,103,Wait(1)
exten => 999,104,Goto(1)

[softoption-gradwell]
exten => _00[1-9].,1,Dial(IAX2/Gradwell/${EXTEN:2},,)
exten => _0[123456789].,1,Dial(IAX2/Gradwell/44${EXTEN:1},,)
exten => _[1-9]XXXXX,1,Dial(IAX2/Gradwell/441353${EXTEN},,)


________________________________

From: amit salunkhe [mailto:amitsalunkhe21 at gmail.com] 
Sent: 14 February 2008 07:44
To: Phil Knighton
Subject: UK -999 dialing issue


HI Phil
            Can u send me ur out call context config. Also tell me what
ur using with Asterisk to make out call SIp-Voip or Pstn line with Fxo
card?
            also check with this command in ur Asterisk console. sip
show peers so u  can get anybody from out side place such call inbehalf
of u. check who & how many user regsiter with ur Asterisk. if ur using
FXO card then also there is chance to check this.
       also use Mysql for CDR table tocheck who try to call at time. so
u got any hint for this
 
Regards
Amit



More information about the asterisk-users mailing list