From Prashant Kumar, 2 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and FOIP localization issue
  1.  
  2. root@devangASTPP:~# fs_cli -pYO3DH6PrRV1q56RFflTG
  3. .=======================================================.
  4. |            _____ ____     ____ _     ___              |
  5. |           |  ___/ ___|   / ___| |   |_ _|             |
  6. |           | |_  \___ \  | |   | |    | |              |
  7. |           |  _|  ___) | | |___| |___ | |              |
  8. |           |_|   |____/   \____|_____|___|             |
  9. |                                                       |
  10. .=======================================================.
  11. | Anthony Minessale II, Ken Rice,                       |
  12. | Michael Jerris, Travis Cross                          |
  13. | FreeSWITCH (http://www.freeswitch.org)                |
  14. | Paypal Donations Appreciated: paypal@freeswitch.org   |
  15. | Brought to you by ClueCon http://www.cluecon.com/     |
  16. .=======================================================.
  17.  
  18. .=======================================================================================================.
  19. |       _                            _    ____ _             ____                                       |
  20. |      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
  21. |     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
  22. |    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
  23. |   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
  24. |                                                                                                       |
  25. |    ____ _____ ____    ____             __                                                             |
  26. |   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
  27. |   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
  28. |   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
  29. |   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
  30. |                                                                                                       |
  31. |     ____ _             ____                                                                           |
  32. |    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
  33. |   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
  34. |   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
  35. |    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
  36. |                                                                                                       |
  37. .=======================================================================================================.
  38.  
  39. Type /help <enter> to see a list of commands
  40.  
  41.  
  42.  
  43. +OK log level  [7]
  44. freeswitch@devangASTPP>
  45. freeswitch@devangASTPP>
  46. freeswitch@devangASTPP>
  47. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  48. 2022-07-08 11:06:15.540013 85.17% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9100000666@142.132.184.134:5074 [6b1e1742-d138-4095-ba88-16e28d997326]
  49. 2022-07-08 11:06:15.540013 85.17% [DEBUG] mod_sofia.c:5121 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_NEW -> CS_INIT
  50. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_INIT (Cur 1 Tot 9)
  51. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9100000666@142.132.184.134:5074) State INIT
  52. 2022-07-08 11:06:15.540013 85.17% [DEBUG] mod_sofia.c:97 sofia/default/9100000666@142.132.184.134:5074 SOFIA INIT
  53. 2022-07-08 11:06:15.540013 85.17% [INFO] sofia_glue.c:1651 sofia/default/9100000666@142.132.184.134:5074 sending invite call-id: (null)
  54. 2022-07-08 11:06:15.540013 85.17% [DEBUG] sofia_glue.c:1654 sofia/default/9100000666@142.132.184.134:5074 sending invite version: 1.10.7 -release 64bit
  55. Local SDP:
  56. v=0
  57. o=FreeSWITCH 1657245785 1657245786 IN IP4 142.132.184.134
  58. s=FreeSWITCH
  59. c=IN IP4 142.132.184.134
  60. t=0 0
  61. m=audio 32590 RTP/AVP 8 101
  62. a=rtpmap:8 PCMA/8000
  63. a=rtpmap:101 telephone-event/8000
  64. a=fmtp:101 0-15
  65. a=ptime:20
  66. a=sendrecv
  67.  
  68. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:40 sofia/default/9100000666@142.132.184.134:5074 Standard INIT
  69. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_INIT -> CS_ROUTING
  70. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9100000666@142.132.184.134:5074) State INIT going to sleep
  71. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_ROUTING (Cur 1 Tot 9)
  72. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9100000666@142.132.184.134:5074) State ROUTING
  73. 2022-07-08 11:06:15.540013 85.17% [DEBUG] mod_sofia.c:158 sofia/default/9100000666@142.132.184.134:5074 SOFIA ROUTING
  74. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  75. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9100000666@142.132.184.134:5074) State ROUTING going to sleep
  76. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_CONSUME_MEDIA (Cur 1 Tot 9)
  77. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9100000666@142.132.184.134:5074) State CONSUME_MEDIA
  78. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9100000666@142.132.184.134:5074) State CONSUME_MEDIA going to sleep
  79. 2022-07-08 11:06:15.540013 85.17% [DEBUG] sofia.c:7499 Channel sofia/default/9100000666@142.132.184.134:5074 entering state [calling][0]
  80. 2022-07-08 11:06:15.540013 85.17% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9100000666@142.132.184.134 [b8f163c9-7f21-42b5-8e18-ebe968d06801]
  81. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_NEW (Cur 2 Tot 10)
  82. 2022-07-08 11:06:15.540013 85.17% [INFO] sofia.c:10462 sofia/default/9100000666@142.132.184.134 receiving invite from 142.132.184.134:5074 version: 1.10.7 -release 64bit call-id: d38ef421-7950-123b-a99d-9600013c8d14
  83. 2022-07-08 11:06:15.540013 85.17% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 142.132.184.134:0.
  84. 2022-07-08 11:06:15.540013 85.17% [DEBUG] sofia.c:7499 Channel sofia/default/9100000666@142.132.184.134 entering state [received][100]
  85. 2022-07-08 11:06:15.540013 85.17% [DEBUG] sofia.c:7509 Remote SDP:
  86. v=0
  87. o=FreeSWITCH 1657245785 1657245786 IN IP4 142.132.184.134
  88. s=FreeSWITCH
  89. c=IN IP4 142.132.184.134
  90. t=0 0
  91. m=audio 32590 RTP/AVP 8 101
  92. a=rtpmap:8 PCMA/8000
  93. a=rtpmap:101 telephone-event/8000
  94. a=fmtp:101 0-15
  95. a=ptime:20
  96.  
  97. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  98. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  99. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  100. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  101. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9100000666@142.132.184.134 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  102. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_codec.c:111 sofia/default/9100000666@142.132.184.134 Original read codec set to PCMA:8
  103. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  104. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_media.c:5973 sofia/default/9100000666@142.132.184.134 Set 2833 dtmf send payload to 101 recv payload to 101
  105. 2022-07-08 11:06:15.540013 85.17% [DEBUG] sofia.c:7933 (sofia/default/9100000666@142.132.184.134) State Change CS_NEW -> CS_INIT
  106. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9100000666@142.132.184.134) State NEW
  107. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_INIT (Cur 2 Tot 10)
  108. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9100000666@142.132.184.134) State INIT
  109. 2022-07-08 11:06:15.540013 85.17% [DEBUG] mod_sofia.c:97 sofia/default/9100000666@142.132.184.134 SOFIA INIT
  110. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:40 sofia/default/9100000666@142.132.184.134 Standard INIT
  111. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9100000666@142.132.184.134) State Change CS_INIT -> CS_ROUTING
  112. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9100000666@142.132.184.134) State INIT going to sleep
  113. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_ROUTING (Cur 2 Tot 10)
  114. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_channel.c:2380 (sofia/default/9100000666@142.132.184.134) Callstate Change DOWN -> RINGING
  115. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9100000666@142.132.184.134) State ROUTING
  116. 2022-07-08 11:06:15.540013 85.17% [DEBUG] mod_sofia.c:158 sofia/default/9100000666@142.132.184.134 SOFIA ROUTING
  117. 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:230 sofia/default/9100000666@142.132.184.134 Standard ROUTING
  118. 2022-07-08 11:06:15.540013 85.17% [INFO] mod_dialplan_xml.c:639 Processing 9100000666 <9100000666>->9100000666 in context default
  119. 2022-07-08 11:06:15.540013 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  120. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  121. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  122. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  123. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  124. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 9100000666
  125. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '9100000666' limit 1
  126. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  127. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '9100000666' and status=0 LIMIT 1
  128. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERmod_sofia
  129. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  130. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '9100000666' limit 1
  131. 2022-07-08 11:06:15.560022 85.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  132. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Prashant / 1199998
  133. 2022-07-08 11:06:15.560022 85.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Call Type FAX
  134. 2022-07-08 11:06:15.560022 85.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Account Code :9999998
  135. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 0666
  136. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 910000 AND status=0 limit 1
  137. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  138. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9100000666"  AND domains.domain="142.132.184.134" limit 1
  139. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  140. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9999998]
  141. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9999998" AND deleted = 0 limit 1
  142. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^9100000666.*' OR blocked_patterns = '^910000066.*' OR blocked_patterns = '^91000006.*' OR blocked_patterns = '^9100000.*' OR blocked_patterns = '^910000.*' OR blocked_patterns = '^91000.*' OR blocked_patterns = '^9100.*' OR blocked_patterns = '^910.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 49 limit 1
  143. 2022-07-08 11:06:15.560022 85.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 6
  144. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 6 AND status=0 limit 1
  145. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"9/1/*/*".....9100000666
  146. 2022-07-08 11:06:15.560022 85.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 9100000666
  147. 2022-07-08 11:06:15.560022 85.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 1100000666
  148. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  149. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  150. 2022-07-08 11:06:15.560022 85.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 5
  151. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1
  152. 2022-07-08 11:06:15.560022 85.17% [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 = '^9100000666.*' OR patterns = '^910000066.*' OR patterns = '^91000006.*' OR patterns = '^9100000.*' OR patterns = '^910000.*' OR patterns = '^91000.*' OR patterns = '^9100.*' OR patterns = '^910.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 49 ORDER BY LENGTH(PKGPTR.patterns) DESC
  153. 2022-07-08 11:06:15.560022 85.17% [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 ="9100000666" AND A.accountid = '49' limit 1
  154. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 9100000666
  155. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  156. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9100000666"  AND domains.domain="142.132.184.134" limit 1
  157. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  158. 2022-07-08 11:06:15.560022 85.17% [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 = '9100000666' OR number = '910000066' OR number = '91000006' OR number = '9100000' OR number = '910000' OR number = '91000' OR number = '9100' OR number = '910' OR number = '91' OR number = '9' OR number ='--') OR (number = '9100000666*' OR number = '910000066*' OR number = '91000006*' OR number = '9100000*' OR number = '910000*' OR number = '91000*' OR number = '9100*' OR number = '910*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '1199998' OR number = '119999' OR number = '11999' OR number = '1199' OR number = '119' OR number = '11' OR number = '1' OR number ='--') OR (number = '1199998*' OR number = '119999*' OR number = '11999*' OR number = '1199*' OR number = '119*' OR number = '11*' OR number = '1*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  159. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  160. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '9100000666' OR routing_prefix = '910000066' OR routing_prefix = '91000006' OR routing_prefix = '9100000' OR routing_prefix = '910000' OR routing_prefix = '91000' OR routing_prefix = '9100' OR routing_prefix = '910' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  161. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  162. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 49
  163. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9999998
  164. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 39972.6
  165. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  166. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 54
  167. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  168. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  169. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  170. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::54
  171. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  172. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  173. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::54
  174. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-54
  175. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-54
  176. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-54
  177. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-07-08 11:06:15
  178. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^11.*
  179. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  180. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-07-08 11:06:15
  181. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^33.*
  182. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  183. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-07-08 11:06:15
  184. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^9.*
  185. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  186. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-07-08 11:06:15
  187. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^9.*
  188. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  189. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  190. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  191. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.60000
  192. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:54
  193. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '54' and status=0
  194. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.60000
  195. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  196. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 41
  197. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  198. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  199. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  200. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : FOIP-QA
  201. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 10
  202. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 49
  203. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  204. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  205. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  206. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your39972.6 balance Accountid 49 !!!
  207. 2022-07-08 11:06:15.560022 85.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 1000 mins!
  208. 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 1000 minutes
  209. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  210. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=54 ORDER by id asc
  211. 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^9100000666.*' OR pattern = '^910000066.*' OR pattern = '^91000006.*' OR pattern = '^9100000.*' OR pattern = '^910000.*' OR pattern = '^91000.*' OR pattern = '^9100.*' OR pattern = '^910.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (22) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  212. 2022-07-08 11:06:15.580005 85.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [Dialplan] No Termination Rates Found...!!!
  213. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  214. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 49
  215. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  216. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  217. <document type="freeswitch/xml">
  218. <section name="dialplan" description="ASTPP Dialplan">
  219. <context name="default">
  220. <extension name="9100000666">
  221. <condition field="destination_number" expression="9100000666">
  222. <action application="log" data="WARNING Accountcode . Dialed number (9100000666) termination rates not found!!"/>
  223. <action application="set" data="original_caller_id_name=Prashant"/>
  224. <action application="set" data="original_caller_id_number=Prashant"/>
  225. <action application="set" data="error_cdr=1"/>
  226. <action application="set" data="callstart=2022-07-08 11:06:15"/>
  227. <action application="set" data="account_id=49"/>
  228. <action application="set" data="parent_id=0"/>
  229. <action application="set" data="call_direction=outbound"/>
  230. <action application="set" data="sip_ignore_remote_cause=true"/>
  231. <action application="set" data="call_processed=internal"/>
  232. <action application="set" data="effective_destination_number=9100000666"/>
  233. <action application="set" data="last_bridge_hangup_cause=TERMINATION_RATE_NOT_FOUND"/>
  234. <action application="hangup" data="TERMINATION_RATE_NOT_FOUND"/>
  235. </condition>
  236. </extension>
  237. </context>
  238. </section>
  239. </document>
  240. Dialplan: sofia/default/9100000666@142.132.184.134 parsing [default->9100000666] continue=false
  241. Dialplan: sofia/default/9100000666@142.132.184.134 Regex (PASS) [9100000666] destination_number(9100000666) =~ /9100000666/ break=on-false
  242. Dialplan: sofia/default/9100000666@142.132.184.134 Action log(WARNING Accountcode . Dialed number (9100000666) termination rates not found!!)
  243. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(original_caller_id_name=Prashant)
  244. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(original_caller_id_number=Prashant)
  245. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(error_cdr=1)
  246. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(callstart=2022-07-08 11:06:15)
  247. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(account_id=49)
  248. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(parent_id=0)
  249. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(call_direction=outbound)
  250. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(sip_ignore_remote_cause=true)
  251. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(call_processed=internal)
  252. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(effective_destination_number=9100000666)
  253. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(last_bridge_hangup_cause=TERMINATION_RATE_NOT_FOUND)
  254. Dialplan: sofia/default/9100000666@142.132.184.134 Action hangup(TERMINATION_RATE_NOT_FOUND)
  255. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9100000666@142.132.184.134) State Change CS_ROUTING -> CS_EXECUTE
  256. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9100000666@142.132.184.134) State ROUTING going to sleep
  257. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_EXECUTE (Cur 2 Tot 10)
  258. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9100000666@142.132.184.134) State EXECUTE
  259. 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_sofia.c:213 sofia/default/9100000666@142.132.184.134 SOFIA EXECUTE
  260. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:323 sofia/default/9100000666@142.132.184.134 Standard EXECUTE
  261. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 log(WARNING Accountcode . Dialed number (9100000666) termination rates not found!!)
  262. 2022-07-08 11:06:15.580005 85.17% [WARNING] mod_dptools.c:1879 Accountcode . Dialed number (9100000666) termination rates not found!!
  263. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(original_caller_id_name=Prashant)
  264. 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [original_caller_id_name]=[Prashant]
  265. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(original_caller_id_number=Prashant)
  266. 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [original_caller_id_number]=[Prashant]
  267. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(error_cdr=1)
  268. 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [error_cdr]=[1]
  269. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(callstart=2022-07-08 11:06:15)
  270. 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [callstart]=[2022-07-08 11:06:15]
  271. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(account_id=49)
  272. 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [account_id]=[49]
  273. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(parent_id=0)
  274. 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [parent_id]=[0]
  275. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(call_direction=outbound)
  276. 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [call_direction]=[outbound]
  277. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(sip_ignore_remote_cause=true)
  278. 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [sip_ignore_remote_cause]=[true]
  279. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(call_processed=internal)
  280. 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [call_processed]=[internal]
  281. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(effective_destination_number=9100000666)
  282. 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [effective_destination_number]=[9100000666]
  283. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(last_bridge_hangup_cause=TERMINATION_RATE_NOT_FOUND)
  284. 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [last_bridge_hangup_cause]=[TERMINATION_RATE_NOT_FOUND]
  285. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 hangup(TERMINATION_RATE_NOT_FOUND)
  286. 2022-07-08 11:06:15.580005 85.17% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/9100000666@142.132.184.134 [CS_EXECUTE] [NORMAL_CLEARING]
  287. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_session.c:2983 sofia/default/9100000666@142.132.184.134 skip receive message [PHONE_EVENT] (channel is hungup already)
  288. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9100000666@142.132.184.134) State EXECUTE going to sleep
  289. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_HANGUP (Cur 2 Tot 10)
  290. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9100000666@142.132.184.134) Callstate Change RINGING -> HANGUP
  291. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9100000666@142.132.184.134) State HANGUP
  292. 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_sofia.c:468 Channel sofia/default/9100000666@142.132.184.134 hanging up, cause: NORMAL_CLEARING
  293. 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  294. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:59 sofia/default/9100000666@142.132.184.134 Standard HANGUP, cause: NORMAL_CLEARING
  295. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9100000666@142.132.184.134) State HANGUP going to sleep
  296. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9100000666@142.132.184.134) State Change CS_HANGUP -> CS_REPORTING
  297. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_REPORTING (Cur 2 Tot 10)
  298. 2022-07-08 11:06:15.580005 85.17% [DEBUG] sofia.c:6678 Remote Reason: 16
  299. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9100000666@142.132.184.134) State REPORTING
  300. 2022-07-08 11:06:15.580005 85.17% [DEBUG] sofia.c:7499 Channel sofia/default/9100000666@142.132.184.134:5074 entering state [terminated][480]
  301. 2022-07-08 11:06:15.580005 85.17% [NOTICE] sofia.c:8738 Hangup sofia/default/9100000666@142.132.184.134:5074 [CS_CONSUME_MEDIA] [NORMAL_CLEARING]
  302. 2022-07-08 11:06:15.580005 85.17% [INFO] mod_json_cdr.c:271 Process [b8f163c9-7f21-42b5-8e18-ebe968d06801.cdr.json]
  303. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_HANGUP (Cur 2 Tot 10)
  304. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9100000666@142.132.184.134:5074) Callstate Change DOWN -> HANGUP
  305. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9100000666@142.132.184.134:5074) State HANGUP
  306. 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_sofia.c:468 Channel sofia/default/9100000666@142.132.184.134:5074 hanging up, cause: NORMAL_CLEARING
  307. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:59 sofia/default/9100000666@142.132.184.134:5074 Standard HANGUP, cause: NORMAL_CLEARING
  308. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9100000666@142.132.184.134:5074) State HANGUP going to sleep
  309. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_HANGUP -> CS_REPORTING
  310. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_REPORTING (Cur 2 Tot 10)
  311. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9100000666@142.132.184.134:5074) State REPORTING
  312. 2022-07-08 11:06:15.580005 85.17% [INFO] mod_json_cdr.c:271 Process [6b1e1742-d138-4095-ba88-16e28d997326.cdr.json]
  313. 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 16 [NORMAL_CLEARING]
  314. 2022-07-08 11:06:15.600007 85.17% [DEBUG] switch_core_state_machine.c:168 sofia/default/9100000666@142.132.184.134 Standard REPORTING, cause: NORMAL_CLEARING
  315. 2022-07-08 11:06:15.600007 85.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9100000666@142.132.184.134) State REPORTING going to sleep
  316. 2022-07-08 11:06:15.600007 85.17% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9100000666@142.132.184.134) State Change CS_REPORTING -> CS_DESTROY
  317. 2022-07-08 11:06:15.600007 85.17% [DEBUG] switch_core_session.c:1753 Session 10 (sofia/default/9100000666@142.132.184.134) Locked, Waiting on external entities
  318. 2022-07-08 11:06:15.600007 85.17% [NOTICE] switch_core_session.c:1771 Session 10 (sofia/default/9100000666@142.132.184.134) Ended
  319. 2022-07-08 11:06:15.600007 85.17% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9100000666@142.132.184.134 [CS_DESTROY]
  320. 2022-07-08 11:06:15.600007 85.17% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9100000666@142.132.184.134) Running State Change CS_DESTROY (Cur 1 Tot 10)
  321. 2022-07-08 11:06:15.600007 85.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9100000666@142.132.184.134) State DESTROY
  322. 2022-07-08 11:06:15.600007 85.17% [DEBUG] mod_sofia.c:379 sofia/default/9100000666@142.132.184.134 SOFIA DESTROY
  323. 2022-07-08 11:06:15.600007 85.17% [DEBUG] switch_core_state_machine.c:175 sofia/default/9100000666@142.132.184.134 Standard DESTROY
  324. 2022-07-08 11:06:15.600007 85.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9100000666@142.132.184.134) State DESTROY going to sleep
  325. 2022-07-08 11:06:15.980019 83.27% [DEBUG] switch_core_state_machine.c:168 sofia/default/9100000666@142.132.184.134:5074 Standard REPORTING, cause: NORMAL_CLEARING
  326. 2022-07-08 11:06:15.980019 83.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9100000666@142.132.184.134:5074) State REPORTING going to sleep
  327. 2022-07-08 11:06:15.980019 83.27% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_REPORTING -> CS_DESTROY
  328. 2022-07-08 11:06:15.980019 83.27% [DEBUG] switch_core_session.c:1753 Session 9 (sofia/default/9100000666@142.132.184.134:5074) Locked, Waiting on external entities
  329. 2022-07-08 11:06:15.980019 83.27% [NOTICE] switch_core_session.c:1771 Session 9 (sofia/default/9100000666@142.132.184.134:5074) Ended
  330. 2022-07-08 11:06:15.980019 83.27% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9100000666@142.132.184.134:5074 [CS_DESTROY]
  331. 2022-07-08 11:06:15.980019 83.27% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_DESTROY (Cur 0 Tot 10)
  332. 2022-07-08 11:06:15.980019 83.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9100000666@142.132.184.134:5074) State DESTROY
  333. 2022-07-08 11:06:15.980019 83.27% [DEBUG] mod_sofia.c:379 sofia/default/9100000666@142.132.184.134:5074 SOFIA DESTROY
  334. 2022-07-08 11:06:15.980019 83.27% [DEBUG] switch_core_state_machine.c:175 sofia/default/9100000666@142.132.184.134:5074 Standard DESTROY
  335. 2022-07-08 11:06:15.980019 83.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9100000666@142.132.184.134:5074) State DESTROY going to sleep
  336. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  337. 2022-07-08 11:07:14.220016 82.23% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9100000666@142.132.184.134:5074 [77c057db-a71d-4658-8b90-436973105a03]
  338. 2022-07-08 11:07:14.220016 82.23% [DEBUG] mod_sofia.c:5121 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_NEW -> CS_INIT
  339. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_INIT (Cur 1 Tot 11)
  340. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9100000666@142.132.184.134:5074) State INIT
  341. 2022-07-08 11:07:14.220016 82.23% [DEBUG] mod_sofia.c:97 sofia/default/9100000666@142.132.184.134:5074 SOFIA INIT
  342. 2022-07-08 11:07:14.220016 82.23% [INFO] sofia_glue.c:1651 sofia/default/9100000666@142.132.184.134:5074 sending invite call-id: (null)
  343. 2022-07-08 11:07:14.220016 82.23% [DEBUG] sofia_glue.c:1654 sofia/default/9100000666@142.132.184.134:5074 sending invite version: 1.10.7 -release 64bit
  344. Local SDP:
  345. v=0
  346. o=FreeSWITCH 1657246720 1657246721 IN IP4 142.132.184.134
  347. s=FreeSWITCH
  348. c=IN IP4 142.132.184.134
  349. t=0 0
  350. m=audio 31714 RTP/AVP 8 101
  351. a=rtpmap:8 PCMA/8000
  352. a=rtpmap:101 telephone-event/8000
  353. a=fmtp:101 0-15
  354. a=ptime:20
  355. a=sendrecv
  356.  
  357. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:40 sofia/default/9100000666@142.132.184.134:5074 Standard INIT
  358. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_INIT -> CS_ROUTING
  359. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9100000666@142.132.184.134:5074) State INIT going to sleep
  360. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_ROUTING (Cur 1 Tot 11)
  361. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9100000666@142.132.184.134:5074) State ROUTING
  362. 2022-07-08 11:07:14.220016 82.23% [DEBUG] mod_sofia.c:158 sofia/default/9100000666@142.132.184.134:5074 SOFIA ROUTING
  363. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  364. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9100000666@142.132.184.134:5074) State ROUTING going to sleep
  365. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_CONSUME_MEDIA (Cur 1 Tot 11)
  366. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9100000666@142.132.184.134:5074) State CONSUME_MEDIA
  367. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9100000666@142.132.184.134:5074) State CONSUME_MEDIA going to sleep
  368. 2022-07-08 11:07:14.220016 82.23% [DEBUG] sofia.c:7499 Channel sofia/default/9100000666@142.132.184.134:5074 entering state [calling][0]
  369. 2022-07-08 11:07:14.220016 82.23% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9100000666@142.132.184.134 [261705ec-19a9-44dd-ba1e-ebefacccde5e]
  370. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_NEW (Cur 2 Tot 12)
  371. 2022-07-08 11:07:14.220016 82.23% [INFO] sofia.c:10462 sofia/default/9100000666@142.132.184.134 receiving invite from 142.132.184.134:5074 version: 1.10.7 -release 64bit call-id: f68a0b67-7950-123b-a99d-9600013c8d14
  372. 2022-07-08 11:07:14.220016 82.23% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 142.132.184.134:0.
  373. 2022-07-08 11:07:14.220016 82.23% [DEBUG] sofia.c:7499 Channel sofia/default/9100000666@142.132.184.134 entering state [received][100]
  374. 2022-07-08 11:07:14.220016 82.23% [DEBUG] sofia.c:7509 Remote SDP:
  375. v=0
  376. o=FreeSWITCH 1657246720 1657246721 IN IP4 142.132.184.134
  377. s=FreeSWITCH
  378. c=IN IP4 142.132.184.134
  379. t=0 0
  380. m=audio 31714 RTP/AVP 8 101
  381. a=rtpmap:8 PCMA/8000
  382. a=rtpmap:101 telephone-event/8000
  383. a=fmtp:101 0-15
  384. a=ptime:20
  385.  
  386. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  387. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  388. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  389. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  390. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9100000666@142.132.184.134 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  391. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_codec.c:111 sofia/default/9100000666@142.132.184.134 Original read codec set to PCMA:8
  392. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  393. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_media.c:5973 sofia/default/9100000666@142.132.184.134 Set 2833 dtmf send payload to 101 recv payload to 101
  394. 2022-07-08 11:07:14.220016 82.23% [DEBUG] sofia.c:7933 (sofia/default/9100000666@142.132.184.134) State Change CS_NEW -> CS_INIT
  395. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9100000666@142.132.184.134) State NEW
  396. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_INIT (Cur 2 Tot 12)
  397. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9100000666@142.132.184.134) State INIT
  398. 2022-07-08 11:07:14.220016 82.23% [DEBUG] mod_sofia.c:97 sofia/default/9100000666@142.132.184.134 SOFIA INIT
  399. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:40 sofia/default/9100000666@142.132.184.134 Standard INIT
  400. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9100000666@142.132.184.134) State Change CS_INIT -> CS_ROUTING
  401. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9100000666@142.132.184.134) State INIT going to sleep
  402. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_ROUTING (Cur 2 Tot 12)
  403. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_channel.c:2380 (sofia/default/9100000666@142.132.184.134) Callstate Change DOWN -> RINGING
  404. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9100000666@142.132.184.134) State ROUTING
  405. 2022-07-08 11:07:14.220016 82.23% [DEBUG] mod_sofia.c:158 sofia/default/9100000666@142.132.184.134 SOFIA ROUTING
  406. 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:230 sofia/default/9100000666@142.132.184.134 Standard ROUTING
  407. 2022-07-08 11:07:14.220016 82.23% [INFO] mod_dialplan_xml.c:639 Processing 9100000666 <9100000666>->9100000666 in context default
  408. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  409. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  410. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  411. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  412. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  413. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 9100000666
  414. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '9100000666' limit 1
  415. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  416. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '9100000666' and status=0 LIMIT 1
  417. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERmod_sofia
  418. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  419. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '9100000666' limit 1
  420. 2022-07-08 11:07:14.240005 82.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  421. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Prashant / 1199998
  422. 2022-07-08 11:07:14.240005 82.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Call Type FAX
  423. 2022-07-08 11:07:14.240005 82.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Account Code :9999998
  424. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 0666
  425. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 910000 AND status=0 limit 1
  426. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  427. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9100000666"  AND domains.domain="142.132.184.134" limit 1
  428. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  429. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9999998]
  430. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9999998" AND deleted = 0 limit 1
  431. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^9100000666.*' OR blocked_patterns = '^910000066.*' OR blocked_patterns = '^91000006.*' OR blocked_patterns = '^9100000.*' OR blocked_patterns = '^910000.*' OR blocked_patterns = '^91000.*' OR blocked_patterns = '^9100.*' OR blocked_patterns = '^910.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 49 limit 1
  432. 2022-07-08 11:07:14.240005 82.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 6
  433. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 6 AND status=0 limit 1
  434. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"9/1/*/*".....9100000666
  435. 2022-07-08 11:07:14.240005 82.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 9100000666
  436. 2022-07-08 11:07:14.240005 82.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 1100000666
  437. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  438. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  439. 2022-07-08 11:07:14.240005 82.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 5
  440. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1
  441. 2022-07-08 11:07:14.240005 82.23% [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 = '^9100000666.*' OR patterns = '^910000066.*' OR patterns = '^91000006.*' OR patterns = '^9100000.*' OR patterns = '^910000.*' OR patterns = '^91000.*' OR patterns = '^9100.*' OR patterns = '^910.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 49 ORDER BY LENGTH(PKGPTR.patterns) DESC
  442. 2022-07-08 11:07:14.240005 82.23% [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 ="9100000666" AND A.accountid = '49' limit 1
  443. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 9100000666
  444. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  445. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9100000666"  AND domains.domain="142.132.184.134" limit 1
  446. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  447. 2022-07-08 11:07:14.240005 82.23% [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 = '9100000666' OR number = '910000066' OR number = '91000006' OR number = '9100000' OR number = '910000' OR number = '91000' OR number = '9100' OR number = '910' OR number = '91' OR number = '9' OR number ='--') OR (number = '9100000666*' OR number = '910000066*' OR number = '91000006*' OR number = '9100000*' OR number = '910000*' OR number = '91000*' OR number = '9100*' OR number = '910*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '1199998' OR number = '119999' OR number = '11999' OR number = '1199' OR number = '119' OR number = '11' OR number = '1' OR number ='--') OR (number = '1199998*' OR number = '119999*' OR number = '11999*' OR number = '1199*' OR number = '119*' OR number = '11*' OR number = '1*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  448. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  449. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '9100000666' OR routing_prefix = '910000066' OR routing_prefix = '91000006' OR routing_prefix = '9100000' OR routing_prefix = '910000' OR routing_prefix = '91000' OR routing_prefix = '9100' OR routing_prefix = '910' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  450. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  451. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 49
  452. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9999998
  453. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 39972.6
  454. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  455. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 54
  456. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  457. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  458. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  459. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::54
  460. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  461. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  462. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::54
  463. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-54
  464. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-54
  465. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-54
  466. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-07-08 11:07:14
  467. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^11.*
  468. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  469. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-07-08 11:07:14
  470. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^33.*
  471. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  472. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-07-08 11:07:14
  473. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^9.*
  474. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  475. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-07-08 11:07:14
  476. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^9.*
  477. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  478. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  479. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  480. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.60000
  481. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:54
  482. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '54' and status=0
  483. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.60000
  484. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  485. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 41
  486. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  487. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  488. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  489. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : FOIP-QA
  490. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 10
  491. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 49
  492. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  493. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  494. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  495. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your39972.6 balance Accountid 49 !!!
  496. 2022-07-08 11:07:14.240005 82.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 1000 mins!
  497. 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 1000 minutes
  498. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  499. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=54 ORDER by id asc
  500. 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^9100000666.*' OR pattern = '^910000066.*' OR pattern = '^91000006.*' OR pattern = '^9100000.*' OR pattern = '^910000.*' OR pattern = '^91000.*' OR pattern = '^9100.*' OR pattern = '^910.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (22) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  501. 2022-07-08 11:07:14.260009 82.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [Dialplan] No Termination Rates Found...!!!
  502. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  503. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 49
  504. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  505. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  506. <document type="freeswitch/xml">
  507. <section name="dialplan" description="ASTPP Dialplan">
  508. <context name="default">
  509. <extension name="9100000666">
  510. <condition field="destination_number" expression="9100000666">
  511. <action application="log" data="WARNING Accountcode . Dialed number (9100000666) termination rates not found!!"/>
  512. <action application="set" data="original_caller_id_name=Prashant"/>
  513. <action application="set" data="original_caller_id_number=Prashant"/>
  514. <action application="set" data="error_cdr=1"/>
  515. <action application="set" data="callstart=2022-07-08 11:07:14"/>
  516. <action application="set" data="account_id=49"/>
  517. <action application="set" data="parent_id=0"/>
  518. <action application="set" data="call_direction=outbound"/>
  519. <action application="set" data="sip_ignore_remote_cause=true"/>
  520. <action application="set" data="call_processed=internal"/>
  521. <action application="set" data="effective_destination_number=9100000666"/>
  522. <action application="set" data="last_bridge_hangup_cause=TERMINATION_RATE_NOT_FOUND"/>
  523. <action application="hangup" data="TERMINATION_RATE_NOT_FOUND"/>
  524. </condition>
  525. </extension>
  526. </context>
  527. </section>
  528. </document>
  529. Dialplan: sofia/default/9100000666@142.132.184.134 parsing [default->9100000666] continue=false
  530. Dialplan: sofia/default/9100000666@142.132.184.134 Regex (PASS) [9100000666] destination_number(9100000666) =~ /9100000666/ break=on-false
  531. Dialplan: sofia/default/9100000666@142.132.184.134 Action log(WARNING Accountcode . Dialed number (9100000666) termination rates not found!!)
  532. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(original_caller_id_name=Prashant)
  533. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(original_caller_id_number=Prashant)
  534. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(error_cdr=1)
  535. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(callstart=2022-07-08 11:07:14)
  536. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(account_id=49)
  537. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(parent_id=0)
  538. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(call_direction=outbound)
  539. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(sip_ignore_remote_cause=true)
  540. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(call_processed=internal)
  541. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(effective_destination_number=9100000666)
  542. Dialplan: sofia/default/9100000666@142.132.184.134 Action set(last_bridge_hangup_cause=TERMINATION_RATE_NOT_FOUND)
  543. Dialplan: sofia/default/9100000666@142.132.184.134 Action hangup(TERMINATION_RATE_NOT_FOUND)
  544. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9100000666@142.132.184.134) State Change CS_ROUTING -> CS_EXECUTE
  545. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9100000666@142.132.184.134) State ROUTING going to sleep
  546. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_EXECUTE (Cur 2 Tot 12)
  547. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9100000666@142.132.184.134) State EXECUTE
  548. 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_sofia.c:213 sofia/default/9100000666@142.132.184.134 SOFIA EXECUTE
  549. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:323 sofia/default/9100000666@142.132.184.134 Standard EXECUTE
  550. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 log(WARNING Accountcode . Dialed number (9100000666) termination rates not found!!)
  551. 2022-07-08 11:07:14.260009 82.23% [WARNING] mod_dptools.c:1879 Accountcode . Dialed number (9100000666) termination rates not found!!
  552. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(original_caller_id_name=Prashant)
  553. 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [original_caller_id_name]=[Prashant]
  554. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(original_caller_id_number=Prashant)
  555. 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [original_caller_id_number]=[Prashant]
  556. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(error_cdr=1)
  557. 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [error_cdr]=[1]
  558. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(callstart=2022-07-08 11:07:14)
  559. 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [callstart]=[2022-07-08 11:07:14]
  560. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(account_id=49)
  561. 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [account_id]=[49]
  562. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(parent_id=0)
  563. 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [parent_id]=[0]
  564. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(call_direction=outbound)
  565. 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [call_direction]=[outbound]
  566. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(sip_ignore_remote_cause=true)
  567. 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [sip_ignore_remote_cause]=[true]
  568. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(call_processed=internal)
  569. 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [call_processed]=[internal]
  570. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(effective_destination_number=9100000666)
  571. 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [effective_destination_number]=[9100000666]
  572. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(last_bridge_hangup_cause=TERMINATION_RATE_NOT_FOUND)
  573. 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [last_bridge_hangup_cause]=[TERMINATION_RATE_NOT_FOUND]
  574. EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 hangup(TERMINATION_RATE_NOT_FOUND)
  575. 2022-07-08 11:07:14.260009 82.23% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/9100000666@142.132.184.134 [CS_EXECUTE] [NORMAL_CLEARING]
  576. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_session.c:2983 sofia/default/9100000666@142.132.184.134 skip receive message [PHONE_EVENT] (channel is hungup already)
  577. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9100000666@142.132.184.134) State EXECUTE going to sleep
  578. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_HANGUP (Cur 2 Tot 12)
  579. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9100000666@142.132.184.134) Callstate Change RINGING -> HANGUP
  580. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9100000666@142.132.184.134) State HANGUP
  581. 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/9100000666@142.132.184.134 hanging up, cause: NORMAL_CLEARING
  582. 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  583. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/9100000666@142.132.184.134 Standard HANGUP, cause: NORMAL_CLEARING
  584. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9100000666@142.132.184.134) State HANGUP going to sleep
  585. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9100000666@142.132.184.134) State Change CS_HANGUP -> CS_REPORTING
  586. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_REPORTING (Cur 2 Tot 12)
  587. 2022-07-08 11:07:14.260009 82.23% [DEBUG] sofia.c:6678 Remote Reason: 16
  588. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9100000666@142.132.184.134) State REPORTING
  589. 2022-07-08 11:07:14.260009 82.23% [INFO] mod_json_cdr.c:271 Process [261705ec-19a9-44dd-ba1e-ebefacccde5e.cdr.json]
  590. 2022-07-08 11:07:14.260009 82.23% [DEBUG] sofia.c:7499 Channel sofia/default/9100000666@142.132.184.134:5074 entering state [terminated][480]
  591. 2022-07-08 11:07:14.260009 82.23% [NOTICE] sofia.c:8738 Hangup sofia/default/9100000666@142.132.184.134:5074 [CS_CONSUME_MEDIA] [NORMAL_CLEARING]
  592. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_HANGUP (Cur 2 Tot 12)
  593. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9100000666@142.132.184.134:5074) Callstate Change DOWN -> HANGUP
  594. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9100000666@142.132.184.134:5074) State HANGUP
  595. 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/9100000666@142.132.184.134:5074 hanging up, cause: NORMAL_CLEARING
  596. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/9100000666@142.132.184.134:5074 Standard HANGUP, cause: NORMAL_CLEARING
  597. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9100000666@142.132.184.134:5074) State HANGUP going to sleep
  598. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_HANGUP -> CS_REPORTING
  599. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_REPORTING (Cur 2 Tot 12)
  600. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9100000666@142.132.184.134:5074) State REPORTING
  601. 2022-07-08 11:07:14.260009 82.23% [INFO] mod_json_cdr.c:271 Process [77c057db-a71d-4658-8b90-436973105a03.cdr.json]
  602. 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 16 [NORMAL_CLEARING]
  603. 2022-07-08 11:07:14.280008 82.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/9100000666@142.132.184.134 Standard REPORTING, cause: NORMAL_CLEARING
  604. 2022-07-08 11:07:14.280008 82.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9100000666@142.132.184.134) State REPORTING going to sleep
  605. 2022-07-08 11:07:14.280008 82.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9100000666@142.132.184.134) State Change CS_REPORTING -> CS_DESTROY
  606. 2022-07-08 11:07:14.280008 82.23% [DEBUG] switch_core_session.c:1753 Session 12 (sofia/default/9100000666@142.132.184.134) Locked, Waiting on external entities
  607. 2022-07-08 11:07:14.280008 82.23% [NOTICE] switch_core_session.c:1771 Session 12 (sofia/default/9100000666@142.132.184.134) Ended
  608. 2022-07-08 11:07:14.280008 82.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9100000666@142.132.184.134 [CS_DESTROY]
  609. 2022-07-08 11:07:14.280008 82.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9100000666@142.132.184.134) Running State Change CS_DESTROY (Cur 1 Tot 12)
  610. 2022-07-08 11:07:14.280008 82.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9100000666@142.132.184.134) State DESTROY
  611. 2022-07-08 11:07:14.280008 82.23% [DEBUG] mod_sofia.c:379 sofia/default/9100000666@142.132.184.134 SOFIA DESTROY
  612. 2022-07-08 11:07:14.280008 82.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/9100000666@142.132.184.134 Standard DESTROY
  613. 2022-07-08 11:07:14.280008 82.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9100000666@142.132.184.134) State DESTROY going to sleep
  614. 2022-07-08 11:07:14.580588 82.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/9100000666@142.132.184.134:5074 Standard REPORTING, cause: NORMAL_CLEARING
  615. 2022-07-08 11:07:14.580588 82.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9100000666@142.132.184.134:5074) State REPORTING going to sleep
  616. 2022-07-08 11:07:14.580588 82.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_REPORTING -> CS_DESTROY
  617. 2022-07-08 11:07:14.580588 82.23% [DEBUG] switch_core_session.c:1753 Session 11 (sofia/default/9100000666@142.132.184.134:5074) Locked, Waiting on external entities
  618. 2022-07-08 11:07:14.580588 82.23% [NOTICE] switch_core_session.c:1771 Session 11 (sofia/default/9100000666@142.132.184.134:5074) Ended
  619. 2022-07-08 11:07:14.580588 82.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9100000666@142.132.184.134:5074 [CS_DESTROY]
  620. 2022-07-08 11:07:14.580588 82.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_DESTROY (Cur 0 Tot 12)
  621. 2022-07-08 11:07:14.580588 82.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9100000666@142.132.184.134:5074) State DESTROY
  622. 2022-07-08 11:07:14.580588 82.23% [DEBUG] mod_sofia.c:379 sofia/default/9100000666@142.132.184.134:5074 SOFIA DESTROY
  623. 2022-07-08 11:07:14.580588 82.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/9100000666@142.132.184.134:5074 Standard DESTROY
  624. 2022-07-08 11:07:14.580588 82.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9100000666@142.132.184.134:5074) State DESTROY going to sleep
  625. freeswitch@devangASTPP>
  626. freeswitch@devangASTPP>
  627. freeswitch@devangASTPP>
  628. freeswitch@devangASTPP>