Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Mon Oct 15, 2018 4:49 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: DID switched to voip settings user and loop detected issue
PostPosted: Wed Sep 25, 2013 2:52 pm 
Offline

Joined: Tue Sep 24, 2013 1:29 pm
Posts: 3
I'm passing a DID from FreePBX, using the DID switch, and DID Destination set to SIP/Account Number with voip checked (a voip settings user in a2billing), and getting a loop detected...obviously I'm looping it.

I can change the DID Destination to FPBX Local/[email protected] or outside trunk or other SIP gateway and complete calls just fine!

But, I'm somehow looping myself when setting the DID Destination to Voip Settings user.

Also, unsure why I'm also receiving an "Sending fake auth rejection" below as well...

I would appreciate any insight you can offer to me.

Thanks

Paul

log excerpt below....made call from my cell 714xxxxxxx to DID 202xxxxxxx with DID Destination set to sip/906xxxxxxx

a2billing.php,1,did: file:a2billing.php - line:117 - uniqueid: - IDCONFIG : 1
a2billing.php,1,did: file:a2billing.php - line:118 - uniqueid: - MODE : did
a2billing.php,1,did: file:a2billing.php - line:130 - uniqueid: - AGI Request:
a2billing.php,1,did: Array
a2billing.php,1,did: (
a2billing.php,1,did: [agi_request] => a2billing.php
a2billing.php,1,did: [agi_channel] => SIP/Cisco-Call-MGR-VA-000001e3
a2billing.php,1,did: [agi_language] => en
a2billing.php,1,did: [agi_type] => SIP
a2billing.php,1,did: [agi_uniqueid] => 1380144095.1189
a2billing.php,1,did: [agi_version] => 1.8.16.0
a2billing.php,1,did: [agi_callerid] => 714xxxxxxx
a2billing.php,1,did: [agi_calleridname] => 714xxxxxxx
a2billing.php,1,did: [agi_callingpres] => 0
a2billing.php,1,did: [agi_callingani2] => 0
a2billing.php,1,did: [agi_callington] => 0
a2billing.php,1,did: [agi_callingtns] => 0
a2billing.php,1,did: [agi_dnid] => +1202xxxxxxx
a2billing.php,1,did: [agi_rdnis] => unknown
a2billing.php,1,did: [agi_context] => a2billing-did
a2billing.php,1,did: [agi_extension] => 202xxxxxxx
a2billing.php,1,did: [agi_priority] => 1
a2billing.php,1,did: [agi_enhanced] => 0.0
a2billing.php,1,did: [agi_accountcode] =>
a2billing.php,1,did: [agi_threadid] => -1224189040
a2billing.php,1,did: [agi_arg_1] => 1
a2billing.php,1,did: [agi_arg_2] => did
a2billing.php,1,did: )
a2billing.php,1,did:
a2billing.php,1,did: file:a2billing.php - line:131 - uniqueid: - [INFO : A2Billing - v2.0.1]
a2billing.php,1,did: file:Class.A2Billing.php - line:721 - uniqueid:1380144095.1189 - get_agi_request_parameter = 714xxxxxxx ; SIP/Cisco-Call-MGR-VA-000001e3 ; 1380144095.1189 ; ; 202xxxxxxx
a2billing.php,1,did: file:a2billing.php - line:636 - uniqueid:1380144095.1189 - [ANSWER CALL]
a2billing.php,1,did: file:a2billing.php - line:649 - uniqueid:1380144095.1189 - [DID CALL - [CallerID=714xxxxxxx]:[DID=202xxxxxxx]
a2billing.php,1,did: file:a2billing.php - line:667 - uniqueid:1380144095.1189 - SELECT cc_did.id, cc_did_destination.id, billingtype, tariff, destination, voip_call, username, useralias, connection_charge, selling_rate, did, aleg_carrier_connect_charge, aleg_carrier_cost_min, aleg_retail_connect_charge, aleg_retail_cost_min, aleg_carrier_initblock, aleg_carrier_increment, aleg_retail_initblock, aleg_retail_increment, aleg_timeinterval, aleg_carrier_connect_charge_offp, aleg_carrier_cost_min_offp, aleg_retail_connect_charge_offp, aleg_retail_cost_min_offp, aleg_carrier_initblock_offp, aleg_carrier_increment_offp, aleg_retail_initblock_offp, aleg_retail_increment_offp FROM cc_did, cc_did_destination, cc_card WHERE id_cc_did=cc_did.id and cc_card.status=1 and cc_card.id=id_cc_card and cc_did_destination.activated=1 and cc_did.activated=1 and did='202xxxxxxx' AND cc_did.startingdate<= CURRENT_TIMESTAMP AND (cc_did.expirationdate > CURRENT_TIMESTAMP OR cc_did.expirationdate IS NULL AND cc_did_destination.validated=1 OR cc_did.expirationdate = '0000-00-00 00:00:00') ORDER BY priority ASC
a2billing.php,1,did: file:a2billing.php - line:669 - uniqueid:1380144095.1189 - Array
a2billing.php,1,did: file:Class.A2Billing.php - line:1284 - uniqueid:1380144095.1189 - [A2Billing] DID call friend: FOLLOWME=1 (cardnumber:906xxxxxxx|destination:sip/906xxxxxxx|tariff:2)
a2billing.php,1,did:
a2billing.php,1,did: file:Class.A2Billing.php - line:2997 - uniqueid:1380144095.1189 - - Account code ::> 906xxxxxxx
a2billing.php,1,did: file:Class.A2Billing.php - line:3016 - uniqueid:1380144095.1189 - - Retrieve account info SQL ::> SELECT credit, tariff, activated, inuse, simultaccess, typepaid, creditlimit, language, removeinterprefix, redial, enableexpire, UNIX_TIMESTAMP(expirationdate), expiredays, nbused, UNIX_TIMESTAMP(firstusedate), UNIX_TIMESTAMP(cc_card.creationdate), cc_card.currency, cc_card.lastname, cc_card.firstname, cc_card.email, cc_card.uipass, cc_card.id_campaign, cc_card.id, useralias, status, voicemail_permitted, voicemail_activated, cc_card.restriction, cc_country.countryprefix, cc_card.outbound_channels, cc_card.inbound_did_channels, cc_card.combined_channels, cc_card.outbound_channel_count, cc_card.inbound_did_channel_count, inbound_did_limit_notify, outbound_limit_notify FROM cc_card LEFT JOIN cc_tariffgroup ON tariff = cc_tariffgroup.id LEFT JOIN cc_country ON cc_card.country = cc_country.countrycode WHERE username = '906xxxxxxx'
a2billing.php,1,did: file:Class.A2Billing.php - line:3092 - uniqueid:1380144095.1189 - [SET CHANNEL(language) en]
a2billing.php,1,did: file:Class.A2Billing.php - line:3096 - uniqueid:1380144095.1189 - [credit=149.95 :: tariff=2 :: status=1 :: isused=0 :: simultaccess=1 :: typepaid=1 :: creditlimit=100 :: language=en]
a2billing.php,1,did: file:Class.A2Billing.php - line:3111 - uniqueid:1380144095.1189 - - Channel Limits ::> Outbound: 5 - Inbound: 5 - Combined: 10 | Outbound Count: 0 - Inbound Count: 0
a2billing.php,1,did: file:Class.A2Billing.php - line:753 - uniqueid:1380144095.1189 - [CARD STATUS UPDATE]
a2billing.php,1,did: file:Class.A2Billing.php - line:762 - uniqueid:1380144095.1189 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse = inuse + 1, credit = credit - 0.25 WHERE username = '906xxxxxxx']
a2billing.php,1,did: file:Class.A2Billing.php - line:776 - uniqueid:1380144095.1189 - [CARD CHANNEL COUNT UPDATE : inbound_did_channel_count]
a2billing.php,1,did: file:Class.A2Billing.php - line:784 - uniqueid:1380144095.1189 - [QUERY USING CARD CHANNEL COUNT UPDATE::> UPDATE cc_card SET inbound_did_channel_count=inbound_did_channel_count+1 WHERE username='906xxxxxxx']

a2billing.php,1,did: file:Class.A2Billing.php - line:1323 - uniqueid:1380144095.1189 - [A2Billing] DID call friend: Dialing 'sip/906xxxxxxx,60,HiL(3600000:61000:30000)' Friend.
a2billing.php,1,did:
-- AGI Script Executing Application: (DIAL) Options: (sip/906xxxxxxx,60,HiL(3600000:61000:30000))
> Limit Data for this call:
> timelimit = 3600000 ms (3600.000 s)
> play_warning = 61000 ms (61.000 s)
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000 ms (30.000 s)
> start_sound =
> warning_sound = timeleft
> end_sound =
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called sip/906xxxxxxx
[2013-09-25 14:21:36] NOTICE[15253]: chan_sip.c:22769 handle_request_invite: Sending fake auth rejection for device "714xxxxxxx" <sip:[email protected]>;tag=as2c349ff9
[2013-09-25 14:21:36] NOTICE[15253]: chan_sip.c:22769 handle_request_invite: Sending fake auth rejection for device "714xxxxxxx" <sip:[email protected]>;tag=as2c349ff9
-- Got SIP response 482 "Loop Detected" back from x.x.x.252:5060
-- SIP/906xxxxxxx-000001e4 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)


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


All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 0 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group