Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 16, 2024 3:30 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: SIP to SIP calls with a2billing
PostPosted: Sun Jan 14, 2007 6:36 am 
Offline

Joined: Tue Jan 09, 2007 9:57 am
Posts: 8
Hello,

Since a2b uses context "a2billing" for a SIP or IAX client to dial-out, my question is:

How can one SIP/IAX client call another SIP/IAX client directly?

For example, 2 accounts are 1234 and 9876

If 1234 calls 9876, a2billing will try to dial out 9876 using the rate cards and as a result, I dont have SIP clients talking to each other directly within the system.

Any hints will be apreciated.

thanks
Clovis


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 27, 2007 1:11 am 
Offline

Joined: Mon Mar 26, 2007 3:21 am
Posts: 29
Those anyone has an answer for the above question. I am having the same problem. it wold be nice if someone could step in an gave use some help.
thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 27, 2007 7:00 pm 
Offline

Joined: Fri Oct 27, 2006 6:17 pm
Posts: 161
routing the customer to customer call outside from the agi?
or you need to be billied the call?
I'm routing this outside from the agi.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 02, 2007 2:07 am 
Offline

Joined: Mon Mar 26, 2007 3:21 am
Posts: 29
kissas wrote:
routing the customer to customer call outside from the agi?
or you need to be billied the call?
I'm routing this outside from the agi.

Do you have an Example of this. if you do can you share it with us please.
thanks


Top
 Profile  
 
 Post subject: sure ....
PostPosted: Mon Apr 09, 2007 9:30 pm 
Offline

Joined: Fri Oct 27, 2006 6:17 pm
Posts: 161
all calls running trougth a2billing agi

Code:
[a2billing]
;exten => _X.,1,Macro(dumpvars)
exten => _X.,1,DeadAGI(a2billing.php|1)
exten => _X.,2,Hangup


in the same context have this:

Code:
exten => _XXXXX,1,GotoIf(${DB_EXISTS(DND/${EXTEN})}?DND-ON,1);If DND entry exists on AstDB it means DND is ON
exten => _XXXXX,n,Dial(SIP/${EXTEN},300,tr) ; DND is OFF, start dialing
exten => _XXXXX,n,Goto(s-${DIALSTATUS},1)
exten =>_s-.,1,Playback(is-curntly-busy)
exten =>_s-.,n,hangup
exten => DND-ON,1,Goto(_s-.,1) ;In this example if DND is ON it will present you Unavailable VoiceMail Message
exten => h,1,hangup


i'm using a DND (dot not disfurb) context from some site from internet y if you request can share with you the macros for this.
I'm using five numbers to my customers.
If anyone can share another way todo this is welcome, and if anyone have the way todo this inside from a2billing agi, with calls with cost and without cost is welcome too :) i'have interest on how that can be done.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 10, 2007 4:42 am 
Offline

Joined: Mon May 29, 2006 7:07 pm
Posts: 287
Location: Denver
why so sophisticated, just enable sip calling in a2billing.conf and dial sip friend with 9 1234....


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 10, 2007 9:05 pm 
Offline

Joined: Fri Oct 27, 2006 6:17 pm
Posts: 161
you are refering to this?

Code:
; enable the option to call sip/iax friend for free (values : YES - NO)
sip_iax_friends=NO
      
; if SIP_IAX_FRIENDS is active, you can define a prefix for the dialed digits to call a pstn number
; values : number
sip_iax_pstn_direct_call_prefix=9


and if is positive the answer, were can define the cost for the call to a sip/iax friend?


Top
 Profile  
 
 Post subject: Re:
PostPosted: Mon May 23, 2011 2:00 pm 
Offline

Joined: Mon Dec 06, 2010 10:39 am
Posts: 26
svetur wrote:
why so sophisticated, just enable sip calling in a2billing.conf and dial sip friend with 9 1234....


i tried this method but when i call from one a2billing account to another to gives a message "no matching SIP friend"

any idea to call from a2billing account to another for free??


Top
 Profile  
 
 Post subject: Re: SIP to SIP calls with a2billing
PostPosted: Mon May 23, 2011 2:53 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

The easiest way to do this is to use the DID functionality, as calls from one customer to another's DID are routed internally.

Joe


Top
 Profile  
 
 Post subject: Re: SIP to SIP calls with a2billing
PostPosted: Tue May 24, 2011 7:51 am 
Offline

Joined: Mon Dec 06, 2010 10:39 am
Posts: 26
jroper wrote:
Hi

The easiest way to do this is to use the DID functionality, as calls from one customer to another's DID are routed internally.

Joe


could you please give us more details about your suggestion?


Top
 Profile  
 
 Post subject: Re: SIP to SIP calls with a2billing
PostPosted: Tue May 24, 2011 8:10 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Not much to add.

create an account, add a DID to it (real or imaginary), set the DID destination. Get another customer to dial the DID.

Joe


Top
 Profile  
 
 Post subject: Re:
PostPosted: Thu Feb 23, 2012 4:45 pm 
Offline

Joined: Sun Nov 07, 2010 10:00 pm
Posts: 253
kissas wrote:
and if is positive the answer, were can define the cost for the call to a sip/iax friend?


Hello,
Better later, then never...

if you set sip_iax_friends=yes, internal voip calls will be handled, for FREE

If you want to bill the internal calls, you need to set a DID, real or imaginary, as Joe just said, and setting the DIS is where you can setup the internal call routing cost.

Regards,


Top
 Profile  
 
 Post subject: Re: SIP to SIP calls with a2billing
PostPosted: Tue Jul 16, 2013 12:07 pm 
Offline

Joined: Tue Jul 26, 2011 10:15 am
Posts: 10
Hello,
I have the same problem, how to bill SIP --> SIP calls. So following situation: i have configuerd A2B and it's working well for outgoing calls, and the Service numbers connected to the server are working also well. Now we need to bill the sip to sip calls with monthely rate. How can we do this?

1- how can we do this?
2- if the subject obove is the right why, please how can we do this in steps?
3- how the extensions_a2billing.conf should look like?
4- how should the
[a2billing-did]
exten => _X.,1,Goto(a2billing,${EXTEN},1)
exten => _X.,2,Hangup

look like.

5- How can we make the payment as monthely payment (Packege Offer -- and -- Recure Service).

many thanks for any help,


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 
Predictive Dialer


All times are UTC


Who is online

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