Hello all of you,
i have freePBX 2.7.0, asterisk 1.6.2.13.
i have a problem with my analoge FXO gatway, when there is a call it go very good from the box till it come to the gateway then to callee but the bill calculation (A2Billing) is not correct it start from the ring time to calculate, i found that polarity reversal can solve my problem, so i changed the Gateway with polarity reversal and also configured the chan_dahdi.conf and added :
answeronpolarityswitch=yes
hanguponpolarityswitch=yes
but now there is no calculation at all, and after 55sec i become the massege from Astrisk, that no body answer, altho the calle is talking, debug the call give:
Jul 20 21:24:07 WARNING [2796] chan_sip.c: Re-invite to non-existing call leg on other UA. SIP dialog ‘[email protected]’. Giving up.
Jul 20 21:24:07 VERBOSE [14155] app_dial.c:-- SIP/sudan_connection-00000169 is circuit-busy
Jul 20 21:24:07 VERBOSE [14155] app_dial.c:== Everyone is busy/congested at this time (1:0/1/0)
Jul 20 21:24:07 VERBOSE [14155] pbx.c:-- Executing [s@macro-dialout-trunk:20] NoOp(“SIP/306-00000168”, “Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 18”) in new stack
Jul 20 21:24:07 VERBOSE [14155] pbx.c:-- Executing [s@macro-dialout-trunk:21] Goto(“SIP/306-00000168”, “s-CONGESTION,1”) in new stack
Jul 20 21:24:07 VERBOSE [14155] pbx.c:-- Goto (macro-dialout-trunk,s-CONGESTION,1)
Jul 20 21:24:07 VERBOSE [14155] pbx.c:-- Executing [s-CONGESTION@macro-dialout-trunk:1] Set(“SIP/306-00000168”, “RC=18”) in new stack
Jul 20 21:24:07 VERBOSE [14155] pbx.c:-- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto(“SIP/306-00000168”, “18,1”) in new stack
Jul 20 21:24:07 VERBOSE [14155] pbx.c:-- Goto (macro-dialout-trunk,18,1)
Jul 20 21:24:07 VERBOSE [14155] pbx.c:-- Executing [18@macro-dialout-trunk:1] Goto(“SIP/306-00000168”, “s-NOANSWER,1”) in new stack
Jul 20 21:24:07 VERBOSE [14155] pbx.c:-- Goto (macro-dialout-trunk,s-NOANSWER,1)
Jul 20 21:24:07 VERBOSE [14155] pbx.c:-- Executing [s-NOANSWER@macro-dialout-trunk:1] NoOp(“SIP/306-00000168”, “Dial failed due to trunk reporting NOANSWER - giving up”) in new stack
Jul 20 21:24:07 VERBOSE [14155] pbx.c:-- Executing [s-NOANSWER@macro-dialout-trunk:2] Progress(“SIP/306-00000168”, “”) in new stack
Jul 20 21:24:07 VERBOSE [14155] pbx.c:-- Executing [s-NOANSWER@macro-dialout-trunk:3] Playback(“SIP/306-00000168”, “number-not-answering,noanswer”) in new stack
Jul 20 21:24:07 VERBOSE [14155] file.c:-- <SIP/306-00000168> Playing ‘number-not-answering.gsm’ (language ‘en’)
Jul 20 21:24:09 VERBOSE [14155] pbx.c:-- Executing [s-NOANSWER@macro-dialout-trunk:4] Congestion(“SIP/306-00000168”, “20”) in new stack
Jul 20 21:24:09 WARNING [14155] channel.c:Prodding channel ‘SIP/306-00000168’ failed
Jul 20 21:24:09 VERBOSE [14155] app_macro.c:== Spawn extension (macro-dialout-trunk, s-NOANSWER, 4) exited non-zero on ‘SIP/306-00000168’ in macro 'dialout-trunk’
Jul 20 21:24:09 VERBOSE [14155] pbx.c:== Spawn extension (from-internal, 00249912290500, 4) exited non-zero on 'SIP/306-00000168’
Jul 20 21:24:09 VERBOSE [14155] pbx.c:-- Executing [h@from-internal:1] Macro(“SIP/306-00000168”, “hangupcall”) in new stack
Jul 20 21:24:09 VERBOSE [14155] pbx.c:-- Executing [s@macro-hangupcall:1] GotoIf(“SIP/306-00000168”, “1?noautomon”) in new stack
Jul 20 21:24:09 VERBOSE [14155] pbx.c:-- Goto (macro-hangupcall,s,3)
Jul 20 21:24:09 VERBOSE [14155] pbx.c:-- Executing [s@macro-hangupcall:3] NoOp(“SIP/306-00000168”, “TOUCH_MONITOR_OUTPUT=”) in new stack
Jul 20 21:24:09 VERBOSE [14155] pbx.c:-- Executing [s@macro-hangupcall:4] GotoIf(“SIP/306-00000168”, “1?skiprg”) in new stack
Jul 20 21:24:09 VERBOSE [14155] pbx.c:-- Goto (macro-hangupcall,s,7)
Jul 20 21:24:09 VERBOSE [14155] pbx.c:-- Executing [s@macro-hangupcall:7] GotoIf(“SIP/306-00000168”, “1?skipblkvm”) in new stack
Jul 20 21:24:09 VERBOSE [14155] pbx.c:-- Goto (macro-hangupcall,s,10)
Jul 20 21:24:09 VERBOSE [14155] pbx.c:-- Executing [s@macro-hangupcall:10] GotoIf(“SIP/306-00000168”, “1?theend”) in new stack
Jul 20 21:24:09 VERBOSE [14155] pbx.c:-- Goto (macro-hangupcall,s,12)
Jul 20 21:24:09 VERBOSE [14155] pbx.c:-- Executing [s@macro-hangupcall:12] Hangup(“SIP/306-00000168”, “”) in new stack
Jul 20 21:24:09 VERBOSE [14155] app_macro.c:== Spawn extension (macro-hangupcall, s, 12) exited non-zero on ‘SIP/306-00000168’ in macro 'hangupcall’
Jul 20 21:24:09 VERBOSE [14155] pbx.c:== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/306-00000168’
Jul 20 21:25:01 VERBOSE [2610] asterisk.c:-- Remote UNIX connection
i hope i can finde some help here,
thanks in advance,