Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 16, 2024 8:20 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Invalid Pin Number - NewZealand DID
PostPosted: Thu May 17, 2012 11:03 am 
Offline

Joined: Thu May 17, 2012 9:56 am
Posts: 11
Hi,

I have purchased two DIDs one for UK (+44 2031290742) and NZ (+64 98010221). As far as when i dial UK DID, it works fine. But when my friend try to call from New Zealand using New Zealand DID it play message enter the number and than play continuous message invalid card number. There is no issue with the card number I am sure but I think there is some issue in DID number (i guess number is too small in new zealand) that new zealand has but not sure. Below is my extension.conf:

[default]
;
; By default we include the demo. In a production system, you
; probably don't want to have the demo there.
;
exten => _X.,1,Goto(a2billing,${EXTEN},1)
include => demo

[a2billing]
; CallingCard application
;exten => _X.,1,Answer
;exten => _X.,2,Wait(2)
;exten => _X.,3,deadAGI(a2billing.php)
;exten => _X.,4,Wait(2)
;exten => _X.,5,Hangup
exten => _X.,1,Answer
exten => _X.,n,Wait(2)
exten => _X.,n,AGI(/usr/local/src/a2billing/AGI/a2billing.php)
exten => _X.,n,Hangup

Call hits the default first than it call a2billing.

Thanks in advance for the help. Waiting for positive response.


Top
 Profile  
 
 Post subject: Re: Invalid Pin Number - NewZealand DID
PostPosted: Fri May 18, 2012 7:57 am 
Offline

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

My first check would be to see if the dtmf is being sent correctly. You can log this by setting it to log in /etc/asterisk/logger.conf or write a bit of dialplan to test, something like

Code:
;DTMF Test
[dtmftest]
exten => 1003,1,Answer()
exten => 1003,n,Wait(1)
exten => 1003,n,Playback(beep)
exten => 1003,n,Read(mydtmf||||10)
exten => 1003,n,SayDigits(${mydtmf})
exten => 1003,n,Wait(1)
exten => 1003,n,Hangup()


Top
 Profile  
 
 Post subject: Re: Invalid Pin Number - NewZealand DID
PostPosted: Fri May 18, 2012 12:32 pm 
Offline

Joined: Thu May 17, 2012 9:56 am
Posts: 11
Thanks, I will check and let you know. May I have your contact number so I can contact you if I need any further support.

Once again thanks for your response.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
Hosted Voice Broadcast


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group