From mayur valand, 1 Year ago, written in HTML5.
- view diff
Embed
  1. 2022-05-16 10:19:03.209198 [DEBUG] sofia.c:7326 Channel sofia/default/31651628494 entering state [completing][200]
  2. 2022-05-16 10:19:03.209198 [DEBUG] sofia.c:7336 Remote SDP:
  3. v=0
  4. o=- 3476480787 1 IN IP4 185.249.40.253
  5. s=-
  6. c=IN IP4 185.249.40.253
  7. t=0 0
  8. m=audio 11490 RTP/AVP 8 101
  9. a=rtpmap:101 telephone-event/8000
  10. a=silenceSupp:off - - - -
  11. a=ptime:20
  12.  
  13. 2022-05-16 10:19:03.209198 [DEBUG] sofia.c:7326 Channel sofia/default/31651628494 entering state [ready][200]
  14. 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  15. 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  16. 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  17. 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31651628494 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  18. 2022-05-16 10:19:03.209198 [DEBUG] switch_core_codec.c:111 sofia/default/31651628494 Original read codec set to PCMA:8
  19. 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  20. 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:5911 sofia/default/31651628494 Set 2833 dtmf send payload to 101 recv payload to 101
  21. 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31651628494] 185.249.40.236 port 24600 -> 185.249.40.253 port 11490 codec: 8 ms: 20
  22. 2022-05-16 10:19:03.209198 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  23. 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:8977 sofia/default/31651628494 Set 2833 dtmf send payload to 101
  24. 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:8984 sofia/default/31651628494 Set 2833 dtmf receive payload to 101
  25. 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:9007 sofia/default/31651628494 Set rtp dtmf delay to 40
  26. 2022-05-16 10:19:03.209198 [NOTICE] sofia.c:8504 Channel [sofia/default/31651628494] has been answered
  27. 2022-05-16 10:19:03.209198 [DEBUG] switch_channel.c:3865 (sofia/default/31651628494) Callstate Change RINGING -> ACTIVE
  28. 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/183284@213.144.239.110:9933] 185.249.40.236 port 25634 -> 213.144.239.110 port 16954 codec: 0 ms: 20
  29. 2022-05-16 10:19:03.209198 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  30. 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:8977 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf send payload to 101
  31. 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:8984 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf receive payload to 101
  32. 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:9007 sofia/default/183284@213.144.239.110:9933 Set rtp dtmf delay to 40
  33. 2022-05-16 10:19:03.209198 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/183284@213.144.239.110:9933:
  34. v=0
  35. o=FreeSWITCH 1652663509 1652663510 IN IP4 185.249.40.236
  36. s=FreeSWITCH
  37. c=IN IP4 185.249.40.236
  38. t=0 0
  39. m=audio 25634 RTP/AVP 0 101
  40. a=rtpmap:0 PCMU/8000
  41. a=rtpmap:101 telephone-event/8000
  42. a=fmtp:101 0-16
  43. a=ptime:20
  44. a=sendrecv
  45.  
  46. 2022-05-16 10:19:03.209198 [NOTICE] switch_ivr_originate.c:3794 Channel [sofia/default/183284@213.144.239.110:9933] has been answered
  47. 2022-05-16 10:19:03.229183 [DEBUG] switch_channel.c:3865 (sofia/default/183284@213.144.239.110:9933) Callstate Change RINGING -> ACTIVE
  48. 2022-05-16 10:19:03.229183 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [completed][200]
  49. 2022-05-16 10:19:03.229183 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31651628494]
  50. 2022-05-16 10:19:03.229183 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31651628494) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  51. 2022-05-16 10:19:03.229183 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31651628494) Running State Change CS_EXCHANGE_MEDIA (Cur 8 Tot 19873)
  52. 2022-05-16 10:19:03.229183 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31651628494) State EXCHANGE_MEDIA
  53. 2022-05-16 10:19:03.229183 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  54. 2022-05-16 10:19:03.229183 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [ready][200]
  55. 2022-05-16 10:19:03.289223 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  56. 2022-05-16 10:19:03.329236 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  57. 2022-05-16 10:19:03.409197 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31651628494 Bridge execute app sched_hangup(+6000 normal_clearing)
  58. 2022-05-16 10:19:03.429209 [DEBUG] switch_ivr.c:632 sofia/default/31651628494 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  59. EXECUTE [depth=0] sofia/default/31651628494 sched_hangup(+6000 normal_clearing)
  60. 2022-05-16 10:19:03.429209 [DEBUG] switch_scheduler.c:252 Added task 6027 switch_ivr_schedule_hangup (c5a03af7-ad41-4cf0-9e72-70f8b6b39420) to run at 1652695143
  61. 2022-05-16 10:19:04.749199 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31652033157@185.249.40.132 [6f21e02d-fe5c-4c05-b99d-7a620615dae2]
  62. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_NEW (Cur 9 Tot 19874)
  63. 2022-05-16 10:19:04.749199 [DEBUG] sofia.c:10280 sofia/default/31652033157@185.249.40.132 receiving invite from 185.249.40.132:5060 version: 1.10.5 -release-17-25569c1631 64bit
  64. 2022-05-16 10:19:04.749199 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.40.132:0.
  65. 2022-05-16 10:19:04.749199 [DEBUG] sofia.c:10403 IP 185.249.40.132 Approved by acl "default[]". Access Granted.
  66. 2022-05-16 10:19:04.749199 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.132 entering state [received][100]
  67. 2022-05-16 10:19:04.749199 [DEBUG] sofia.c:7336 Remote SDP:
  68. v=0
  69. o=root 922230471 922230471 IN IP4 185.249.40.132
  70. s=Asterisk PBX 1.8.32.11
  71. c=IN IP4 185.249.40.132
  72. t=0 0
  73. m=audio 10420 RTP/AVP 8 101
  74. a=rtpmap:8 PCMA/8000
  75. a=rtpmap:101 telephone-event/8000
  76. a=fmtp:101 0-16
  77. a=ptime:20
  78.  
  79. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  80. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  81. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  82. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  83. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31652033157@185.249.40.132 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  84. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_codec.c:111 sofia/default/31652033157@185.249.40.132 Original read codec set to PCMA:8
  85. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  86. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_media.c:5911 sofia/default/31652033157@185.249.40.132 Set 2833 dtmf send payload to 101 recv payload to 101
  87. 2022-05-16 10:19:04.749199 [DEBUG] sofia.c:7760 (sofia/default/31652033157@185.249.40.132) State Change CS_NEW -> CS_INIT
  88. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31652033157@185.249.40.132) State NEW
  89. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_INIT (Cur 9 Tot 19874)
  90. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.132) State INIT
  91. 2022-05-16 10:19:04.749199 [DEBUG] mod_sofia.c:93 sofia/default/31652033157@185.249.40.132 SOFIA INIT
  92. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:40 sofia/default/31652033157@185.249.40.132 Standard INIT
  93. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31652033157@185.249.40.132) State Change CS_INIT -> CS_ROUTING
  94. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.132) State INIT going to sleep
  95. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_ROUTING (Cur 9 Tot 19874)
  96. 2022-05-16 10:19:04.749199 [DEBUG] switch_channel.c:2332 (sofia/default/31652033157@185.249.40.132) Callstate Change DOWN -> RINGING
  97. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.132) State ROUTING
  98. 2022-05-16 10:19:04.749199 [DEBUG] mod_sofia.c:154 sofia/default/31652033157@185.249.40.132 SOFIA ROUTING
  99. 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:236 sofia/default/31652033157@185.249.40.132 Standard ROUTING
  100. 2022-05-16 10:19:04.749199 [INFO] mod_dialplan_xml.c:637 Processing 31652033157 <31652033157>->31855000149 in context default
  101. 2022-05-16 10:19:04.749199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  102. 2022-05-16 10:19:04.749199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  103. 2022-05-16 10:19:04.769220 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  104. 2022-05-16 10:19:04.769220 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31855000149
  105. 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31855000149' limit 1
  106. 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31855000149' AND status=0 limit 1
  107. 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31855000149' and status=0 LIMIT 1
  108. 2022-05-16 10:19:04.769220 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
  109. 2022-05-16 10:19:04.769220 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 31652033157 / 31652033157
  110. 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31855000149" LIMIT 1
  111. 2022-05-16 10:19:04.769220 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound
  112. 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [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("185.249.40.132") 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 "31855000149"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  113. 2022-05-16 10:19:04.769220 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 9712192016]
  114. 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9712192016" AND deleted = 0 limit 1
  115. 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31855000149" AND (accountid = 0 OR status = 1) LIMIT 1
  116. 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  117. 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 160
  118. 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [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 = '^31855000149.*' OR patterns = '^3185500014.*' OR patterns = '^318550001.*' OR patterns = '^31855000.*' OR patterns = '^3185500.*' OR patterns = '^318550.*' OR patterns = '^31855.*' OR patterns = '^3185.*' OR patterns = '^318.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 160 ORDER BY LENGTH(PKGPTR.patterns) DESC
  119. 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [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 ="31855000149" AND A.accountid = '7' limit 1
  120. 2022-05-16 10:19:04.769220 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31855000149
  121. 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31855000149" LIMIT 1
  122. 2022-05-16 10:19:04.769220 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : inbound
  123. 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31855000149' OR number = '3185500014' OR number = '318550001' OR number = '31855000' OR number = '3185500' OR number = '318550' OR number = '31855' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31855000149*' OR number = '3185500014*' OR number = '318550001*' OR number = '31855000*' OR number = '3185500*' OR number = '318550*' OR number = '31855*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31652033157' OR number = '3165203315' OR number = '316520331' OR number = '31652033' OR number = '3165203' OR number = '316520' OR number = '31652' OR number = '3165' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31652033157*' OR number = '3165203315*' OR number = '316520331*' OR number = '31652033*' OR number = '3165203*' OR number = '316520*' OR number = '31652*' OR number = '3165*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  124. 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  125. 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31855000149' OR routing_prefix = '3185500014' OR routing_prefix = '318550001' OR routing_prefix = '31855000' OR routing_prefix = '3185500' OR routing_prefix = '318550' OR routing_prefix = '31855' OR routing_prefix = '3185' OR routing_prefix = '318' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  126. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  127. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 7
  128. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 9712192016
  129. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10000
  130. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  131. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
  132. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  133. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  134. 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  135. 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
  136. 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31855000149" LIMIT 1
  137. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : inbound
  138. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  139. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 43
  140. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  141. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  142. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
  143. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : 31855000149
  144. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 136
  145. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 7
  146. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  147. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 7 !!!
  148. 2022-05-16 10:19:04.789193 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  149. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
  150. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
  151. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
  152. 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1
  153. 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "160" AND deleted = 0 limit 1
  154. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:7
  155. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:7
  156. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 7
  157. 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1
  158. 2022-05-16 10:19:04.789193 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] User Domain : 134271.yoursipcloud.com
  159. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP]  Maxlength : 100
  160. 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  161. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
  162. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : inbound
  163. 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [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 = "42" AND accounts.status = 0
  164. 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1
  165. 2022-05-16 10:19:04.789193 [WARNING] switch_cpp.cpp:1447 [ASTPP] [XML] User Domain : 134271.yoursipcloud.com
  166. 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 160  and status = 0 limit 1
  167. 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
  168. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : 7
  169. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : Ring Group
  170. 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,no_answer_call_type_value from pbx_ringgroup WHERE id = 42 and status = 0 LIMIT 1
  171. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Final Count : 0===
  172. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Final Count : 0===
  173. 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "100"
  174. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] RingGroup Recording Flag : 1
  175. 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] RingGroup Dlr Str : [sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/${sofia_profile_name}/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=10,leg_delay_start=5]user/100@134271.yoursipcloud.com|
  176. 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
  177. 2022-05-16 10:19:04.809186 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  178. 2022-05-16 10:19:04.809186 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  179. 2022-05-16 10:19:04.809186 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  180. <document type="freeswitch/xml">
  181. <section name="dialplan" description="ASTPP Dialplan">
  182. <context name="default">
  183. <extension name="31855000149">
  184. <condition field="destination_number" expression="31855000149">
  185. <action application="set" data="effective_destination_number=31855000149"/>
  186. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  187. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  188. <action application="set" data="callstart=2022-05-16 08:19:04"/>
  189. <action application="set" data="hangup_after_bridge=true"/>
  190. <action application="set" data="continue_on_fail=TRUE"/>
  191. <action application="set" data="account_id=7"/>
  192. <action application="set" data="parent_id=0"/>
  193. <action application="set" data="entity_id=3"/>
  194. <action application="set" data="call_processed=internal"/>
  195. <action application="set" data="call_direction=inbound"/>
  196. <action application="set" data="accountname=ip"/>
  197. <action application="set" data="filename1=astpp.pbx.lua"/>
  198. <action application="set" data="origination_rates_did=ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160"/>
  199. <action application="set" data="origination_rates=0"/>
  200. <action application="set" data="original_caller_id_name=31652033157"/>
  201. <action application="set" data="original_caller_id_number=31652033157"/>
  202. <action application="limit" data="db 9712192016 user_9712192016 10 "/>
  203. <action application="set" data="effective_caller_id_name=31652033157"/>
  204. <action application="set" data="effective_caller_id_number=31652033157"/>
  205. <action application="set" data="receiver_accid=160"/>
  206. <action application="export" data="domain_name=134271.yoursipcloud.com"/>
  207. <action application="export" data="sip_to_host=134271.yoursipcloud.com"/>
  208. <action application="export" data="presence_data=x|||Roy(134271)|||||||||DID|||185.249.40.132"/>
  209. <action application="export" data="call_type=7"/>
  210. <action application="set" data="did_calltype=7"/>
  211. <action application="set" data="did_extensions=42"/>
  212. <action application="set" data="group_confirm_key=exec"/>
  213. <action application="set" data="group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  214. <action application="set" data="ringback="/>
  215. <action application="set" data="module_name=pbx"/>
  216. <action application="db" data="insert/pickup_any_group_${callgroup}/42/${uuid}"/>
  217. <action application="set" data="dialed_extension=transfer_call"/>
  218. <action application="export" data="dialed_extension=transfer_call"/>
  219. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  220. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  221. <action application="export" data="ring_group_transfer=true"/>
  222. <action application="bridge" data="{sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/${sofia_profile_name}/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=10,leg_delay_start=5]user/100@134271.yoursipcloud.com|"/>
  223. <action application="set" data="original_did_number=31855000149"/>
  224. </condition>
  225. </extension>
  226. </context>
  227. </section>
  228. </document>
  229. Dialplan: sofia/default/31652033157@185.249.40.132 parsing [default->31855000149] continue=false
  230. Dialplan: sofia/default/31652033157@185.249.40.132 Regex (PASS) [31855000149] destination_number(31855000149) =~ /31855000149/ break=on-false
  231. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(effective_destination_number=31855000149)
  232. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  233. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  234. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(callstart=2022-05-16 08:19:04)
  235. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(hangup_after_bridge=true)
  236. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(continue_on_fail=TRUE)
  237. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(account_id=7)
  238. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(parent_id=0)
  239. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(entity_id=3)
  240. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(call_processed=internal)
  241. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(call_direction=inbound)
  242. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(accountname=ip)
  243. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(filename1=astpp.pbx.lua)
  244. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(origination_rates_did=ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160)
  245. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(origination_rates=0)
  246. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(original_caller_id_name=31652033157)
  247. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(original_caller_id_number=31652033157)
  248. Dialplan: sofia/default/31652033157@185.249.40.132 Action limit(db 9712192016 user_9712192016 10 )
  249. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(effective_caller_id_name=31652033157)
  250. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(effective_caller_id_number=31652033157)
  251. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(receiver_accid=160)
  252. Dialplan: sofia/default/31652033157@185.249.40.132 Action export(domain_name=134271.yoursipcloud.com)
  253. Dialplan: sofia/default/31652033157@185.249.40.132 Action export(sip_to_host=134271.yoursipcloud.com)
  254. Dialplan: sofia/default/31652033157@185.249.40.132 Action export(presence_data=x|||Roy(134271)|||||||||DID|||185.249.40.132)
  255. Dialplan: sofia/default/31652033157@185.249.40.132 Action export(call_type=7)
  256. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(did_calltype=7)
  257. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(did_extensions=42)
  258. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(group_confirm_key=exec)
  259. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  260. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(ringback=)
  261. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(module_name=pbx)
  262. Dialplan: sofia/default/31652033157@185.249.40.132 Action db(insert/pickup_any_group_${callgroup}/42/${uuid})
  263. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(dialed_extension=transfer_call)
  264. Dialplan: sofia/default/31652033157@185.249.40.132 Action export(dialed_extension=transfer_call)
  265. Dialplan: sofia/default/31652033157@185.249.40.132 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  266. Dialplan: sofia/default/31652033157@185.249.40.132 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  267. Dialplan: sofia/default/31652033157@185.249.40.132 Action export(ring_group_transfer=true)
  268. Dialplan: sofia/default/31652033157@185.249.40.132 Action bridge({sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/${sofia_profile_name}/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=10,leg_delay_start=5]user/100@134271.yoursipcloud.com|)
  269. Dialplan: sofia/default/31652033157@185.249.40.132 Action set(original_did_number=31855000149)
  270. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31652033157@185.249.40.132) State Change CS_ROUTING -> CS_EXECUTE
  271. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.132) State ROUTING going to sleep
  272. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_EXECUTE (Cur 9 Tot 19874)
  273. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.132) State EXECUTE
  274. 2022-05-16 10:19:04.809186 [DEBUG] mod_sofia.c:209 sofia/default/31652033157@185.249.40.132 SOFIA EXECUTE
  275. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:329 sofia/default/31652033157@185.249.40.132 Standard EXECUTE
  276. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(effective_destination_number=31855000149)
  277. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [effective_destination_number]=[31855000149]
  278. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(bridge_pre_execute_bleg_app=sched_hangup)
  279. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [bridge_pre_execute_bleg_app]=[sched_hangup]
  280. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  281. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  282. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(callstart=2022-05-16 08:19:04)
  283. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [callstart]=[2022-05-16 08:19:04]
  284. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(hangup_after_bridge=true)
  285. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [hangup_after_bridge]=[true]
  286. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(continue_on_fail=TRUE)
  287. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [continue_on_fail]=[TRUE]
  288. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(account_id=7)
  289. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [account_id]=[7]
  290. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(parent_id=0)
  291. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [parent_id]=[0]
  292. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(entity_id=3)
  293. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [entity_id]=[3]
  294. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(call_processed=internal)
  295. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [call_processed]=[internal]
  296. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(call_direction=inbound)
  297. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [call_direction]=[inbound]
  298. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(accountname=ip)
  299. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [accountname]=[ip]
  300. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(filename1=astpp.pbx.lua)
  301. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [filename1]=[astpp.pbx.lua]
  302. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(origination_rates_did=ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160)
  303. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [origination_rates_did]=[ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160]
  304. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(origination_rates=0)
  305. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [origination_rates]=[0]
  306. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(original_caller_id_name=31652033157)
  307. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [original_caller_id_name]=[31652033157]
  308. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(original_caller_id_number=31652033157)
  309. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [original_caller_id_number]=[31652033157]
  310. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 limit(db 9712192016 user_9712192016 10 )
  311. 2022-05-16 10:19:04.809186 [DEBUG] switch_limit.c:124 incr called: 9712192016_user_9712192016 max:10, interval:0
  312. 2022-05-16 10:19:04.809186 [DEBUG] mod_db.c:194 Usage for 9712192016_user_9712192016 is now 1/10
  313. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(effective_caller_id_name=31652033157)
  314. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [effective_caller_id_name]=[31652033157]
  315. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(effective_caller_id_number=31652033157)
  316. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [effective_caller_id_number]=[31652033157]
  317. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(receiver_accid=160)
  318. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [receiver_accid]=[160]
  319. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(domain_name=134271.yoursipcloud.com)
  320. 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[134271.yoursipcloud.com]
  321. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(sip_to_host=134271.yoursipcloud.com)
  322. 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[134271.yoursipcloud.com]
  323. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(presence_data=x|||Roy(134271)|||||||||DID|||185.249.40.132)
  324. 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Roy(134271)|||||||||DID|||185.249.40.132]
  325. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(call_type=7)
  326. 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[7]
  327. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(did_calltype=7)
  328. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [did_calltype]=[7]
  329. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(did_extensions=42)
  330. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [did_extensions]=[42]
  331. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(group_confirm_key=exec)
  332. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [group_confirm_key]=[exec]
  333. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  334. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
  335. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(ringback=)
  336. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [ringback]=[UNDEF]
  337. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(module_name=pbx)
  338. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [module_name]=[pbx]
  339. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 db(insert/pickup_any_group_/42/6f21e02d-fe5c-4c05-b99d-7a620615dae2)
  340. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(dialed_extension=transfer_call)
  341. 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [dialed_extension]=[transfer_call]
  342. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(dialed_extension=transfer_call)
  343. 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  344. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  345. 2022-05-16 10:19:04.809186 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  346. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  347. 2022-05-16 10:19:04.809186 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  348. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(ring_group_transfer=true)
  349. 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [ring_group_transfer]=[true]
  350. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 bridge({sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/default/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=10,leg_delay_start=5]user/100@134271.yoursipcloud.com|)
  351. 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [domain_name]=[134271.yoursipcloud.com] to event
  352. 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [sip_to_host]=[134271.yoursipcloud.com] to event
  353. 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [presence_data]=[x|||Roy(134271)|||||||||DID|||185.249.40.132] to event
  354. 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [call_type]=[7] to event
  355. 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  356. 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  357. 2022-05-16 10:19:04.809186 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  358. 2022-05-16 10:19:04.809186 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  359. 2022-05-16 10:19:04.809186 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 [b3ebe113-e3df-46ec-8f91-d8a3284f76f6]
  360. 2022-05-16 10:19:04.809186 [DEBUG] mod_sofia.c:5089 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_NEW -> CS_INIT
  361. 2022-05-16 10:19:04.809186 [DEBUG] switch_ivr_originate.c:3111 sofia/default/31854832191@134271.yoursipcloud.com:5060 Setting leg timeout to 5
  362. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_INIT (Cur 10 Tot 19875)
  363. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State INIT
  364. 2022-05-16 10:19:04.809186 [DEBUG] mod_sofia.c:93 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA INIT
  365. 2022-05-16 10:19:04.809186 [DEBUG] sofia_glue.c:1618 sofia/default/31854832191@134271.yoursipcloud.com:5060 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  366. Local SDP:
  367. v=0
  368. o=FreeSWITCH 1652665718 1652665719 IN IP4 185.249.40.236
  369. s=FreeSWITCH
  370. c=IN IP4 185.249.40.236
  371. t=0 0
  372. m=audio 23426 RTP/AVP 8 101
  373. a=rtpmap:8 PCMA/8000
  374. a=rtpmap:101 telephone-event/8000
  375. a=fmtp:101 0-16
  376. a=ptime:20
  377. a=sendrecv
  378.  
  379. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:40 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard INIT
  380. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_INIT -> CS_ROUTING
  381. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State INIT going to sleep
  382. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_ROUTING (Cur 10 Tot 19875)
  383. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State ROUTING
  384. 2022-05-16 10:19:04.809186 [DEBUG] mod_sofia.c:154 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA ROUTING
  385. 2022-05-16 10:19:04.809186 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  386. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State ROUTING going to sleep
  387. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 19875)
  388. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State CONSUME_MEDIA
  389. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State CONSUME_MEDIA going to sleep
  390. 2022-05-16 10:19:04.809186 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [calling][0]
  391. 2022-05-16 10:19:04.809186 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31652033157@185.249.40.236 [66f3964d-fbb6-4605-abfa-24e421b9c638]
  392. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_NEW (Cur 11 Tot 19876)
  393. 2022-05-16 10:19:04.809186 [DEBUG] sofia.c:10280 sofia/default/31652033157@185.249.40.236 receiving invite from 185.249.40.236:5060 version: 1.10.5 -release-17-25569c1631 64bit
  394. 2022-05-16 10:19:04.809186 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.40.236:0.
  395. 2022-05-16 10:19:04.809186 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [received][100]
  396. 2022-05-16 10:19:04.809186 [DEBUG] sofia.c:7336 Remote SDP:
  397. v=0
  398. o=FreeSWITCH 1652665718 1652665719 IN IP4 185.249.40.236
  399. s=FreeSWITCH
  400. c=IN IP4 185.249.40.236
  401. t=0 0
  402. m=audio 23426 RTP/AVP 8 101
  403. a=rtpmap:8 PCMA/8000
  404. a=rtpmap:101 telephone-event/8000
  405. a=fmtp:101 0-16
  406. a=ptime:20
  407.  
  408. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  409. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  410. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  411. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  412. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31652033157@185.249.40.236 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  413. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_codec.c:111 sofia/default/31652033157@185.249.40.236 Original read codec set to PCMA:8
  414. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  415. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_media.c:5911 sofia/default/31652033157@185.249.40.236 Set 2833 dtmf send payload to 101 recv payload to 101
  416. 2022-05-16 10:19:04.809186 [DEBUG] sofia.c:7760 (sofia/default/31652033157@185.249.40.236) State Change CS_NEW -> CS_INIT
  417. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31652033157@185.249.40.236) State NEW
  418. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_INIT (Cur 11 Tot 19876)
  419. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.236) State INIT
  420. 2022-05-16 10:19:04.809186 [DEBUG] mod_sofia.c:93 sofia/default/31652033157@185.249.40.236 SOFIA INIT
  421. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:40 sofia/default/31652033157@185.249.40.236 Standard INIT
  422. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31652033157@185.249.40.236) State Change CS_INIT -> CS_ROUTING
  423. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.236) State INIT going to sleep
  424. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_ROUTING (Cur 11 Tot 19876)
  425. 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:2332 (sofia/default/31652033157@185.249.40.236) Callstate Change DOWN -> RINGING
  426. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.236) State ROUTING
  427. 2022-05-16 10:19:04.809186 [DEBUG] mod_sofia.c:154 sofia/default/31652033157@185.249.40.236 SOFIA ROUTING
  428. 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:236 sofia/default/31652033157@185.249.40.236 Standard ROUTING
  429. 2022-05-16 10:19:04.809186 [INFO] mod_dialplan_xml.c:637 Processing 31652033157 <31652033157>->31854832191 in context default
  430. 2022-05-16 10:19:04.809186 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  431. 2022-05-16 10:19:04.829189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  432. 2022-05-16 10:19:04.829189 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  433. 2022-05-16 10:19:04.829189 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31854832191
  434. 2022-05-16 10:19:04.829189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31854832191' limit 1
  435. 2022-05-16 10:19:04.829189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31854832191' AND status=0 limit 1
  436. 2022-05-16 10:19:04.829189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31854832191' and status=0 LIMIT 1
  437. 2022-05-16 10:19:04.829189 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
  438. 2022-05-16 10:19:04.829189 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 31652033157 / 31652033157
  439. 2022-05-16 10:19:04.829189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1
  440. 2022-05-16 10:19:04.829189 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domain134271.yoursipcloud.com
  441. 2022-05-16 10:19:04.829189 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31854832191" LIMIT 1
  442. 2022-05-16 10:19:04.829189 [DEBUG] switch_cpp.cpp:1447 [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 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="31854832191"  AND domains.domain="134271.yoursipcloud.com" limit 1
  443. 2022-05-16 10:19:04.829189 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  444. 2022-05-16 10:19:04.829189 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 160]
  445. 2022-05-16 10:19:04.829189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "160" AND deleted = 0 limit 1
  446. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31854832191.*' OR blocked_patterns = '^3185483219.*' OR blocked_patterns = '^318548321.*' OR blocked_patterns = '^31854832.*' OR blocked_patterns = '^3185483.*' OR blocked_patterns = '^318548.*' OR blocked_patterns = '^31854.*' OR blocked_patterns = '^3185.*' OR blocked_patterns = '^318.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 160 limit 1
  447. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31854832191" AND (accountid = 0 OR status = 1) LIMIT 1
  448. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [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 = '^31854832191.*' OR patterns = '^3185483219.*' OR patterns = '^318548321.*' OR patterns = '^31854832.*' OR patterns = '^3185483.*' OR patterns = '^318548.*' OR patterns = '^31854.*' OR patterns = '^3185.*' OR patterns = '^318.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 160 ORDER BY LENGTH(PKGPTR.patterns) DESC
  449. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [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 ="31854832191" AND A.accountid = '160' limit 1
  450. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31854832191
  451. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31854832191" LIMIT 1
  452. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [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 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="31854832191"  AND domains.domain="134271.yoursipcloud.com" limit 1
  453. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
  454. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31854832191' OR number = '3185483219' OR number = '318548321' OR number = '31854832' OR number = '3185483' OR number = '318548' OR number = '31854' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31854832191*' OR number = '3185483219*' OR number = '318548321*' OR number = '31854832*' OR number = '3185483*' OR number = '318548*' OR number = '31854*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31652033157' OR number = '3165203315' OR number = '316520331' OR number = '31652033' OR number = '3165203' OR number = '316520' OR number = '31652' OR number = '3165' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31652033157*' OR number = '3165203315*' OR number = '316520331*' OR number = '31652033*' OR number = '3165203*' OR number = '316520*' OR number = '31652*' OR number = '3165*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  455. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  456. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31854832191' OR routing_prefix = '3185483219' OR routing_prefix = '318548321' OR routing_prefix = '31854832' OR routing_prefix = '3185483' OR routing_prefix = '318548' OR routing_prefix = '31854' OR routing_prefix = '3185' OR routing_prefix = '318' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 12 limit 1
  457. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  458. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 160
  459. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 134271
  460. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10
  461. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  462. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 6
  463. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  464. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  465. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
  466. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  467. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
  468. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31854832191.*' OR pattern = '^3185483219.*' OR pattern = '^318548321.*' OR pattern = '^31854832.*' OR pattern = '^3185483.*' OR pattern = '^318548.*' OR pattern = '^31854.*' OR pattern = '^3185.*' OR pattern = '^318.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 6 OR accountid=160)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  469. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  470. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  471. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 8158
  472. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.07200
  473. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 1
  474. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.05400
  475. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Nederland special
  476. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
  477. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 160
  478. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 0
  479. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  480. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  481. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 160 !!!
  482. 2022-05-16 10:19:04.849190 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  483. 2022-05-16 10:19:04.849190 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 12
  484. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "12" AND deleted = 0 limit 1
  485. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31854832191.*' OR blocked_patterns = '^3185483219.*' OR blocked_patterns = '^318548321.*' OR blocked_patterns = '^31854832.*' OR blocked_patterns = '^3185483.*' OR blocked_patterns = '^318548.*' OR blocked_patterns = '^31854.*' OR blocked_patterns = '^3185.*' OR blocked_patterns = '^318.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 12 limit 1
  486. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information ===================
  487. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 12
  488. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3847299300
  489. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 99626.8729
  490. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  491. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 44
  492. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
  493. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  494. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
  495. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31854832191.*' OR pattern = '^3185483219.*' OR pattern = '^318548321.*' OR pattern = '^31854832.*' OR pattern = '^3185483.*' OR pattern = '^318548.*' OR pattern = '^31854.*' OR pattern = '^3185.*' OR pattern = '^318.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 44 OR accountid=12)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  496. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  497. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  498. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 2846856
  499. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  500. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  501. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00210
  502. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Netherlands 085 Personal Numbers
  503. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
  504. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 12
  505. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 4
  506. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  507. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  508. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your99626.8729 balance Accountid 12 !!!
  509. 2022-05-16 10:19:04.849190 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  510. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Reseller xml_user_rates : ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12
  511. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  512. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Lossless Routing Status : 1
  513. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
  514. 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 8158
  515. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :4
  516. 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,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 = '^31854832191.*' OR pattern = '^3185483219.*' OR pattern = '^318548321.*' OR pattern = '^31854832.*' OR pattern = '^3185483.*' OR pattern = '^318548.*' OR pattern = '^31854.*' OR pattern = '^3185.*' OR pattern = '^318.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4)  AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  517. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
  518. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 114263
  519. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3185.*
  520. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Netherlands 085 Personal Numbers
  521. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  522. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
  523. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3185.*
  524. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
  525. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
  526. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 4
  527. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1
  528. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
  529. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : SBC2
  530. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231
  531. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
  532. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs
  533. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
  534. 2022-05-16 10:19:04.869208 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 160 AND status=0 LIMIT 1
  535. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP]  Maxlength : 100
  536. 2022-05-16 10:19:04.869208 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  537. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
  538. 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
  539. 2022-05-16 10:19:04.869208 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
  540. 2022-05-16 10:19:04.869208 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 231) AND status=0 limit 1
  541. 2022-05-16 10:19:04.869208 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
  542. 2022-05-16 10:19:04.869208 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31".....31854832191
  543. 2022-05-16 10:19:04.869208 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31854832191" LIMIT 1
  544. 2022-05-16 10:19:04.869208 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
  545. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  546. <document type="freeswitch/xml">
  547. <section name="dialplan" description="ASTPP Dialplan">
  548. <context name="default">
  549. <extension name="31854832191">
  550. <condition field="destination_number" expression="31854832191">
  551. <action application="set" data="effective_destination_number=31854832191"/>
  552. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  553. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  554. <action application="set" data="callstart=2022-05-16 08:19:04"/>
  555. <action application="set" data="hangup_after_bridge=true"/>
  556. <action application="set" data="continue_on_fail=TRUE"/>
  557. <action application="set" data="account_id=160"/>
  558. <action application="set" data="parent_id=12"/>
  559. <action application="set" data="entity_id=0"/>
  560. <action application="set" data="call_processed=internal"/>
  561. <action application="set" data="call_direction=outbound"/>
  562. <action application="set" data="accountname=default"/>
  563. <action application="set" data="filename1=astpp.pbx.lua"/>
  564. <action application="set" data="origination_rates=ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12"/>
  565. <action application="set" data="original_caller_id_name=31652033157"/>
  566. <action application="set" data="original_caller_id_number=31652033157"/>
  567. <action application="limit" data="db 160 user_160 10 "/>
  568. <action application="limit" data="hash CPS_160 CPS_user_160 1/1 "/>
  569.  
  570. <action application="set" data="effective_caller_id_name=31652033157"/>
  571. <action application="set" data="effective_caller_id_number=31652033157"/>
  572. <action application="set" data="calltype=STANDARD"/>
  573. <action application="set" data="termination_rates=ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231"/>
  574. <action application="set" data="trunk_id=4"/>
  575. <action application="set" data="provider_id=231"/>
  576. <action application="set" data="rate_flag=0"/>
  577. <action application="set" data="force_trunk_flag=8158"/>
  578. <action application="export" data="presence_data=trunk_id=4"/>
  579. <action application="set" data="intcall=0"/>
  580. <action application="export" data="presence_id=31854832191"/>
  581. <action application="export" data="presence_data=x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers"/>
  582. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31854832191"/>
  583. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31854832191"/>
  584. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31854832191"/>
  585. </condition>
  586. </extension>
  587. </context>
  588. </section>
  589. </document>
  590. Dialplan: sofia/default/31652033157@185.249.40.236 parsing [default->31854832191] continue=false
  591. Dialplan: sofia/default/31652033157@185.249.40.236 Regex (PASS) [31854832191] destination_number(31854832191) =~ /31854832191/ break=on-false
  592. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(effective_destination_number=31854832191)
  593. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  594. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  595. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(callstart=2022-05-16 08:19:04)
  596. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(hangup_after_bridge=true)
  597. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(continue_on_fail=TRUE)
  598. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(account_id=160)
  599. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(parent_id=12)
  600. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(entity_id=0)
  601. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(call_processed=internal)
  602. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(call_direction=outbound)
  603. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(accountname=default)
  604. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(filename1=astpp.pbx.lua)
  605. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(origination_rates=ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12)
  606. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(original_caller_id_name=31652033157)
  607. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(original_caller_id_number=31652033157)
  608. Dialplan: sofia/default/31652033157@185.249.40.236 Action limit(db 160 user_160 10 )
  609. Dialplan: sofia/default/31652033157@185.249.40.236 Action limit(hash CPS_160 CPS_user_160 1/1 )
  610. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(effective_caller_id_name=31652033157)
  611. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(effective_caller_id_number=31652033157)
  612. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(calltype=STANDARD)
  613. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(termination_rates=ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
  614. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(trunk_id=4)
  615. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(provider_id=231)
  616. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(rate_flag=0)
  617. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(force_trunk_flag=8158)
  618. Dialplan: sofia/default/31652033157@185.249.40.236 Action export(presence_data=trunk_id=4)
  619. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(intcall=0)
  620. Dialplan: sofia/default/31652033157@185.249.40.236 Action export(presence_id=31854832191)
  621. Dialplan: sofia/default/31652033157@185.249.40.236 Action export(presence_data=x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers)
  622. Dialplan: sofia/default/31652033157@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31854832191)
  623. Dialplan: sofia/default/31652033157@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31854832191)
  624. Dialplan: sofia/default/31652033157@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31854832191)
  625. 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31652033157@185.249.40.236) State Change CS_ROUTING -> CS_EXECUTE
  626. 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.236) State ROUTING going to sleep
  627. 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_EXECUTE (Cur 11 Tot 19876)
  628. 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.236) State EXECUTE
  629. 2022-05-16 10:19:04.869208 [DEBUG] mod_sofia.c:209 sofia/default/31652033157@185.249.40.236 SOFIA EXECUTE
  630. 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:329 sofia/default/31652033157@185.249.40.236 Standard EXECUTE
  631. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(effective_destination_number=31854832191)
  632. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [effective_destination_number]=[31854832191]
  633. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(bridge_pre_execute_bleg_app=sched_hangup)
  634. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [bridge_pre_execute_bleg_app]=[sched_hangup]
  635. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  636. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  637. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(callstart=2022-05-16 08:19:04)
  638. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [callstart]=[2022-05-16 08:19:04]
  639. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(hangup_after_bridge=true)
  640. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [hangup_after_bridge]=[true]
  641. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(continue_on_fail=TRUE)
  642. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [continue_on_fail]=[TRUE]
  643. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(account_id=160)
  644. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [account_id]=[160]
  645. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(parent_id=12)
  646. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [parent_id]=[12]
  647. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(entity_id=0)
  648. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [entity_id]=[0]
  649. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(call_processed=internal)
  650. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [call_processed]=[internal]
  651. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(call_direction=outbound)
  652. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [call_direction]=[outbound]
  653. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(accountname=default)
  654. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [accountname]=[default]
  655. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(filename1=astpp.pbx.lua)
  656. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [filename1]=[astpp.pbx.lua]
  657. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(origination_rates=ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12)
  658. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [origination_rates]=[ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12]
  659. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(original_caller_id_name=31652033157)
  660. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [original_caller_id_name]=[31652033157]
  661. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(original_caller_id_number=31652033157)
  662. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [original_caller_id_number]=[31652033157]
  663. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 limit(db 160 user_160 10 )
  664. 2022-05-16 10:19:04.869208 [DEBUG] switch_limit.c:124 incr called: 160_user_160 max:10, interval:0
  665. 2022-05-16 10:19:04.869208 [DEBUG] mod_db.c:194 Usage for 160_user_160 is now 1/10
  666. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 limit(hash CPS_160 CPS_user_160 1/1 )
  667. 2022-05-16 10:19:04.869208 [DEBUG] switch_limit.c:124 incr called: CPS_160_CPS_user_160 max:1, interval:1
  668. 2022-05-16 10:19:04.869208 [DEBUG] mod_hash.c:198 Usage for CPS_160_CPS_user_160 is now 1/1 for the last 1 seconds
  669. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(effective_caller_id_name=31652033157)
  670. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [effective_caller_id_name]=[31652033157]
  671. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(effective_caller_id_number=31652033157)
  672. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [effective_caller_id_number]=[31652033157]
  673. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(calltype=STANDARD)
  674. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [calltype]=[STANDARD]
  675. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(termination_rates=ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
  676. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [termination_rates]=[ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231]
  677. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(trunk_id=4)
  678. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [trunk_id]=[4]
  679. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(provider_id=231)
  680. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [provider_id]=[231]
  681. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(rate_flag=0)
  682. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [rate_flag]=[0]
  683. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(force_trunk_flag=8158)
  684. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [force_trunk_flag]=[8158]
  685. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 export(presence_data=trunk_id=4)
  686. 2022-05-16 10:19:04.869208 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=4]
  687. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(intcall=0)
  688. 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [intcall]=[0]
  689. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 export(presence_id=31854832191)
  690. 2022-05-16 10:19:04.869208 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31854832191]
  691. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 export(presence_data=x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers)
  692. 2022-05-16 10:19:04.869208 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers]
  693. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31854832191)
  694. 2022-05-16 10:19:04.869208 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.236 EXPORTING[export_vars] [presence_data]=[x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers] to event
  695. 2022-05-16 10:19:04.869208 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.236 EXPORTING[export_vars] [presence_id]=[31854832191] to event
  696. 2022-05-16 10:19:04.869208 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.236 EXPORTING[export_vars] [presence_data]=[x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers] to event
  697. 2022-05-16 10:19:04.869208 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  698. 2022-05-16 10:19:04.869208 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  699. 2022-05-16 10:19:04.869208 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31854832191 [84ebeb88-9fff-4276-a91d-d73b8ec3a860]
  700. 2022-05-16 10:19:04.869208 [DEBUG] mod_sofia.c:5089 (sofia/default/31854832191) State Change CS_NEW -> CS_INIT
  701. 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_INIT (Cur 12 Tot 19877)
  702. 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191) State INIT
  703. 2022-05-16 10:19:04.869208 [DEBUG] mod_sofia.c:93 sofia/default/31854832191 SOFIA INIT
  704. 2022-05-16 10:19:04.869208 [DEBUG] sofia_glue.c:1618 sofia/default/31854832191 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  705. Local SDP:
  706. v=0
  707. o=FreeSWITCH 1652663018 1652663019 IN IP4 185.249.40.236
  708. s=FreeSWITCH
  709. c=IN IP4 185.249.40.236
  710. t=0 0
  711. m=audio 26126 RTP/AVP 8 101
  712. a=rtpmap:8 PCMA/8000
  713. a=rtpmap:101 telephone-event/8000
  714. a=fmtp:101 0-16
  715. a=ptime:20
  716. a=sendrecv
  717.  
  718. 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:40 sofia/default/31854832191 Standard INIT
  719. 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31854832191) State Change CS_INIT -> CS_ROUTING
  720. 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191) State INIT going to sleep
  721. 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_ROUTING (Cur 12 Tot 19877)
  722. 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191) State ROUTING
  723. 2022-05-16 10:19:04.869208 [DEBUG] mod_sofia.c:154 sofia/default/31854832191 SOFIA ROUTING
  724. 2022-05-16 10:19:04.869208 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31854832191) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  725. 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191) State ROUTING going to sleep
  726. 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 19877)
  727. 2022-05-16 10:19:04.869208 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [calling][0]
  728. 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191) State CONSUME_MEDIA
  729. 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191) State CONSUME_MEDIA going to sleep
  730. 2022-05-16 10:19:06.189222 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [proceeding][180]
  731. 2022-05-16 10:19:06.189222 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/31854832191!
  732. 2022-05-16 10:19:06.189222 [DEBUG] switch_channel.c:3437 (sofia/default/31854832191) Callstate Change DOWN -> RINGING
  733. 2022-05-16 10:19:06.209212 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/31652033157@185.249.40.236!
  734. 2022-05-16 10:19:06.209212 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [early][180]
  735. 2022-05-16 10:19:06.209212 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/31652033157@185.249.40.236!
  736. 2022-05-16 10:19:06.209212 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [proceeding][180]
  737. 2022-05-16 10:19:06.209212 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/31854832191@134271.yoursipcloud.com:5060!
  738. 2022-05-16 10:19:06.209212 [DEBUG] switch_channel.c:3437 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Callstate Change DOWN -> RINGING
  739. 2022-05-16 10:19:06.209212 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/31652033157@185.249.40.132!
  740. 2022-05-16 10:19:06.229186 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.132 entering state [early][180]
  741. 2022-05-16 10:19:06.229186 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/31652033157@185.249.40.132!
  742. 2022-05-16 10:19:06.609208 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [proceeding][183]
  743. 2022-05-16 10:19:06.609208 [DEBUG] sofia.c:7336 Remote SDP:
  744. v=0
  745. o=- 3476480824 1 IN IP4 185.249.40.253
  746. s=-
  747. c=IN IP4 185.249.40.253
  748. t=0 0
  749. m=audio 11504 RTP/AVP 8 101
  750. a=rtpmap:101 telephone-event/8000
  751. a=ptime:20
  752.  
  753. 2022-05-16 10:19:06.609208 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/31854832191!
  754. 2022-05-16 10:19:06.609208 [DEBUG] switch_channel.c:3565 (sofia/default/31854832191) Callstate Change RINGING -> EARLY
  755. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  756. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  757. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  758. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31854832191 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  759. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_codec.c:111 sofia/default/31854832191 Original read codec set to PCMA:8
  760. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  761. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5911 sofia/default/31854832191 Set 2833 dtmf send payload to 101 recv payload to 101
  762. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31854832191] 185.249.40.236 port 26126 -> 185.249.40.253 port 11504 codec: 8 ms: 20
  763. 2022-05-16 10:19:06.609208 [INFO] switch_ivr_originate.c:3801 Sending early media
  764. 2022-05-16 10:19:06.609208 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  765. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31652033157@185.249.40.236] 185.249.40.236 port 28810 -> 185.249.40.236 port 23426 codec: 8 ms: 20
  766. 2022-05-16 10:19:06.609208 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  767. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8977 sofia/default/31854832191 Set 2833 dtmf send payload to 101
  768. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8984 sofia/default/31854832191 Set 2833 dtmf receive payload to 101
  769. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:9007 sofia/default/31854832191 Set rtp dtmf delay to 40
  770. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8977 sofia/default/31652033157@185.249.40.236 Set 2833 dtmf send payload to 101
  771. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8984 sofia/default/31652033157@185.249.40.236 Set 2833 dtmf receive payload to 101
  772. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:9007 sofia/default/31652033157@185.249.40.236 Set rtp dtmf delay to 40
  773. 2022-05-16 10:19:06.609208 [DEBUG] mod_sofia.c:2593 Ring SDP:
  774. v=0
  775. o=FreeSWITCH 1652660336 1652660337 IN IP4 185.249.40.236
  776. s=FreeSWITCH
  777. c=IN IP4 185.249.40.236
  778. t=0 0
  779. m=audio 28810 RTP/AVP 8 101
  780. a=rtpmap:8 PCMA/8000
  781. a=rtpmap:101 telephone-event/8000
  782. a=fmtp:101 0-16
  783. a=ptime:20
  784. a=sendrecv
  785.  
  786. 2022-05-16 10:19:06.609208 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/31652033157@185.249.40.236!
  787. 2022-05-16 10:19:06.609208 [DEBUG] switch_channel.c:3565 (sofia/default/31652033157@185.249.40.236) Callstate Change RINGING -> EARLY
  788. 2022-05-16 10:19:06.609208 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31854832191]
  789. 2022-05-16 10:19:06.609208 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [early][183]
  790. 2022-05-16 10:19:06.609208 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31854832191) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  791. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 19877)
  792. 2022-05-16 10:19:06.609208 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [proceeding][183]
  793. 2022-05-16 10:19:06.609208 [DEBUG] sofia.c:7336 Remote SDP:
  794. v=0
  795. o=FreeSWITCH 1652660336 1652660337 IN IP4 185.249.40.236
  796. s=FreeSWITCH
  797. c=IN IP4 185.249.40.236
  798. t=0 0
  799. m=audio 28810 RTP/AVP 8 101
  800. a=rtpmap:8 PCMA/8000
  801. a=rtpmap:101 telephone-event/8000
  802. a=fmtp:101 0-16
  803. a=ptime:20
  804.  
  805. 2022-05-16 10:19:06.609208 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/31854832191@134271.yoursipcloud.com:5060!
  806. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191) State EXCHANGE_MEDIA
  807. 2022-05-16 10:19:06.609208 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  808. 2022-05-16 10:19:06.609208 [DEBUG] switch_channel.c:3565 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Callstate Change RINGING -> EARLY
  809. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  810. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  811. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  812. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31854832191@134271.yoursipcloud.com:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  813. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_codec.c:111 sofia/default/31854832191@134271.yoursipcloud.com:5060 Original read codec set to PCMA:8
  814. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  815. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5911 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  816. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31854832191@134271.yoursipcloud.com:5060] 185.249.40.236 port 23426 -> 185.249.40.236 port 28810 codec: 8 ms: 20
  817. 2022-05-16 10:19:06.609208 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  818. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8977 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set 2833 dtmf send payload to 101
  819. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8984 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set 2833 dtmf receive payload to 101
  820. 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:9007 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set rtp dtmf delay to 40
  821. EXECUTE [depth=0] sofia/default/31854832191@134271.yoursipcloud.com:5060 lua(/usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  822. 2022-05-16 10:19:06.629222 [NOTICE] switch_cpp.cpp:1447 [Astpp_Call-Ring Group]  Ring group confirm flag :false
  823. 2022-05-16 10:19:06.629222 [DEBUG] switch_cpp.cpp:1191 sofia/default/31854832191@134271.yoursipcloud.com:5060 destroy/unlink session from object
  824. 2022-05-16 10:19:06.649199 [INFO] switch_ivr_originate.c:3801 Sending early media
  825. 2022-05-16 10:19:06.649199 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31652033157@185.249.40.132] 185.249.40.236 port 23178 -> 185.249.40.132 port 10420 codec: 8 ms: 20
  826. 2022-05-16 10:19:06.649199 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  827. 2022-05-16 10:19:06.649199 [DEBUG] switch_core_media.c:8977 sofia/default/31652033157@185.249.40.132 Set 2833 dtmf send payload to 101
  828. 2022-05-16 10:19:06.649199 [DEBUG] switch_core_media.c:8984 sofia/default/31652033157@185.249.40.132 Set 2833 dtmf receive payload to 101
  829. 2022-05-16 10:19:06.649199 [DEBUG] switch_core_media.c:9007 sofia/default/31652033157@185.249.40.132 Set rtp dtmf delay to 40
  830. 2022-05-16 10:19:06.649199 [DEBUG] mod_sofia.c:2593 Ring SDP:
  831. v=0
  832. o=FreeSWITCH 1652665968 1652665969 IN IP4 185.249.40.236
  833. s=FreeSWITCH
  834. c=IN IP4 185.249.40.236
  835. t=0 0
  836. m=audio 23178 RTP/AVP 8 101
  837. a=rtpmap:8 PCMA/8000
  838. a=rtpmap:101 telephone-event/8000
  839. a=fmtp:101 0-16
  840. a=ptime:20
  841. a=sendrecv
  842.  
  843. 2022-05-16 10:19:06.649199 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/31652033157@185.249.40.132!
  844. 2022-05-16 10:19:06.649199 [DEBUG] switch_channel.c:3565 (sofia/default/31652033157@185.249.40.132) Callstate Change RINGING -> EARLY
  845. 2022-05-16 10:19:06.649199 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31854832191@134271.yoursipcloud.com:5060]
  846. 2022-05-16 10:19:06.649199 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.132 entering state [early][183]
  847. 2022-05-16 10:19:06.649199 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  848. 2022-05-16 10:19:06.649199 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 19877)
  849. 2022-05-16 10:19:06.649199 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State EXCHANGE_MEDIA
  850. 2022-05-16 10:19:06.649199 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  851. 2022-05-16 10:19:06.729245 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  852. 2022-05-16 10:19:06.729245 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  853. 2022-05-16 10:19:06.809233 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31854832191 Bridge execute app sched_hangup(+6000 normal_clearing)
  854. 2022-05-16 10:19:06.809233 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31854832191@134271.yoursipcloud.com:5060 Bridge execute app sched_hangup(+6000 normal_clearing)
  855. 2022-05-16 10:19:06.829229 [DEBUG] switch_ivr.c:632 sofia/default/31854832191 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  856. EXECUTE [depth=0] sofia/default/31854832191 sched_hangup(+6000 normal_clearing)
  857. 2022-05-16 10:19:06.829229 [DEBUG] switch_scheduler.c:252 Added task 6028 switch_ivr_schedule_hangup (84ebeb88-9fff-4276-a91d-d73b8ec3a860) to run at 1652695146
  858. 2022-05-16 10:19:06.829229 [DEBUG] switch_ivr.c:632 sofia/default/31854832191@134271.yoursipcloud.com:5060 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  859. EXECUTE [depth=0] sofia/default/31854832191@134271.yoursipcloud.com:5060 sched_hangup(+6000 normal_clearing)
  860. 2022-05-16 10:19:06.829229 [DEBUG] switch_scheduler.c:252 Added task 6029 switch_ivr_schedule_hangup (b3ebe113-e3df-46ec-8f91-d8a3284f76f6) to run at 1652695146
  861. 2022-05-16 10:19:14.909197 [NOTICE] switch_channel.c:1118 New Channel sofia/default/183284@213.144.239.110:9933 [fb0e8983-9f92-42f1-9524-ef852a439ce4]
  862. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_NEW (Cur 13 Tot 19878)
  863. 2022-05-16 10:19:14.909197 [DEBUG] sofia.c:10280 sofia/default/183284@213.144.239.110:9933 receiving invite from 213.144.239.110:9933 version: 1.10.5 -release-17-25569c1631 64bit
  864. 2022-05-16 10:19:14.909197 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 213.144.239.110:0.
  865. 2022-05-16 10:19:14.909197 [DEBUG] sofia.c:10403 IP 213.144.239.110 Approved by acl "default[]". Access Granted.
  866. 2022-05-16 10:19:14.909197 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [received][100]
  867. 2022-05-16 10:19:14.909197 [DEBUG] sofia.c:7336 Remote SDP:
  868. v=0
  869. o=root 1264752412 1264752412 IN IP4 213.144.239.110
  870. s=Asterisk PBX 11.4.0
  871. c=IN IP4 213.144.239.110
  872. t=0 0
  873. m=audio 10836 RTP/AVP 0 8 101
  874. a=rtpmap:0 PCMU/8000
  875. a=rtpmap:8 PCMA/8000
  876. a=rtpmap:101 telephone-event/8000
  877. a=fmtp:101 0-16
  878. a=ptime:20
  879.  
  880. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  881. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  882. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  883. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  884. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  885. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  886. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  887. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/183284@213.144.239.110:9933 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  888. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_codec.c:111 sofia/default/183284@213.144.239.110:9933 Original read codec set to PCMU:0
  889. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  890. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5911 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf send payload to 101 recv payload to 101
  891. 2022-05-16 10:19:14.909197 [DEBUG] sofia.c:7760 (sofia/default/183284@213.144.239.110:9933) State Change CS_NEW -> CS_INIT
  892. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:604 (sofia/default/183284@213.144.239.110:9933) State NEW
  893. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_INIT (Cur 13 Tot 19878)
  894. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:628 (sofia/default/183284@213.144.239.110:9933) State INIT
  895. 2022-05-16 10:19:14.909197 [DEBUG] mod_sofia.c:93 sofia/default/183284@213.144.239.110:9933 SOFIA INIT
  896. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:40 sofia/default/183284@213.144.239.110:9933 Standard INIT
  897. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:48 (sofia/default/183284@213.144.239.110:9933) State Change CS_INIT -> CS_ROUTING
  898. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:628 (sofia/default/183284@213.144.239.110:9933) State INIT going to sleep
  899. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_ROUTING (Cur 13 Tot 19878)
  900. 2022-05-16 10:19:14.909197 [DEBUG] switch_channel.c:2332 (sofia/default/183284@213.144.239.110:9933) Callstate Change DOWN -> RINGING
  901. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:644 (sofia/default/183284@213.144.239.110:9933) State ROUTING
  902. 2022-05-16 10:19:14.909197 [DEBUG] mod_sofia.c:154 sofia/default/183284@213.144.239.110:9933 SOFIA ROUTING
  903. 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:236 sofia/default/183284@213.144.239.110:9933 Standard ROUTING
  904. 2022-05-16 10:19:14.909197 [INFO] mod_dialplan_xml.c:637 Processing 31202259701 <31202259701>->31634579137 in context default
  905. 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  906. 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  907. 2022-05-16 10:19:14.909197 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  908. 2022-05-16 10:19:14.909197 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31634579137
  909. 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31634579137' limit 1
  910. 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31634579137' AND status=0 limit 1
  911. 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31634579137' and status=0 LIMIT 1
  912. 2022-05-16 10:19:14.909197 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
  913. 2022-05-16 10:19:14.909197 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 31202259701 / 31202259701
  914. 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31634579137" LIMIT 1
  915. 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [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 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="31634579137"  AND domains.domain="emolife138.yoursipcloud.com" limit 1
  916. 2022-05-16 10:19:14.909197 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  917. 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [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("213.144.239.110") 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 "31634579137"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  918. 2022-05-16 10:19:14.909197 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 183284]
  919. 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "183284" AND deleted = 0 limit 1
  920. 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31634579137.*' OR blocked_patterns = '^3163457913.*' OR blocked_patterns = '^316345791.*' OR blocked_patterns = '^31634579.*' OR blocked_patterns = '^3163457.*' OR blocked_patterns = '^316345.*' OR blocked_patterns = '^31634.*' OR blocked_patterns = '^3163.*' OR blocked_patterns = '^316.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 199 limit 1
  921. 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31634579137" AND (accountid = 0 OR status = 1) LIMIT 1
  922. 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [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 = '^31634579137.*' OR patterns = '^3163457913.*' OR patterns = '^316345791.*' OR patterns = '^31634579.*' OR patterns = '^3163457.*' OR patterns = '^316345.*' OR patterns = '^31634.*' OR patterns = '^3163.*' OR patterns = '^316.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 199 ORDER BY LENGTH(PKGPTR.patterns) DESC
  923. 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [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 ="31634579137" AND A.accountid = '199' limit 1
  924. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31634579137
  925. 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31634579137" LIMIT 1
  926. 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [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 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="31634579137"  AND domains.domain="emolife138.yoursipcloud.com" limit 1
  927. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
  928. 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31634579137' OR number = '3163457913' OR number = '316345791' OR number = '31634579' OR number = '3163457' OR number = '316345' OR number = '31634' OR number = '3163' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31634579137*' OR number = '3163457913*' OR number = '316345791*' OR number = '31634579*' OR number = '3163457*' OR number = '316345*' OR number = '31634*' OR number = '3163*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31202259701' OR number = '3120225970' OR number = '312022597' OR number = '31202259' OR number = '3120225' OR number = '312022' OR number = '31202' OR number = '3120' OR number = '312' OR number = '31' OR number = '3' OR number ='--') OR (number = '31202259701*' OR number = '3120225970*' OR number = '312022597*' OR number = '31202259*' OR number = '3120225*' OR number = '312022*' OR number = '31202*' OR number = '3120*' OR number = '312*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  929. 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  930. 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31634579137' OR routing_prefix = '3163457913' OR routing_prefix = '316345791' OR routing_prefix = '31634579' OR routing_prefix = '3163457' OR routing_prefix = '316345' OR routing_prefix = '31634' OR routing_prefix = '3163' OR routing_prefix = '316' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 189 limit 1
  931. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  932. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 199
  933. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 183284
  934. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 858.182
  935. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  936. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 25
  937. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  938. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  939. 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 25 AND status = 0
  940. 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  941. 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 25 AND status = 0
  942. 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31634579137.*' OR pattern = '^3163457913.*' OR pattern = '^316345791.*' OR pattern = '^31634579.*' OR pattern = '^3163457.*' OR pattern = '^316345.*' OR pattern = '^31634.*' OR pattern = '^3163.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 25 OR accountid=199)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  943. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  944. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  945. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 1597624
  946. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  947. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  948. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.04100
  949. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment :
  950. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
  951. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 199
  952. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID:
  953. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  954. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  955. 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your858.182 balance Accountid 199 !!!
  956. 2022-05-16 10:19:14.929192 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  957. 2022-05-16 10:19:14.929192 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 189
  958. 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "189" AND deleted = 0 limit 1
  959. 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31634579137.*' OR blocked_patterns = '^3163457913.*' OR blocked_patterns = '^316345791.*' OR blocked_patterns = '^31634579.*' OR blocked_patterns = '^3163457.*' OR blocked_patterns = '^316345.*' OR blocked_patterns = '^31634.*' OR blocked_patterns = '^3163.*' OR blocked_patterns = '^316.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 189 limit 1
  960. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information ===================
  961. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 189
  962. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 510514
  963. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 245.1416
  964. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  965. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 44
  966. 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
  967. 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  968. 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
  969. 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31634579137.*' OR pattern = '^3163457913.*' OR pattern = '^316345791.*' OR pattern = '^31634579.*' OR pattern = '^3163457.*' OR pattern = '^316345.*' OR pattern = '^31634.*' OR pattern = '^3163.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 44 OR accountid=189)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  970. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  971. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  972. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 2846860
  973. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  974. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  975. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00605
  976. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Netherlands Mobile
  977. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
  978. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 189
  979. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 4
  980. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  981. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  982. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your245.1416 balance Accountid 189 !!!
  983. 2022-05-16 10:19:14.949185 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  984. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Reseller xml_user_rates : ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846860|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189
  985. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  986. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Lossless Routing Status : 1
  987. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
  988. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 1597624
  989. 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :4
  990. 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,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 = '^31634579137.*' OR pattern = '^3163457913.*' OR pattern = '^316345791.*' OR pattern = '^31634579.*' OR pattern = '^3163457.*' OR pattern = '^316345.*' OR pattern = '^31634.*' OR pattern = '^3163.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4)  AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  991. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
  992. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 114267
  993. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3163.*
  994. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Netherlands Mobile
  995. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  996. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
  997. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3163.*
  998. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
  999. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
  1000. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 4
  1001. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1
  1002. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
  1003. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : SBC2
  1004. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231
  1005. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
  1006. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs
  1007. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
  1008. 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 199 AND status=0 LIMIT 1
  1009. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP]  Maxlength : 100
  1010. 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1011. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
  1012. 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
  1013. 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
  1014. 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 231) AND status=0 limit 1
  1015. 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
  1016. 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31".....31634579137
  1017. 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31634579137" LIMIT 1
  1018. 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
  1019. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1020. <document type="freeswitch/xml">
  1021. <section name="dialplan" description="ASTPP Dialplan">
  1022. <context name="default">
  1023. <extension name="31634579137">
  1024. <condition field="destination_number" expression="31634579137">
  1025. <action application="set" data="effective_destination_number=31634579137"/>
  1026. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1027. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  1028. <action application="set" data="callstart=2022-05-16 08:19:14"/>
  1029. <action application="set" data="hangup_after_bridge=true"/>
  1030. <action application="set" data="continue_on_fail=TRUE"/>
  1031. <action application="set" data="account_id=199"/>
  1032. <action application="set" data="parent_id=189"/>
  1033. <action application="set" data="entity_id=0"/>
  1034. <action application="set" data="call_processed=internal"/>
  1035. <action application="set" data="call_direction=outbound"/>
  1036. <action application="set" data="accountname=emopbx"/>
  1037. <action application="set" data="filename1=astpp.pbx.lua"/>
  1038. <action application="set" data="origination_rates=ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846860|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189"/>
  1039. <action application="set" data="original_caller_id_name=31202259701"/>
  1040. <action application="set" data="original_caller_id_number=31202259701"/>
  1041. <action application="limit" data="db 183284 user_183284 10 "/>
  1042. <action application="limit" data="db 510514 user_510514 20 "/><action application="limit" data="hash CPS_510514 CPS_user_510514 1/1 "/>
  1043. <action application="set" data="effective_caller_id_name=31202259701"/>
  1044. <action application="set" data="effective_caller_id_number=31202259701"/>
  1045. <action application="set" data="calltype=STANDARD"/>
  1046. <action application="set" data="termination_rates=ID:114267|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231"/>
  1047. <action application="set" data="trunk_id=4"/>
  1048. <action application="set" data="provider_id=231"/>
  1049. <action application="set" data="rate_flag=0"/>
  1050. <action application="set" data="force_trunk_flag=1597624"/>
  1051. <action application="export" data="presence_data=trunk_id=4"/>
  1052. <action application="set" data="intcall=0"/>
  1053. <action application="export" data="presence_id=31634579137"/>
  1054. <action application="export" data="presence_data=x//189|||emolife(183284)|||^316.* //  // 0.04100 |||SBCs // ^3163.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3163.* // Netherlands Mobile"/>
  1055. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31634579137"/>
  1056. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31634579137"/>
  1057. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31634579137"/>
  1058. </condition>
  1059. </extension>
  1060. </context>
  1061. </section>
  1062. </document>
  1063. Dialplan: sofia/default/183284@213.144.239.110:9933 parsing [default->31634579137] continue=false
  1064. Dialplan: sofia/default/183284@213.144.239.110:9933 Regex (PASS) [31634579137] destination_number(31634579137) =~ /31634579137/ break=on-false
  1065. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(effective_destination_number=31634579137)
  1066. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1067. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1068. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(callstart=2022-05-16 08:19:14)
  1069. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(hangup_after_bridge=true)
  1070. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(continue_on_fail=TRUE)
  1071. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(account_id=199)
  1072. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(parent_id=189)
  1073. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(entity_id=0)
  1074. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(call_processed=internal)
  1075. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(call_direction=outbound)
  1076. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(accountname=emopbx)
  1077. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(filename1=astpp.pbx.lua)
  1078. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(origination_rates=ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846860|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189)
  1079. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(original_caller_id_name=31202259701)
  1080. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(original_caller_id_number=31202259701)
  1081. Dialplan: sofia/default/183284@213.144.239.110:9933 Action limit(db 183284 user_183284 10 )
  1082. Dialplan: sofia/default/183284@213.144.239.110:9933 Action limit(db 510514 user_510514 20 )
  1083. Dialplan: sofia/default/183284@213.144.239.110:9933 Action limit(hash CPS_510514 CPS_user_510514 1/1 )
  1084. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(effective_caller_id_name=31202259701)
  1085. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(effective_caller_id_number=31202259701)
  1086. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(calltype=STANDARD)
  1087. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(termination_rates=ID:114267|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
  1088. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(trunk_id=4)
  1089. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(provider_id=231)
  1090. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(rate_flag=0)
  1091. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(force_trunk_flag=1597624)
  1092. Dialplan: sofia/default/183284@213.144.239.110:9933 Action export(presence_data=trunk_id=4)
  1093. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(intcall=0)
  1094. Dialplan: sofia/default/183284@213.144.239.110:9933 Action export(presence_id=31634579137)
  1095. Dialplan: sofia/default/183284@213.144.239.110:9933 Action export(presence_data=x//189|||emolife(183284)|||^316.* //  // 0.04100 |||SBCs // ^3163.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3163.* // Netherlands Mobile)
  1096. Dialplan: sofia/default/183284@213.144.239.110:9933 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31634579137)
  1097. Dialplan: sofia/default/183284@213.144.239.110:9933 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31634579137)
  1098. Dialplan: sofia/default/183284@213.144.239.110:9933 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31634579137)
  1099. 2022-05-16 10:19:14.949185 [DEBUG] switch_core_state_machine.c:287 (sofia/default/183284@213.144.239.110:9933) State Change CS_ROUTING -> CS_EXECUTE
  1100. 2022-05-16 10:19:14.949185 [DEBUG] switch_core_state_machine.c:644 (sofia/default/183284@213.144.239.110:9933) State ROUTING going to sleep
  1101. 2022-05-16 10:19:14.949185 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_EXECUTE (Cur 13 Tot 19878)
  1102. 2022-05-16 10:19:14.949185 [DEBUG] switch_core_state_machine.c:651 (sofia/default/183284@213.144.239.110:9933) State EXECUTE
  1103. 2022-05-16 10:19:14.949185 [DEBUG] mod_sofia.c:209 sofia/default/183284@213.144.239.110:9933 SOFIA EXECUTE
  1104. 2022-05-16 10:19:14.949185 [DEBUG] switch_core_state_machine.c:329 sofia/default/183284@213.144.239.110:9933 Standard EXECUTE
  1105. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(effective_destination_number=31634579137)
  1106. 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [effective_destination_number]=[31634579137]
  1107. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(bridge_pre_execute_bleg_app=sched_hangup)
  1108. 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1109. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1110. 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1111. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(callstart=2022-05-16 08:19:14)
  1112. 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [callstart]=[2022-05-16 08:19:14]
  1113. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(hangup_after_bridge=true)
  1114. 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [hangup_after_bridge]=[true]
  1115. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(continue_on_fail=TRUE)
  1116. 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [continue_on_fail]=[TRUE]
  1117. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(account_id=199)
  1118. 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [account_id]=[199]
  1119. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(parent_id=189)
  1120. 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [parent_id]=[189]
  1121. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(entity_id=0)
  1122. 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [entity_id]=[0]
  1123. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(call_processed=internal)
  1124. 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [call_processed]=[internal]
  1125. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(call_direction=outbound)
  1126. 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [call_direction]=[outbound]
  1127. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(accountname=emopbx)
  1128. 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [accountname]=[emopbx]
  1129. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(filename1=astpp.pbx.lua)
  1130. 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [filename1]=[astpp.pbx.lua]
  1131. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(origination_rates=ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846860|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189)
  1132. 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [origination_rates]=[ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846860|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189]
  1133. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(original_caller_id_name=31202259701)
  1134. 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [original_caller_id_name]=[31202259701]
  1135. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(original_caller_id_number=31202259701)
  1136. 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [original_caller_id_number]=[31202259701]
  1137. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 limit(db 183284 user_183284 10 )
  1138. 2022-05-16 10:19:14.969223 [DEBUG] switch_limit.c:124 incr called: 183284_user_183284 max:10, interval:0
  1139. 2022-05-16 10:19:14.969223 [DEBUG] mod_db.c:194 Usage for 183284_user_183284 is now 2/10
  1140. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 limit(db 510514 user_510514 20 )
  1141. 2022-05-16 10:19:14.969223 [DEBUG] switch_limit.c:124 incr called: 510514_user_510514 max:20, interval:0
  1142. 2022-05-16 10:19:14.969223 [DEBUG] mod_db.c:194 Usage for 510514_user_510514 is now 5/20
  1143. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 limit(hash CPS_510514 CPS_user_510514 1/1 )
  1144. 2022-05-16 10:19:14.969223 [DEBUG] switch_limit.c:124 incr called: CPS_510514_CPS_user_510514 max:1, interval:1
  1145. 2022-05-16 10:19:14.969223 [DEBUG] mod_hash.c:198 Usage for CPS_510514_CPS_user_510514 is now 1/1 for the last 1 seconds
  1146. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(effective_caller_id_name=31202259701)
  1147. 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [effective_caller_id_name]=[31202259701]
  1148. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(effective_caller_id_number=31202259701)
  1149. 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [effective_caller_id_number]=[31202259701]
  1150. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(calltype=STANDARD)
  1151. 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [calltype]=[STANDARD]
  1152. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(termination_rates=ID:114267|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
  1153. 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [termination_rates]=[ID:114267|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231]
  1154. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(trunk_id=4)
  1155. 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [trunk_id]=[4]
  1156. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(provider_id=231)
  1157. 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [provider_id]=[231]
  1158. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(rate_flag=0)
  1159. 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [rate_flag]=[0]
  1160. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(force_trunk_flag=1597624)
  1161. 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [force_trunk_flag]=[1597624]
  1162. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 export(presence_data=trunk_id=4)
  1163. 2022-05-16 10:19:14.969223 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=4]
  1164. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(intcall=0)
  1165. 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [intcall]=[0]
  1166. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 export(presence_id=31634579137)
  1167. 2022-05-16 10:19:14.969223 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31634579137]
  1168. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 export(presence_data=x//189|||emolife(183284)|||^316.* //  // 0.04100 |||SBCs // ^3163.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3163.* // Netherlands Mobile)
  1169. 2022-05-16 10:19:14.969223 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x//189|||emolife(183284)|||^316.* //  // 0.04100 |||SBCs // ^3163.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3163.* // Netherlands Mobile]
  1170. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31634579137)
  1171. 2022-05-16 10:19:14.969223 [DEBUG] switch_channel.c:1264 sofia/default/183284@213.144.239.110:9933 EXPORTING[export_vars] [presence_data]=[x//189|||emolife(183284)|||^316.* //  // 0.04100 |||SBCs // ^3163.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3163.* // Netherlands Mobile] to event
  1172. 2022-05-16 10:19:14.969223 [DEBUG] switch_channel.c:1264 sofia/default/183284@213.144.239.110:9933 EXPORTING[export_vars] [presence_id]=[31634579137] to event
  1173. 2022-05-16 10:19:14.969223 [DEBUG] switch_channel.c:1264 sofia/default/183284@213.144.239.110:9933 EXPORTING[export_vars] [presence_data]=[x//189|||emolife(183284)|||^316.* //  // 0.04100 |||SBCs // ^3163.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3163.* // Netherlands Mobile] to event
  1174. 2022-05-16 10:19:14.969223 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  1175. 2022-05-16 10:19:14.969223 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  1176. 2022-05-16 10:19:14.969223 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31634579137 [28f5b1ce-2b8c-4aa8-bc20-3d558afa379a]
  1177. 2022-05-16 10:19:14.969223 [DEBUG] mod_sofia.c:5089 (sofia/default/31634579137) State Change CS_NEW -> CS_INIT
  1178. 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31634579137) Running State Change CS_INIT (Cur 14 Tot 19879)
  1179. 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31634579137) State INIT
  1180. 2022-05-16 10:19:14.969223 [DEBUG] mod_sofia.c:93 sofia/default/31634579137 SOFIA INIT
  1181. 2022-05-16 10:19:14.969223 [DEBUG] sofia_glue.c:1618 sofia/default/31634579137 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  1182. Local SDP:
  1183. v=0
  1184. o=FreeSWITCH 1652670056 1652670057 IN IP4 185.249.40.236
  1185. s=FreeSWITCH
  1186. c=IN IP4 185.249.40.236
  1187. t=0 0
  1188. m=audio 19098 RTP/AVP 8 101
  1189. a=rtpmap:8 PCMA/8000
  1190. a=rtpmap:101 telephone-event/8000
  1191. a=fmtp:101 0-16
  1192. a=ptime:20
  1193. a=sendrecv
  1194.  
  1195. 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:40 sofia/default/31634579137 Standard INIT
  1196. 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31634579137) State Change CS_INIT -> CS_ROUTING
  1197. 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31634579137) State INIT going to sleep
  1198. 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31634579137) Running State Change CS_ROUTING (Cur 14 Tot 19879)
  1199. 2022-05-16 10:19:14.969223 [DEBUG] sofia.c:7326 Channel sofia/default/31634579137 entering state [calling][0]
  1200. 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31634579137) State ROUTING
  1201. 2022-05-16 10:19:14.969223 [DEBUG] mod_sofia.c:154 sofia/default/31634579137 SOFIA ROUTING
  1202. 2022-05-16 10:19:14.969223 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31634579137) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1203. 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31634579137) State ROUTING going to sleep
  1204. 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31634579137) Running State Change CS_CONSUME_MEDIA (Cur 14 Tot 19879)
  1205. 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31634579137) State CONSUME_MEDIA
  1206. 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31634579137) State CONSUME_MEDIA going to sleep
  1207. 2022-05-16 10:19:15.449227 [DEBUG] sofia.c:7326 Channel sofia/default/31634579137 entering state [proceeding][183]
  1208. 2022-05-16 10:19:15.449227 [DEBUG] sofia.c:7336 Remote SDP:
  1209. v=0
  1210. o=- 3476480830 1 IN IP4 185.249.40.253
  1211. s=-
  1212. c=IN IP4 185.249.40.253
  1213. t=0 0
  1214. m=audio 11510 RTP/AVP 8 101
  1215. a=rtpmap:101 telephone-event/8000
  1216. a=ptime:20
  1217.  
  1218. 2022-05-16 10:19:15.449227 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/31634579137!
  1219. 2022-05-16 10:19:15.449227 [DEBUG] switch_channel.c:3565 (sofia/default/31634579137) Callstate Change DOWN -> EARLY
  1220. 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1221. 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1222. 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  1223. 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31634579137 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1224. 2022-05-16 10:19:15.449227 [DEBUG] switch_core_codec.c:111 sofia/default/31634579137 Original read codec set to PCMA:8
  1225. 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  1226. 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:5911 sofia/default/31634579137 Set 2833 dtmf send payload to 101 recv payload to 101
  1227. 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31634579137] 185.249.40.236 port 19098 -> 185.249.40.253 port 11510 codec: 8 ms: 20
  1228. 2022-05-16 10:19:15.449227 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  1229. 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:8977 sofia/default/31634579137 Set 2833 dtmf send payload to 101
  1230. 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:8984 sofia/default/31634579137 Set 2833 dtmf receive payload to 101
  1231. 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:9007 sofia/default/31634579137 Set rtp dtmf delay to 40
  1232. 2022-05-16 10:19:15.449227 [INFO] switch_ivr_originate.c:3801 Sending early media
  1233. 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/183284@213.144.239.110:9933] 185.249.40.236 port 26870 -> 213.144.239.110 port 10836 codec: 0 ms: 20
  1234. 2022-05-16 10:19:15.449227 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  1235. 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:8977 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf send payload to 101
  1236. 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:8984 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf receive payload to 101
  1237. 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:9007 sofia/default/183284@213.144.239.110:9933 Set rtp dtmf delay to 40
  1238. 2022-05-16 10:19:15.449227 [DEBUG] mod_sofia.c:2593 Ring SDP:
  1239. v=0
  1240. o=FreeSWITCH 1652662285 1652662286 IN IP4 185.249.40.236
  1241. s=FreeSWITCH
  1242. c=IN IP4 185.249.40.236
  1243. t=0 0
  1244. m=audio 26870 RTP/AVP 0 101
  1245. a=rtpmap:0 PCMU/8000
  1246. a=rtpmap:101 telephone-event/8000
  1247. a=fmtp:101 0-16
  1248. a=ptime:20
  1249. a=sendrecv
  1250.  
  1251. 2022-05-16 10:19:15.449227 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/183284@213.144.239.110:9933!
  1252. 2022-05-16 10:19:15.449227 [DEBUG] switch_channel.c:3565 (sofia/default/183284@213.144.239.110:9933) Callstate Change RINGING -> EARLY
  1253. 2022-05-16 10:19:15.449227 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31634579137]
  1254. 2022-05-16 10:19:15.449227 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [early][183]
  1255. 2022-05-16 10:19:15.449227 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31634579137) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1256. 2022-05-16 10:19:15.449227 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31634579137) Running State Change CS_EXCHANGE_MEDIA (Cur 14 Tot 19879)
  1257. 2022-05-16 10:19:15.449227 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31634579137) State EXCHANGE_MEDIA
  1258. 2022-05-16 10:19:15.449227 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  1259. 2022-05-16 10:19:15.449227 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [101@262239.yoursipcloud.com] from ip 86.93.235.249
  1260. 2022-05-16 10:19:15.529212 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  1261. 2022-05-16 10:19:15.649191 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31634579137 Bridge execute app sched_hangup(+6000 normal_clearing)
  1262. 2022-05-16 10:19:15.669223 [DEBUG] switch_ivr.c:632 sofia/default/31634579137 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  1263. EXECUTE [depth=0] sofia/default/31634579137 sched_hangup(+6000 normal_clearing)
  1264. 2022-05-16 10:19:15.669223 [DEBUG] switch_scheduler.c:252 Added task 6030 switch_ivr_schedule_hangup (28f5b1ce-2b8c-4aa8-bc20-3d558afa379a) to run at 1652695155
  1265. 2022-05-16 10:19:16.949254 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  1266. 2022-05-16 10:19:16.949254 [DEBUG] sofia.c:7326 Channel sofia/default/31634579137 entering state [proceeding][183]
  1267. 2022-05-16 10:19:16.949254 [DEBUG] sofia.c:7333 Duplicate SDP
  1268. v=0
  1269. o=- 3476480830 1 IN IP4 185.249.40.253
  1270. s=-
  1271. c=IN IP4 185.249.40.253
  1272. t=0 0
  1273. m=audio 11510 RTP/AVP 8 101
  1274. a=rtpmap:101 telephone-event/8000
  1275. a=ptime:20
  1276.  
  1277. 2022-05-16 10:19:16.949254 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1278. 2022-05-16 10:19:16.949254 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1279. 2022-05-16 10:19:16.949254 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  1280. 2022-05-16 10:19:16.949254 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  1281. 2022-05-16 10:19:16.949254 [DEBUG] switch_core_media.c:5911 sofia/default/31634579137 Set 2833 dtmf send payload to 101 recv payload to 101
  1282. 2022-05-16 10:19:16.949254 [DEBUG] switch_core_media.c:8645 Audio params are unchanged for sofia/default/31634579137.
  1283. 2022-05-16 10:19:17.089199 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31251260900@10.200.0.4 [39521e8f-d5b1-4732-a20c-5477d8b230a9]
  1284. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_NEW (Cur 15 Tot 19880)
  1285. 2022-05-16 10:19:17.089199 [DEBUG] sofia.c:10280 sofia/default/31251260900@10.200.0.4 receiving invite from 20.71.177.124:5060 version: 1.10.5 -release-17-25569c1631 64bit
  1286. 2022-05-16 10:19:17.089199 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 20.71.177.124:0.
  1287. 2022-05-16 10:19:17.089199 [DEBUG] sofia.c:10403 IP 20.71.177.124 Approved by acl "default[]". Access Granted.
  1288. 2022-05-16 10:19:17.089199 [DEBUG] sofia.c:7326 Channel sofia/default/31251260900@10.200.0.4 entering state [received][100]
  1289. 2022-05-16 10:19:17.089199 [DEBUG] sofia.c:7336 Remote SDP:
  1290. v=0
  1291. o=- 1588597363 1588597363 IN IP4 20.71.177.124
  1292. s=Asterisk
  1293. c=IN IP4 20.71.177.124
  1294. t=0 0
  1295. m=audio 13656 RTP/AVP 8 9 0 101
  1296. a=rtpmap:8 PCMA/8000
  1297. a=rtpmap:9 G722/8000
  1298. a=rtpmap:0 PCMU/8000
  1299. a=rtpmap:101 telephone-event/8000
  1300. a=fmtp:101 0-16
  1301. a=ptime:20
  1302. a=maxptime:150
  1303.  
  1304. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1305. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1306. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1307. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1308. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1309. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1310. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1311. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1312. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  1313. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31251260900@10.200.0.4 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1314. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_codec.c:111 sofia/default/31251260900@10.200.0.4 Original read codec set to PCMA:8
  1315. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  1316. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5911 sofia/default/31251260900@10.200.0.4 Set 2833 dtmf send payload to 101 recv payload to 101
  1317. 2022-05-16 10:19:17.089199 [DEBUG] sofia.c:7760 (sofia/default/31251260900@10.200.0.4) State Change CS_NEW -> CS_INIT
  1318. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31251260900@10.200.0.4) State NEW
  1319. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_INIT (Cur 15 Tot 19880)
  1320. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31251260900@10.200.0.4) State INIT
  1321. 2022-05-16 10:19:17.089199 [DEBUG] mod_sofia.c:93 sofia/default/31251260900@10.200.0.4 SOFIA INIT
  1322. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:40 sofia/default/31251260900@10.200.0.4 Standard INIT
  1323. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31251260900@10.200.0.4) State Change CS_INIT -> CS_ROUTING
  1324. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31251260900@10.200.0.4) State INIT going to sleep
  1325. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_ROUTING (Cur 15 Tot 19880)
  1326. 2022-05-16 10:19:17.089199 [DEBUG] switch_channel.c:2332 (sofia/default/31251260900@10.200.0.4) Callstate Change DOWN -> RINGING
  1327. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31251260900@10.200.0.4) State ROUTING
  1328. 2022-05-16 10:19:17.089199 [DEBUG] mod_sofia.c:154 sofia/default/31251260900@10.200.0.4 SOFIA ROUTING
  1329. 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:236 sofia/default/31251260900@10.200.0.4 Standard ROUTING
  1330. 2022-05-16 10:19:17.089199 [INFO] mod_dialplan_xml.c:637 Processing Anonymous <31251260900>->31205652555 in context default
  1331. 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1332. 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1333. 2022-05-16 10:19:17.089199 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  1334. 2022-05-16 10:19:17.089199 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31205652555
  1335. 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31205652555' limit 1
  1336. 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31205652555' AND status=0 limit 1
  1337. 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31205652555' and status=0 LIMIT 1
  1338. 2022-05-16 10:19:17.089199 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
  1339. 2022-05-16 10:19:17.089199 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : Anonymous / 31251260900
  1340. 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31205652555" LIMIT 1
  1341. 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [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 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="31205652555"  AND domains.domain="a2antwoord139.yoursipcloud.com" limit 1
  1342. 2022-05-16 10:19:17.089199 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  1343. 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [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("20.71.177.124") 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 "31205652555"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  1344. 2022-05-16 10:19:17.089199 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 120870]
  1345. 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "120870" AND deleted = 0 limit 1
  1346. 2022-05-16 10:19:17.109193 [WARNING] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] [120870] Insufficent balance (-0.16700000000003) to make calls..!!
  1347. 2022-05-16 10:19:17.109193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31205652555" AND (accountid = 0 OR status = 1) LIMIT 1
  1348. 2022-05-16 10:19:17.109193 [DEBUG] switch_cpp.cpp:1447 [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 = '^31205652555.*' OR patterns = '^3120565255.*' OR patterns = '^312056525.*' OR patterns = '^31205652.*' OR patterns = '^3120565.*' OR patterns = '^312056.*' OR patterns = '^31205.*' OR patterns = '^3120.*' OR patterns = '^312.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 200 ORDER BY LENGTH(PKGPTR.patterns) DESC
  1349. 2022-05-16 10:19:17.109193 [DEBUG] switch_cpp.cpp:1447 [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 ="31205652555" AND A.accountid = '200' limit 1
  1350. 2022-05-16 10:19:17.109193 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31205652555
  1351. 2022-05-16 10:19:17.109193 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31205652555" LIMIT 1
  1352. 2022-05-16 10:19:17.109193 [DEBUG] switch_cpp.cpp:1447 [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 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="31205652555"  AND domains.domain="a2antwoord139.yoursipcloud.com" limit 1
  1353. 2022-05-16 10:19:17.109193 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
  1354. 2022-05-16 10:19:17.109193 [DEBUG] switch_cpp.cpp:1447 [ASTPP]  Post Cdrs : 0
  1355. 2022-05-16 10:19:17.109193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 200
  1356. 2022-05-16 10:19:17.109193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Generated XML:
  1357. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1358. <document type="freeswitch/xml">
  1359. <section name="dialplan" description="ASTPP Dialplan">
  1360. <context name="default">
  1361. <extension name="31205652555">
  1362. <condition field="destination_number" expression="31205652555">
  1363. <action application="log" data="WARNING Accountcode  doesn't have sufficiant fund!!"/>
  1364. <action application="set" data="original_caller_id_name=Anonymous"/>
  1365. <action application="set" data="original_caller_id_number=Anonymous"/>
  1366. <action application="set" data="error_cdr=1"/>
  1367. <action application="set" data="callstart=2022-05-16 08:19:17"/>
  1368. <action application="set" data="account_id=200"/>
  1369. <action application="set" data="parent_id=189"/>
  1370. <action application="set" data="call_direction=outbound"/>
  1371. <action application="set" data="sip_ignore_remote_cause=true"/>
  1372. <action application="set" data="call_processed=internal"/>
  1373. <action application="set" data="effective_destination_number=31205652555"/>
  1374. <action application="set" data="last_bridge_hangup_cause=NO_SUFFICIENT_FUND"/>
  1375. <action application="hangup" data="NO_SUFFICIENT_FUND"/>
  1376. </condition>
  1377. </extension>
  1378. </context>
  1379. </section>
  1380. </document>
  1381. Dialplan: sofia/default/31251260900@10.200.0.4 parsing [default->31205652555] continue=false
  1382. Dialplan: sofia/default/31251260900@10.200.0.4 Regex (PASS) [31205652555] destination_number(31205652555) =~ /31205652555/ break=on-false
  1383. Dialplan: sofia/default/31251260900@10.200.0.4 Action log(WARNING Accountcode  doesn't have sufficiant fund!!)
  1384. Dialplan: sofia/default/31251260900@10.200.0.4 Action set(original_caller_id_name=Anonymous)
  1385. Dialplan: sofia/default/31251260900@10.200.0.4 Action set(original_caller_id_number=Anonymous)
  1386. Dialplan: sofia/default/31251260900@10.200.0.4 Action set(error_cdr=1)
  1387. Dialplan: sofia/default/31251260900@10.200.0.4 Action set(callstart=2022-05-16 08:19:17)
  1388. Dialplan: sofia/default/31251260900@10.200.0.4 Action set(account_id=200)
  1389. Dialplan: sofia/default/31251260900@10.200.0.4 Action set(parent_id=189)
  1390. Dialplan: sofia/default/31251260900@10.200.0.4 Action set(call_direction=outbound)
  1391. Dialplan: sofia/default/31251260900@10.200.0.4 Action set(sip_ignore_remote_cause=true)
  1392. Dialplan: sofia/default/31251260900@10.200.0.4 Action set(call_processed=internal)
  1393. Dialplan: sofia/default/31251260900@10.200.0.4 Action set(effective_destination_number=31205652555)
  1394. Dialplan: sofia/default/31251260900@10.200.0.4 Action set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND)
  1395. Dialplan: sofia/default/31251260900@10.200.0.4 Action hangup(NO_SUFFICIENT_FUND)
  1396. 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31251260900@10.200.0.4) State Change CS_ROUTING -> CS_EXECUTE
  1397. 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31251260900@10.200.0.4) State ROUTING going to sleep
  1398. 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_EXECUTE (Cur 15 Tot 19880)
  1399. 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31251260900@10.200.0.4) State EXECUTE
  1400. 2022-05-16 10:19:17.109193 [DEBUG] mod_sofia.c:209 sofia/default/31251260900@10.200.0.4 SOFIA EXECUTE
  1401. 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:329 sofia/default/31251260900@10.200.0.4 Standard EXECUTE
  1402. EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 log(WARNING Accountcode  doesn't have sufficiant fund!!)
  1403. 2022-05-16 10:19:17.109193 [WARNING] mod_dptools.c:1866 Accountcode  doesn't have sufficiant fund!!
  1404. EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(original_caller_id_name=Anonymous)
  1405. 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [original_caller_id_name]=[Anonymous]
  1406. EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(original_caller_id_number=Anonymous)
  1407. 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [original_caller_id_number]=[Anonymous]
  1408. EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(error_cdr=1)
  1409. 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [error_cdr]=[1]
  1410. EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(callstart=2022-05-16 08:19:17)
  1411. 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [callstart]=[2022-05-16 08:19:17]
  1412. EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(account_id=200)
  1413. 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [account_id]=[200]
  1414. EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(parent_id=189)
  1415. 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [parent_id]=[189]
  1416. EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(call_direction=outbound)
  1417. 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [call_direction]=[outbound]
  1418. EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(sip_ignore_remote_cause=true)
  1419. 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [sip_ignore_remote_cause]=[true]
  1420. EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(call_processed=internal)
  1421. 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [call_processed]=[internal]
  1422. EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(effective_destination_number=31205652555)
  1423. 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [effective_destination_number]=[31205652555]
  1424. EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND)
  1425. 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [last_bridge_hangup_cause]=[NO_SUFFICIENT_FUND]
  1426. EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 hangup(NO_SUFFICIENT_FUND)
  1427. 2022-05-16 10:19:17.109193 [NOTICE] mod_dptools.c:1380 Hangup sofia/default/31251260900@10.200.0.4 [CS_EXECUTE] [NORMAL_CLEARING]
  1428. 2022-05-16 10:19:17.109193 [DEBUG] switch_core_session.c:2905 sofia/default/31251260900@10.200.0.4 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  1429. 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31251260900@10.200.0.4) State EXECUTE going to sleep
  1430. 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_HANGUP (Cur 15 Tot 19880)
  1431. 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31251260900@10.200.0.4) Callstate Change RINGING -> HANGUP
  1432. 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31251260900@10.200.0.4) State HANGUP
  1433. 2022-05-16 10:19:17.109193 [DEBUG] mod_sofia.c:453 Channel sofia/default/31251260900@10.200.0.4 hanging up, cause: NORMAL_CLEARING
  1434. 2022-05-16 10:19:17.129191 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 480
  1435. 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:60 sofia/default/31251260900@10.200.0.4 Standard HANGUP, cause: NORMAL_CLEARING
  1436. 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31251260900@10.200.0.4) State HANGUP going to sleep
  1437. 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31251260900@10.200.0.4) State Change CS_HANGUP -> CS_REPORTING
  1438. 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_REPORTING (Cur 15 Tot 19880)
  1439. 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31251260900@10.200.0.4) State REPORTING
  1440. 2022-05-16 10:19:17.129191 [INFO] mod_json_cdr.c:271 Process [39521e8f-d5b1-4732-a20c-5477d8b230a9.cdr.json]
  1441. 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:174 sofia/default/31251260900@10.200.0.4 Standard REPORTING, cause: NORMAL_CLEARING
  1442. 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31251260900@10.200.0.4) State REPORTING going to sleep
  1443. 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31251260900@10.200.0.4) State Change CS_REPORTING -> CS_DESTROY
  1444. 2022-05-16 10:19:17.129191 [DEBUG] switch_core_session.c:1726 Session 19880 (sofia/default/31251260900@10.200.0.4) Locked, Waiting on external entities
  1445. 2022-05-16 10:19:17.129191 [NOTICE] switch_core_session.c:1744 Session 19880 (sofia/default/31251260900@10.200.0.4) Ended
  1446. 2022-05-16 10:19:17.129191 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31251260900@10.200.0.4 [CS_DESTROY]
  1447. 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31251260900@10.200.0.4) Running State Change CS_DESTROY (Cur 14 Tot 19880)
  1448. 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31251260900@10.200.0.4) State DESTROY
  1449. 2022-05-16 10:19:17.129191 [DEBUG] mod_sofia.c:364 sofia/default/31251260900@10.200.0.4 SOFIA DESTROY
  1450. 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:181 sofia/default/31251260900@10.200.0.4 Standard DESTROY
  1451. 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31251260900@10.200.0.4) State DESTROY going to sleep
  1452. 2022-05-16 10:19:22.429190 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [7985166681@136056.yoursipcloud.com] from ip 143.178.159.127
  1453. 2022-05-16 10:19:37.809202 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.132 entering state [terminated][487]
  1454. 2022-05-16 10:19:37.809202 [NOTICE] sofia.c:8559 Hangup sofia/default/31652033157@185.249.40.132 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  1455. 2022-05-16 10:19:37.809202 [DEBUG] switch_ivr_bridge.c:826 sofia/default/31652033157@185.249.40.132 ending bridge by request from read function
  1456. 2022-05-16 10:19:37.809202 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31652033157@185.249.40.132]
  1457. 2022-05-16 10:19:37.809202 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31854832191@134271.yoursipcloud.com:5060]
  1458. 2022-05-16 10:19:37.809202 [NOTICE] switch_ivr_bridge.c:1025 Hangup sofia/default/31854832191@134271.yoursipcloud.com:5060 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  1459. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State EXCHANGE_MEDIA going to sleep
  1460. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_HANGUP (Cur 14 Tot 19880)
  1461. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Callstate Change EARLY -> HANGUP
  1462. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State HANGUP
  1463. 2022-05-16 10:19:37.809202 [DEBUG] mod_sofia.c:447 sofia/default/31854832191@134271.yoursipcloud.com:5060 Overriding SIP cause 487 with 487 from the other leg
  1464. 2022-05-16 10:19:37.809202 [DEBUG] mod_sofia.c:453 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 hanging up, cause: ORIGINATOR_CANCEL
  1465. 2022-05-16 10:19:37.809202 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31854832191@134271.yoursipcloud.com:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  1466. 2022-05-16 10:19:37.809202 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/31652033157@185.249.40.132 skip receive message [UNBRIDGE] (channel is hungup already)
  1467. 2022-05-16 10:19:37.809202 [DEBUG] mod_sofia.c:521 Sending CANCEL to sofia/default/31854832191@134271.yoursipcloud.com:5060
  1468. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_session.c:2905 sofia/default/31652033157@185.249.40.132 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  1469. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.132) State EXECUTE going to sleep
  1470. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_HANGUP (Cur 14 Tot 19880)
  1471. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:60 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard HANGUP, cause: ORIGINATOR_CANCEL
  1472. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State HANGUP going to sleep
  1473. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_HANGUP -> CS_REPORTING
  1474. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_REPORTING (Cur 14 Tot 19880)
  1475. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State REPORTING
  1476. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31652033157@185.249.40.132) Callstate Change EARLY -> HANGUP
  1477. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31652033157@185.249.40.132) State HANGUP
  1478. 2022-05-16 10:19:37.809202 [DEBUG] mod_sofia.c:453 Channel sofia/default/31652033157@185.249.40.132 hanging up, cause: ORIGINATOR_CANCEL
  1479. 2022-05-16 10:19:37.809202 [INFO] mod_json_cdr.c:271 Process [b3ebe113-e3df-46ec-8f91-d8a3284f76f6.cdr.json]
  1480. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:60 sofia/default/31652033157@185.249.40.132 Standard HANGUP, cause: ORIGINATOR_CANCEL
  1481. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31652033157@185.249.40.132) State HANGUP going to sleep
  1482. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31652033157@185.249.40.132) State Change CS_HANGUP -> CS_REPORTING
  1483. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_REPORTING (Cur 14 Tot 19880)
  1484. 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31652033157@185.249.40.132) State REPORTING
  1485. 2022-05-16 10:19:37.809202 [INFO] mod_json_cdr.c:271 Process [6f21e02d-fe5c-4c05-b99d-7a620615dae2.cdr.json]
  1486. 2022-05-16 10:19:37.829216 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [terminated][487]
  1487. 2022-05-16 10:19:37.829216 [NOTICE] sofia.c:8559 Hangup sofia/default/31652033157@185.249.40.236 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  1488. 2022-05-16 10:19:37.829216 [DEBUG] mod_hash.c:296 Usage for CPS_160_CPS_user_160 is now 0
  1489. 2022-05-16 10:19:37.829216 [DEBUG] switch_ivr_bridge.c:826 sofia/default/31652033157@185.249.40.236 ending bridge by request from read function
  1490. 2022-05-16 10:19:37.829216 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31652033157@185.249.40.236]
  1491. 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:174 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard REPORTING, cause: ORIGINATOR_CANCEL
  1492. 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State REPORTING going to sleep
  1493. 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_REPORTING -> CS_DESTROY
  1494. 2022-05-16 10:19:37.829216 [DEBUG] switch_core_session.c:1726 Session 19875 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Locked, Waiting on external entities
  1495. 2022-05-16 10:19:37.829216 [NOTICE] switch_core_session.c:1744 Session 19875 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Ended
  1496. 2022-05-16 10:19:37.829216 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 [CS_DESTROY]
  1497. 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_DESTROY (Cur 13 Tot 19880)
  1498. 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State DESTROY
  1499. 2022-05-16 10:19:37.829216 [DEBUG] mod_sofia.c:364 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA DESTROY
  1500. 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:181 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard DESTROY
  1501. 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State DESTROY going to sleep
  1502. 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:174 sofia/default/31652033157@185.249.40.132 Standard REPORTING, cause: ORIGINATOR_CANCEL
  1503. 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31652033157@185.249.40.132) State REPORTING going to sleep
  1504. 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31652033157@185.249.40.132) State Change CS_REPORTING -> CS_DESTROY
  1505. 2022-05-16 10:19:37.829216 [DEBUG] switch_core_session.c:1726 Session 19874 (sofia/default/31652033157@185.249.40.132) Locked, Waiting on external entities
  1506. 2022-05-16 10:19:37.829216 [NOTICE] switch_core_session.c:1744 Session 19874 (sofia/default/31652033157@185.249.40.132) Ended
  1507. 2022-05-16 10:19:37.829216 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31652033157@185.249.40.132 [CS_DESTROY]
  1508. 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31652033157@185.249.40.132) Running State Change CS_DESTROY (Cur 12 Tot 19880)
  1509. 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31652033157@185.249.40.132) State DESTROY
  1510. 2022-05-16 10:19:37.829216 [DEBUG] mod_sofia.c:364 sofia/default/31652033157@185.249.40.132 SOFIA DESTROY
  1511. 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:181 sofia/default/31652033157@185.249.40.132 Standard DESTROY
  1512. 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31652033157@185.249.40.132) State DESTROY going to sleep
  1513. 2022-05-16 10:19:37.849203 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31854832191]
  1514. 2022-05-16 10:19:37.849203 [NOTICE] switch_ivr_bridge.c:1025 Hangup sofia/default/31854832191 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  1515. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191) State EXCHANGE_MEDIA going to sleep
  1516. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_HANGUP (Cur 12 Tot 19880)
  1517. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31854832191) Callstate Change EARLY -> HANGUP
  1518. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191) State HANGUP
  1519. 2022-05-16 10:19:37.849203 [DEBUG] mod_sofia.c:447 sofia/default/31854832191 Overriding SIP cause 487 with 487 from the other leg
  1520. 2022-05-16 10:19:37.849203 [DEBUG] mod_sofia.c:453 Channel sofia/default/31854832191 hanging up, cause: ORIGINATOR_CANCEL
  1521. 2022-05-16 10:19:37.849203 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31854832191 skip receive message [UNBRIDGE] (channel is hungup already)
  1522. 2022-05-16 10:19:37.849203 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/31652033157@185.249.40.236 skip receive message [UNBRIDGE] (channel is hungup already)
  1523. 2022-05-16 10:19:37.849203 [DEBUG] mod_sofia.c:521 Sending CANCEL to sofia/default/31854832191
  1524. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_session.c:2905 sofia/default/31652033157@185.249.40.236 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  1525. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.236) State EXECUTE going to sleep
  1526. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_HANGUP (Cur 12 Tot 19880)
  1527. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:60 sofia/default/31854832191 Standard HANGUP, cause: ORIGINATOR_CANCEL
  1528. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191) State HANGUP going to sleep
  1529. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31854832191) State Change CS_HANGUP -> CS_REPORTING
  1530. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31652033157@185.249.40.236) Callstate Change EARLY -> HANGUP
  1531. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_REPORTING (Cur 12 Tot 19880)
  1532. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31652033157@185.249.40.236) State HANGUP
  1533. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191) State REPORTING
  1534. 2022-05-16 10:19:37.849203 [DEBUG] mod_sofia.c:453 Channel sofia/default/31652033157@185.249.40.236 hanging up, cause: ORIGINATOR_CANCEL
  1535. 2022-05-16 10:19:37.849203 [INFO] mod_json_cdr.c:271 Process [84ebeb88-9fff-4276-a91d-d73b8ec3a860.cdr.json]
  1536. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:60 sofia/default/31652033157@185.249.40.236 Standard HANGUP, cause: ORIGINATOR_CANCEL
  1537. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31652033157@185.249.40.236) State HANGUP going to sleep
  1538. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31652033157@185.249.40.236) State Change CS_HANGUP -> CS_REPORTING
  1539. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_REPORTING (Cur 12 Tot 19880)
  1540. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31652033157@185.249.40.236) State REPORTING
  1541. 2022-05-16 10:19:37.849203 [INFO] mod_json_cdr.c:271 Process [66f3964d-fbb6-4605-abfa-24e421b9c638.cdr.json]
  1542. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:174 sofia/default/31854832191 Standard REPORTING, cause: ORIGINATOR_CANCEL
  1543. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191) State REPORTING going to sleep
  1544. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31854832191) State Change CS_REPORTING -> CS_DESTROY
  1545. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_session.c:1726 Session 19877 (sofia/default/31854832191) Locked, Waiting on external entities
  1546. 2022-05-16 10:19:37.849203 [NOTICE] switch_core_session.c:1744 Session 19877 (sofia/default/31854832191) Ended
  1547. 2022-05-16 10:19:37.849203 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31854832191 [CS_DESTROY]
  1548. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31854832191) Running State Change CS_DESTROY (Cur 11 Tot 19880)
  1549. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191) State DESTROY
  1550. 2022-05-16 10:19:37.849203 [DEBUG] mod_sofia.c:364 sofia/default/31854832191 SOFIA DESTROY
  1551. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:181 sofia/default/31854832191 Standard DESTROY
  1552. 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191) State DESTROY going to sleep
  1553. 2022-05-16 10:19:37.869190 [DEBUG] switch_core_state_machine.c:174 sofia/default/31652033157@185.249.40.236 Standard REPORTING, cause: ORIGINATOR_CANCEL
  1554. 2022-05-16 10:19:37.869190 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31652033157@185.249.40.236) State REPORTING going to sleep
  1555. 2022-05-16 10:19:37.869190 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31652033157@185.249.40.236) State Change CS_REPORTING -> CS_DESTROY
  1556. 2022-05-16 10:19:37.869190 [DEBUG] switch_core_session.c:1726 Session 19876 (sofia/default/31652033157@185.249.40.236) Locked, Waiting on external entities
  1557. 2022-05-16 10:19:37.869190 [NOTICE] switch_core_session.c:1744 Session 19876 (sofia/default/31652033157@185.249.40.236) Ended
  1558. 2022-05-16 10:19:37.869190 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31652033157@185.249.40.236 [CS_DESTROY]
  1559. 2022-05-16 10:19:37.869190 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31652033157@185.249.40.236) Running State Change CS_DESTROY (Cur 10 Tot 19880)
  1560. 2022-05-16 10:19:37.869190 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31652033157@185.249.40.236) State DESTROY
  1561. 2022-05-16 10:19:37.869190 [DEBUG] mod_sofia.c:364 sofia/default/31652033157@185.249.40.236 SOFIA DESTROY
  1562. 2022-05-16 10:19:37.869190 [DEBUG] switch_core_state_machine.c:181 sofia/default/31652033157@185.249.40.236 Standard DESTROY
  1563. 2022-05-16 10:19:37.869190 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31652033157@185.249.40.236) State DESTROY going to sleep
  1564. 2022-05-16 10:19:38.169197 [DEBUG] switch_scheduler.c:147 Deleting task 6028 switch_ivr_schedule_hangup (84ebeb88-9fff-4276-a91d-d73b8ec3a860)
  1565. 2022-05-16 10:19:38.169197 [DEBUG] switch_scheduler.c:147 Deleting task 6029 switch_ivr_schedule_hangup (b3ebe113-e3df-46ec-8f91-d8a3284f76f6)
  1566. 2022-05-16 10:19:41.809218 [DEBUG] sofia.c:7326 Channel sofia/default/31634579137 entering state [completing][200]
  1567. 2022-05-16 10:19:41.809218 [DEBUG] sofia.c:7333 Duplicate SDP
  1568. v=0
  1569. o=- 3476480830 1 IN IP4 185.249.40.253
  1570. s=-
  1571. c=IN IP4 185.249.40.253
  1572. t=0 0
  1573. m=audio 11510 RTP/AVP 8 101
  1574. a=rtpmap:101 telephone-event/8000
  1575. a=ptime:20
  1576.  
  1577. 2022-05-16 10:19:41.829200 [DEBUG] sofia.c:7326 Channel sofia/default/31634579137 entering state [ready][200]
  1578. 2022-05-16 10:19:41.829200 [NOTICE] sofia.c:8445 Channel [sofia/default/31634579137] has been answered
  1579. 2022-05-16 10:19:41.829200 [DEBUG] switch_channel.c:3865 (sofia/default/31634579137) Callstate Change EARLY -> ACTIVE
  1580. 2022-05-16 10:19:41.829200 [DEBUG] switch_core_media.c:8645 Audio params are unchanged for sofia/default/183284@213.144.239.110:9933.
  1581. 2022-05-16 10:19:41.829200 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/183284@213.144.239.110:9933:
  1582. v=0
  1583. o=FreeSWITCH 1652662285 1652662287 IN IP4 185.249.40.236
  1584. s=FreeSWITCH
  1585. c=IN IP4 185.249.40.236
  1586. t=0 0
  1587. m=audio 26870 RTP/AVP 0 101
  1588. a=rtpmap:0 PCMU/8000
  1589. a=rtpmap:101 telephone-event/8000
  1590. a=fmtp:101 0-16
  1591. a=ptime:20
  1592. a=sendrecv
  1593.  
  1594. 2022-05-16 10:19:41.829200 [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/183284@213.144.239.110:9933] has been answered
  1595. 2022-05-16 10:19:41.829200 [DEBUG] switch_channel.c:3865 (sofia/default/183284@213.144.239.110:9933) Callstate Change EARLY -> ACTIVE
  1596. 2022-05-16 10:19:41.829200 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [completed][200]
  1597. 2022-05-16 10:19:41.849191 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [ready][200]
  1598. 2022-05-16 10:19:41.889191 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  1599. 2022-05-16 10:19:41.889191 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  1600. 2022-05-16 10:19:43.169210 [NOTICE] sofia.c:1089 Hangup sofia/default/183284@213.144.239.110:9933 [CS_EXECUTE] [NORMAL_CLEARING]
  1601. 2022-05-16 10:19:43.169210 [DEBUG] mod_hash.c:296 Usage for CPS_510514_CPS_user_510514 is now 4
  1602. 2022-05-16 10:19:43.169210 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/183284@213.144.239.110:9933]
  1603. 2022-05-16 10:19:43.189188 [DEBUG] switch_ivr_bridge.c:820 sofia/default/183284@213.144.239.110:9933 ending bridge by request from write function
  1604. 2022-05-16 10:19:43.189188 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31634579137]
  1605. 2022-05-16 10:19:43.189188 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/31634579137 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  1606. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31634579137) State EXCHANGE_MEDIA going to sleep
  1607. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31634579137) Running State Change CS_HANGUP (Cur 10 Tot 19880)
  1608. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31634579137) Callstate Change ACTIVE -> HANGUP
  1609. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31634579137) State HANGUP
  1610. 2022-05-16 10:19:43.189188 [DEBUG] mod_sofia.c:447 sofia/default/31634579137 Overriding SIP cause 480 with 200 from the other leg
  1611. 2022-05-16 10:19:43.189188 [DEBUG] mod_sofia.c:453 Channel sofia/default/31634579137 hanging up, cause: NORMAL_CLEARING
  1612. 2022-05-16 10:19:43.189188 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31634579137 skip receive message [UNBRIDGE] (channel is hungup already)
  1613. 2022-05-16 10:19:43.189188 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/183284@213.144.239.110:9933 skip receive message [UNBRIDGE] (channel is hungup already)
  1614. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_session.c:2905 sofia/default/183284@213.144.239.110:9933 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  1615. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:651 (sofia/default/183284@213.144.239.110:9933) State EXECUTE going to sleep
  1616. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_HANGUP (Cur 10 Tot 19880)
  1617. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:848 (sofia/default/183284@213.144.239.110:9933) Callstate Change ACTIVE -> HANGUP
  1618. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:850 (sofia/default/183284@213.144.239.110:9933) State HANGUP
  1619. 2022-05-16 10:19:43.189188 [DEBUG] mod_sofia.c:453 Channel sofia/default/183284@213.144.239.110:9933 hanging up, cause: NORMAL_CLEARING
  1620. 2022-05-16 10:19:43.189188 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/31634579137
  1621. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:60 sofia/default/31634579137 Standard HANGUP, cause: NORMAL_CLEARING
  1622. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31634579137) State HANGUP going to sleep
  1623. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31634579137) State Change CS_HANGUP -> CS_REPORTING
  1624. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31634579137) Running State Change CS_REPORTING (Cur 10 Tot 19880)
  1625. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31634579137) State REPORTING
  1626. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:60 sofia/default/183284@213.144.239.110:9933 Standard HANGUP, cause: NORMAL_CLEARING
  1627. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:850 (sofia/default/183284@213.144.239.110:9933) State HANGUP going to sleep
  1628. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:620 (sofia/default/183284@213.144.239.110:9933) State Change CS_HANGUP -> CS_REPORTING
  1629. 2022-05-16 10:19:43.189188 [INFO] mod_json_cdr.c:271 Process [28f5b1ce-2b8c-4aa8-bc20-3d558afa379a.cdr.json]
  1630. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_REPORTING (Cur 10 Tot 19880)
  1631. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:936 (sofia/default/183284@213.144.239.110:9933) State REPORTING
  1632. 2022-05-16 10:19:43.189188 [INFO] mod_json_cdr.c:271 Process [fb0e8983-9f92-42f1-9524-ef852a439ce4.cdr.json]
  1633. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:174 sofia/default/31634579137 Standard REPORTING, cause: NORMAL_CLEARING
  1634. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31634579137) State REPORTING going to sleep
  1635. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31634579137) State Change CS_REPORTING -> CS_DESTROY
  1636. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_session.c:1726 Session 19879 (sofia/default/31634579137) Locked, Waiting on external entities
  1637. 2022-05-16 10:19:43.189188 [NOTICE] switch_core_session.c:1744 Session 19879 (sofia/default/31634579137) Ended
  1638. 2022-05-16 10:19:43.189188 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31634579137 [CS_DESTROY]
  1639. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31634579137) Running State Change CS_DESTROY (Cur 9 Tot 19880)
  1640. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31634579137) State DESTROY
  1641. 2022-05-16 10:19:43.189188 [DEBUG] mod_sofia.c:364 sofia/default/31634579137 SOFIA DESTROY
  1642. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:181 sofia/default/31634579137 Standard DESTROY
  1643. 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31634579137) State DESTROY going to sleep
  1644. 2022-05-16 10:19:43.209190 [DEBUG] switch_core_state_machine.c:174 sofia/default/183284@213.144.239.110:9933 Standard REPORTING, cause: NORMAL_CLEARING
  1645. 2022-05-16 10:19:43.209190 [DEBUG] switch_core_state_machine.c:936 (sofia/default/183284@213.144.239.110:9933) State REPORTING going to sleep
  1646. 2022-05-16 10:19:43.209190 [DEBUG] switch_core_state_machine.c:611 (sofia/default/183284@213.144.239.110:9933) State Change CS_REPORTING -> CS_DESTROY
  1647. 2022-05-16 10:19:43.209190 [DEBUG] switch_core_session.c:1726 Session 19878 (sofia/default/183284@213.144.239.110:9933) Locked, Waiting on external entities
  1648. 2022-05-16 10:19:43.209190 [NOTICE] switch_core_session.c:1744 Session 19878 (sofia/default/183284@213.144.239.110:9933) Ended
  1649. 2022-05-16 10:19:43.209190 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/183284@213.144.239.110:9933 [CS_DESTROY]
  1650. 2022-05-16 10:19:43.209190 [DEBUG] switch_core_state_machine.c:739 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_DESTROY (Cur 8 Tot 19880)
  1651. 2022-05-16 10:19:43.209190 [DEBUG] switch_core_state_machine.c:749 (sofia/default/183284@213.144.239.110:9933) State DESTROY
  1652. 2022-05-16 10:19:43.209190 [DEBUG] mod_sofia.c:364 sofia/default/183284@213.144.239.110:9933 SOFIA DESTROY
  1653. 2022-05-16 10:19:43.209190 [DEBUG] switch_core_state_machine.c:181 sofia/default/183284@213.144.239.110:9933 Standard DESTROY
  1654. 2022-05-16 10:19:43.209190 [DEBUG] switch_core_state_machine.c:749 (sofia/default/183284@213.144.239.110:9933) State DESTROY going to sleep
  1655. 2022-05-16 10:19:43.669221 [DEBUG] switch_scheduler.c:147 Deleting task 6030 switch_ivr_schedule_hangup (28f5b1ce-2b8c-4aa8-bc20-3d558afa379a)
  1656. 2022-05-16 10:19:47.169236 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_262225_CPS_user_262225
  1657. 2022-05-16 10:19:47.169236 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_160_CPS_user_160
  1658. freeswitch@multitenant-1> /exit
  1659.