Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Wed Apr 24, 2024 3:40 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Calling card usage and SIP service at the same time.
PostPosted: Sat Jan 19, 2008 11:43 am 
Offline

Joined: Thu Oct 04, 2007 7:27 am
Posts: 44
I have posted few similar post but still I could not find the right solution. I have searched for "wholesale" and gone through all the post.

What I want to do is to keep the default IVR for Calling card users and SIP users without any IVR.

My extensions_custom.conf as follows,

[a2billing-CallingCard]
exten => _X.,1,Answer
exten => _X.,n,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php|1)
exten => _X.,n,Hangup

[a2billing-sip]
exten => _X.,1,DeadAGI(a2billing.php|2)
exten => _X.,2,Hangup

I have different agi-conf and those are working perfectly as I have tested them separately.

If I use [a2billing] only in my context it will go to the agi_conf which is specified there but when I used [a2billing-sip]it doesn't go anywhere.

I have done the changes only in agi_conf and Extension_custom.conf is there are any other place I have to make the changes? Or is my heading is wrong in context?

I'm using A2Billing 1.3.1.

Your comments is highly appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 19, 2008 12:41 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Have you tried modifying your SIP friends so their context is 'a2billing-sip' rather than 'default'?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 19, 2008 1:31 pm 
Offline

Joined: Thu Oct 04, 2007 7:27 am
Posts: 44
Thank you very much Stavros, It's working now. I spend well over 20-30 hours to figure out this problem , your suggestion made it working at last.

One small thing I manually changed in additional_a2billing_sip.conf and made it work how can I make it ,every time when a new user sign up context to be a2billing-sip.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 19, 2008 1:42 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
If you modify additional_a2billing_*.conf by hand your changes will be overwritten by A2B. You should modify the friends themselves, ie List SIP friends -> Edit.
As for changing the default context for new peers, take a look at the configuration file in the section [peer_friend].


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 19, 2008 2:07 pm 
Offline

Joined: Thu Oct 04, 2007 7:27 am
Posts: 44
Thanks Stavros, I will do that way.

You made one man smiling today , thanks once again for your continuous support.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 19, 2008 2:12 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Shane wrote:
You made one man smiling today
:D Don't forget to share the wealth. It doesn't cost a penny.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 9 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