Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 2:18 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Calling Card access number v.s. sip registrations / dnid
PostPosted: Wed Apr 08, 2009 4:47 pm 
Offline

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

I am trying to setup a calling card access number. I have the following in my extensions.conf:

[default]
exten => 1XXX7272727,1,Answer
exten => 1XXX7272727,2,Wait,1
exten => 1XXX7272727,3,DeadAGI(a2billing.php|1)
exten => 1XXX7272727,4,Wait,1
exten => 1XXX7272727,5,Hangup

The number I'm calling from has been added to one of the cards so when I am trying to call just this number (1XXX7272727), instead of asking for destination it tells me:

"You have 12 minutes" and afterwards just asks for the complete pin number..

In a2billing.conf I have "use_dnid=YES " , but I'd like to be able to keep this as it is for customers that are registering with a sip phone/sip softphone and want to dial out directly without them being asked for the pin number.

So basically I'd like to be able to have two behaviours: When registering using the sip account they should be able to dial out without pin number and without them being asked for the number to be dialed, and the second behavior would be to be asked for the destination number when calling from outside the system.

How can I do this?

Added after 1 minutes:

managed to sort this out in less than one minute after posting:

no_auth_dnid = my-incoming-number



no reply necessary :D


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 09, 2009 9:54 pm 
Offline

Joined: Wed Feb 13, 2008 11:11 am
Posts: 224
Code:
So basically I'd like to be able to have two behaviours:

So you need 2 AGI-CONF's,

Code:
exten => 1XXX7272727,1,DeadAGI(a2billing.php|1)

Tuned for SIP to use dnid=yes, and maybe say no balance and notime to call.

and

Code:
exten => exten => _X.,1,DeadAGI(a2billing.php|2)

Tuned for PSTN with dnid=yes and say balance, yes. you can also enable caller id authentication for pinless dialing.


Top
 Profile  
 
 Post subject: Re: Calling Card access number v.s. sip registrations / dnid
PostPosted: Sun Dec 19, 2010 10:15 am 
Offline

Joined: Mon Dec 06, 2010 10:39 am
Posts: 26
i have a similar problem;
i have created a custom destination from the freePBX and used it for callback (on elastix)

but the problem when i call the trunk number i hear a message asking to enter the pin number and then dials a strange number directly without asking me to enter the number i wish t dial !
i tried to make the value: use_dnid to "no" but it affects the other customer (everytime they dials any number the system asks them to enter the number) .
also how can i create another agi-conf file to make a custom setting on it??


Top
 Profile  
 
 Post subject: Re: Calling Card access number v.s. sip registrations / dnid
PostPosted: Tue Dec 21, 2010 6:05 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
mos33 wrote:
also how can i create another agi-conf file to make a custom setting on it??
On A2B 1.3 edit /etc/asterisk/a2billing.conf, copy & paste a copy of the [agi-conf1] section and rename it to [agi-conf2].


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


All times are UTC


Who is online

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