From mayur, 2 Years ago, written in HTML5.
- view diff
Embed
  1. 2022-05-12 08:35:15.109200 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [101@262239.yoursipcloud.com] from ip 86.93.235.249
  2. 2022-05-12 08:35:17.829222 [NOTICE] switch_channel.c:1118 New Channel sofia/default/101@134271.yoursipcloud.com:5060 [fd1e1bb0-207f-4ae7-81b2-2682f1f9b91e]
  3. 2022-05-12 08:35:17.829222 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@134271.yoursipcloud.com:5060) Running State Change CS_NEW (Cur 1 Tot 8021)
  4. 2022-05-12 08:35:17.829222 [DEBUG] sofia.c:10280 sofia/default/101@134271.yoursipcloud.com:5060 receiving invite from 117.247.91.162:39546 version: 1.10.5 -release-17-25569c1631 64bit
  5. 2022-05-12 08:35:17.829222 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 117.247.91.162:0.
  6. 2022-05-12 08:35:17.829222 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [31855000149@134271.yoursipcloud.com] from ip 117.247.91.162
  7. 2022-05-12 08:35:17.829222 [DEBUG] switch_core_state_machine.c:604 (sofia/default/101@134271.yoursipcloud.com:5060) State NEW
  8. 2022-05-12 08:35:17.829222 [DEBUG] sofia.c:2434 detaching session fd1e1bb0-207f-4ae7-81b2-2682f1f9b91e
  9. 2022-05-12 08:35:18.329248 [DEBUG] sofia.c:2544 Re-attaching to session fd1e1bb0-207f-4ae7-81b2-2682f1f9b91e
  10. 2022-05-12 08:35:18.329248 [DEBUG] sofia.c:10280 sofia/default/101@134271.yoursipcloud.com:5060 receiving invite from 117.247.91.162:39546 version: 1.10.5 -release-17-25569c1631 64bit
  11. 2022-05-12 08:35:18.329248 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 117.247.91.162:0.
  12. 2022-05-12 08:35:18.349191 [DEBUG] sofia.c:11477 Setting NAT mode based on via received
  13. 2022-05-12 08:35:18.349191 [DEBUG] sofia.c:7326 Channel sofia/default/101@134271.yoursipcloud.com:5060 entering state [received][100]
  14. 2022-05-12 08:35:18.349191 [DEBUG] sofia.c:7336 Remote SDP:
  15. v=0
  16. o=Z 0 0 IN IP4 117.247.91.162
  17. s=Z
  18. c=IN IP4 117.247.91.162
  19. t=0 0
  20. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  21. a=rtpmap:110 speex/8000
  22. a=rtpmap:98 iLBC/8000
  23. a=fmtp:98 mode=20
  24. a=rtpmap:101 telephone-event/8000
  25. a=fmtp:101 0-15
  26.  
  27. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  28. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  29. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  30. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  31. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  33. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  34. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  35. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  37. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  38. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  39. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  40. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/101@134271.yoursipcloud.com:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  41. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_codec.c:111 sofia/default/101@134271.yoursipcloud.com:5060 Original read codec set to PCMA:8
  42. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  43. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_media.c:5911 sofia/default/101@134271.yoursipcloud.com:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  44. 2022-05-12 08:35:18.349191 [DEBUG] sofia.c:7760 (sofia/default/101@134271.yoursipcloud.com:5060) State Change CS_NEW -> CS_INIT
  45. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@134271.yoursipcloud.com:5060) Running State Change CS_INIT (Cur 1 Tot 8021)
  46. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_state_machine.c:628 (sofia/default/101@134271.yoursipcloud.com:5060) State INIT
  47. 2022-05-12 08:35:18.349191 [DEBUG] mod_sofia.c:93 sofia/default/101@134271.yoursipcloud.com:5060 SOFIA INIT
  48. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_state_machine.c:40 sofia/default/101@134271.yoursipcloud.com:5060 Standard INIT
  49. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_state_machine.c:48 (sofia/default/101@134271.yoursipcloud.com:5060) State Change CS_INIT -> CS_ROUTING
  50. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_state_machine.c:628 (sofia/default/101@134271.yoursipcloud.com:5060) State INIT going to sleep
  51. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@134271.yoursipcloud.com:5060) Running State Change CS_ROUTING (Cur 1 Tot 8021)
  52. 2022-05-12 08:35:18.349191 [DEBUG] switch_channel.c:2332 (sofia/default/101@134271.yoursipcloud.com:5060) Callstate Change DOWN -> RINGING
  53. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_state_machine.c:644 (sofia/default/101@134271.yoursipcloud.com:5060) State ROUTING
  54. 2022-05-12 08:35:18.349191 [DEBUG] mod_sofia.c:154 sofia/default/101@134271.yoursipcloud.com:5060 SOFIA ROUTING
  55. 2022-05-12 08:35:18.349191 [DEBUG] switch_core_state_machine.c:236 sofia/default/101@134271.yoursipcloud.com:5060 Standard ROUTING
  56. 2022-05-12 08:35:18.349191 [INFO] mod_dialplan_xml.c:637 Processing 101 <101>->31855000149 in context default
  57. 2022-05-12 08:35:18.349191 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  58. 2022-05-12 08:35:18.349191 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  59. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  60. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31855000149
  61. 2022-05-12 08:35:18.369189 [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
  62. 2022-05-12 08:35:18.369189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31855000149' AND status=0 limit 1
  63. 2022-05-12 08:35:18.369189 [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
  64. 2022-05-12 08:35:18.369189 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
  65. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 101 / 101
  66. 2022-05-12 08:35:18.369189 [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
  67. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound
  68. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 134271]
  69. 2022-05-12 08:35:18.369189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "134271" AND deleted = 0 limit 1
  70. 2022-05-12 08:35:18.369189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31855000149" AND (accountid = 0 OR status = 1) LIMIT 1
  71. 2022-05-12 08:35:18.369189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  72. 2022-05-12 08:35:18.369189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 160
  73. 2022-05-12 08:35:18.369189 [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
  74. 2022-05-12 08:35:18.369189 [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 = '160' limit 1
  75. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31855000149
  76. 2022-05-12 08:35:18.369189 [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
  77. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : inbound
  78. 2022-05-12 08:35:18.369189 [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 = '101' OR number = '10' OR number = '1' OR number ='--') OR (number = '101*' OR number = '10*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  79. 2022-05-12 08:35:18.369189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  80. 2022-05-12 08:35:18.369189 [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 = 12 limit 1
  81. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  82. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 160
  83. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 134271
  84. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10
  85. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  86. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 6
  87. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  88. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  89. 2022-05-12 08:35:18.369189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
  90. 2022-05-12 08:35:18.369189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
  91. 2022-05-12 08:35:18.369189 [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
  92. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : inbound
  93. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  94. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 43
  95. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  96. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  97. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
  98. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : 31855000149
  99. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 136
  100. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 160
  101. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  102. 2022-05-12 08:35:18.369189 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 160 !!!
  103. 2022-05-12 08:35:18.369189 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  104. 2022-05-12 08:35:18.369189 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 12
  105. 2022-05-12 08:35:18.369189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "12" AND deleted = 0 limit 1
  106. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information ===================
  107. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 12
  108. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3847299300
  109. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 99630.7155
  110. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  111. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 44
  112. 2022-05-12 08:35:18.389188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
  113. 2022-05-12 08:35:18.389188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
  114. 2022-05-12 08:35:18.389188 [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
  115. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : inbound
  116. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  117. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 43
  118. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  119. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  120. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
  121. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : 31855000149
  122. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 136
  123. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 12
  124. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  125. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your99630.7155 balance Accountid 12 !!!
  126. 2022-05-12 08:35:18.389188 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  127. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] Reseller xml_user_rates : 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||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
  128. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  129. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] Lossless Routing Status : 1
  130. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
  131. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
  132. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
  133. 2022-05-12 08:35:18.389188 [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
  134. 2022-05-12 08:35:18.389188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "160" AND deleted = 0 limit 1
  135. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:160
  136. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:160
  137. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 160
  138. 2022-05-12 08:35:18.389188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1
  139. 2022-05-12 08:35:18.389188 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] User Domain : 134271.yoursipcloud.com
  140. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP]  Maxlength : 100
  141. 2022-05-12 08:35:18.389188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  142. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
  143. 2022-05-12 08:35:18.389188 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : inbound
  144. 2022-05-12 08:35:18.389188 [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
  145. 2022-05-12 08:35:18.389188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1
  146. 2022-05-12 08:35:18.389188 [WARNING] switch_cpp.cpp:1447 [ASTPP] [XML] User Domain : 134271.yoursipcloud.com
  147. 2022-05-12 08:35:18.389188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 160  and status = 0 limit 1
  148. 2022-05-12 08:35:18.409190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
  149. 2022-05-12 08:35:18.409190 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : 7
  150. 2022-05-12 08:35:18.409190 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : Ring Group
  151. 2022-05-12 08:35:18.409190 [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
  152. 2022-05-12 08:35:18.409190 [INFO] switch_cpp.cpp:1447 [ASTPP] Final Count : 0===
  153. 2022-05-12 08:35:18.409190 [INFO] switch_cpp.cpp:1447 [ASTPP] Final Count : 0===
  154. 2022-05-12 08:35:18.409190 [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"
  155. 2022-05-12 08:35:18.409190 [INFO] switch_cpp.cpp:1447 [ASTPP] RingGroup Recording Flag : 1
  156. 2022-05-12 08:35:18.409190 [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=15,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=15,leg_delay_start=5]user/100@134271.yoursipcloud.com|
  157. 2022-05-12 08:35:18.409190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
  158. 2022-05-12 08:35:18.409190 [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
  159. 2022-05-12 08:35:18.409190 [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
  160. 2022-05-12 08:35:18.409190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  161. <document type="freeswitch/xml">
  162. <section name="dialplan" description="ASTPP Dialplan">
  163. <context name="default">
  164. <extension name="31855000149">
  165. <condition field="destination_number" expression="31855000149">
  166. <action application="set" data="effective_destination_number=31855000149"/>
  167. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  168. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  169. <action application="set" data="callstart=2022-05-12 06:35:18"/>
  170. <action application="set" data="hangup_after_bridge=true"/>
  171. <action application="set" data="continue_on_fail=TRUE"/>
  172. <action application="set" data="account_id=160"/>
  173. <action application="set" data="parent_id=12"/>
  174. <action application="set" data="entity_id=0"/>
  175. <action application="set" data="call_processed=internal"/>
  176. <action application="set" data="call_direction=inbound"/>
  177. <action application="set" data="accountname=default"/>
  178. <action application="set" data="filename1=astpp.pbx.lua"/>
  179. <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||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"/>
  180. <action application="set" data="origination_rates=0"/>
  181. <action application="set" data="original_caller_id_name=101"/>
  182. <action application="set" data="original_caller_id_number=101"/>
  183. <action application="limit" data="db 134271 user_134271 10 "/>
  184. <action application="limit" data="hash CPS_134271 CPS_user_134271 1/1 "/>
  185. <action application="set" data="effective_caller_id_name=101"/>
  186. <action application="set" data="effective_caller_id_number=101"/>
  187. <action application="set" data="receiver_accid=160"/>
  188. <action application="export" data="domain_name=134271.yoursipcloud.com"/>
  189. <action application="export" data="sip_to_host=134271.yoursipcloud.com"/>
  190. <action application="export" data="presence_data=x|||Roy(134271)|||||||||DID|||117.247.91.162"/>
  191. <action application="export" data="call_type=7"/>
  192. <action application="set" data="did_calltype=7"/>
  193. <action application="set" data="did_extensions=42"/>
  194. <action application="set" data="group_confirm_key=exec"/>
  195. <action application="set" data="group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  196. <action application="set" data="ringback="/>
  197. <action application="set" data="module_name=pbx"/>
  198. <action application="db" data="insert/pickup_any_group_${callgroup}/42/${uuid}"/>
  199. <action application="set" data="dialed_extension=transfer_call"/>
  200. <action application="export" data="dialed_extension=transfer_call"/>
  201. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  202. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  203. <action application="export" data="ring_group_transfer=true"/>
  204. <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=15,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=15,leg_delay_start=5]user/100@134271.yoursipcloud.com|"/>
  205. <action application="set" data="original_did_number=31855000149"/>
  206. </condition>
  207. </extension>
  208. </context>
  209. </document>
  210. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 parsing [default->31855000149] continue=false
  211. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Regex (PASS) [31855000149] destination_number(31855000149) =~ /31855000149/ break=on-false
  212. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(effective_destination_number=31855000149)
  213. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  214. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  215. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(callstart=2022-05-12 06:35:18)
  216. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(hangup_after_bridge=true)
  217. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(continue_on_fail=TRUE)
  218. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(account_id=160)
  219. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(parent_id=12)
  220. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(entity_id=0)
  221. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(call_processed=internal)
  222. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(call_direction=inbound)
  223. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(accountname=default)
  224. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(filename1=astpp.pbx.lua)
  225. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 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||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)
  226. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(origination_rates=0)
  227. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(original_caller_id_name=101)
  228. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(original_caller_id_number=101)
  229. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action limit(db 134271 user_134271 10 )
  230. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action limit(hash CPS_134271 CPS_user_134271 1/1 )
  231. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(effective_caller_id_name=101)
  232. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(effective_caller_id_number=101)
  233. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(receiver_accid=160)
  234. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action export(domain_name=134271.yoursipcloud.com)
  235. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action export(sip_to_host=134271.yoursipcloud.com)
  236. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action export(presence_data=x|||Roy(134271)|||||||||DID|||117.247.91.162)
  237. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action export(call_type=7)
  238. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(did_calltype=7)
  239. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(did_extensions=42)
  240. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(group_confirm_key=exec)
  241. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  242. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(ringback=)
  243. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(module_name=pbx)
  244. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action db(insert/pickup_any_group_${callgroup}/42/${uuid})
  245. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(dialed_extension=transfer_call)
  246. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action export(dialed_extension=transfer_call)
  247. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  248. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  249. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action export(ring_group_transfer=true)
  250. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 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=15,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=15,leg_delay_start=5]user/100@134271.yoursipcloud.com|)
  251. Dialplan: sofia/default/101@134271.yoursipcloud.com:5060 Action set(original_did_number=31855000149)
  252. 2022-05-12 08:35:18.409190 [DEBUG] switch_core_state_machine.c:287 (sofia/default/101@134271.yoursipcloud.com:5060) State Change CS_ROUTING -> CS_EXECUTE
  253. 2022-05-12 08:35:18.409190 [DEBUG] switch_core_state_machine.c:644 (sofia/default/101@134271.yoursipcloud.com:5060) State ROUTING going to sleep
  254. 2022-05-12 08:35:18.409190 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@134271.yoursipcloud.com:5060) Running State Change CS_EXECUTE (Cur 1 Tot 8021)
  255. 2022-05-12 08:35:18.409190 [DEBUG] switch_core_state_machine.c:651 (sofia/default/101@134271.yoursipcloud.com:5060) State EXECUTE
  256. 2022-05-12 08:35:18.409190 [DEBUG] mod_sofia.c:209 sofia/default/101@134271.yoursipcloud.com:5060 SOFIA EXECUTE
  257. 2022-05-12 08:35:18.409190 [DEBUG] switch_core_state_machine.c:329 sofia/default/101@134271.yoursipcloud.com:5060 Standard EXECUTE
  258. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(effective_destination_number=31855000149)
  259. 2022-05-12 08:35:18.409190 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [effective_destination_number]=[31855000149]
  260. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  261. 2022-05-12 08:35:18.409190 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  262. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  263. 2022-05-12 08:35:18.409190 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  264. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(callstart=2022-05-12 06:35:18)
  265. 2022-05-12 08:35:18.409190 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [callstart]=[2022-05-12 06:35:18]
  266. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(hangup_after_bridge=true)
  267. 2022-05-12 08:35:18.409190 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [hangup_after_bridge]=[true]
  268. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(continue_on_fail=TRUE)
  269. 2022-05-12 08:35:18.409190 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [continue_on_fail]=[TRUE]
  270. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(account_id=160)
  271. 2022-05-12 08:35:18.409190 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [account_id]=[160]
  272. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(parent_id=12)
  273. 2022-05-12 08:35:18.409190 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [parent_id]=[12]
  274. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(entity_id=0)
  275. 2022-05-12 08:35:18.409190 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [entity_id]=[0]
  276. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(call_processed=internal)
  277. 2022-05-12 08:35:18.409190 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [call_processed]=[internal]
  278. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(call_direction=inbound)
  279. 2022-05-12 08:35:18.409190 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [call_direction]=[inbound]
  280. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(accountname=default)
  281. 2022-05-12 08:35:18.409190 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [accountname]=[default]
  282. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(filename1=astpp.pbx.lua)
  283. 2022-05-12 08:35:18.409190 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [filename1]=[astpp.pbx.lua]
  284. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 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||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)
  285. 2022-05-12 08:35:18.409190 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [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||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]
  286. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(origination_rates=0)
  287. 2022-05-12 08:35:18.409190 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [origination_rates]=[0]
  288. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(original_caller_id_name=101)
  289. 2022-05-12 08:35:18.409190 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [original_caller_id_name]=[101]
  290. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(original_caller_id_number=101)
  291. 2022-05-12 08:35:18.409190 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [original_caller_id_number]=[101]
  292. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 limit(db 134271 user_134271 10 )
  293. 2022-05-12 08:35:18.409190 [DEBUG] switch_limit.c:124 incr called: 134271_user_134271 max:10, interval:0
  294. 2022-05-12 08:35:18.429193 [DEBUG] mod_db.c:194 Usage for 134271_user_134271 is now 1/10
  295. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 limit(hash CPS_134271 CPS_user_134271 1/1 )
  296. 2022-05-12 08:35:18.429193 [DEBUG] switch_limit.c:124 incr called: CPS_134271_CPS_user_134271 max:1, interval:1
  297. 2022-05-12 08:35:18.429193 [DEBUG] mod_hash.c:198 Usage for CPS_134271_CPS_user_134271 is now 1/1 for the last 1 seconds
  298. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(effective_caller_id_name=101)
  299. 2022-05-12 08:35:18.429193 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [effective_caller_id_name]=[101]
  300. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(effective_caller_id_number=101)
  301. 2022-05-12 08:35:18.429193 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [effective_caller_id_number]=[101]
  302. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(receiver_accid=160)
  303. 2022-05-12 08:35:18.429193 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [receiver_accid]=[160]
  304. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 export(domain_name=134271.yoursipcloud.com)
  305. 2022-05-12 08:35:18.429193 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[134271.yoursipcloud.com]
  306. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 export(sip_to_host=134271.yoursipcloud.com)
  307. 2022-05-12 08:35:18.429193 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[134271.yoursipcloud.com]
  308. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 export(presence_data=x|||Roy(134271)|||||||||DID|||117.247.91.162)
  309. 2022-05-12 08:35:18.429193 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Roy(134271)|||||||||DID|||117.247.91.162]
  310. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 export(call_type=7)
  311. 2022-05-12 08:35:18.429193 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[7]
  312. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(did_calltype=7)
  313. 2022-05-12 08:35:18.429193 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [did_calltype]=[7]
  314. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(did_extensions=42)
  315. 2022-05-12 08:35:18.429193 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [did_extensions]=[42]
  316. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(group_confirm_key=exec)
  317. 2022-05-12 08:35:18.429193 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [group_confirm_key]=[exec]
  318. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  319. 2022-05-12 08:35:18.429193 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
  320. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(ringback=)
  321. 2022-05-12 08:35:18.429193 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [ringback]=[UNDEF]
  322. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(module_name=pbx)
  323. 2022-05-12 08:35:18.429193 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [module_name]=[pbx]
  324. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 db(insert/pickup_any_group_/42/fd1e1bb0-207f-4ae7-81b2-2682f1f9b91e)
  325. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(dialed_extension=transfer_call)
  326. 2022-05-12 08:35:18.429193 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [dialed_extension]=[transfer_call]
  327. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 export(dialed_extension=transfer_call)
  328. 2022-05-12 08:35:18.429193 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  329. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  330. 2022-05-12 08:35:18.429193 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  331. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  332. 2022-05-12 08:35:18.429193 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  333. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 export(ring_group_transfer=true)
  334. 2022-05-12 08:35:18.429193 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [ring_group_transfer]=[true]
  335. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 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=15,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=15,leg_delay_start=5]user/100@134271.yoursipcloud.com|)
  336. 2022-05-12 08:35:18.429193 [DEBUG] switch_channel.c:1264 sofia/default/101@134271.yoursipcloud.com:5060 EXPORTING[export_vars] [domain_name]=[134271.yoursipcloud.com] to event
  337. 2022-05-12 08:35:18.429193 [DEBUG] switch_channel.c:1264 sofia/default/101@134271.yoursipcloud.com:5060 EXPORTING[export_vars] [sip_to_host]=[134271.yoursipcloud.com] to event
  338. 2022-05-12 08:35:18.429193 [DEBUG] switch_channel.c:1264 sofia/default/101@134271.yoursipcloud.com:5060 EXPORTING[export_vars] [presence_data]=[x|||Roy(134271)|||||||||DID|||117.247.91.162] to event
  339. 2022-05-12 08:35:18.429193 [DEBUG] switch_channel.c:1264 sofia/default/101@134271.yoursipcloud.com:5060 EXPORTING[export_vars] [call_type]=[7] to event
  340. 2022-05-12 08:35:18.429193 [DEBUG] switch_channel.c:1264 sofia/default/101@134271.yoursipcloud.com:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  341. 2022-05-12 08:35:18.429193 [DEBUG] switch_channel.c:1264 sofia/default/101@134271.yoursipcloud.com:5060 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  342. 2022-05-12 08:35:18.429193 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  343. 2022-05-12 08:35:18.429193 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  344. 2022-05-12 08:35:18.429193 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 [ad44d5c2-0e37-4d92-8c67-19064e65b943]
  345. 2022-05-12 08:35:18.429193 [DEBUG] mod_sofia.c:5089 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_NEW -> CS_INIT
  346. 2022-05-12 08:35:18.429193 [DEBUG] switch_ivr_originate.c:3111 sofia/default/31854832191@134271.yoursipcloud.com:5060 Setting leg timeout to 5
  347. 2022-05-12 08:35:18.429193 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_INIT (Cur 2 Tot 8022)
  348. 2022-05-12 08:35:18.429193 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State INIT
  349. 2022-05-12 08:35:18.429193 [DEBUG] mod_sofia.c:93 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA INIT
  350. 2022-05-12 08:35:18.429193 [DEBUG] sofia_glue.c:1618 sofia/default/31854832191@134271.yoursipcloud.com:5060 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  351. Local SDP:
  352. v=0
  353. o=FreeSWITCH 1652306264 1652306265 IN IP4 185.249.40.236
  354. s=FreeSWITCH
  355. c=IN IP4 185.249.40.236
  356. t=0 0
  357. m=audio 31054 RTP/AVP 8 101
  358. a=rtpmap:8 PCMA/8000
  359. a=rtpmap:101 telephone-event/8000
  360. a=fmtp:101 0-16
  361. a=ptime:20
  362. a=sendrecv
  363.  
  364. 2022-05-12 08:35:18.429193 [DEBUG] switch_core_state_machine.c:40 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard INIT
  365. 2022-05-12 08:35:18.429193 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_INIT -> CS_ROUTING
  366. 2022-05-12 08:35:18.429193 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State INIT going to sleep
  367. 2022-05-12 08:35:18.429193 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_ROUTING (Cur 2 Tot 8022)
  368. 2022-05-12 08:35:18.429193 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [calling][0]
  369. 2022-05-12 08:35:18.429193 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State ROUTING
  370. 2022-05-12 08:35:18.429193 [DEBUG] mod_sofia.c:154 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA ROUTING
  371. 2022-05-12 08:35:18.429193 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  372. 2022-05-12 08:35:18.429193 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State ROUTING going to sleep
  373. 2022-05-12 08:35:18.429193 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 8022)
  374. 2022-05-12 08:35:18.429193 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State CONSUME_MEDIA
  375. 2022-05-12 08:35:18.429193 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State CONSUME_MEDIA going to sleep
  376. 2022-05-12 08:35:18.469198 [NOTICE] switch_channel.c:1118 New Channel sofia/default/101@185.249.40.236 [3f92043f-93cf-4c6e-83bb-ddf88564dc7d]
  377. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@185.249.40.236) Running State Change CS_NEW (Cur 3 Tot 8023)
  378. 2022-05-12 08:35:18.469198 [DEBUG] sofia.c:10280 sofia/default/101@185.249.40.236 receiving invite from 185.249.40.236:5060 version: 1.10.5 -release-17-25569c1631 64bit
  379. 2022-05-12 08:35:18.469198 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.40.236:0.
  380. 2022-05-12 08:35:18.469198 [DEBUG] sofia.c:7326 Channel sofia/default/101@185.249.40.236 entering state [received][100]
  381. 2022-05-12 08:35:18.469198 [DEBUG] sofia.c:7336 Remote SDP:
  382. v=0
  383. o=FreeSWITCH 1652306264 1652306265 IN IP4 185.249.40.236
  384. s=FreeSWITCH
  385. c=IN IP4 185.249.40.236
  386. t=0 0
  387. m=audio 31054 RTP/AVP 8 101
  388. a=rtpmap:8 PCMA/8000
  389. a=rtpmap:101 telephone-event/8000
  390. a=fmtp:101 0-16
  391. a=ptime:20
  392.  
  393. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  394. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  395. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  396. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  397. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/101@185.249.40.236 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  398. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_codec.c:111 sofia/default/101@185.249.40.236 Original read codec set to PCMA:8
  399. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  400. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_media.c:5911 sofia/default/101@185.249.40.236 Set 2833 dtmf send payload to 101 recv payload to 101
  401. 2022-05-12 08:35:18.469198 [DEBUG] sofia.c:7760 (sofia/default/101@185.249.40.236) State Change CS_NEW -> CS_INIT
  402. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_state_machine.c:604 (sofia/default/101@185.249.40.236) State NEW
  403. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@185.249.40.236) Running State Change CS_INIT (Cur 3 Tot 8023)
  404. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_state_machine.c:628 (sofia/default/101@185.249.40.236) State INIT
  405. 2022-05-12 08:35:18.469198 [DEBUG] mod_sofia.c:93 sofia/default/101@185.249.40.236 SOFIA INIT
  406. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_state_machine.c:40 sofia/default/101@185.249.40.236 Standard INIT
  407. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_state_machine.c:48 (sofia/default/101@185.249.40.236) State Change CS_INIT -> CS_ROUTING
  408. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_state_machine.c:628 (sofia/default/101@185.249.40.236) State INIT going to sleep
  409. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@185.249.40.236) Running State Change CS_ROUTING (Cur 3 Tot 8023)
  410. 2022-05-12 08:35:18.469198 [DEBUG] switch_channel.c:2332 (sofia/default/101@185.249.40.236) Callstate Change DOWN -> RINGING
  411. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_state_machine.c:644 (sofia/default/101@185.249.40.236) State ROUTING
  412. 2022-05-12 08:35:18.469198 [DEBUG] mod_sofia.c:154 sofia/default/101@185.249.40.236 SOFIA ROUTING
  413. 2022-05-12 08:35:18.469198 [DEBUG] switch_core_state_machine.c:236 sofia/default/101@185.249.40.236 Standard ROUTING
  414. 2022-05-12 08:35:18.469198 [INFO] mod_dialplan_xml.c:637 Processing 101 <101>->31854832191 in context default
  415. 2022-05-12 08:35:18.469198 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  416. 2022-05-12 08:35:18.469198 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  417. 2022-05-12 08:35:18.489188 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  418. 2022-05-12 08:35:18.489188 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31854832191
  419. 2022-05-12 08:35:18.489188 [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
  420. 2022-05-12 08:35:18.489188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31854832191' AND status=0 limit 1
  421. 2022-05-12 08:35:18.489188 [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
  422. 2022-05-12 08:35:18.489188 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
  423. 2022-05-12 08:35:18.489188 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 101 / 101
  424. 2022-05-12 08:35:18.489188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1
  425. 2022-05-12 08:35:18.489188 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domain134271.yoursipcloud.com
  426. 2022-05-12 08:35:18.489188 [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
  427. 2022-05-12 08:35:18.489188 [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
  428. 2022-05-12 08:35:18.489188 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  429. 2022-05-12 08:35:18.489188 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 160]
  430. 2022-05-12 08:35:18.489188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "160" AND deleted = 0 limit 1
  431. 2022-05-12 08:35:18.489188 [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
  432. 2022-05-12 08:35:18.489188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31854832191" AND (accountid = 0 OR status = 1) LIMIT 1
  433. 2022-05-12 08:35:18.509188 [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
  434. 2022-05-12 08:35:18.509188 [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
  435. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31854832191
  436. 2022-05-12 08:35:18.509188 [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
  437. 2022-05-12 08:35:18.509188 [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
  438. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
  439. 2022-05-12 08:35:18.509188 [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 = '101' OR number = '10' OR number = '1' OR number ='--') OR (number = '101*' OR number = '10*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  440. 2022-05-12 08:35:18.509188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  441. 2022-05-12 08:35:18.509188 [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
  442. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  443. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 160
  444. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 134271
  445. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10
  446. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  447. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 6
  448. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  449. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  450. 2022-05-12 08:35:18.509188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
  451. 2022-05-12 08:35:18.509188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  452. 2022-05-12 08:35:18.509188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
  453. 2022-05-12 08:35:18.509188 [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
  454. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  455. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  456. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 8158
  457. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.07200
  458. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 1
  459. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.05400
  460. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Nederland special
  461. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
  462. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 160
  463. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 0
  464. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  465. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  466. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 160 !!!
  467. 2022-05-12 08:35:18.509188 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  468. 2022-05-12 08:35:18.509188 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 12
  469. 2022-05-12 08:35:18.509188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "12" AND deleted = 0 limit 1
  470. 2022-05-12 08:35:18.509188 [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
  471. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information ===================
  472. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 12
  473. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3847299300
  474. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 99630.7155
  475. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  476. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 44
  477. 2022-05-12 08:35:18.509188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
  478. 2022-05-12 08:35:18.509188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  479. 2022-05-12 08:35:18.509188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
  480. 2022-05-12 08:35:18.509188 [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
  481. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  482. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  483. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 2846856
  484. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  485. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  486. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00210
  487. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Netherlands 085 Personal Numbers
  488. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
  489. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 12
  490. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 4
  491. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  492. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  493. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your99630.7155 balance Accountid 12 !!!
  494. 2022-05-12 08:35:18.509188 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  495. 2022-05-12 08:35:18.509188 [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
  496. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  497. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Lossless Routing Status : 1
  498. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
  499. 2022-05-12 08:35:18.509188 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 8158
  500. 2022-05-12 08:35:18.509188 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :4
  501. 2022-05-12 08:35:18.509188 [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
  502. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
  503. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 114263
  504. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3185.*
  505. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Netherlands 085 Personal Numbers
  506. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  507. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
  508. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3185.*
  509. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
  510. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
  511. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 4
  512. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1
  513. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
  514. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : SBC2
  515. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231
  516. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
  517. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs
  518. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
  519. 2022-05-12 08:35:18.529223 [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
  520. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP]  Maxlength : 100
  521. 2022-05-12 08:35:18.529223 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  522. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
  523. 2022-05-12 08:35:18.529223 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
  524. 2022-05-12 08:35:18.529223 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
  525. 2022-05-12 08:35:18.529223 [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
  526. 2022-05-12 08:35:18.529223 [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
  527. 2022-05-12 08:35:18.529223 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31".....31854832191
  528. 2022-05-12 08:35:18.529223 [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
  529. 2022-05-12 08:35:18.529223 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
  530. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  531. <document type="freeswitch/xml">
  532. <section name="dialplan" description="ASTPP Dialplan">
  533. <context name="default">
  534. <extension name="31854832191">
  535. <condition field="destination_number" expression="31854832191">
  536. <action application="set" data="effective_destination_number=31854832191"/>
  537. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  538. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  539. <action application="set" data="callstart=2022-05-12 06:35:18"/>
  540. <action application="set" data="hangup_after_bridge=true"/>
  541. <action application="set" data="continue_on_fail=TRUE"/>
  542. <action application="set" data="account_id=160"/>
  543. <action application="set" data="parent_id=12"/>
  544. <action application="set" data="entity_id=0"/>
  545. <action application="set" data="call_processed=internal"/>
  546. <action application="set" data="call_direction=outbound"/>
  547. <action application="set" data="accountname=default"/>
  548. <action application="set" data="filename1=astpp.pbx.lua"/>
  549. <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"/>
  550. <action application="set" data="original_caller_id_name=101"/>
  551. <action application="set" data="original_caller_id_number=101"/>
  552. <action application="limit" data="db 160 user_160 10 "/>
  553. <action application="limit" data="hash CPS_160 CPS_user_160 1/1 "/>
  554.  
  555. <action application="set" data="effective_caller_id_name=101"/>
  556. <action application="set" data="effective_caller_id_number=101"/>
  557. <action application="set" data="calltype=STANDARD"/>
  558. <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"/>
  559. <action application="set" data="trunk_id=4"/>
  560. <action application="set" data="provider_id=231"/>
  561. <action application="set" data="rate_flag=0"/>
  562. <action application="set" data="force_trunk_flag=8158"/>
  563. <action application="export" data="presence_data=trunk_id=4"/>
  564. <action application="set" data="intcall=0"/>
  565. <action application="export" data="presence_id=31854832191"/>
  566. <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"/>
  567. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31854832191"/>
  568. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31854832191"/>
  569. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31854832191"/>
  570. </condition>
  571. </extension>
  572. </context>
  573. </document>
  574. Dialplan: sofia/default/101@185.249.40.236 parsing [default->31854832191] continue=false
  575. Dialplan: sofia/default/101@185.249.40.236 Regex (PASS) [31854832191] destination_number(31854832191) =~ /31854832191/ break=on-false
  576. Dialplan: sofia/default/101@185.249.40.236 Action set(effective_destination_number=31854832191)
  577. Dialplan: sofia/default/101@185.249.40.236 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  578. Dialplan: sofia/default/101@185.249.40.236 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  579. Dialplan: sofia/default/101@185.249.40.236 Action set(callstart=2022-05-12 06:35:18)
  580. Dialplan: sofia/default/101@185.249.40.236 Action set(hangup_after_bridge=true)
  581. Dialplan: sofia/default/101@185.249.40.236 Action set(continue_on_fail=TRUE)
  582. Dialplan: sofia/default/101@185.249.40.236 Action set(account_id=160)
  583. Dialplan: sofia/default/101@185.249.40.236 Action set(parent_id=12)
  584. Dialplan: sofia/default/101@185.249.40.236 Action set(entity_id=0)
  585. Dialplan: sofia/default/101@185.249.40.236 Action set(call_processed=internal)
  586. Dialplan: sofia/default/101@185.249.40.236 Action set(call_direction=outbound)
  587. Dialplan: sofia/default/101@185.249.40.236 Action set(accountname=default)
  588. Dialplan: sofia/default/101@185.249.40.236 Action set(filename1=astpp.pbx.lua)
  589. Dialplan: sofia/default/101@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)
  590. Dialplan: sofia/default/101@185.249.40.236 Action set(original_caller_id_name=101)
  591. Dialplan: sofia/default/101@185.249.40.236 Action set(original_caller_id_number=101)
  592. Dialplan: sofia/default/101@185.249.40.236 Action limit(db 160 user_160 10 )
  593. Dialplan: sofia/default/101@185.249.40.236 Action limit(hash CPS_160 CPS_user_160 1/1 )
  594. Dialplan: sofia/default/101@185.249.40.236 Action set(effective_caller_id_name=101)
  595. Dialplan: sofia/default/101@185.249.40.236 Action set(effective_caller_id_number=101)
  596. Dialplan: sofia/default/101@185.249.40.236 Action set(calltype=STANDARD)
  597. Dialplan: sofia/default/101@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)
  598. Dialplan: sofia/default/101@185.249.40.236 Action set(trunk_id=4)
  599. Dialplan: sofia/default/101@185.249.40.236 Action set(provider_id=231)
  600. Dialplan: sofia/default/101@185.249.40.236 Action set(rate_flag=0)
  601. Dialplan: sofia/default/101@185.249.40.236 Action set(force_trunk_flag=8158)
  602. Dialplan: sofia/default/101@185.249.40.236 Action export(presence_data=trunk_id=4)
  603. Dialplan: sofia/default/101@185.249.40.236 Action set(intcall=0)
  604. Dialplan: sofia/default/101@185.249.40.236 Action export(presence_id=31854832191)
  605. Dialplan: sofia/default/101@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)
  606. Dialplan: sofia/default/101@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31854832191)
  607. Dialplan: sofia/default/101@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31854832191)
  608. Dialplan: sofia/default/101@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31854832191)
  609. 2022-05-12 08:35:18.529223 [DEBUG] switch_core_state_machine.c:287 (sofia/default/101@185.249.40.236) State Change CS_ROUTING -> CS_EXECUTE
  610. 2022-05-12 08:35:18.529223 [DEBUG] switch_core_state_machine.c:644 (sofia/default/101@185.249.40.236) State ROUTING going to sleep
  611. 2022-05-12 08:35:18.529223 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@185.249.40.236) Running State Change CS_EXECUTE (Cur 3 Tot 8023)
  612. 2022-05-12 08:35:18.529223 [DEBUG] switch_core_state_machine.c:651 (sofia/default/101@185.249.40.236) State EXECUTE
  613. 2022-05-12 08:35:18.529223 [DEBUG] mod_sofia.c:209 sofia/default/101@185.249.40.236 SOFIA EXECUTE
  614. 2022-05-12 08:35:18.529223 [DEBUG] switch_core_state_machine.c:329 sofia/default/101@185.249.40.236 Standard EXECUTE
  615. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(effective_destination_number=31854832191)
  616. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [effective_destination_number]=[31854832191]
  617. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(bridge_pre_execute_bleg_app=sched_hangup)
  618. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [bridge_pre_execute_bleg_app]=[sched_hangup]
  619. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  620. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  621. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(callstart=2022-05-12 06:35:18)
  622. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [callstart]=[2022-05-12 06:35:18]
  623. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(hangup_after_bridge=true)
  624. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [hangup_after_bridge]=[true]
  625. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(continue_on_fail=TRUE)
  626. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [continue_on_fail]=[TRUE]
  627. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(account_id=160)
  628. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [account_id]=[160]
  629. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(parent_id=12)
  630. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [parent_id]=[12]
  631. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(entity_id=0)
  632. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [entity_id]=[0]
  633. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(call_processed=internal)
  634. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [call_processed]=[internal]
  635. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(call_direction=outbound)
  636. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [call_direction]=[outbound]
  637. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(accountname=default)
  638. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [accountname]=[default]
  639. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(filename1=astpp.pbx.lua)
  640. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [filename1]=[astpp.pbx.lua]
  641. EXECUTE [depth=0] sofia/default/101@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)
  642. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@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]
  643. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(original_caller_id_name=101)
  644. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [original_caller_id_name]=[101]
  645. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(original_caller_id_number=101)
  646. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [original_caller_id_number]=[101]
  647. EXECUTE [depth=0] sofia/default/101@185.249.40.236 limit(db 160 user_160 10 )
  648. 2022-05-12 08:35:18.529223 [DEBUG] switch_limit.c:124 incr called: 160_user_160 max:10, interval:0
  649. 2022-05-12 08:35:18.529223 [DEBUG] mod_db.c:194 Usage for 160_user_160 is now 1/10
  650. EXECUTE [depth=0] sofia/default/101@185.249.40.236 limit(hash CPS_160 CPS_user_160 1/1 )
  651. 2022-05-12 08:35:18.529223 [DEBUG] switch_limit.c:124 incr called: CPS_160_CPS_user_160 max:1, interval:1
  652. 2022-05-12 08:35:18.529223 [DEBUG] mod_hash.c:198 Usage for CPS_160_CPS_user_160 is now 1/1 for the last 1 seconds
  653. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(effective_caller_id_name=101)
  654. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [effective_caller_id_name]=[101]
  655. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(effective_caller_id_number=101)
  656. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [effective_caller_id_number]=[101]
  657. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(calltype=STANDARD)
  658. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [calltype]=[STANDARD]
  659. EXECUTE [depth=0] sofia/default/101@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)
  660. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@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]
  661. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(trunk_id=4)
  662. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [trunk_id]=[4]
  663. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(provider_id=231)
  664. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [provider_id]=[231]
  665. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(rate_flag=0)
  666. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [rate_flag]=[0]
  667. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(force_trunk_flag=8158)
  668. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [force_trunk_flag]=[8158]
  669. EXECUTE [depth=0] sofia/default/101@185.249.40.236 export(presence_data=trunk_id=4)
  670. 2022-05-12 08:35:18.529223 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=4]
  671. EXECUTE [depth=0] sofia/default/101@185.249.40.236 set(intcall=0)
  672. 2022-05-12 08:35:18.529223 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@185.249.40.236 [intcall]=[0]
  673. EXECUTE [depth=0] sofia/default/101@185.249.40.236 export(presence_id=31854832191)
  674. 2022-05-12 08:35:18.529223 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31854832191]
  675. EXECUTE [depth=0] sofia/default/101@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)
  676. 2022-05-12 08:35:18.529223 [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]
  677. EXECUTE [depth=0] sofia/default/101@185.249.40.236 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31854832191)
  678. 2022-05-12 08:35:18.529223 [DEBUG] switch_channel.c:1264 sofia/default/101@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
  679. 2022-05-12 08:35:18.529223 [DEBUG] switch_channel.c:1264 sofia/default/101@185.249.40.236 EXPORTING[export_vars] [presence_id]=[31854832191] to event
  680. 2022-05-12 08:35:18.529223 [DEBUG] switch_channel.c:1264 sofia/default/101@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
  681. 2022-05-12 08:35:18.529223 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  682. 2022-05-12 08:35:18.529223 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  683. 2022-05-12 08:35:18.529223 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31854832191 [6d0bb338-10c0-49fe-baff-1f929bbbcebe]
  684. 2022-05-12 08:35:18.529223 [DEBUG] mod_sofia.c:5089 (sofia/default/31854832191) State Change CS_NEW -> CS_INIT
  685. 2022-05-12 08:35:18.529223 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_INIT (Cur 4 Tot 8024)
  686. 2022-05-12 08:35:18.529223 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191) State INIT
  687. 2022-05-12 08:35:18.529223 [DEBUG] mod_sofia.c:93 sofia/default/31854832191 SOFIA INIT
  688. 2022-05-12 08:35:18.529223 [DEBUG] sofia_glue.c:1618 sofia/default/31854832191 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  689. Local SDP:
  690. v=0
  691. o=FreeSWITCH 1652320128 1652320129 IN IP4 185.249.40.236
  692. s=FreeSWITCH
  693. c=IN IP4 185.249.40.236
  694. t=0 0
  695. m=audio 17190 RTP/AVP 8 101
  696. a=rtpmap:8 PCMA/8000
  697. a=rtpmap:101 telephone-event/8000
  698. a=fmtp:101 0-16
  699. a=ptime:20
  700. a=sendrecv
  701.  
  702. 2022-05-12 08:35:18.529223 [DEBUG] switch_core_state_machine.c:40 sofia/default/31854832191 Standard INIT
  703. 2022-05-12 08:35:18.529223 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31854832191) State Change CS_INIT -> CS_ROUTING
  704. 2022-05-12 08:35:18.529223 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191) State INIT going to sleep
  705. 2022-05-12 08:35:18.549199 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_ROUTING (Cur 4 Tot 8024)
  706. 2022-05-12 08:35:18.549199 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [calling][0]
  707. 2022-05-12 08:35:18.549199 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191) State ROUTING
  708. 2022-05-12 08:35:18.549199 [DEBUG] mod_sofia.c:154 sofia/default/31854832191 SOFIA ROUTING
  709. 2022-05-12 08:35:18.549199 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31854832191) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  710. 2022-05-12 08:35:18.549199 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191) State ROUTING going to sleep
  711. 2022-05-12 08:35:18.549199 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 8024)
  712. 2022-05-12 08:35:18.549199 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191) State CONSUME_MEDIA
  713. 2022-05-12 08:35:18.549199 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191) State CONSUME_MEDIA going to sleep
  714. 2022-05-12 08:35:18.729240 [DEBUG] sofia.c:6501 Remote Reason: 1
  715. 2022-05-12 08:35:18.729240 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [terminated][404]
  716. 2022-05-12 08:35:18.729240 [NOTICE] sofia.c:8559 Hangup sofia/default/31854832191 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER]
  717. 2022-05-12 08:35:18.729240 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_HANGUP (Cur 4 Tot 8024)
  718. 2022-05-12 08:35:18.729240 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31854832191) Callstate Change DOWN -> HANGUP
  719. 2022-05-12 08:35:18.729240 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191) State HANGUP
  720. 2022-05-12 08:35:18.729240 [DEBUG] mod_sofia.c:453 Channel sofia/default/31854832191 hanging up, cause: UNALLOCATED_NUMBER
  721. 2022-05-12 08:35:18.729240 [DEBUG] switch_core_state_machine.c:60 sofia/default/31854832191 Standard HANGUP, cause: UNALLOCATED_NUMBER
  722. 2022-05-12 08:35:18.729240 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191) State HANGUP going to sleep
  723. 2022-05-12 08:35:18.729240 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31854832191) State Change CS_HANGUP -> CS_REPORTING
  724. 2022-05-12 08:35:18.729240 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_REPORTING (Cur 4 Tot 8024)
  725. 2022-05-12 08:35:18.729240 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191) State REPORTING
  726. 2022-05-12 08:35:18.729240 [INFO] mod_json_cdr.c:271 Process [6d0bb338-10c0-49fe-baff-1f929bbbcebe.cdr.json]
  727. 2022-05-12 08:35:18.749223 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER]
  728. 2022-05-12 08:35:18.749223 [INFO] mod_dptools.c:3631 Originate Failed.  Cause: UNALLOCATED_NUMBER
  729. EXECUTE [depth=0] sofia/default/101@185.249.40.236 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31854832191)
  730. 2022-05-12 08:35:18.749223 [DEBUG] switch_channel.c:1264 sofia/default/101@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
  731. 2022-05-12 08:35:18.749223 [DEBUG] switch_channel.c:1264 sofia/default/101@185.249.40.236 EXPORTING[export_vars] [presence_id]=[31854832191] to event
  732. 2022-05-12 08:35:18.749223 [DEBUG] switch_channel.c:1264 sofia/default/101@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
  733. 2022-05-12 08:35:18.749223 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  734. 2022-05-12 08:35:18.749223 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  735. 2022-05-12 08:35:18.749223 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31854832191 [2414589f-da14-458e-bab8-7da8dc44c17c]
  736. 2022-05-12 08:35:18.749223 [DEBUG] mod_sofia.c:5089 (sofia/default/31854832191) State Change CS_NEW -> CS_INIT
  737. 2022-05-12 08:35:18.749223 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_INIT (Cur 5 Tot 8025)
  738. 2022-05-12 08:35:18.749223 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191) State INIT
  739. 2022-05-12 08:35:18.749223 [DEBUG] mod_sofia.c:93 sofia/default/31854832191 SOFIA INIT
  740. 2022-05-12 08:35:18.749223 [DEBUG] sofia_glue.c:1618 sofia/default/31854832191 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  741. Local SDP:
  742. v=0
  743. o=FreeSWITCH 1652315658 1652315659 IN IP4 185.249.40.236
  744. s=FreeSWITCH
  745. c=IN IP4 185.249.40.236
  746. t=0 0
  747. m=audio 21660 RTP/AVP 8 101
  748. a=rtpmap:8 PCMA/8000
  749. a=rtpmap:101 telephone-event/8000
  750. a=fmtp:101 0-16
  751. a=ptime:20
  752. a=sendrecv
  753.  
  754. 2022-05-12 08:35:18.749223 [DEBUG] switch_core_state_machine.c:40 sofia/default/31854832191 Standard INIT
  755. 2022-05-12 08:35:18.749223 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31854832191) State Change CS_INIT -> CS_ROUTING
  756. 2022-05-12 08:35:18.749223 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191) State INIT going to sleep
  757. 2022-05-12 08:35:18.749223 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_ROUTING (Cur 5 Tot 8025)
  758. 2022-05-12 08:35:18.749223 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [calling][0]
  759. 2022-05-12 08:35:18.749223 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191) State ROUTING
  760. 2022-05-12 08:35:18.749223 [DEBUG] mod_sofia.c:154 sofia/default/31854832191 SOFIA ROUTING
  761. 2022-05-12 08:35:18.749223 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31854832191) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  762. 2022-05-12 08:35:18.749223 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191) State ROUTING going to sleep
  763. 2022-05-12 08:35:18.749223 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_CONSUME_MEDIA (Cur 5 Tot 8025)
  764. 2022-05-12 08:35:18.749223 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191) State CONSUME_MEDIA
  765. 2022-05-12 08:35:18.749223 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191) State CONSUME_MEDIA going to sleep
  766. 2022-05-12 08:35:18.769205 [DEBUG] switch_core_state_machine.c:174 sofia/default/31854832191 Standard REPORTING, cause: UNALLOCATED_NUMBER
  767. 2022-05-12 08:35:18.769205 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191) State REPORTING going to sleep
  768. 2022-05-12 08:35:18.769205 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31854832191) State Change CS_REPORTING -> CS_DESTROY
  769. 2022-05-12 08:35:18.769205 [DEBUG] switch_core_session.c:1726 Session 8024 (sofia/default/31854832191) Locked, Waiting on external entities
  770. 2022-05-12 08:35:18.769205 [NOTICE] switch_core_session.c:1744 Session 8024 (sofia/default/31854832191) Ended
  771. 2022-05-12 08:35:18.769205 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31854832191 [CS_DESTROY]
  772. 2022-05-12 08:35:18.769205 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31854832191) Running State Change CS_DESTROY (Cur 4 Tot 8025)
  773. 2022-05-12 08:35:18.769205 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191) State DESTROY
  774. 2022-05-12 08:35:18.769205 [DEBUG] mod_sofia.c:364 sofia/default/31854832191 SOFIA DESTROY
  775. 2022-05-12 08:35:18.769205 [DEBUG] switch_core_state_machine.c:181 sofia/default/31854832191 Standard DESTROY
  776. 2022-05-12 08:35:18.769205 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191) State DESTROY going to sleep
  777. 2022-05-12 08:35:18.929203 [DEBUG] sofia.c:6501 Remote Reason: 1
  778. 2022-05-12 08:35:18.929203 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [terminated][404]
  779. 2022-05-12 08:35:18.929203 [NOTICE] sofia.c:8559 Hangup sofia/default/31854832191 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER]
  780. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_HANGUP (Cur 4 Tot 8025)
  781. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31854832191) Callstate Change DOWN -> HANGUP
  782. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191) State HANGUP
  783. 2022-05-12 08:35:18.929203 [DEBUG] mod_sofia.c:453 Channel sofia/default/31854832191 hanging up, cause: UNALLOCATED_NUMBER
  784. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:60 sofia/default/31854832191 Standard HANGUP, cause: UNALLOCATED_NUMBER
  785. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191) State HANGUP going to sleep
  786. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31854832191) State Change CS_HANGUP -> CS_REPORTING
  787. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_REPORTING (Cur 4 Tot 8025)
  788. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191) State REPORTING
  789. 2022-05-12 08:35:18.929203 [INFO] mod_json_cdr.c:271 Process [2414589f-da14-458e-bab8-7da8dc44c17c.cdr.json]
  790. 2022-05-12 08:35:18.929203 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER]
  791. 2022-05-12 08:35:18.929203 [INFO] mod_dptools.c:3631 Originate Failed.  Cause: UNALLOCATED_NUMBER
  792. EXECUTE [depth=0] sofia/default/101@185.249.40.236 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31854832191)
  793. 2022-05-12 08:35:18.929203 [DEBUG] switch_channel.c:1264 sofia/default/101@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
  794. 2022-05-12 08:35:18.929203 [DEBUG] switch_channel.c:1264 sofia/default/101@185.249.40.236 EXPORTING[export_vars] [presence_id]=[31854832191] to event
  795. 2022-05-12 08:35:18.929203 [DEBUG] switch_channel.c:1264 sofia/default/101@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
  796. 2022-05-12 08:35:18.929203 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  797. 2022-05-12 08:35:18.929203 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  798. 2022-05-12 08:35:18.929203 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31854832191 [9b5262d6-5b58-429a-a57c-1a83832b9ade]
  799. 2022-05-12 08:35:18.929203 [DEBUG] mod_sofia.c:5089 (sofia/default/31854832191) State Change CS_NEW -> CS_INIT
  800. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_INIT (Cur 5 Tot 8026)
  801. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191) State INIT
  802. 2022-05-12 08:35:18.929203 [DEBUG] mod_sofia.c:93 sofia/default/31854832191 SOFIA INIT
  803. 2022-05-12 08:35:18.929203 [DEBUG] sofia_glue.c:1618 sofia/default/31854832191 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  804. Local SDP:
  805. v=0
  806. o=FreeSWITCH 1652305908 1652305909 IN IP4 185.249.40.236
  807. s=FreeSWITCH
  808. c=IN IP4 185.249.40.236
  809. t=0 0
  810. m=audio 31410 RTP/AVP 8 101
  811. a=rtpmap:8 PCMA/8000
  812. a=rtpmap:101 telephone-event/8000
  813. a=fmtp:101 0-16
  814. a=ptime:20
  815. a=sendrecv
  816.  
  817. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:40 sofia/default/31854832191 Standard INIT
  818. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31854832191) State Change CS_INIT -> CS_ROUTING
  819. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191) State INIT going to sleep
  820. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_ROUTING (Cur 5 Tot 8026)
  821. 2022-05-12 08:35:18.929203 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [calling][0]
  822. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191) State ROUTING
  823. 2022-05-12 08:35:18.929203 [DEBUG] mod_sofia.c:154 sofia/default/31854832191 SOFIA ROUTING
  824. 2022-05-12 08:35:18.929203 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31854832191) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  825. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191) State ROUTING going to sleep
  826. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_CONSUME_MEDIA (Cur 5 Tot 8026)
  827. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191) State CONSUME_MEDIA
  828. 2022-05-12 08:35:18.929203 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191) State CONSUME_MEDIA going to sleep
  829. 2022-05-12 08:35:18.969193 [DEBUG] switch_core_state_machine.c:174 sofia/default/31854832191 Standard REPORTING, cause: UNALLOCATED_NUMBER
  830. 2022-05-12 08:35:18.969193 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191) State REPORTING going to sleep
  831. 2022-05-12 08:35:18.969193 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31854832191) State Change CS_REPORTING -> CS_DESTROY
  832. 2022-05-12 08:35:18.969193 [DEBUG] switch_core_session.c:1726 Session 8025 (sofia/default/31854832191) Locked, Waiting on external entities
  833. 2022-05-12 08:35:18.969193 [NOTICE] switch_core_session.c:1744 Session 8025 (sofia/default/31854832191) Ended
  834. 2022-05-12 08:35:18.969193 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31854832191 [CS_DESTROY]
  835. 2022-05-12 08:35:18.969193 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31854832191) Running State Change CS_DESTROY (Cur 4 Tot 8026)
  836. 2022-05-12 08:35:18.969193 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191) State DESTROY
  837. 2022-05-12 08:35:18.969193 [DEBUG] mod_sofia.c:364 sofia/default/31854832191 SOFIA DESTROY
  838. 2022-05-12 08:35:18.969193 [DEBUG] switch_core_state_machine.c:181 sofia/default/31854832191 Standard DESTROY
  839. 2022-05-12 08:35:18.969193 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191) State DESTROY going to sleep
  840. 2022-05-12 08:35:19.749184 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [proceeding][180]
  841. 2022-05-12 08:35:19.749184 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/31854832191!
  842. 2022-05-12 08:35:19.749184 [DEBUG] switch_channel.c:3437 (sofia/default/31854832191) Callstate Change DOWN -> RINGING
  843. 2022-05-12 08:35:19.769209 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/101@185.249.40.236!
  844. 2022-05-12 08:35:19.769209 [DEBUG] sofia.c:7326 Channel sofia/default/101@185.249.40.236 entering state [early][180]
  845. 2022-05-12 08:35:19.769209 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/101@185.249.40.236!
  846. 2022-05-12 08:35:19.769209 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [proceeding][180]
  847. 2022-05-12 08:35:19.769209 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/31854832191@134271.yoursipcloud.com:5060!
  848. 2022-05-12 08:35:19.769209 [DEBUG] switch_channel.c:3437 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Callstate Change DOWN -> RINGING
  849. 2022-05-12 08:35:19.769209 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/101@134271.yoursipcloud.com:5060!
  850. 2022-05-12 08:35:19.769209 [DEBUG] sofia.c:7326 Channel sofia/default/101@134271.yoursipcloud.com:5060 entering state [early][180]
  851. 2022-05-12 08:35:19.769209 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/101@134271.yoursipcloud.com:5060!
  852. 2022-05-12 08:35:22.329220 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [terminated][404]
  853. 2022-05-12 08:35:22.329220 [NOTICE] sofia.c:8559 Hangup sofia/default/31854832191 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER]
  854. 2022-05-12 08:35:22.329220 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_HANGUP (Cur 4 Tot 8026)
  855. 2022-05-12 08:35:22.329220 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31854832191) Callstate Change RINGING -> HANGUP
  856. 2022-05-12 08:35:22.329220 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191) State HANGUP
  857. 2022-05-12 08:35:22.329220 [DEBUG] mod_sofia.c:453 Channel sofia/default/31854832191 hanging up, cause: UNALLOCATED_NUMBER
  858. 2022-05-12 08:35:22.329220 [DEBUG] switch_core_state_machine.c:60 sofia/default/31854832191 Standard HANGUP, cause: UNALLOCATED_NUMBER
  859. 2022-05-12 08:35:22.329220 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191) State HANGUP going to sleep
  860. 2022-05-12 08:35:22.329220 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31854832191) State Change CS_HANGUP -> CS_REPORTING
  861. 2022-05-12 08:35:22.329220 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_REPORTING (Cur 4 Tot 8026)
  862. 2022-05-12 08:35:22.329220 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191) State REPORTING
  863. 2022-05-12 08:35:22.329220 [INFO] mod_json_cdr.c:271 Process [9b5262d6-5b58-429a-a57c-1a83832b9ade.cdr.json]
  864. 2022-05-12 08:35:22.349189 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER]
  865. 2022-05-12 08:35:22.349189 [INFO] mod_dptools.c:3631 Originate Failed.  Cause: UNALLOCATED_NUMBER
  866. 2022-05-12 08:35:22.349189 [NOTICE] switch_core_state_machine.c:386 sofia/default/101@185.249.40.236 has executed the last dialplan instruction, hanging up.
  867. 2022-05-12 08:35:22.349189 [NOTICE] switch_core_state_machine.c:388 Hangup sofia/default/101@185.249.40.236 [CS_EXECUTE] [NORMAL_CLEARING]
  868. 2022-05-12 08:35:22.349189 [DEBUG] mod_hash.c:296 Usage for CPS_160_CPS_user_160 is now 0
  869. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:651 (sofia/default/101@185.249.40.236) State EXECUTE going to sleep
  870. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@185.249.40.236) Running State Change CS_HANGUP (Cur 4 Tot 8026)
  871. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:848 (sofia/default/101@185.249.40.236) Callstate Change RINGING -> HANGUP
  872. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:850 (sofia/default/101@185.249.40.236) State HANGUP
  873. 2022-05-12 08:35:22.349189 [DEBUG] mod_sofia.c:447 sofia/default/101@185.249.40.236 Overriding SIP cause 480 with 404 from the other leg
  874. 2022-05-12 08:35:22.349189 [DEBUG] mod_sofia.c:453 Channel sofia/default/101@185.249.40.236 hanging up, cause: NORMAL_CLEARING
  875. 2022-05-12 08:35:22.349189 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 404
  876. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:60 sofia/default/101@185.249.40.236 Standard HANGUP, cause: NORMAL_CLEARING
  877. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:850 (sofia/default/101@185.249.40.236) State HANGUP going to sleep
  878. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:620 (sofia/default/101@185.249.40.236) State Change CS_HANGUP -> CS_REPORTING
  879. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@185.249.40.236) Running State Change CS_REPORTING (Cur 4 Tot 8026)
  880. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:936 (sofia/default/101@185.249.40.236) State REPORTING
  881. 2022-05-12 08:35:22.349189 [DEBUG] sofia.c:6501 Remote Reason: 16
  882. 2022-05-12 08:35:22.349189 [INFO] mod_json_cdr.c:271 Process [3f92043f-93cf-4c6e-83bb-ddf88564dc7d.cdr.json]
  883. 2022-05-12 08:35:22.349189 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [terminated][404]
  884. 2022-05-12 08:35:22.349189 [NOTICE] sofia.c:8559 Hangup sofia/default/31854832191@134271.yoursipcloud.com:5060 [CS_CONSUME_MEDIA] [NORMAL_CLEARING]
  885. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_HANGUP (Cur 4 Tot 8026)
  886. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Callstate Change RINGING -> HANGUP
  887. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State HANGUP
  888. 2022-05-12 08:35:22.349189 [DEBUG] mod_sofia.c:453 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 hanging up, cause: NORMAL_CLEARING
  889. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:60 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard HANGUP, cause: NORMAL_CLEARING
  890. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State HANGUP going to sleep
  891. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_HANGUP -> CS_REPORTING
  892. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_REPORTING (Cur 4 Tot 8026)
  893. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State REPORTING
  894. 2022-05-12 08:35:22.349189 [INFO] mod_json_cdr.c:271 Process [ad44d5c2-0e37-4d92-8c67-19064e65b943.cdr.json]
  895. 2022-05-12 08:35:22.349189 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 16 [NORMAL_CLEARING]
  896. 2022-05-12 08:35:22.349189 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  897. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:174 sofia/default/31854832191 Standard REPORTING, cause: UNALLOCATED_NUMBER
  898. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191) State REPORTING going to sleep
  899. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31854832191) State Change CS_REPORTING -> CS_DESTROY
  900. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_session.c:1726 Session 8026 (sofia/default/31854832191) Locked, Waiting on external entities
  901. 2022-05-12 08:35:22.349189 [NOTICE] switch_core_session.c:1744 Session 8026 (sofia/default/31854832191) Ended
  902. 2022-05-12 08:35:22.349189 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31854832191 [CS_DESTROY]
  903. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31854832191) Running State Change CS_DESTROY (Cur 3 Tot 8026)
  904. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191) State DESTROY
  905. 2022-05-12 08:35:22.349189 [DEBUG] mod_sofia.c:364 sofia/default/31854832191 SOFIA DESTROY
  906. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:181 sofia/default/31854832191 Standard DESTROY
  907. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191) State DESTROY going to sleep
  908. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:174 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard REPORTING, cause: NORMAL_CLEARING
  909. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State REPORTING going to sleep
  910. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_REPORTING -> CS_DESTROY
  911. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_session.c:1726 Session 8022 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Locked, Waiting on external entities
  912. 2022-05-12 08:35:22.349189 [NOTICE] switch_core_session.c:1744 Session 8022 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Ended
  913. 2022-05-12 08:35:22.349189 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 [CS_DESTROY]
  914. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_DESTROY (Cur 2 Tot 8026)
  915. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State DESTROY
  916. 2022-05-12 08:35:22.349189 [DEBUG] mod_sofia.c:364 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA DESTROY
  917. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:181 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard DESTROY
  918. 2022-05-12 08:35:22.349189 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State DESTROY going to sleep
  919. 2022-05-12 08:35:22.349189 [DEBUG] switch_channel.c:1264 sofia/default/101@134271.yoursipcloud.com:5060 EXPORTING[export_vars] [domain_name]=[134271.yoursipcloud.com] to event
  920. 2022-05-12 08:35:22.349189 [DEBUG] switch_channel.c:1264 sofia/default/101@134271.yoursipcloud.com:5060 EXPORTING[export_vars] [sip_to_host]=[134271.yoursipcloud.com] to event
  921. 2022-05-12 08:35:22.349189 [DEBUG] switch_channel.c:1264 sofia/default/101@134271.yoursipcloud.com:5060 EXPORTING[export_vars] [presence_data]=[x|||Roy(134271)|||||||||DID|||117.247.91.162] to event
  922. 2022-05-12 08:35:22.349189 [DEBUG] switch_channel.c:1264 sofia/default/101@134271.yoursipcloud.com:5060 EXPORTING[export_vars] [call_type]=[7] to event
  923. 2022-05-12 08:35:22.349189 [DEBUG] switch_channel.c:1264 sofia/default/101@134271.yoursipcloud.com:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  924. 2022-05-12 08:35:22.349189 [DEBUG] switch_channel.c:1264 sofia/default/101@134271.yoursipcloud.com:5060 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  925. 2022-05-12 08:35:22.349189 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  926. 2022-05-12 08:35:22.349189 [NOTICE] switch_ivr_originate.c:2999 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
  927. 2022-05-12 08:35:22.349189 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  928. 2022-05-12 08:35:22.349189 [NOTICE] switch_ivr_originate.c:2999 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
  929. 2022-05-12 08:35:22.349189 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  930. 2022-05-12 08:35:22.349189 [INFO] mod_dptools.c:3631 Originate Failed.  Cause: USER_NOT_REGISTERED
  931. EXECUTE [depth=0] sofia/default/101@134271.yoursipcloud.com:5060 set(original_did_number=31855000149)
  932. 2022-05-12 08:35:22.349189 [DEBUG] mod_dptools.c:1672 SET sofia/default/101@134271.yoursipcloud.com:5060 [original_did_number]=[31855000149]
  933. 2022-05-12 08:35:22.349189 [NOTICE] switch_core_state_machine.c:386 sofia/default/101@134271.yoursipcloud.com:5060 has executed the last dialplan instruction, hanging up.
  934. 2022-05-12 08:35:22.349189 [NOTICE] switch_core_state_machine.c:388 Hangup sofia/default/101@134271.yoursipcloud.com:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  935. 2022-05-12 08:35:22.369204 [DEBUG] mod_hash.c:296 Usage for CPS_134271_CPS_user_134271 is now 0
  936. 2022-05-12 08:35:22.369204 [DEBUG] switch_core_state_machine.c:651 (sofia/default/101@134271.yoursipcloud.com:5060) State EXECUTE going to sleep
  937. 2022-05-12 08:35:22.369204 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@134271.yoursipcloud.com:5060) Running State Change CS_HANGUP (Cur 2 Tot 8026)
  938. 2022-05-12 08:35:22.369204 [DEBUG] switch_core_state_machine.c:848 (sofia/default/101@134271.yoursipcloud.com:5060) Callstate Change RINGING -> HANGUP
  939. 2022-05-12 08:35:22.369204 [DEBUG] switch_core_state_machine.c:850 (sofia/default/101@134271.yoursipcloud.com:5060) State HANGUP
  940. 2022-05-12 08:35:22.369204 [DEBUG] mod_sofia.c:447 sofia/default/101@134271.yoursipcloud.com:5060 Overriding SIP cause 480 with 404 from the other leg
  941. 2022-05-12 08:35:22.369204 [DEBUG] mod_sofia.c:453 Channel sofia/default/101@134271.yoursipcloud.com:5060 hanging up, cause: NORMAL_CLEARING
  942. 2022-05-12 08:35:22.369204 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 404
  943. 2022-05-12 08:35:22.369204 [DEBUG] switch_core_state_machine.c:60 sofia/default/101@134271.yoursipcloud.com:5060 Standard HANGUP, cause: NORMAL_CLEARING
  944. 2022-05-12 08:35:22.369204 [DEBUG] switch_core_state_machine.c:850 (sofia/default/101@134271.yoursipcloud.com:5060) State HANGUP going to sleep
  945. 2022-05-12 08:35:22.369204 [DEBUG] switch_core_state_machine.c:620 (sofia/default/101@134271.yoursipcloud.com:5060) State Change CS_HANGUP -> CS_REPORTING
  946. 2022-05-12 08:35:22.369204 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@134271.yoursipcloud.com:5060) Running State Change CS_REPORTING (Cur 2 Tot 8026)
  947. 2022-05-12 08:35:22.369204 [DEBUG] switch_core_state_machine.c:936 (sofia/default/101@134271.yoursipcloud.com:5060) State REPORTING
  948. 2022-05-12 08:35:22.369204 [INFO] mod_json_cdr.c:271 Process [fd1e1bb0-207f-4ae7-81b2-2682f1f9b91e.cdr.json]
  949. 2022-05-12 08:35:22.369204 [DEBUG] switch_core_state_machine.c:174 sofia/default/101@185.249.40.236 Standard REPORTING, cause: NORMAL_CLEARING
  950. 2022-05-12 08:35:22.369204 [DEBUG] switch_core_state_machine.c:936 (sofia/default/101@185.249.40.236) State REPORTING going to sleep
  951. 2022-05-12 08:35:22.369204 [DEBUG] switch_core_state_machine.c:611 (sofia/default/101@185.249.40.236) State Change CS_REPORTING -> CS_DESTROY
  952. 2022-05-12 08:35:22.369204 [DEBUG] switch_core_session.c:1726 Session 8023 (sofia/default/101@185.249.40.236) Locked, Waiting on external entities
  953. 2022-05-12 08:35:22.369204 [NOTICE] switch_core_session.c:1744 Session 8023 (sofia/default/101@185.249.40.236) Ended
  954. 2022-05-12 08:35:22.369204 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/101@185.249.40.236 [CS_DESTROY]
  955. 2022-05-12 08:35:22.369204 [DEBUG] switch_core_state_machine.c:739 (sofia/default/101@185.249.40.236) Running State Change CS_DESTROY (Cur 1 Tot 8026)
  956. 2022-05-12 08:35:22.369204 [DEBUG] switch_core_state_machine.c:749 (sofia/default/101@185.249.40.236) State DESTROY
  957. 2022-05-12 08:35:22.369204 [DEBUG] mod_sofia.c:364 sofia/default/101@185.249.40.236 SOFIA DESTROY
  958. 2022-05-12 08:35:22.369204 [DEBUG] switch_core_state_machine.c:181 sofia/default/101@185.249.40.236 Standard DESTROY
  959. 2022-05-12 08:35:22.369204 [DEBUG] switch_core_state_machine.c:749 (sofia/default/101@185.249.40.236) State DESTROY going to sleep
  960. 2022-05-12 08:35:22.389190 [DEBUG] switch_core_state_machine.c:174 sofia/default/101@134271.yoursipcloud.com:5060 Standard REPORTING, cause: NORMAL_CLEARING
  961. 2022-05-12 08:35:22.389190 [DEBUG] switch_core_state_machine.c:936 (sofia/default/101@134271.yoursipcloud.com:5060) State REPORTING going to sleep
  962. 2022-05-12 08:35:22.389190 [DEBUG] switch_core_state_machine.c:611 (sofia/default/101@134271.yoursipcloud.com:5060) State Change CS_REPORTING -> CS_DESTROY
  963. 2022-05-12 08:35:22.389190 [DEBUG] switch_core_session.c:1726 Session 8021 (sofia/default/101@134271.yoursipcloud.com:5060) Locked, Waiting on external entities
  964. 2022-05-12 08:35:22.389190 [NOTICE] switch_core_session.c:1744 Session 8021 (sofia/default/101@134271.yoursipcloud.com:5060) Ended
  965. 2022-05-12 08:35:22.389190 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/101@134271.yoursipcloud.com:5060 [CS_DESTROY]
  966. 2022-05-12 08:35:22.389190 [DEBUG] switch_core_state_machine.c:739 (sofia/default/101@134271.yoursipcloud.com:5060) Running State Change CS_DESTROY (Cur 0 Tot 8026)
  967. 2022-05-12 08:35:22.389190 [DEBUG] switch_core_state_machine.c:749 (sofia/default/101@134271.yoursipcloud.com:5060) State DESTROY
  968. 2022-05-12 08:35:22.389190 [DEBUG] mod_sofia.c:364 sofia/default/101@134271.yoursipcloud.com:5060 SOFIA DESTROY
  969. 2022-05-12 08:35:22.389190 [DEBUG] switch_core_state_machine.c:181 sofia/default/101@134271.yoursipcloud.com:5060 Standard DESTROY
  970. 2022-05-12 08:35:22.389190 [DEBUG] switch_core_state_machine.c:749 (sofia/default/101@134271.yoursipcloud.com:5060) State DESTROY going to sleep
  971.