|
@timur-v , There would be multiple possibility. I would suggest you first check
1. Rate check for DID = Yes or No that you can get from Settings > Configuration > Calls and set opposite or try to call.
2. If above also not work then it might be you have not proper rate configuration.
|
|
I just tried to change that setting you mentioned "Rate check for DID ". It doesn't work either.
Now it switches from inbound processing to outbound for some unknown reasons and then ends up with error.
Here is the log:
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] call_direction:::::: inbound
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Rates Information ===================
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 2
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.00000
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] Includedseconds : 0
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] Cost : 0.00000
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] comment : 1667xxxxxxx
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] Country Id : 203
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] Accid : 13
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] ================================================================
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 13 !!!
2019-07-08 11:08:56.209538 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 7200000
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] Call Max length duration : 7200000 minutes
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] INB_FREE:TRUE
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] free_inbound:0
2019-07-08 11:08:56.209538 [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-08 11:08:56.209538 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "22" AND deleted = 0 limit 1
2019-07-08 11:08:56.209538 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2019-07-08 11:08:56.209538 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] call_direction :outbound
2019-07-08 11:08:56.209538 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] Query :SELECT _ FROM routes WHERE (pattern = '^1667xxxxxxx.' OR pattern = '^1667xxxxxx.' OR pattern = '^1667xxxxx.' OR pattern = '^1667xxxx.' OR pattern = '^1667xxx.' OR pattern = '^1667xx.' OR pattern = '^1667x.' OR pattern = '^1667.' OR pattern = '^166.' OR pattern = '^16.' OR pattern = '^1._' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=13) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] call_direction:::::: outbound
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Rates Information ===================
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 5821
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.00000
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] Includedseconds : 0
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] Cost : 0.01000
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] comment : USA and Canada
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] Country Id : 0
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] Accid : 13
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] Trunk ID: 0
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] Routing type:
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] ================================================================
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 13 !!!
2019-07-08 11:08:56.209538 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Actual CustomerInfo XML:13
2019-07-08 11:08:56.209538 [ERR] mod_lua.cpp:202 ...hare/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:466: attempt to concatenate global 'origination_array_DID' (a table value)
stack traceback:
...hare/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:466: in main chunk
[C]: in function 'dofile'
/usr/share/freeswitch/scripts/astpp/astpp.lua:85: in main chunk
2019-07-08 11:08:56.209538 [ERR] mod_lua.cpp:270 LUA script parse/execute error!
|
|
@timur-v According to your last error log it seems like something goes wrong in configuration or during installation process. I would recommend either reinstall or wait few days will going to update resolve issues
|
|
OK. Will you let me know when updated release is ready to download?
|
|
It will be soon, i'll update you once it ready.
|
|
@timur-v
New version is released now Please update and verify your concern.
https://astpp.readthedocs.io/en/v4.0.1/Installation/upgrade.html
|
|
had the same issue, however resolved by adding ip address on the sip profile of the customer.
Issue now is that the inbound calls could not be routed over did-local for sip extension of the customer, works well with IP Auth. Is there a way to achieve this?
|
Generated at Sat Feb 10 07:18:00 CET 2024 using Jira 8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a.