Details
-
Type:
Bug
-
Status: Closed
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
Description
I created a DID and assigned it to a customer. But ASTPP rejects inbound call with a reason "origination rates not found". But what origination rates does it want to find if this is an inbound call and it is free???
Here is the log:
2019-07-03 20:13:09.209578 [INFO] switch_cpp.cpp:1443 [ASTPP] call_direction:::::: inbound
2019-07-03 20:13:09.209578 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Rates Information ===================
2019-07-03 20:13:09.209578 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 1
2019-07-03 20:13:09.209578 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.00000
2019-07-03 20:13:09.209578 [INFO] switch_cpp.cpp:1443 [ASTPP] Includedseconds : 0
2019-07-03 20:13:09.209578 [INFO] switch_cpp.cpp:1443 [ASTPP] Cost : 0.00000
2019-07-03 20:13:09.209578 [INFO] switch_cpp.cpp:1443 [ASTPP] comment : 1667xxxxxxx
2019-07-03 20:13:09.209578 [INFO] switch_cpp.cpp:1443 [ASTPP] Country Id : 203
2019-07-03 20:13:09.209578 [INFO] switch_cpp.cpp:1443 [ASTPP] Accid : 13
2019-07-03 20:13:09.209578 [INFO] switch_cpp.cpp:1443 [ASTPP] ================================================================
2019-07-03 20:13:09.209578 [INFO] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 13 !!!
2019-07-03 20:13:09.209578 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 7200000
2019-07-03 20:13:09.209578 [INFO] switch_cpp.cpp:1443 [ASTPP] Call Max length duration : 7200000 minutes
2019-07-03 20:13:09.209578 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] INB_FREE:TRUE
2019-07-03 20:13:09.209578 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] free_inbound:1
2019-07-03 20:13:09.209578 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 13 AND status=0 LIMIT 1
2019-07-03 20:13:09.209578 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "22" AND deleted = 0 limit 1
2019-07-03 20:13:09.209578 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Actual CustomerInfo XML:13
2019-07-03 20:13:09.209578 [DEBUG] switch_cpp.cpp:1443 [ASTPP] post_cdrs:::0
2019-07-03 20:13:09.209578 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 13
2019-07-03 20:13:09.209578 [DEBUG] switch_cpp.cpp:1443 [ASTPP] Generated XML:
xml version="1.0" encoding="UTF-8" standalone="no">
document type="freeswitch/xml">
section name="dialplan" description="ASTPP Dialplan">
context name="default">
extension name="1667xxxxxxx">
condition field="destination_number" expression="1667xxxxxxx">
action application="log" data="WARNING Accountcode . Dialed number (1667xxxxxxx) origination rates not found!!"/>
action application="set" data="original_caller_id_name=1754xxxxxxx"/>
action application="set" data="original_caller_id_number=1754xxxxxxx"/>
action application="set" data="error_cdr=1"/>
action application="set" data="callstart=2019-07-04 00:13:09"/>
action application="set" data="account_id=13"/>
action application="set" data="parent_id=0"/>
action application="set" data="call_direction=inbound"/>
action application="set" data="calltype=DID"/>
action application="set" data="sip_ignore_remote_cause=true"/>
action application="set" data="call_processed=internal"/>
action application="set" data="effective_destination_number=1667xxxxxxx"/>
action application="set" data="last_bridge_hangup_cause=ORIGNATION_RATE_NOT_FOUND"/>
action application="hangup" data="ORIGNATION_RATE_NOT_FOUND"/>
/condition>
/extension>
/context>
/section>
/document>