Trying A2billing for the first time

telecomtechnician

Joined
Jan 8, 2008
Messages
422
Likes
0
Points
16
#1
Hi elastix community

I am testing A2billing on elastix 2.0.I have read all the posts in this forum, but I am not been able to make it work.

I create a condition in the outbound route to select the a2billing trunk which is 8.

Any way it is not working, it sdoes not dial out, I will post the CLI:

== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [804167112085@from-internal:1] Macro("SIP/400-00000009", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/400-00000009", "AMPUSER=400") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/400-00000009", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/400-00000009", "1?Set(REALCALLERIDNUM=400)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/400-00000009", "AMPUSER=400") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/400-00000009", "AMPUSERCIDNAME=cyber0") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/400-00000009", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/400-00000009", "AMPUSERCID=400") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/400-00000009", "CALLERID(all)="cyber0" <400>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/400-00000009", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/400-00000009", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/400-00000009", "Using CallerID "cyber0" <400>") in new stack
-- Executing [804167112085@from-internal:2] NoOp("SIP/400-00000009", "Calling Out Route: cyber") in new stack
-- Executing [804167112085@from-internal:3] Set("SIP/400-00000009", "MOHCLASS=default") in new stack
-- Executing [804167112085@from-internal:4] Set("SIP/400-00000009", "_NODEST=") in new stack
-- Executing [804167112085@from-internal:5] Macro("SIP/400-00000009", "record-enable,400,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/400-00000009", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/400-00000009", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/400-00000009", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/400-00000009", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/400-00000009", "1?MacroExit()") in new stack
-- Executing [804167112085@from-internal:6] Macro("SIP/400-00000009", "dialout-trunk,6,04167112085,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/400-00000009", "DIAL_TRUNK=6") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/400-00000009", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/400-00000009", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/400-00000009", "DIAL_NUMBER=04167112085") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/400-00000009", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/400-00000009", "OUTBOUND_GROUP=OUT_6") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/400-00000009", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/400-00000009", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/400-00000009", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/400-00000009", "outbound-callerid,6") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/400-00000009", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/400-00000009", "0?Set(REALCALLERIDNUM=400)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/400-00000009", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/400-00000009", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/400-00000009", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/400-00000009", "TRUNKOUTCID=0000000") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/400-00000009", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/400-00000009", "1?Set(CALLERID(all)=0000000)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/400-00000009", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/400-00000009", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/400-00000009", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/400-00000009", "1?sub-flp-6,s,1") in new stack
-- Executing [s@sub-flp-6:1] ExecIf("SIP/400-00000009", "1?Return()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/400-00000009", "OUTNUM=04167112085") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/400-00000009", "custom=AMP") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/400-00000009", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/400-00000009", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/400-00000009", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/400-00000009", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/400-00000009", "1?customtrunk") in new stack
-- Goto (macro-dialout-trunk,s,22)
-- Executing [s@macro-dialout-trunk:22] Set("SIP/400-00000009", "pre_num=AMP:Local/") in new stack
-- Executing [s@macro-dialout-trunk:23] Set("SIP/400-00000009", "the_num=OUTNUM") in new stack
-- Executing [s@macro-dialout-trunk:24] Set("SIP/400-00000009", "post_num=@a2billing/n") in new stack
-- Executing [s@macro-dialout-trunk:25] GotoIf("SIP/400-00000009", "1?outnum:skipoutnum") in new stack
-- Goto (macro-dialout-trunk,s,26)
-- Executing [s@macro-dialout-trunk:26] Set("SIP/400-00000009", "the_num=04167112085") in new stack
-- Executing [s@macro-dialout-trunk:27] Dial("SIP/400-00000009", "Local/04167112085@a2billing/n,300,") in new stack
-- Called 04167112085@a2billing/n
-- Executing [04167112085@a2billing:1] Answer("Local/04167112085@a2billing-8c3c;2", "") in new stack
-- Local/04167112085@a2billing-8c3c;1 answered SIP/400-00000009
-- Executing [04167112085@a2billing:2] Wait("Local/04167112085@a2billing-8c3c;2", "1") in new stack
-- Executing [04167112085@a2billing:3] DeadAGI("Local/04167112085@a2billing-8c3c;2", "a2billing.php|1") in new stack
-- Executing [04167112085@a2billing:4] Hangup("Local/04167112085@a2billing-8c3c;2", "") in new stack
== Spawn extension (a2billing, 04167112085, 4) exited non-zero on 'Local/04167112085@a2billing-8c3c;2'
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/400-00000009", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/400-00000009", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/400-00000009", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/400-00000009", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/400-00000009", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/400-00000009' in macro 'hangupcall'
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/400-00000009'
== Spawn extension (macro-dialout-trunk, s, 27) exited non-zero on 'SIP/400-00000009' in macro 'dialout-trunk'
== Spawn extension (from-internal, 804167112085, 6) exited non-zero on 'SIP/400-00000009'
-- Executing [h@from-internal:1] Macro("SIP/400-00000009", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/400-00000009", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/400-00000009", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/400-00000009", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/400-00000009", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/400-00000009' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/400-00000009'

Hope any body can help

Thanks

David Medina
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,564
Latest member
Mai Tuyen
Top