Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 1:43 am
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: a2billing with mysql realtime
PostPosted: Fri Apr 03, 2009 11:14 pm 
Offline

Joined: Fri Apr 03, 2009 10:29 pm
Posts: 2
Hi,

I am using a2billing with mysql realtime. I can register to the asterisk server with the following config:

sipusers => mysql,mya2billing,cc_sip_buddies
sippeers => mysql,mya2billing,cc_sip_buddies


extensions => mysql,asterisk,dialplan

My dialplan (extensions) looks like this:

mysql> select * from dialplan;
+----+-----------+-------+----------+---------+-----------------+-------+-------+
| id | context | exten | priority | app | appdata | descr | flags |
+----+-----------+-------+----------+---------+-----------------+-------+-------+
| 1 | a2billing | _X. | 1 | Answer | | | 0 |
| 3 | a2billing | _X. | 3 | DeadAGI | a2billing.php | | 2 |
| 2 | a2billing | _X. | 2 | Wait | | | 0 |
| 5 | a2billing | _X. | 5 | Hangup | | | 0 |


I am not able to dial outside. For all calls that I try to make, I get an error message like the example below:

[Apr 3 18] NOTICE[84745]: chan_sip.c:17171 handle_request_invite: Call from '1548944259' to extension '18' rejected because extension not found.

It seems like its not hitting the _X. , although the context is correct (its the same one with the user's context:

ast1*CLI> sip show users
Username Secret Accountcode Def.Context ACL NAT
1548944259 9337633556 1548944259 a2billing No Always
ast1*CLI>

This type of dialplan/extensions table used to work ok before trying to make a2billing work with realtime.

Any idea what I am doing wrong?
Thanks!


fixed!

I had to put the following code in extensions.conf

[cc_sip_buddies]
switch => Realtime/@cc_sip_buddies
include => parkedcalls

(i had a different context before trying to make a2billing work realtime).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 11 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group