Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Oct 16, 2018 4:55 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Block callerID w/ A2Billing
PostPosted: Tue Apr 08, 2008 9:05 pm 
Offline

Joined: Sat Apr 05, 2008 10:36 pm
Posts: 6
My VoIP Provider offers callerID blocking on outbound calls with the use of *67. Each of my users have their own SIP trunk they dial out of which is set in A2Billing.

How can I get the *67 to passthru to my provider before dialing the number they want AND get it to work through A2Billing so they get charged for the call AND go out their appropriate trunk?

The only way it will work at the moment is if I set an Outbound Route with dialing rules: *|*67. So they essentially dial **67 + number.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 08, 2008 9:23 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
I think this is achievable without too much difficulty.
In the Asterisk dialplan you could have something like:
Code:
[a2billing]
exten => _X.,1,Goto(a2billing-standard,${EXTEN},1)
exten => _*67X.,1,Goto(a2billing-nocid,${EXTEN:3},1)

; 'standard' mode uses [agi-conf1]
[a2billing-standard]
exten => _X.,1,DeadAGI(a2billing.php|1)

; 'nocid' mode uses [agi-conf2]
[a2billing-nocid]
exten => _X.,1,DeadAGI(a2billing.php|2)
and in a2billing.conf add an [agi-conf2] section which withholds the CLI (or forces it to an empty string).


Top
 Profile  
 
 Post subject: Couldd
PostPosted: Tue Apr 08, 2008 9:31 pm 
Offline

Joined: Sat Apr 05, 2008 10:36 pm
Posts: 6
you elaborate on the agi-conf2 section plz?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 08, 2008 11:03 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Did you not see the settings 'auto_set_callerid', 'force_callerid' and 'cid_sanitize'?

Added after 6 minutes:

There's a little more info on [agi-confX] sections here.


Top
 Profile  
 
 Post subject: Re: Block callerID w/ A2Billing
PostPosted: Fri May 03, 2013 3:46 pm 
Offline

Joined: Sun Dec 27, 2009 8:39 pm
Posts: 80
Quite a bit late to the party, but here's what we just did in our a2billing context

exten => _*67X.,1,NoOp(User is blocking caller ID)
exten => _*67X.,n,SIPAddHeader(Privacy:id)
exten => _*67X.,n,Goto(a2billing,${EXTEN:3},1)

This will set the privacy on, so the other end could still "unblock". Some carriers will reject "blank" caller id, and others will insert their own. In testing this setting with e911 (through our provider) it still allows the proper information was sent. So the idiot that dials *67911 still transmits the number, preventing you from receiving the common $250 rogue 911 call.

Hope this helps,
Carlos.


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


All times are UTC


Who is online

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