Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 26, 2024 5:44 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: DID routing to client using IAX trunk
PostPosted: Thu Jul 09, 2009 9:33 am 
Offline

Joined: Wed Apr 29, 2009 8:11 am
Posts: 6
Hi

I have a client using A2billing for outgoing calls and im trying to get calls to ring on their asterisk if their DID is called.
The call is not getting through

On my server i see this error in the log file:

[Jul 9 11:29:42] DEBUG[3105] chan_iax2.c: prepending 100 to prefs
[Jul 9 11:29:42] VERBOSE[3105] logger.c: -- Called 4261699828
[Jul 9 11:29:42] WARNING[21110] chan_iax2.c: Call rejected by client.ip.address: No authority found
[Jul 9 11:29:42] VERBOSE[3105] logger.c: -- Hungup 'IAX2/4261699828-5976'
[Jul 9 11:29:42] VERBOSE[3105] logger.c: == Everyone is busy/congested at this time (1:0/0/1)

Client sees this in their log file:

[Jul 9 11:04:12] VERBOSE[27493] logger.c: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
[Jul 9 11:04:12] VERBOSE[27493] logger.c: Timestamp: 00014ms SCall: 06251 DCall: 00000 [server.ip.address:4569]
[Jul 9 11:04:12] VERBOSE[27493] logger.c: VERSION : 2
[Jul 9 11:04:12] VERBOSE[27493] logger.c: CALLED NUMBER : s
[Jul 9 11:04:12] VERBOSE[27493] logger.c: CODEC_PREFS : (g729|ulaw|alaw|gsm)
[Jul 9 11:04:12] VERBOSE[27493] logger.c: CALLING NUMBER : xxxxxxxxxx
[Jul 9 11:04:12] VERBOSE[27493] logger.c: CALLING PRESNTN : 0
[Jul 9 11:04:12] VERBOSE[27493] logger.c: CALLING TYPEOFN : 0
[Jul 9 11:04:12] VERBOSE[27493] logger.c: CALLING TRANSIT : 0
[Jul 9 11:04:12] VERBOSE[27493] logger.c: CALLING NAME : xxxxxxxxxx
[Jul 9 11:04:12] VERBOSE[27493] logger.c: LANGUAGE : en
[Jul 9 11:04:12] VERBOSE[27493] logger.c: USERNAME : 4261699828
[Jul 9 11:04:12] VERBOSE[27493] logger.c: FORMAT : 256
[Jul 9 11:04:12] VERBOSE[27493] logger.c: CAPABILITY : 24846
[Jul 9 11:04:12] VERBOSE[27493] logger.c: ADSICPE : 2
[Jul 9 11:04:12] VERBOSE[27493] logger.c: DATE TIME : 2009-07-09 11:04:12
[Jul 9 11:04:12] VERBOSE[27493] logger.c:
[Jul 9 11:04:12] NOTICE[27493] chan_iax2.c: Rejected connect attempt from 216.236.180.160, who was trying to reach 's@'
[Jul 9 11:04:12] VERBOSE[27493] logger.c: Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
[Jul 9 11:04:12] VERBOSE[27493] logger.c: Timestamp: 00014ms SCall: 10292 DCall: 06251 [server.ip.address:4569]

Any idea why the call is going through as s@? I have set the DID in a2billing as described.


Top
 Profile  
 
 Post subject: Re: DID routing to client using IAX trunk
PostPosted: Thu Jul 09, 2009 9:47 am 
Offline

Joined: Wed Apr 29, 2009 8:11 am
Posts: 6
I've just noticed using iax2 debug the following (which seems wrong):

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00007ms SCall: 08462 DCall: 00000 [client.ip.adress:4569]
VERSION : 2
CALLED NUMBER : s
CODEC_PREFS : (g729|ulaw|alaw|gsm)
CALLING NUMBER : xxxxxxxxxx
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME : xxxxxxxxxx
LANGUAGE : en
USERNAME : 4261699828
FORMAT : 256
CAPABILITY : 24846
ADSICPE : 2
DATE TIME : 2009-07-09 11:38:08

Think the problem is with CALLED NUMBER : s bing an s instead of the did


Top
 Profile  
 
 Post subject: Re: DID routing to client using IAX trunk
PostPosted: Thu Jul 09, 2009 12:47 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
This is almost certainly because you are using 's' rather than '_X.' to match somewhere in one of your dialplans.
's' will replace the received number with 's' in ${EXTEN}. '_X.' would preserve it.


Top
 Profile  
 
 Post subject: Re: DID routing to client using IAX trunk
PostPosted: Sun Oct 04, 2009 8:30 pm 
Offline

Joined: Sun Oct 04, 2009 8:17 pm
Posts: 1
I am having this same problem. Has anyone figured out which context a2billing calls when dialing a local extension for DID routing? I see the agi output but there is no mention of a context that I can track down to change 's' to ${EXTEN}. Please post if you have found it. Thank you.


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


All times are UTC


Who is online

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