Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sun Nov 19, 2017 1:09 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Account mismatch
PostPosted: Wed Mar 02, 2016 1:28 pm 
Offline

Joined: Wed Mar 02, 2016 12:55 pm
Posts: 2
Hi all, I'm new in the forum and I'll really appreciate any help from any of you with this issue that I have in my systems :idea:

I have a live A2billing system working with asterisk , Kamailio as a SIP proxy and a TDM/VOIP external gateway for incoming calls.
We have a PINless system and our users can call in 2 ways:
1) With a SIP client with username and password --> It seems that work fine.
2) With a TDM call to our TDM/SIP gateway. In this case we match the prepaid account thanks to the caller ID of the call. For these calls, our customers dial gateway_access_number,destination_number. For examplo they can dial from the mobile: 853253256,65454666# and it works. However we have seen in our CDRs that in some cases, if we dial from a caller_id that doesn't exist, some times it matchs with an existing account!! We don't really why, but it works in that way!!! Here you have some asterisk agi examples (obviously the phone numbers are false and any IP address ;-)):


Example 1. I call to the access number with an unexisting account (caller_id= 868685656 ) but the system links this call to the account : 44837095673 ¿?¿?

AST*CLI> agi set debug on
AGI Debugging Enabled
[Mar 2 13:10:15] WARNING[25823][C-00002cde]: res_agi.c:4005 deadagi_exec: DeadAGI has been deprecated, please use AGI in all cases!
<SIP/44837095673-00002ba5>AGI Tx >> agi_request: a2billing.php
<SIP/44837095673-00002ba5>AGI Tx >> agi_channel: SIP/44837095673-00002ba5
<SIP/44837095673-00002ba5>AGI Tx >> agi_language: es
<SIP/44837095673-00002ba5>AGI Tx >> agi_type: SIP
<SIP/44837095673-00002ba5>AGI Tx >> agi_uniqueid: 1456920615.11173
<SIP/44837095673-00002ba5>AGI Tx >> agi_version: 11.13.0
<SIP/44837095673-00002ba5>AGI Tx >> agi_callerid: 868685656
<SIP/44837095673-00002ba5>AGI Tx >> agi_calleridname: unknown
<SIP/44837095673-00002ba5>AGI Tx >> agi_callingpres: 0
<SIP/44837095673-00002ba5>AGI Tx >> agi_callingani2: 0
<SIP/44837095673-00002ba5>AGI Tx >> agi_callington: 0
<SIP/44837095673-00002ba5>AGI Tx >> agi_callingtns: 0
<SIP/44837095673-00002ba5>AGI Tx >> agi_dnid: 853253256
<SIP/44837095673-00002ba5>AGI Tx >> agi_rdnis: unknown
<SIP/44837095673-00002ba5>AGI Tx >> agi_context: blablablapp
<SIP/44837095673-00002ba5>AGI Tx >> agi_extension: 853253256
<SIP/44837095673-00002ba5>AGI Tx >> agi_priority: 3
<SIP/44837095673-00002ba5>AGI Tx >> agi_enhanced: 0.0
<SIP/44837095673-00002ba5>AGI Tx >> agi_accountcode: 44837095673
<SIP/44837095673-00002ba5>AGI Tx >> agi_threadid: 140050639881984
<SIP/44837095673-00002ba5>AGI Tx >> agi_arg_1: 1
<SIP/44837095673-00002ba5>AGI Tx >>

Example 2: I call from an existing caller ID to the access_number and the linked account is OK . Dialed numbers: 853253256,44754520130#

AST*CLI> agi set debug on
AGI Debugging Enabled
[Mar 2 13:12:43] WARNING[20966][C-00002cc5]: res_agi.c:4005 deadagi_exec: DeadAGI has been deprecated, please use AGI in all cases!
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_request: a2billing.php
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_channel: SIP/92.161.27.24-00002a03
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_language: en
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_type: SIP
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_uniqueid: 1456920754.10755
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_version: 11.13.0
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_callerid: 44837095673
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_calleridname: unknown
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_callingpres: 0
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_callingani2: 0
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_callington: 0
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_callingtns: 0
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_dnid: 853253256
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_rdnis: unknown
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_context: blablablapp
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_extension: 853253256
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_priority: 6
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_enhanced: 0.0
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_accountcode:
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_threadid: 139968509990656
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_arg_1: tdm_call
<SIP/92.161.27.24-00002a03>AGI Tx >> agi_arg_2: 44754520130
<SIP/92.161.27.24-00002a03>AGI Tx >

Could you help me?

Thanks a lot in advance.
Andreti


Top
 Profile  
 
 Post subject: Re: Account mismatch
PostPosted: Wed Mar 02, 2016 2:01 pm 
Offline

Joined: Wed Mar 02, 2016 12:55 pm
Posts: 2
Sorry, I guess that this post should be here: Board index » MISCELLANEOUS » MISCELLANEOUS :-(


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


All times are UTC


Who is online

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