[asterisk-users] E911 mf camma Trunks

Andrew Ott aott at actcom.net
Tue Aug 28 10:51:51 CDT 2007


I just set up a t1 with 2 camma mf 911 trunks on it, and I am having a issue
with it.  We can call 911 which is routed out these new trunks, and it goes
to the 911 center, but they are not getting the ANI and hence "no record
found".  Our LEC is Embarq, and they say they can see the call come in and
send:

KP-911-ST and then KP-0-911-ST rather then KP-0-ANI-ST

I turned on all the debug and logging that I could and still can't tell
exactly what it is sending to them.

My question is has any one had this issue, is anyone else even using the
e911, and if so how do you have it set up?  I'll post my relevant configs
below:

ZAPTEL.conf
=======================
#Sangoma A102 port 2 [slot:11 bus:1 span: 2]
span=2,0,0,esf,b8zs
e&m=25-48
=======================

ZAPATA.conf
=======================
;911 group
group = 2
restrictcid=yes
signalling = e911
channel => 25-26
=======================

EXTENSIONS.conf
=======================
[globals]
DIGG1=Zap/g1
DIGG2=Zap/g2

; 911
exten => 911,1,NoOp(911 ANI CALLER ID INFO IS: ${CALLERID(ani)} REGULAR
CALLER ID: ${CALLERID(all)})
;exten => 911,2,Dial(${DIGG2}/${EXTEN})
exten => 911,2,Dial(${DIGG2}/${CALLERID(ani)})
=======================

I've tried it with either one of those ${EXTEN} which just does 911, and the
${CALLERID(ani)} both have the same result no number transmitted over the
911 trunks, keep in mind we still get to the 911 center with no problem.

Here is the DEBUG from the last call I did:

DEBUG
========================
[Aug 28 15:05:25] DEBUG[3207] pbx.c: Function result is '3086327836'
[Aug 28 15:05:25] DEBUG[3207] pbx.c: Function result is '"" <3086327836>'
[Aug 28 15:05:25] DEBUG[3207] pbx.c: Launching 'NoOp'
[Aug 28 15:05:25] DEBUG[3207] pbx.c: Function result is '3086327836'
[Aug 28 15:05:25] DEBUG[3207] pbx.c: Launching 'Dial'
[Aug 28 15:05:25] DEBUG[3207] chan_zap.c: Using channel 25
[Aug 28 15:05:25] DEBUG[3207] rtp.c: Channel 'Zap/25-1' has no RTP, not
doing anything
[Aug 28 15:05:25] DEBUG[3207] channel.c: Not copying variable
STACK-from-pbx-911-2.
[Aug 28 15:05:25] DEBUG[3207] channel.c: Not copying variable
STACK-from-pbx-911-1.
[Aug 28 15:05:25] DEBUG[3207] chan_zap.c: Dialing '3086327836'
[Aug 28 15:05:25] DEBUG[3207] chan_zap.c: Deferring dialing...
[Aug 28 15:05:25] DEBUG[2347] channel.c: Avoiding initial deadlock for
channel '0x81dda38'
[Aug 28 15:05:26] DEBUG[3207] chan_zap.c: Exception on 41, channel 25
[Aug 28 15:05:26] DEBUG[3207] chan_zap.c: Got event Wink/Flash(3) on channel
25 (index 0)
[Aug 28 15:05:26] DEBUG[3207] chan_zap.c: Exception on 41, channel 25
[Aug 28 15:05:26] DEBUG[3207] chan_zap.c: Got event Hook Transition
Complete(12) on channel 25 (index 0)
[Aug 28 15:05:26] DEBUG[3207] chan_zap.c: Got hook complete in MF FGD,
waiting for wink now on channel 25
[Aug 28 15:05:27] DEBUG[3207] chan_zap.c: Exception on 41, channel 25
[Aug 28 15:05:27] DEBUG[3207] chan_zap.c: Got event Dial Complete(9) on
channel 25 (index 0)
[Aug 28 15:05:27] DEBUG[3207] chan_zap.c: No echo cancellation requested
[Aug 28 15:05:27] DEBUG[3207] chan_zap.c: Exception on 41, channel 25
[Aug 28 15:05:27] DEBUG[3207] chan_zap.c: Got event Ring/Answered(2) on
channel 25 (index 0)
[Aug 28 15:05:29] DEBUG[3207] chan_zap.c: Exception on 41, channel 25
[Aug 28 15:05:29] DEBUG[3207] chan_zap.c: Got event Dial Complete(9) on
channel 25 (index 0)
[Aug 28 15:05:29] DEBUG[3207] chan_zap.c: No echo cancellation requested
[Aug 28 15:05:29] DEBUG[3207] chan_zap.c: No echo training requested
[Aug 28 15:05:30] DEBUG[3207] chan_zap.c: Exception on 41, channel 25
[Aug 28 15:05:30] DEBUG[3207] chan_zap.c: Got event Dial Complete(9) on
channel 25 (index 0)
[Aug 28 15:05:30] DEBUG[3207] chan_zap.c: No echo cancellation requested
=========================

VEBOSE
=========================
[Aug 28 15:05:25]     -- Accepting AUTHENTICATED call from 64.187.80.26:
       > requested format = ulaw,
       > requested prefs = (ulaw),
       > actual format = ulaw,
       > host prefs = (ulaw),
       > priority = mine
[Aug 28 15:05:25]     -- Executing [911 at from-pbx:1] NoOp("IAX2/pbx1-15",
"911 ANI CALLER ID INFO IS: 3086327836 REGULAR CALLER ID: "" <3086327836>")
in new stack
[Aug 28 15:05:25]     -- Executing [911 at from-pbx:2] Dial("IAX2/pbx1-15",
"Zap/g2/3086327836") in new stack
[Aug 28 15:05:25]     -- Called g2/3086327836
[Aug 28 15:05:30]     -- Zap/25-1 answered IAX2/pbx1-15
[Aug 28 15:05:56]     -- Hungup 'Zap/25-1'
==========================


Is there some way to see in logging if we are transmitting, the ANI via mf
properly ( as in any mf tone logging ), I can't seem to make it log the KP
lines it sends at all.  Can someone point this out in the code, as I can't
seem to find where in the code it builds these strings.

I'm using
Asterisk 1.4.11
Zaptel 1.4.3
libpri 1.4.1
WANPIPE 3.1.1

Thank you for any help you can give.

======================================================================
Andrew Ott               Email: aott at prairieweb.com or aott at actcom.net
Network Admin/Webmaster  Web:   www.prairieweb.com or www.actcom.net
======================================================================
Death is Gods way of Dropping Carrier.
God is real, unless declared integer.
God, Root, What's the Difference?  -  UserFriendly.org
======================================================================






More information about the asterisk-users mailing list