Dahdi - Trunk hang up

womble1

Guru
Joined
Oct 19, 2008
Messages
632
Reaction score
6
I noticed today…
mid call …(I am in the uk)
That the call hung up with "the dialed party did not answer" or some such.. and then mid call the phone hung up…

using Dahdi, freepbx latest and with pbxinaflash…


this is what the logs say… but I was actually on a call at the time...

[2010-11-06 19:06:14] VERBOSE[18615] logger.c: -- Nobody picked up in 300000 ms
[2010-11-06 19:06:14] VERBOSE[18615] logger.c: -- Hungup 'DAHDI/1-1'
[2010-11-06 19:06:14] DEBUG[18615] app_macro.c: Executed application: Dial
[2010-11-06 19:06:14] VERBOSE[18615] logger.c: -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/303-00000013", "Dial failed for some reason with DIALSTATUS = NOANSWER and HANGUPCAUSE = 0") in new stack
 
Nobody picked up in 300000 ms

I take it your were on for more than 5 min when it hung up? Sounds like your signaling isn't quite right to detect off hook. Either at the provider end or yours - either way they aren't matching
 
well it's a BT line in the UK,
what should my config say to get this right …?
 
I seem to remember reading something about BT using polarity-reversal for caller ID and possibly signaling.

I wonder if it could be related. What are your settings in chan_dahdi.conf?
 
The only other thing I can think of would be to try each of these: kickstart, loopstart, and groundstart - see if you problem changes, improves, gets worse.

It would be most helpful if you could post your chan_dahdi.conf.
 
; Copied from DAHDI Module of FreePBX

[general]

include chan_dahdi_general.conf

[channels]

; include dahdi groups defined by DAHDI module of FreePBX
#include chan_dahdi_groups.conf

include chan_dahdi_additional.conf
cidsignalling=v23
cidstart=polarity
usecallerid=yes
ukcallerid=yes
answeronpolarityswitch=yes
sendcalleridafter=1
echocancel=yes
echocancelwhenbridged=no

context=from-dahdi
callwaitingcallerid=yes
callerid=asreceived
hidecallerid=no
group=
channel => 1
 
; Copied from DAHDI Module of FreePBX

[general]

i
#include chan_dahdi_groups.conf <= this is right

include chan_dahdi_additional.conf <= this is wrong!

The first line is correctly written, the second line without the preceding # should be removed. Some people mistake the # to mean a comment line. It is not in this case. It is a directive to "include" the following conf file.
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top