From Prashant Kumar, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. reeswitch@AlphaQA>
  2. freeswitch@AlphaQA>
  3. 2023-03-29 09:45:28.946866 70.63% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [4805106859@alpha.astppbilling.org] from ip 103.240.35.46
  4. 2023-03-29 09:45:29.266845 70.63% [WARNING] sofia_reg.c:3223 Can't find user [4805106859@alpha.astppbilling.org] from 103.240.35.46
  5. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="4805106859" attribute
  6. and you must configure your device to use the proper domain in its authentication credentials.
  7. 2023-03-29 09:45:34.266854 72.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [777023@alpha.astppbilling.org] from ip 103.240.35.46
  8. 2023-03-29 09:45:34.426867 74.60% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [5532608016@alpha3.astppbilling.org] from ip 103.240.35.46
  9. 2023-03-29 09:45:34.566873 74.60% [WARNING] sofia_reg.c:3223 Can't find user [777023@alpha.astppbilling.org] from 103.240.35.46
  10. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="777023" attribute
  11. and you must configure your device to use the proper domain in its authentication credentials.
  12. 2023-03-29 09:45:34.746840 74.60% [WARNING] sofia_reg.c:3223 Can't find user [5532608016@alpha3.astppbilling.org] from 103.240.35.46
  13. You must define a domain called 'alpha3.astppbilling.org' in your directory and add a user with the id="5532608016" attribute
  14. and you must configure your device to use the proper domain in its authentication credentials.
  15. 2023-03-29 09:45:35.546844 75.97% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [2515143673@alpha3.astppbilling.org] from ip 103.240.35.46
  16. 2023-03-29 09:45:35.866855 75.97% [WARNING] sofia_reg.c:3223 Can't find user [2515143673@alpha3.astppbilling.org] from 103.240.35.46
  17. You must define a domain called 'alpha3.astppbilling.org' in your directory and add a user with the id="2515143673" attribute
  18. and you must configure your device to use the proper domain in its authentication credentials.
  19. 2023-03-29 09:45:37.066834 77.33% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [2770697333@alpha3.astppbilling.org] from ip 103.240.35.46
  20. 2023-03-29 09:45:37.406838 78.63% [WARNING] sofia_reg.c:3223 Can't find user [2770697333@alpha3.astppbilling.org] from 103.240.35.46
  21. You must define a domain called 'alpha3.astppbilling.org' in your directory and add a user with the id="2770697333" attribute
  22. and you must configure your device to use the proper domain in its authentication credentials.
  23. 2023-03-29 09:45:37.806864 78.63% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [2988295775@alpha3.astppbilling.org] from ip 103.240.35.46
  24. 2023-03-29 09:45:38.126861 78.63% [WARNING] sofia_reg.c:3223 Can't find user [2988295775@alpha3.astppbilling.org] from 103.240.35.46
  25. You must define a domain called 'alpha3.astppbilling.org' in your directory and add a user with the id="2988295775" attribute
  26. and you must configure your device to use the proper domain in its authentication credentials.
  27. 2023-03-29 09:45:41.646852 79.60% [NOTICE] switch_channel.c:1123 New Channel sofia/default/sipp@127.0.1.1:5060 [e1e426dc-7229-4c39-aed1-500d9c8f2428]
  28. 2023-03-29 09:45:41.646852 79.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/sipp@127.0.1.1:5060) Running State Change CS_NEW (Cur 1 Tot 495)
  29. 2023-03-29 09:45:41.646852 79.60% [INFO] sofia.c:10462 sofia/default/sipp@127.0.1.1:5060 receiving invite from 65.109.231.66:5060 version: 1.10.7 -release 64bit call-id: 1-3536921@127.0.1.1
  30. 2023-03-29 09:45:41.646852 79.60% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 65.109.231.66:0.
  31. 2023-03-29 09:45:41.646852 79.60% [DEBUG] sofia.c:10585 IP 65.109.231.66 Approved by acl "default[]". Access Granted.
  32. 2023-03-29 09:45:41.646852 79.60% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  33. 2023-03-29 09:45:41.646852 79.60% [DEBUG] sofia.c:7499 Channel sofia/default/sipp@127.0.1.1:5060 entering state [received][100]
  34. 2023-03-29 09:45:41.646852 79.60% [DEBUG] sofia.c:7509 Remote SDP:
  35. v=0
  36. o=user1 53655765 2353687637 IN IP4 127.0.1.1
  37. s=-
  38. c=IN IP4 127.0.1.1
  39. t=0 0
  40. m=audio 6000 RTP/AVP 8 101
  41. a=rtpmap:8 PCMA/8000
  42. a=rtpmap:101 telephone-event/8000
  43. a=fmtp:101 0-11,16
  44.  
  45. 2023-03-29 09:45:41.646852 79.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  46. 2023-03-29 09:45:41.646852 79.60% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  47. 2023-03-29 09:45:41.646852 79.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  48. 2023-03-29 09:45:41.646852 79.60% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  49. 2023-03-29 09:45:41.646852 79.60% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/sipp@127.0.1.1:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  50. 2023-03-29 09:45:41.646852 79.60% [DEBUG] switch_core_codec.c:111 sofia/default/sipp@127.0.1.1:5060 Original read codec set to PCMA:8
  51. 2023-03-29 09:45:41.646852 79.60% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  52. 2023-03-29 09:45:41.646852 79.60% [DEBUG] switch_core_media.c:5973 sofia/default/sipp@127.0.1.1:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  53. 2023-03-29 09:45:41.646852 79.60% [DEBUG] sofia.c:7933 (sofia/default/sipp@127.0.1.1:5060) State Change CS_NEW -> CS_INIT
  54. 2023-03-29 09:45:41.646852 79.60% [DEBUG] switch_core_state_machine.c:600 (sofia/default/sipp@127.0.1.1:5060) State NEW
  55. 2023-03-29 09:45:41.646852 79.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/sipp@127.0.1.1:5060) Running State Change CS_INIT (Cur 1 Tot 495)
  56. 2023-03-29 09:45:41.646852 79.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/sipp@127.0.1.1:5060) State INIT
  57. 2023-03-29 09:45:41.646852 79.60% [DEBUG] mod_sofia.c:97 sofia/default/sipp@127.0.1.1:5060 SOFIA INIT
  58. 2023-03-29 09:45:41.646852 79.60% [DEBUG] switch_core_state_machine.c:40 sofia/default/sipp@127.0.1.1:5060 Standard INIT
  59. 2023-03-29 09:45:41.646852 79.60% [DEBUG] switch_core_state_machine.c:48 (sofia/default/sipp@127.0.1.1:5060) State Change CS_INIT -> CS_ROUTING
  60. 2023-03-29 09:45:41.646852 79.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/sipp@127.0.1.1:5060) State INIT going to sleep
  61. 2023-03-29 09:45:41.666818 79.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/sipp@127.0.1.1:5060) Running State Change CS_ROUTING (Cur 1 Tot 495)
  62. 2023-03-29 09:45:41.666818 79.60% [DEBUG] switch_channel.c:2380 (sofia/default/sipp@127.0.1.1:5060) Callstate Change DOWN -> RINGING
  63. 2023-03-29 09:45:41.666818 79.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/sipp@127.0.1.1:5060) State ROUTING
  64. 2023-03-29 09:45:41.666818 79.60% [DEBUG] mod_sofia.c:158 sofia/default/sipp@127.0.1.1:5060 SOFIA ROUTING
  65. 2023-03-29 09:45:41.666818 79.60% [DEBUG] switch_core_state_machine.c:230 sofia/default/sipp@127.0.1.1:5060 Standard ROUTING
  66. 2023-03-29 09:45:41.666818 79.60% [INFO] mod_dialplan_xml.c:639 Processing sipp <sipp>->191400118 in context default
  67. 2023-03-29 09:45:41.726825 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  68. 2023-03-29 09:45:41.746846 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  69. 2023-03-29 09:45:41.746846 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  70. 2023-03-29 09:45:41.746846 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  71. 2023-03-29 09:45:41.766843 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  72. 2023-03-29 09:45:41.766843 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 191400118
  73. 2023-03-29 09:45:41.766843 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '191400118' limit 1
  74. 2023-03-29 09:45:41.766843 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  75. 2023-03-29 09:45:41.766843 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '191400118' and status=0 LIMIT 1
  76. 2023-03-29 09:45:41.766843 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
  77. 2023-03-29 09:45:41.766843 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  78. 2023-03-29 09:45:41.766843 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '191400118' limit 1
  79. 2023-03-29 09:45:41.766843 79.60% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  80. 2023-03-29 09:45:41.766843 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : sipp / sipp
  81. 2023-03-29 09:45:41.766843 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  82. 2023-03-29 09:45:41.766843 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  83. 2023-03-29 09:45:41.766843 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  84. 2023-03-29 09:45:41.766843 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="191400118" LIMIT 1
  85. 2023-03-29 09:45:41.766843 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="191400118" LIMIT 1
  86. 2023-03-29 09:45:41.766843 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  87. 2023-03-29 09:45:41.766843 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="90" and did_id ="77" and number ="sipp" and status = '0' LIMIT 1
  88. 2023-03-29 09:45:41.766843 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  89. 2023-03-29 09:45:41.766843 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("65.109.231.66") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "191400118"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  90. 2023-03-29 09:45:41.786838 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :1/*.....191400118
  91. 2023-03-29 09:45:41.786838 79.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 191400118
  92. 2023-03-29 09:45:41.786838 79.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 91400118
  93. 2023-03-29 09:45:41.786838 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 900100]
  94. 2023-03-29 09:45:41.786838 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "900100" AND deleted = 0 limit 1
  95. 2023-03-29 09:45:41.786838 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =90
  96. 2023-03-29 09:45:41.786838 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  97. 2023-03-29 09:45:41.786838 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  98. 2023-03-29 09:45:41.786838 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 90
  99. 2023-03-29 09:45:41.786838 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^91400118.*' OR patterns = '^9140011.*' OR patterns = '^914001.*' OR patterns = '^91400.*' OR patterns = '^9140.*' OR patterns = '^914.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 90 ORDER BY LENGTH(PKGPTR.patterns) DESC
  100. 2023-03-29 09:45:41.786838 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="91400118" AND A.accountid = '90' limit 1
  101. 2023-03-29 09:45:41.786838 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 91400118
  102. 2023-03-29 09:45:41.786838 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  103. 2023-03-29 09:45:41.786838 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  104. 2023-03-29 09:45:41.786838 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '91400118' OR number = '9140011' OR number = '914001' OR number = '91400' OR number = '9140' OR number = '914' OR number = '91' OR number = '9' OR number ='--') OR (number = '91400118*' OR number = '9140011*' OR number = '914001*' OR number = '91400*' OR number = '9140*' OR number = '914*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = 'sipp' OR number = 'sip' OR number = 'si' OR number = 's' OR number ='--') OR (number = 'sipp*' OR number = 'sip*' OR number = 'si*' OR number = 's*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  105. 2023-03-29 09:45:41.806824 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  106. 2023-03-29 09:45:41.806824 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '91400118' OR routing_prefix = '9140011' OR routing_prefix = '914001' OR routing_prefix = '91400' OR routing_prefix = '9140' OR routing_prefix = '914' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  107. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  108. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 90
  109. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 900100
  110. 2023-03-29 09:45:41.806824 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =90
  111. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 37129.3246
  112. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  113. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  114. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  115. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  116. 2023-03-29 09:45:41.806824 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  117. 2023-03-29 09:45:41.806824 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  118. 2023-03-29 09:45:41.806824 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  119. 2023-03-29 09:45:41.806824 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="91400118" LIMIT 1
  120. 2023-03-29 09:45:41.806824 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="91400118" LIMIT 1
  121. 2023-03-29 09:45:41.806824 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  122. 2023-03-29 09:45:41.806824 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="90" and did_id ="77" and number ="sipp" and status = '0' LIMIT 1
  123. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  124. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  125. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  126. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  127. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '1' and status=0
  128. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.00000
  129. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  130. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 77
  131. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  132. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  133. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  134. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 91400118
  135. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  136. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 90
  137. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  138. 2023-03-29 09:45:41.806824 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =90
  139. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your37129.3246 balance Accountid 90 !!!
  140. 2023-03-29 09:45:41.806824 79.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  141. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  142. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  143. 2023-03-29 09:45:41.806824 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  144. 2023-03-29 09:45:41.806824 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 90 AND status=0 LIMIT 1
  145. 2023-03-29 09:45:41.806824 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "90" AND deleted = 0 limit 1
  146. 2023-03-29 09:45:41.806824 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =90
  147. 2023-03-29 09:45:41.826842 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:90
  148. 2023-03-29 09:45:41.826842 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:90
  149. 2023-03-29 09:45:41.826842 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 90
  150. 2023-03-29 09:45:41.826842 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 90 limit 1
  151. 2023-03-29 09:45:41.826842 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  152. 2023-03-29 09:45:41.826842 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  153. 2023-03-29 09:45:41.826842 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  154. 2023-03-29 09:45:41.826842 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  155. 2023-03-29 09:45:41.826842 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "012444444" AND accounts.status = 0
  156. 2023-03-29 09:45:41.826842 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 90 limit 1
  157. 2023-03-29 09:45:41.826842 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 90  and status = 0 limit 1
  158. 2023-03-29 09:45:41.826842 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
  159. 2023-03-29 09:45:41.826842 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  160. <document type="freeswitch/xml">
  161. <section name="dialplan" description="ASTPP Dialplan">
  162. <context name="default">
  163. <extension name="91400118">
  164. <condition field="destination_number" expression="191400118">
  165. <action application="set" data="effective_destination_number=91400118"/>
  166. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  167. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  168. <action application="set" data="type=0"/>
  169. <action application="set" data="callstart=2023-03-29 09:45:41"/>
  170. <action application="set" data="hangup_after_bridge=true"/>
  171. <action application="set" data="continue_on_fail=TRUE"/>
  172. <action application="set" data="account_id=90"/>
  173. <action application="set" data="parent_id=0"/>
  174. <action application="set" data="entity_id=0"/>
  175. <action application="set" data="call_processed=internal"/>
  176. <action application="set" data="call_direction=inbound"/>
  177. <action application="set" data="accountname=BETA"/>
  178. <action application="set" data="filename1=astpp.pbx.lua"/>
  179. <action application="set" data="origination_rates_did=ID:77|CODE:^91400118.*|DESTINATION:91400118|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:90"/>
  180. <action application="set" data="origination_rates=0"/>
  181. <action application="set" data="original_caller_id_name=sipp"/>
  182. <action application="set" data="original_caller_id_number=sipp"/>
  183. <action application="set" data="effective_caller_id_name=sipp"/>
  184. <action application="set" data="effective_caller_id_number=sipp"/>
  185. <action application="set" data="receiver_accid=90"/>
  186. <action application="set" data="did_id=77"/>
  187. <action application="set" data="transfer_call_type=4"/>
  188. <action application="set" data="transfer_extensions="/>
  189. <action application="set" data="busy_status=1"/>
  190. <action application="set" data="no_answer_status=1"/>
  191. <action application="set" data="always_status=1"/>
  192. <action application="set" data="transfer_status=1"/>
  193. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  194. <action application="set" data="variable_sip_network_ip=65.109.231.66"/>
  195. <action application="set" data="variable_sip_network_port=5060"/>
  196. <action application="export" data="domain_name="/>
  197. <action application="export" data="sip_to_host="/>
  198. <action application="export" data="presence_data=x|||PK QA Admin Client(900100)|||||||||DID|||65.109.231.66"/>
  199. <action application="export" data="call_type=4"/>
  200. <action application="set" data="calltype=STANDARD"/>
  201. <action application="set" data="accountcode=900100"/>
  202. <action application="set" data="caller_did_account_id=90"/>
  203. <action application="set" data="did_number=191400118"/>
  204. <action application="set" data="did_init_inc=0"/>
  205. <action application="set" data="did_inc=0"/>
  206. <action application="set" data="did_cost=0.00000"/>
  207. <action application="set" data="did_connectcost=0.00000"/>
  208. <action application="set" data="origination_rates_did=0"/>
  209. <action application="set" data="did_id=77"/>
  210. <action application="transfer" data="012444444 XML default"/>
  211. </condition>
  212. </extension>
  213. </context>
  214. </section>
  215. </document>
  216. Dialplan: sofia/default/sipp@127.0.1.1:5060 parsing [default->91400118] continue=false
  217. Dialplan: sofia/default/sipp@127.0.1.1:5060 Regex (PASS) [91400118] destination_number(191400118) =~ /191400118/ break=on-false
  218. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(effective_destination_number=91400118)
  219. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  220. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  221. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(type=0)
  222. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(callstart=2023-03-29 09:45:41)
  223. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(hangup_after_bridge=true)
  224. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(continue_on_fail=TRUE)
  225. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(account_id=90)
  226. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(parent_id=0)
  227. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(entity_id=0)
  228. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(call_processed=internal)
  229. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(call_direction=inbound)
  230. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(accountname=BETA)
  231. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(filename1=astpp.pbx.lua)
  232. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(origination_rates_did=ID:77|CODE:^91400118.*|DESTINATION:91400118|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:90)
  233. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(origination_rates=0)
  234. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(original_caller_id_name=sipp)
  235. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(original_caller_id_number=sipp)
  236. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(effective_caller_id_name=sipp)
  237. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(effective_caller_id_number=sipp)
  238. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(receiver_accid=90)
  239. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(did_id=77)
  240. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(transfer_call_type=4)
  241. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(transfer_extensions=)
  242. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(busy_status=1)
  243. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(no_answer_status=1)
  244. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(always_status=1)
  245. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(transfer_status=1)
  246. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(variable_sip_to_host=${domain_name})
  247. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(variable_sip_network_ip=65.109.231.66)
  248. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(variable_sip_network_port=5060)
  249. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action export(domain_name=)
  250. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action export(sip_to_host=)
  251. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action export(presence_data=x|||PK QA Admin Client(900100)|||||||||DID|||65.109.231.66)
  252. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action export(call_type=4)
  253. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(calltype=STANDARD)
  254. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(accountcode=900100)
  255. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(caller_did_account_id=90)
  256. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(did_number=191400118)
  257. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(did_init_inc=0)
  258. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(did_inc=0)
  259. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(did_cost=0.00000)
  260. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(did_connectcost=0.00000)
  261. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(origination_rates_did=0)
  262. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action set(did_id=77)
  263. Dialplan: sofia/default/sipp@127.0.1.1:5060 Action transfer(012444444 XML default)
  264. 2023-03-29 09:45:41.826842 79.60% [DEBUG] switch_core_state_machine.c:281 (sofia/default/sipp@127.0.1.1:5060) State Change CS_ROUTING -> CS_EXECUTE
  265. 2023-03-29 09:45:41.826842 79.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/sipp@127.0.1.1:5060) State ROUTING going to sleep
  266. 2023-03-29 09:45:41.826842 79.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/sipp@127.0.1.1:5060) Running State Change CS_EXECUTE (Cur 1 Tot 495)
  267. 2023-03-29 09:45:41.826842 79.60% [DEBUG] switch_core_state_machine.c:647 (sofia/default/sipp@127.0.1.1:5060) State EXECUTE
  268. 2023-03-29 09:45:41.826842 79.60% [DEBUG] mod_sofia.c:213 sofia/default/sipp@127.0.1.1:5060 SOFIA EXECUTE
  269. 2023-03-29 09:45:41.826842 79.60% [DEBUG] switch_core_state_machine.c:323 sofia/default/sipp@127.0.1.1:5060 Standard EXECUTE
  270. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(effective_destination_number=91400118)
  271. 2023-03-29 09:45:41.826842 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [effective_destination_number]=[91400118]
  272. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  273. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  274. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  275. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  276. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(type=0)
  277. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [type]=[0]
  278. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(callstart=2023-03-29 09:45:41)
  279. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [callstart]=[2023-03-29 09:45:41]
  280. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(hangup_after_bridge=true)
  281. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [hangup_after_bridge]=[true]
  282. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(continue_on_fail=TRUE)
  283. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [continue_on_fail]=[TRUE]
  284. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(account_id=90)
  285. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [account_id]=[90]
  286. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(parent_id=0)
  287. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [parent_id]=[0]
  288. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(entity_id=0)
  289. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [entity_id]=[0]
  290. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(call_processed=internal)
  291. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [call_processed]=[internal]
  292. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(call_direction=inbound)
  293. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [call_direction]=[inbound]
  294. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(accountname=BETA)
  295. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [accountname]=[BETA]
  296. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(filename1=astpp.pbx.lua)
  297. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [filename1]=[astpp.pbx.lua]
  298. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(origination_rates_did=ID:77|CODE:^91400118.*|DESTINATION:91400118|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:90)
  299. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [origination_rates_did]=[ID:77|CODE:^91400118.*|DESTINATION:91400118|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:90]
  300. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(origination_rates=0)
  301. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [origination_rates]=[0]
  302. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(original_caller_id_name=sipp)
  303. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [original_caller_id_name]=[sipp]
  304. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(original_caller_id_number=sipp)
  305. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [original_caller_id_number]=[sipp]
  306. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(effective_caller_id_name=sipp)
  307. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [effective_caller_id_name]=[sipp]
  308. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(effective_caller_id_number=sipp)
  309. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [effective_caller_id_number]=[sipp]
  310. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(receiver_accid=90)
  311. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [receiver_accid]=[90]
  312. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(did_id=77)
  313. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [did_id]=[77]
  314. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(transfer_call_type=4)
  315. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [transfer_call_type]=[4]
  316. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(transfer_extensions=)
  317. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [transfer_extensions]=[UNDEF]
  318. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(busy_status=1)
  319. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [busy_status]=[1]
  320. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(no_answer_status=1)
  321. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [no_answer_status]=[1]
  322. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(always_status=1)
  323. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [always_status]=[1]
  324. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(transfer_status=1)
  325. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [transfer_status]=[1]
  326. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(variable_sip_to_host=95.217.238.195)
  327. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [variable_sip_to_host]=[95.217.238.195]
  328. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(variable_sip_network_ip=65.109.231.66)
  329. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [variable_sip_network_ip]=[65.109.231.66]
  330. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(variable_sip_network_port=5060)
  331. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [variable_sip_network_port]=[5060]
  332. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 export(domain_name=)
  333. 2023-03-29 09:45:41.846841 79.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  334. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 export(sip_to_host=)
  335. 2023-03-29 09:45:41.846841 79.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  336. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 export(presence_data=x|||PK QA Admin Client(900100)|||||||||DID|||65.109.231.66)
  337. 2023-03-29 09:45:41.846841 79.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||PK QA Admin Client(900100)|||||||||DID|||65.109.231.66]
  338. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 export(call_type=4)
  339. 2023-03-29 09:45:41.846841 79.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4]
  340. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(calltype=STANDARD)
  341. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [calltype]=[STANDARD]
  342. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(accountcode=900100)
  343. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [accountcode]=[900100]
  344. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(caller_did_account_id=90)
  345. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [caller_did_account_id]=[90]
  346. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(did_number=191400118)
  347. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [did_number]=[191400118]
  348. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(did_init_inc=0)
  349. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [did_init_inc]=[0]
  350. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(did_inc=0)
  351. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [did_inc]=[0]
  352. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(did_cost=0.00000)
  353. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [did_cost]=[0.00000]
  354. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(did_connectcost=0.00000)
  355. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [did_connectcost]=[0.00000]
  356. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(origination_rates_did=0)
  357. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [origination_rates_did]=[0]
  358. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 set(did_id=77)
  359. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/sipp@127.0.1.1:5060 [did_id]=[77]
  360. EXECUTE [depth=0] sofia/default/sipp@127.0.1.1:5060 transfer(012444444 XML default)
  361. 2023-03-29 09:45:41.846841 79.60% [DEBUG] switch_ivr.c:2289 (sofia/default/sipp@127.0.1.1:5060) State Change CS_EXECUTE -> CS_ROUTING
  362. 2023-03-29 09:45:41.846841 79.60% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/sipp@127.0.1.1:5060 to XML[012444444@default]
  363. 2023-03-29 09:45:41.846841 79.60% [DEBUG] switch_core_state_machine.c:647 (sofia/default/sipp@127.0.1.1:5060) State EXECUTE going to sleep
  364. 2023-03-29 09:45:41.846841 79.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/sipp@127.0.1.1:5060) Running State Change CS_ROUTING (Cur 1 Tot 495)
  365. 2023-03-29 09:45:41.846841 79.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/sipp@127.0.1.1:5060) State ROUTING
  366. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  367. 2023-03-29 09:45:41.846841 79.60% [DEBUG] mod_sofia.c:158 sofia/default/sipp@127.0.1.1:5060 SOFIA ROUTING
  368. 2023-03-29 09:45:41.846841 79.60% [DEBUG] switch_core_state_machine.c:230 sofia/default/sipp@127.0.1.1:5060 Standard ROUTING
  369. 2023-03-29 09:45:41.846841 79.60% [INFO] mod_dialplan_xml.c:639 Processing sipp <sipp>->012444444 in context default
  370. 2023-03-29 09:45:41.866832 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  371. 2023-03-29 09:45:41.866832 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  372. 2023-03-29 09:45:41.866832 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  373. 2023-03-29 09:45:41.866832 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  374. 2023-03-29 09:45:41.866832 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  375. 2023-03-29 09:45:41.866832 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 012444444
  376. 2023-03-29 09:45:41.866832 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '012444444' limit 1
  377. 2023-03-29 09:45:41.866832 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  378. 2023-03-29 09:45:41.866832 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '012444444' and status=0 LIMIT 1
  379. 2023-03-29 09:45:41.866832 79.60% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  380. 2023-03-29 09:45:41.866832 79.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : sipp / sipp
  381. 2023-03-29 09:45:41.866832 79.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  382. 2023-03-29 09:45:41.866832 79.60% [ERR] mod_lua.cpp:202 ...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:1310: attempt to concatenate global 'user_domain' (a nil value)
  383. stack traceback:
  384.         ...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:1310: in function 'check_local_call'
  385.         ./astpp/lib/astpp.functions.lua:123: in function 'define_call_direction'
  386.         ./astpp/scripts/astpp.dialplan.lua:211: in main chunk
  387.         [C]: in function 'dofile'
  388.         ./astpp/astpp_deb9.lua:138: in main chunk
  389. 2023-03-29 09:45:41.866832 79.60% [ERR] mod_lua.cpp:270 LUA script parse/execute error!
  390. 2023-03-29 09:45:41.866832 79.60% [WARNING] mod_dialplan_xml.c:669 Context default not found
  391. 2023-03-29 09:45:41.866832 79.60% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  392. 2023-03-29 09:45:41.866832 79.60% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/sipp@127.0.1.1:5060 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  393. 2023-03-29 09:45:41.866832 79.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/sipp@127.0.1.1:5060) State ROUTING going to sleep
  394. 2023-03-29 09:45:41.866832 79.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/sipp@127.0.1.1:5060) Running State Change CS_HANGUP (Cur 1 Tot 495)
  395. 2023-03-29 09:45:41.866832 79.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/sipp@127.0.1.1:5060) Callstate Change RINGING -> HANGUP
  396. 2023-03-29 09:45:41.866832 79.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/sipp@127.0.1.1:5060) State HANGUP
  397. 2023-03-29 09:45:41.866832 79.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/sipp@127.0.1.1:5060 hanging up, cause: NO_ROUTE_DESTINATION
  398. 2023-03-29 09:45:41.866832 79.60% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  399. 2023-03-29 09:45:41.866832 79.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/sipp@127.0.1.1:5060 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  400. 2023-03-29 09:45:41.866832 79.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/sipp@127.0.1.1:5060) State HANGUP going to sleep
  401. 2023-03-29 09:45:41.866832 79.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/sipp@127.0.1.1:5060) State Change CS_HANGUP -> CS_REPORTING
  402. 2023-03-29 09:45:41.866832 79.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/sipp@127.0.1.1:5060) Running State Change CS_REPORTING (Cur 1 Tot 495)
  403. 2023-03-29 09:45:41.866832 79.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/sipp@127.0.1.1:5060) State REPORTING
  404. 2023-03-29 09:45:41.866832 79.60% [INFO] mod_json_cdr.c:271 Process [e1e426dc-7229-4c39-aed1-500d9c8f2428.cdr.json]
  405. 2023-03-29 09:45:41.986842 79.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/sipp@127.0.1.1:5060 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  406. 2023-03-29 09:45:41.986842 79.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/sipp@127.0.1.1:5060) State REPORTING going to sleep
  407. 2023-03-29 09:45:41.986842 79.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/sipp@127.0.1.1:5060) State Change CS_REPORTING -> CS_DESTROY
  408. 2023-03-29 09:45:41.986842 79.60% [DEBUG] switch_core_session.c:1753 Session 495 (sofia/default/sipp@127.0.1.1:5060) Locked, Waiting on external entities
  409. 2023-03-29 09:45:41.986842 79.60% [NOTICE] switch_core_session.c:1771 Session 495 (sofia/default/sipp@127.0.1.1:5060) Ended
  410. 2023-03-29 09:45:41.986842 79.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/sipp@127.0.1.1:5060 [CS_DESTROY]
  411. 2023-03-29 09:45:41.986842 79.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/sipp@127.0.1.1:5060) Running State Change CS_DESTROY (Cur 0 Tot 495)
  412. 2023-03-29 09:45:41.986842 79.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/sipp@127.0.1.1:5060) State DESTROY
  413. 2023-03-29 09:45:41.986842 79.60% [DEBUG] mod_sofia.c:379 sofia/default/sipp@127.0.1.1:5060 SOFIA DESTROY
  414. 2023-03-29 09:45:41.986842 79.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/sipp@127.0.1.1:5060 Standard DESTROY
  415. 2023-03-29 09:45:41.986842 79.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/sipp@127.0.1.1:5060) State DESTROY going to sleep