Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sat Apr 20, 2024 12:29 am
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: DTMF issues - Solved
PostPosted: Tue Dec 11, 2007 5:21 am 
Offline

Joined: Mon May 29, 2006 7:07 pm
Posts: 287
Location: Denver
Upgraded one of my servers to 1.3.1 - and now having dtmf issues. System is not getting any dtmf key tones.

Tried with asterisk 1.22, 1.24 and 1.4.15 same issue.
Tried different provider - nothing
Tried different settings - dtmfmode= rfc2833, auto and etc. -nothing

i know you'll tell me if it asterisk issue, but i didn't find any issues with 1.4 - it should be working

a2billing.php: file:Class.A2Billing.php - line:1769 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 11
a2billing.php: file:Class.A2Billing.php - line:1771 - RES DTMF :
a2billing.php: file:Class.A2Billing.php - line:1775 - CARDNUMBER ::>
a2billing.php: file:Class.A2Billing.php - line:1779 - PREPAID-NO-CARD-ENTERED
a2billing.php: file:Class.A2Billing.php - line:1761 - PREPAID-NO-CARD-ENTERED
a2billing.php: file:Class.A2Billing.php - line:1769 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 11
a2billing.php: file:Class.A2Billing.php - line:1771 - RES DTMF : -1
a2billing.php: file:Class.A2Billing.php - line:1775 - CARDNUMBER ::> -1
a2billing.php: file:Class.A2Billing.php - line:1785 - PREPAID-INVALID-DIGITS
a2billing.php: file:Class.A2Billing.php - line:1761 - PREPAID-INVALID-DIGITS
a2billing.php: file:Class.A2Billing.php - line:1769 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 11
a2billing.php: file:Class.A2Billing.php - line:1771 - RES DTMF : -1
a2billing.php: file:Class.A2Billing.php - line:1775 - CARDNUMBER ::> -1
a2billing.php: file:Class.A2Billing.php - line:1785 - PREPAID-INVALID-DIGITS
a2billing.php: file:a2billing.php - line:317 - [AUTHENTICATION FAILED (cia_res:-1)]

P.S. i enabled disabled - nat, have answer_yes in a2billing.conf - looks like many people are having issues. Maybe it's trixbox 2.2 related??

any ideas?


Last edited by svetur on Mon Dec 17, 2007 1:34 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 12, 2007 6:20 am 
Offline

Joined: Mon May 29, 2006 7:07 pm
Posts: 287
Location: Denver
Well looks like it's not a asterisk issue - i tried different versions - i'll try install centos 4.5 or freepbx without trixbox - hopefully that will help. I'm seeing many users having same issue with dtmf maybe it's all trixbox problems.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 12, 2007 7:43 am 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
Have you tried setting both variable for dtmf?

dtmfmode=...
dtmf=...

And have you tried inband mode? That is of course is the codec supports inband.

Regards


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 13, 2007 7:21 am 
Offline

Joined: Mon May 29, 2006 7:07 pm
Posts: 287
Location: Denver
Hi, nothing, i just installed fresh trixbox 2.2.10 - older asterisk 1.3-beta still same issue. Tried inband - nothing - so crazy. It should be simple thing!!!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 14, 2007 8:15 pm 
Offline
Moderator
User avatar

Joined: Tue Jun 06, 2006 12:14 pm
Posts: 685
Location: florida
Might want to verify you're not having a carrier issue at coincidentally the same time period. Happened to me once and I tore everything apart before I found out is was my damned carrier's issue.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 14, 2007 9:43 pm 
Offline

Joined: Mon May 29, 2006 7:07 pm
Posts: 287
Location: Denver
So here is the scoop:
My production server ( a2billing 1.2.3, atterisk 1.2.14 ) is up and running fine, this is my server at home that i'm trying to set up.
I have linksys router ( server is in dmz, behind firewall ) -> server.
DID phone numbers are ok - i point them to production server they work.
I have voip adapter connected to server - my dtmf works fine from inside the network.
So looks like inbound calls coming to my server are facing dtmf issues. Linux firewall is disabled, what else???


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 17, 2007 1:35 am 
Offline

Joined: Mon May 29, 2006 7:07 pm
Posts: 287
Location: Denver
Finally

i had to add following lines in my sip_nat.conf

externhost=xxx.xxx.xxx.xxx ; my wan ip address
externrefresh=5
localnet=192.168.1.101/255.255.255.0 ; my server address


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 17, 2007 3:46 am 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
Great job svetuf. I will try that cause we are facing the same nightmare.

But I must add that sip_nat.conf will by itself not be accessed by asterisk. You are going to have to include it in sip.conf by doing the following:


sip.conf:
Code:
[...]
#include sip_nat.conf


You may also want to add nat=yes and externip=x.x.x.x . Also you can add as many localnet as you need. You can find more reading about it at http://www.voip-info.org/wiki/view/tips and in the sample sip.conf that comes with asterisk.

sip_nat.conf:
Code:
nat = yes
externhost=xxx.xxx.xxx.xxx ; my wan ip address
externrefresh=5
localnet=192.168.1.101/255.255.255.0 ; my server address


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 
VoIP Billing solution


All times are UTC


Who is online

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