SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
arya6000Offline



Joined: Feb 05, 2007
Posts: 30

Status: Offline
Posted: Feb 16, 2007 - 11:56 PM Reply with quote Back to top
Hello

I have everything working in a2billing but I can't get it to connect the call Sad I added the configuration to the sip.conf then I tried calling a U.S. number and a2billing said its unavailable, not sure why tho , I was wondering if any one could see the problem.
My sip.conf looks like this right now:


This part is the setup for my incoming DID

[general]
register => arya6000:password:arya6000@vbuzzer.com:80/14162738101

[vbuzzer]
type=friend
user=arya6000
host=vbuzzer.com
port=80
fromdomain=vbuzzer.com
fromuser=arya6000
secret=password
username=arya6000
insecure=very
context=a2billing ; Or whichever context you would like incoming calls to be placed to.
authname=arya6000
dtmf=rfc2833
dtmfmode=rfc2833
canreinvite=no
nat=yes ; Even if not behind a nat, use nat=yes
useragent=vbuzzer/1.0
disallow=all
allow=gsm
allow=ulaw
allow=alaw
qualify=200

and this part is the setup for my trunk

[5084010000000000]
host=72.5.55.200
disallow=all
allow=ulaw
dtmfmode=auto
type=friend
context=a2billing
username= (arya6000@******.trial)
secret= (mypass)

#include additional_a2billing_sip.conf


And in the a2billing admin GUI I setup the trunk by giving it a name and I put the IP address, I put 1 for prefix and for provider tech I put"SIP"

Did I do anything wrong in setting it up?

Thanks in advance
View user's profile Send private message
mfondoumOffline



Joined: Feb 15, 2008
Posts: 1

Status: Offline
Posted: Feb 15, 2008 - 12:26 PM Reply with quote Back to top
I am having exactly the same problem here.
I configured my A2biling.conf AGI section and i can't connect call. I even turn on the AGI debug but I can't see any error. When I try a outgoing call, I just get the message below in my debug:


a2billing.php: RESULT : Array
a2billing.php: (
a2billing.php: [0] => Array
a2billing.php: (
a2billing.php: [0] => 4010775
a2billing.php: [cid] => 4010775
a2billing.php: [1] => 10
a2billing.php: [id_cc_card] => 10
a2billing.php: [2] => t
a2billing.php: [activated] => t
a2billing.php: [3] => 2.0000
a2billing.php: [credit] => 2.0000
a2billing.php: [4] => 3
a2billing.php: [tariff] => 3
a2billing.php: [5] => t
a2billing.php: [6] => 0
a2billing.php: [inuse] => 0
a2billing.php: [7] => 0
a2billing.php: [simultaccess] => 0
a2billing.php: [8] => 0
a2billing.php: [typepaid] => 0
a2billing.php: [9] =>
a2billing.php: [creditlimit] =>
a2billing.php: [10] => en
a2billing.php: [language] => en
a2billing.php: [11] => 4010775
a2billing.php: [username] => 4010775
a2billing.php: [12] => 0
a2billing.php: [removeinterprefix] => 0
a2billing.php: [13] =>
a2billing.php: [redial] =>
a2billing.php: [14] => 0
a2billing.php: [enableexpire] => 0
a2billing.php: [15] => 1518691310
a2billing.php: [date_part] => 1203072131.56015
a2billing.php: [16] => 0
a2billing.php: [expiredays] => 0
a2billing.php: [17] => 0
a2billing.php: [nbused] => 0
a2billing.php: [18] =>
a2billing.php: [19] => 1203072131.56015
a2billing.php: [20] => USD
a2billing.php: [currency] => USD
a2billing.php: [21] =>
a2billing.php: [lastname] =>
a2billing.php: [22] =>
a2billing.php: [firstname] =>
a2billing.php: [23] =>
a2billing.php: [email] =>
a2billing.php: [24] => test10
a2billing.php: [uipass] => test10
a2billing.php: [25] => -1
a2billing.php: [id_campaign] => -1
a2billing.php: [26] => 10
a2billing.php: [id] => 10
a2billing.php: [27] => 4010775
a2billing.php: [useralias] => 4010775
a2billing.php: )
a2billing.php:
a2billing.php: )
a2billing.php:
a2billing.php: file:Class.A2Billing.php - line:649 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse+1 WHERE username='4010775']
a2billing.php: file:Class.A2Billing.php - line:1399 - [AUTO SetCallerID]
a2billing.php: file:a2billing.php - line:170 - [CHANNEL STATUS : 6 = Line is up]
a2billing.php: file:a2billing.php - line:171 - [CREDIT : 2.0000][CREDIT MIN_CREDIT_2CALL : 0]
a2billing.php: file:a2billing.php - line:276 - TRUNK - dnid : 0013475293961 (1)
a2billing.php: file:a2billing.php - line:291 - CALL SIP_IAX_BUDDY
a2billing.php: file:Class.A2Billing.php - line:837 - SIP o IAX DESTINATION : 0013475293961
a2billing.php: file:Class.A2Billing.php - line:842 - SELECT name FROM cc_iax_buddies, cc_card WHERE cc_iax_buddies.name=cc_card.username AND useralias='0013475293961'
a2billing.php: file:Class.A2Billing.php - line:844 -
a2billing.php: file:Class.A2Billing.php - line:854 - QUERY = SELECT name FROM cc_sip_buddies, cc_card WHERE cc_sip_buddies.name=cc_card.username AND useralias='0013475293961'
a2billing.php: RESULT :
a2billing.php: file:Class.A2Billing.php - line:649 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse-1 WHERE username='4010775']
-- <SIP/4010775-0824e828>AGI Script a2billing.php completed, returning -1


What should I do to have calls connection from my a2billing to any of the trunks?

thanks
View user's profile Send private message
middletnOffline



Joined: Sep 12, 2005
Posts: 403
Location: Devon
Status: Offline
Posted: Feb 19, 2008 - 09:53 PM Reply with quote Back to top
This is truely an A2B question. Try posting a question on http://forum.asterisk2billing.org/

It's a very well attended forum

Regards
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.