Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 4:54 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: problems sending call to a2billing
PostPosted: Mon Jan 23, 2012 9:41 pm 
Offline

Joined: Tue Jul 27, 2010 8:38 pm
Posts: 15
Hello,

I am using a2billing quite long, but never run into any problems till now. It seems that my voip username tobXXXXXX is not being process bij a2billing. I am using Elastix 1.6.2-7 with Asterisk 1.4.33.1, A2Billing - Version 1.6.0 and FreePBX 2.8.1.4

To see if a2billing is handling my calls, I use one local number in The Netherlands starting with 3110XXXXXXX. This number I have put in an inbound route in asterisk and have choose Custom Destination to be a2billing. When calling 3110XXXXXXX, a2billing is answer the call as it should.
See detalis under

Asterisk 1.4.33.1, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for detail s.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.4.33.1 currently running on pbx- (pid = 9574)
Verbosity is at least 3
-- Executing [3110XXXXXXX@from-sip-external:1] NoOp("SIP/82.361.398.3-00000444", "Received incoming SIP connection from unknown peer to 3110XXXXXXX") in new stack
-- Executing [3110XXXXXXX@from-sip-external:2] Set("SIP/82.361.398.3-00000444", "DID=3110XXXXXXX") in new stack
-- Executing [3110XXXXXXX@from-sip-external:3] Goto("SIP/82.361.398.3-00000444", "s|1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/82.361.398.3-00000444", "1?checklang:noanonymous") in new stack
-- Goto (from-sip-external,s,2)
-- Executing [s@from-sip-external:2] GotoIf("SIP/82.361.398.3-00000444", "0?setlanguage:from-trunk|3110XXXXXXX|1") in new stack
-- Goto (from-trunk,3110XXXXXXX,1)
-- Executing [3110XXXXXXX@from-trunk:1] Set("SIP/82.361.398.3-00000444", "__FROM_DID=3110XXXXXXX") in new stack
-- Executing [3110XXXXXXX@from-trunk:2] Gosub("SIP/82.361.398.3-00000444", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/82.361.398.3-00000444", "") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("SIP/82.361.398.3-00000444", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Set("SIP/82.361.398.3-00000444", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:4] Return("SIP/82.361.398.3-00000444", "") in new stack
-- Executing [3110XXXXXXX@from-trunk:3] ExecIf("SIP/82.361.398.3-00000444", "1 |Set|CALLERID(name)=0617XXXXXX") in new stack
-- Executing [3110XXXXXXX@from-trunk:4] Set("SIP/82.361.398.3-00000444", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [3110XXXXXXX@from-trunk:5] SetCallerPres("SIP/82.361.398.3-00000444", "allowed_not_screened") in new stack
-- Executing [3110XXXXXXX@from-trunk:6] Goto("SIP/82.361.398.3-00000444", "a2billing|3110XXXXXXX|1") in new stack
-- Goto (a2billing,3110XXXXXXX,1)
-- Executing [3110XXXXXXX@a2billing:1] Answer("SIP/82.361.398.3-00000444", "") in new stack
-- Executing [3110XXXXXXX@a2billing:2] Wait("SIP/82.361.398.3-00000444", "1") in new stack
-- Executing [3110XXXXXXX@a2billing:3] DeadAGI("SIP/82.361.398.3-00000444", "a2billing.php|1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
-- Playing 'prepaid-you-have' (escape_digits=#) (sample_offset 0)
-- <SIP/82.361.398.3-00000444> Playing 'digits/10' (language 'en')
-- Playing 'euros' (escape_digits=#) (sample_offset 0)
-- Playing 'vm-and' (escape_digits=#) (sample_offset 0)
-- <SIP/82.361.398.3-00000444> Playing 'digits/90' (language 'en')
-- <SIP/82.361.398.3-00000444> Playing 'digits/3' (language 'en')
-- Playing 'prepaid-cents' (escape_digits=#) (sample_offset 0)
-- <SIP/82.361.398.3-00000444> Playing 'prepaid-enter-dest' (language 'en')


My voip provider in Suriname is Telesur. The gave to me a voip username tobXXXXXX, this username is connected to a Suriname local phone number. I have set up an inbound route with this username. But if i set the destination to be a2 billing, incoming call is not being process by a2billing. I got the following:

-- Executing [tobXXXXXX@from-trunk-sip-Telesur:1] Set("SIP/Telesur-00000449", "GROUP()=OUT_5") in new stack
-- Executing [tobXXXXXX@from-trunk-sip-Telesur:2] Goto("SIP/Telesur-00000449", "from-trunk|tobXXXXXX|1") in new stack
-- Goto (from-trunk,tobXXXXXX,1)
-- Executing [tobXXXXXX@from-trunk:1] Set("SIP/Telesur-00000449", "__FROM_DID=tobXXXXXX") in new stack
-- Executing [tobXXXXXX@from-trunk:2] Gosub("SIP/Telesur-00000449", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/Telesur-00000449", "") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("SIP/Telesur-00000449", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Set("SIP/Telesur-00000449", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:4] Return("SIP/Telesur-00000449", "") in new stack
-- Executing [tobXXXXXX@from-trunk:3] ExecIf("SIP/Telesur-00000449", "0 |Set|CALLERID(name)=597XXXXXX") in new stack
-- Executing [tobXXXXXX@from-trunk:4] Set("SIP/Telesur-00000449", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [tobXXXXXX@from-trunk:5] SetCallerPres("SIP/Telesur-00000449", "allowed_not_screened") in new stack
-- Executing [tobXXXXXX@from-trunk:6] Goto("SIP/Telesur-00000449", "a2billing|tobXXXXXX|1") in new stack
-- Goto (a2billing,tobXXXXXX,1)

-- Executing [tobXXXXXX@from-trunk-sip-Telesur:1] Set("SIP/Telesur-0000044a", "GROUP()=OUT_5") in new stack
-- Executing [tobXXXXXX@from-trunk-sip-Telesur:2] Goto("SIP/Telesur-0000044a", "from-trunk|tobXXXXXX|1") in new stack
-- Goto (from-trunk,tobXXXXXX,1)
-- Executing [tobXXXXXX@from-trunk:1] Set("SIP/Telesur-0000044a", "__FROM_DID=tobXXXXXX") in new stack
-- Executing [tobXXXXXX@from-trunk:2] Gosub("SIP/Telesur-0000044a", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/Telesur-0000044a", "") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("SIP/Telesur-0000044a", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Set("SIP/Telesur-0000044a", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:4] Return("SIP/Telesur-0000044a", "") in new stack
-- Executing [tobXXXXXX@from-trunk:3] ExecIf("SIP/Telesur-0000044a", "0 |Set|CALLERID(name)=597XXXXXX") in new stack
-- Executing [tobXXXXXX@from-trunk:4] Set("SIP/Telesur-0000044a", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [tobXXXXXX@from-trunk:5] SetCallerPres("SIP/Telesur-0000044a", "allowed_not_screened") in new stack
-- Executing [tobXXXXXX@from-trunk:6] Goto("SIP/Telesur-0000044a", "a2billing|tobXXXXXX|1") in new stack
-- Goto (a2billing,tobXXXXXX,1)

It looks like a2billing can't handle the username tobXXXXXX, because nothing happens then.
Can please some tell me if it is possible to make a2billing handle the call, despite tobXXXXXX is not any real number???


If I set the same inbound route to call an asterisk extension 1000 as destination, the call is process normally by asterisk. See details

Asterisk 1.4.33.1, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for detail s.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.4.33.1 currently running on pbx- (pid = 9574)
Verbosity is at least 3
-- Executing [tobXXXXXX@from-trunk-sip-Telesur:1] Set("SIP/Telesur-0000044b", "GROUP()=OUT_5") in new stack
-- Executing [tobXXXXXX@from-trunk-sip-Telesur:2] Goto("SIP/Telesur-0000044b", "from-trunk|tobXXXXXX|1") in new stack
-- Goto (from-trunk,tobXXXXXX,1)
-- Executing [tobXXXXXX@from-trunk:1] Set("SIP/Telesur-0000044b", "__FROM_DID=tobXXXXXX") in new stack
-- Executing [tobXXXXXX@from-trunk:2] Gosub("SIP/Telesur-0000044b", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/Telesur-0000044b", "") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("SIP/Telesur-0000044b", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Set("SIP/Telesur-0000044b", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:4] Return("SIP/Telesur-0000044b", "") in new stack
-- Executing [tobXXXXXX@from-trunk:3] ExecIf("SIP/Telesur-0000044b", "0 |Set|CALLERID(name)=597XXXXXX") in new stack
-- Executing [tobXXXXXX@from-trunk:4] Set("SIP/Telesur-0000044b", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [tobXXXXXX@from-trunk:5] SetCallerPres("SIP/Telesur-0000044b", "allowed_not_screened") in new stack
-- Executing [tobXXXXXX@from-trunk:6] Goto("SIP/Telesur-0000044b", "from-did-direct|1000|1") in new stack
-- Goto (from-did-direct,1000,1)
-- Executing [1000@from-did-direct:1] Macro("SIP/Telesur-0000044b", "exten-vm|1000|1000") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/Telesur-0000044b", "user-callerid|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/Telesur-0000044b", "AMPUSER=597XXXXXX") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/Telesur-0000044b", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/Telesur-0000044b", "1|Set|REALCALLERIDNUM=597XXXXXX") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/Telesur-0000044b", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/Telesur-0000044b", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/Telesur-0000044b", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/Telesur-0000044b", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/Telesur-0000044b", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/Telesur-0000044b", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/Telesur-0000044b", "CALLERID(number)=597XXXXXX") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/Telesur-0000044b", "CALLERID(name)=Romano") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/Telesur-0000044b", "Using CallerID "Romano" <597XXXXXX>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/Telesur-0000044b", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/Telesur-0000044b", "VMBOX=1000") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/Telesur-0000044b", "__EXTTOCALL=1000") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/Telesur-0000044b", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/Telesur-0000044b", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/Telesur-0000044b", "RT=30") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/Telesur-0000044b", "record-enable|1000|IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/Telesur-0000044b", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/Telesur-0000044b", "0|MacroExit|") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/Telesur-0000044b", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/Telesur-0000044b", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/Telesur-0000044b", "1|MacroExit|") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/Telesur-0000044b", "dial|30|trw|1000") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/Telesur-0000044b", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/Telesur-0000044b", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'Romano' number is '597XXXXXX'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 1000 to extension map
-- dialparties.agi: Extension 1000 cf is disabled
-- dialparties.agi: Extension 1000 do not disturb is disabled
dialparties.agi: ExtensionState: 0
-- dialparties.agi: dbset CALLTRACE/1000 to 597XXXXXX
-- dialparties.agi: Filtered ARG3: 1000
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/Telesur-0000044b", "SIP/1000|30|trw") in new stack
-- Called 1000
-- SIP/1000-0000044c is ringing
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/Telesur-0000044b' in macro 'dial'
== Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'SIP/Telesur-0000044b' in macro 'exten-vm'
== Spawn extension (from-did-direct, 1000, 1) exited non-zero on 'SIP/Telesur-0000044b'
-- Executing [h@macro-dial:1] Macro("SIP/Telesur-0000044b", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/Telesur-0000044b", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/Telesur-0000044b", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/Telesur-0000044b", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/Telesur-0000044b", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/Telesur-0000044b' in macro 'hangupcall'
== Spawn extension (macro-dial, h, 1) exited non-zero on 'SIP/Telesur-0000044b'


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group