Hi,
I've installed Openvox A800P with Elastix 2.0.4.
Everything works as expected, except that sometimes the line suddenly drops.
Can somebody help me?
Here is a CLI output of a drop call:
-- Started music on hold, class 'default', on DAHDI/4-1
-- SIP/20-0000011c is ringing
-- SIP/22-0000011d is ringing
-- SIP/23-0000011e is ringing
-- SIP/22-0000011d answered DAHDI/4-1
-- Executing [s@macro-auto-blkvm:1] Set("SIP/22-0000011d", "__MACRO_RESULT=") in new stack
-- Executing [s@macro-auto-blkvm:2] NoOp("SIP/22-0000011d", "Deleting: BLKVM/600/DAHDI/4-1 TRUE") in new stack
-- Stopped music on hold on DAHDI/4-1
-- Remote UNIX connection
-- Remote UNIX connection disconnected
-- Executing [h@macro-dial:1] Macro("DAHDI/4-1", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/4-1", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] NoOp("DAHDI/4-1", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:4] GotoIf("DAHDI/4-1", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("DAHDI/4-1", "0?skipblkvm") in new stack
-- Executing [s@macro-hangupcall:8] NoOp("DAHDI/4-1", "Cleaning Up Block VM Flag: BLKVM/600/DAHDI/4-1") in new stack
-- Executing [s@macro-hangupcall:9] NoOp("DAHDI/4-1", "Deleting: BLKVM/600/DAHDI/4-1 ") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("DAHDI/4-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,12)
-- Executing [s@macro-hangupcall:12] Hangup("DAHDI/4-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'DAHDI/4-1' in macro 'hangupcall'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'DAHDI/4-1' in macro 'dial'
== Spawn extension (ext-group, 600, 14) exited non-zero on 'DAHDI/4-1'
-- Hungup 'DAHDI/4-1'
Here is my log (another call):
[Feb 15 15:18:17] VERBOSE[2780] netsock.c: == Using SIP RTP TOS bits 184
[Feb 15 15:18:17] VERBOSE[2780] netsock.c: == Using SIP RTP CoS mark 5
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [00********@from-internal:1] Macro("SIP/26-00000096", "user-callerid,SKIPTTL,") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/26-00000096", "AMPUSER=26") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/26-00000096", "0?report") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/26-00000096", "1?Set(REALCALLERIDNUM=26)") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-user-callerid:4] Set("SIP/26-00000096", "AMPUSER=26") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/26-00000096", "AMPUSERCIDNAME=tlmktg") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/26-00000096", "0?report") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-user-callerid:7] Set("SIP/26-00000096", "AMPUSERCID=26") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-user-callerid:8] Set("SIP/26-00000096", "CALLERID(all)="tlmktg" <26>") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-user-callerid:9] ExecIf("SIP/26-00000096", "1?Set(CHANNEL(language)=it)") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-user-callerid:10] GotoIf("SIP/26-00000096", "1?continue") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Goto (macro-user-callerid,s,19)
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-user-callerid:19] NoOp("SIP/26-00000096", "Using CallerID "tlmktg" <26>") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [00********@from-internal:2] Set("SIP/26-00000096", "_NODEST=") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [00********@from-internal:3] Macro("SIP/26-00000096", "record-enable,26,OUT,") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/26-00000096", "1?check") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Goto (macro-record-enable,s,4)
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-record-enable:4] ExecIf("SIP/26-00000096", "0?MacroExit()") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-record-enable:5] GotoIf("SIP/26-00000096", "0?Group:OUT") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Goto (macro-record-enable,s,15)
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-record-enable:15] GotoIf("SIP/26-00000096", "0?IN") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-record-enable:16] ExecIf("SIP/26-00000096", "1?MacroExit()") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [00********@from-internal:4] Macro("SIP/26-00000096", "dialout-trunk,2,0********,,") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/26-00000096", "DIAL_TRUNK=2") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/26-00000096", "0?sub-pincheck,s,1") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/26-00000096", "0?disabletrunk,1") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/26-00000096", "DIAL_NUMBER=0********") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/26-00000096", "DIAL_TRUNK_OPTIONS=tr") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/26-00000096", "OUTBOUND_GROUP=OUT_2") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/26-00000096", "0?nomax") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/26-00000096", "0?chanfull") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/26-00000096", "0?skipoutcid") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/26-00000096", "DIAL_TRUNK_OPTIONS=") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/26-00000096", "outbound-callerid,2") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/26-00000096", "0?Set(CALLERPRES()=)") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/26-00000096", "0?Set(REALCALLERIDNUM=26)") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/26-00000096", "1?normcid") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Goto (macro-outbound-callerid,s,6)
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/26-00000096", "USEROUTCID=") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/26-00000096", "EMERGENCYCID=") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/26-00000096", "TRUNKOUTCID=") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/26-00000096", "1?trunkcid") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Goto (macro-outbound-callerid,s,12)
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/26-00000096", "0?Set(CALLERID(all)=)") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/26-00000096", "0?Set(CALLERID(all)=)") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/26-00000096", "0?Set(CALLERID(all)=)") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/26-00000096", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/26-00000096", "1?AGI(fixlocalprefix)") in new stack
[Feb 15 15:18:17] VERBOSE[3914] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
[Feb 15 15:18:17] VERBOSE[3914] res_agi.c: == fixlocalprefix: Dialpattern . matched. 0******** -> 0********
[Feb 15 15:18:17] VERBOSE[3914] res_agi.c: -- <SIP/26-00000096>AGI Script fixlocalprefix completed, returning 0
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/26-00000096", "OUTNUM=0********") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/26-00000096", "custom=DAHDI/2") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/26-00000096", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:16] Macro("SIP/26-00000096", "dialout-trunk-predial-hook,") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/26-00000096", "") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/26-00000096", "0?bypass,1") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/26-00000096", "0?customtrunk") in new stack
[Feb 15 15:18:17] VERBOSE[3914] pbx.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/26-00000096", "DAHDI/2/0********,300,") in new stack
[Feb 15 15:18:17] VERBOSE[3914] app_dial.c: -- Called 2/0********
[Feb 15 15:18:21] VERBOSE[3914] app_dial.c: -- DAHDI/2-1 answered SIP/26-00000096
Here the call gets dropped:
[/b]
[/size][Feb 15 15:19:23] VERBOSE[3914] pbx.c: -- Executing [h@macro-dialout-trunk:1] Macro("SIP/26-00000096", "hangupcall,") in new stack
[Feb 15 15:19:23] VERBOSE[3914] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/26-00000096", "1?noautomon") in new stack
[Feb 15 15:19:23] VERBOSE[3914] pbx.c: -- Goto (macro-hangupcall,s,3)
[Feb 15 15:19:23] VERBOSE[3914] pbx.c: -- Executing [s@macro-hangupcall:3] NoOp("SIP/26-00000096", "TOUCH_MONITOR_OUTPUT=") in new stack
[Feb 15 15:19:23] VERBOSE[3914] pbx.c: -- Executing [s@macro-hangupcall:4] GotoIf("SIP/26-00000096", "1?skiprg") in new stack
[Feb 15 15:19:23] VERBOSE[3914] pbx.c: -- Goto (macro-hangupcall,s,7)
[Feb 15 15:19:23] VERBOSE[3914] pbx.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/26-00000096", "1?skipblkvm") in new stack
[Feb 15 15:19:23] VERBOSE[3914] pbx.c: -- Goto (macro-hangupcall,s,10)
[Feb 15 15:19:23] VERBOSE[3914] pbx.c: -- Executing [s@macro-hangupcall:10] GotoIf("SIP/26-00000096", "1?theend") in new stack
[Feb 15 15:19:23] VERBOSE[3914] pbx.c: -- Goto (macro-hangupcall,s,12)
[Feb 15 15:19:23] VERBOSE[3914] pbx.c: -- Executing [s@macro-hangupcall:12] Hangup("SIP/26-00000096", "") in new stack
[Feb 15 15:19:23] VERBOSE[3914] app_macro.c: == Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'SIP/26-00000096' in macro 'hangupcall'
[Feb 15 15:19:23] VERBOSE[3914] chan_dahdi.c: -- Hungup 'DAHDI/2-1'
[Feb 15 15:19:23] VERBOSE[3914] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/26-00000096' in macro 'dialout-trunk'
[Feb 15 15:19:23] VERBOSE[3914] pbx.c: == Spawn extension (from-internal, 00********, 4) exited non-zero on 'SIP/26-00000096'
[Feb 15 15:20:01] VERBOSE[2679] asterisk.c: -- Remote UNIX connection
[Feb 15 15:20:01] VERBOSE[3919] asterisk.c: -- Remote UNIX connection disconnected
[Feb 15 15:20:03] VERBOSE[2780] netsock.c: == Using SIP RTP TOS bits 184
[Feb 15 15:20:03] VERBOSE[2780] netsock.c: == Using SIP RTP CoS mark 5
Here is my conf files:
DAHDI-CHANNELS.conf
; Span 1: OPVXA1200/12 "OpenVox A1200P/A800P Board 13" (MASTER)
;;; line="1 OPVXA1200/12/0 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default
usecallerid=yes
language=it
tonezone= 11
;;; line="2 OPVXA1200/12/1 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 2
callerid=
group=
context=default
language=it
tonezone= 11
;;; line="3 OPVXA1200/12/2 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
callerid=
group=
context=default
language=it
tonezone= 11
;;; line="4 OPVXA1200/12/3 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 4
callerid=
group=
context=default
language=it
tonezone= 11
CHAN_DAHDI.conf
[trunkgroups]
[channels]
context=from-pstn
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
progzone=it
;Uncomment these lines if you have problems with the disconection of your analog lines
busydetect=yes
busycount=8
immediate=no
#include dahdi-channels.conf
#include chan_dahdi_additional.conf
DAHDI System.conf
fxsks=1
echocanceller=oslec,1
fxsks=2
echocanceller=oslec,2
fxsks=3
echocanceller=oslec,3
fxsks=4
echocanceller=oslec,4
# channel 5, OPVXA1200/12/4, no module.
# channel 6, OPVXA1200/12/5, no module.
# channel 7, OPVXA1200/12/6, no module.
# channel 8, OPVXA1200/12/7, no module.
# Global data
loadzone = it
defaultzone = it