From Funky Sloth, 2 Weeks ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2024-04-17 11:43:55.157516 98.17% [NOTICE] switch_channel.c:1142 New Channel sofia/default/sky111v6@tdsl.skytel.rs:5060 [acdfd096-18d7-4824-b296-33bc352c9f1b]
  2. 2024-04-17 11:43:55.157516 98.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/sky111v6@tdsl.skytel.rs:5060) Running State Change CS_NEW (Cur 15 Tot 245042)
  3. 2024-04-17 11:43:55.157516 98.17% [INFO] sofia.c:10459 sofia/default/sky111v6@tdsl.skytel.rs:5060 receiving invite from 89.216.18.197:5060 version: 1.10.10-release  64bit call-id: 8_4141144545@10.55.55.15
  4. 2024-04-17 11:43:55.157516 98.17% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 89.216.18.197:0.
  5. 2024-04-17 11:43:55.157516 98.17% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [00381653552255@tdsl.skytel.rs] from ip 89.216.18.197
  6. 2024-04-17 11:43:55.157516 98.17% [DEBUG] switch_core_state_machine.c:600 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State NEW
  7. 2024-04-17 11:43:55.157516 98.17% [DEBUG] sofia.c:2419 detaching session acdfd096-18d7-4824-b296-33bc352c9f1b
  8. 2024-04-17 11:43:55.197516 98.17% [DEBUG] sofia.c:2532 Re-attaching to session acdfd096-18d7-4824-b296-33bc352c9f1b
  9. 2024-04-17 11:43:55.197516 98.17% [INFO] sofia.c:10459 sofia/default/sky111v6@tdsl.skytel.rs:5060 receiving invite from 89.216.18.197:5060 version: 1.10.10-release  64bit call-id: 8_4141144545@10.55.55.15
  10. 2024-04-17 11:43:55.197516 98.17% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 89.216.18.197:0.
  11. 2024-04-17 11:43:55.217507 98.17% [DEBUG] sofia.c:11674 Setting NAT mode based on via received
  12. 2024-04-17 11:43:55.217507 98.17% [DEBUG] sofia.c:7493 Channel sofia/default/sky111v6@tdsl.skytel.rs:5060 entering state [received][100]
  13. 2024-04-17 11:43:55.217507 98.17% [DEBUG] sofia.c:7503 Remote SDP:
  14. v=0
  15. o=- 20133 20133 IN IP4 192.168.0.26
  16. s=SDP data
  17. c=IN IP4 192.168.0.26
  18. t=0 0
  19. m=audio 12038 RTP/AVP 9 0 8 18 101
  20. a=rtpmap:9 G722/8000
  21. a=rtpmap:0 PCMU/8000
  22. a=rtpmap:8 PCMA/8000
  23. a=rtpmap:18 G729/8000
  24. a=fmtp:18 annexb=no
  25. a=rtpmap:101 telephone-event/8000
  26. a=fmtp:101 0-15
  27. a=ptime:20
  28.  
  29. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  30. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  31. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  34. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  35. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  36. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  37. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  38. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  39. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  40. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/sky111v6@tdsl.skytel.rs:5060 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  41. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_codec.c:111 sofia/default/sky111v6@tdsl.skytel.rs:5060 Original read codec set to PCMU:0
  42. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  43. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_media.c:5856 sofia/default/sky111v6@tdsl.skytel.rs:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  44. 2024-04-17 11:43:55.217507 98.17% [DEBUG] sofia.c:7927 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State Change CS_NEW -> CS_INIT
  45. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/sky111v6@tdsl.skytel.rs:5060) Running State Change CS_INIT (Cur 15 Tot 245042)
  46. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State INIT
  47. 2024-04-17 11:43:55.217507 98.17% [DEBUG] mod_sofia.c:97 sofia/default/sky111v6@tdsl.skytel.rs:5060 SOFIA INIT
  48. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_state_machine.c:40 sofia/default/sky111v6@tdsl.skytel.rs:5060 Standard INIT
  49. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_state_machine.c:48 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State Change CS_INIT -> CS_ROUTING
  50. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State INIT going to sleep
  51. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/sky111v6@tdsl.skytel.rs:5060) Running State Change CS_ROUTING (Cur 15 Tot 245042)
  52. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_channel.c:2399 (sofia/default/sky111v6@tdsl.skytel.rs:5060) Callstate Change DOWN -> RINGING
  53. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State ROUTING
  54. 2024-04-17 11:43:55.217507 98.17% [DEBUG] mod_sofia.c:158 sofia/default/sky111v6@tdsl.skytel.rs:5060 SOFIA ROUTING
  55. 2024-04-17 11:43:55.217507 98.17% [DEBUG] switch_core_state_machine.c:230 sofia/default/sky111v6@tdsl.skytel.rs:5060 Standard ROUTING
  56. 2024-04-17 11:43:55.217507 98.17% [INFO] mod_dialplan_xml.c:639 Processing AST v6 <sky111v6>->00381653552255 in context default
  57. 2024-04-17 11:43:55.217507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  58. 2024-04-17 11:43:55.237511 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  59. 2024-04-17 11:43:55.237511 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                                                                                                
  60. 2024-04-17 11:43:55.237511 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2024-04-17 11:43:55.237511 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 00381653552255
  62. 2024-04-17 11:43:55.237511 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '00381653552255' AND status=0 limit 1
  63. 2024-04-17 11:43:55.237511 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsky111v6
  64. 2024-04-17 11:43:55.237511 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  65. 2024-04-17 11:43:55.237511 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '00381653552255' limit 1
  66. 2024-04-17 11:43:55.237511 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : AST v6 / sky111v6
  67. 2024-04-17 11:43:55.237511 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="00381653552255" LIMIT 1                                  
  68. 2024-04-17 11:43:55.237511 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  69. 2024-04-17 11:43:55.237511 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="00381653552255" limit 1                                                                                                                                                                
  70. 2024-04-17 11:43:55.237511 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  71. 2024-04-17 11:43:55.237511 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3333456913]
  72. 2024-04-17 11:43:55.237511 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3333456913" OR id = "3333456913") AND deleted = 0 limit 1
  73. 2024-04-17 11:43:55.237511 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^00381653552255.*' OR blocked_patterns = '^0038165355225.*' OR blocked_patterns = '^003816535522.*' OR blocked_patterns = '^00381653552.*' OR blocked_patterns = '^0038165355.*' OR blocked_patterns = '^003816535.*' OR blocked_patterns = '^00381653.*' OR blocked_patterns = '^0038165.*' OR blocked_patterns = '^003816.*' OR blocked_patterns = '^00381.*' OR blocked_patterns = '^0038.*' OR blocked_patterns = '^003.*' OR blocked_patterns = '^00.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 16 limit 1                                                                                                                                                                
  74. 2024-04-17 11:43:55.237511 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="00381653552255" AND (accountid = 0 OR status = 1) LIMIT 1
  75. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
  76. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1                                                                                                                                                                                            
  77. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*/*/*,+/*/*/*,0/381/*/*".....00381653552255
  78. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 00381653552255
  79. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 381653552255
  80. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*/*/*,+/*/*/*,0/381/*/*".....381653552255
  81. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*/*/*,+/*/*/*,0/381/*/*".....381653552255
  82. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"387/38733922284/*/*,386/38618284888/*/*,385/38518880792/*/*,382/+38220690268/*/*,381/381114419555/*/*,3816/381114419888/*/*".....sky111v6DBCLI00381653552255                                                                                                                                                                        
  83. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : sky111v6DBCLI00381653552255
  84. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : sky111v6DBCLI00381653552255
  85. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"387/38733922284/*/*,386/38618284888/*/*,385/38518880792/*/*,382/+38220690268/*/*,381/381114419555/*/*,3816/381114419888/*/*".....sky111v6DBCLI00381653552255                                                                                                                                                                        
  86. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : sky111v6DBCLI00381653552255
  87. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : sky111v6DBCLI00381653552255
  88. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"387/38733922284/*/*,386/38618284888/*/*,385/38518880792/*/*,382/+38220690268/*/*,381/381114419555/*/*,3816/381114419888/*/*".....sky111v6DBCLI00381653552255                                                                                                                                                                        
  89. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : sky111v6DBCLI00381653552255
  90. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : sky111v6DBCLI00381653552255
  91. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"387/38733922284/*/*,386/38618284888/*/*,385/38518880792/*/*,382/+38220690268/*/*,381/381114419555/*/*,3816/381114419888/*/*".....sky111v6DBCLI00381653552255                                                                                                                                                                        
  92. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : sky111v6DBCLI00381653552255
  93. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : sky111v6DBCLI00381653552255
  94. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"387/38733922284/*/*,386/38618284888/*/*,385/38518880792/*/*,382/+38220690268/*/*,381/381114419555/*/*,3816/381114419888/*/*".....sky111v6DBCLI00381653552255                                                                                                                                                                        
  95. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : sky111v6DBCLI00381653552255
  96. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : sky111v6DBCLI00381653552255
  97. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"387/38733922284/*/*,386/38618284888/*/*,385/38518880792/*/*,382/+38220690268/*/*,381/381114419555/*/*,3816/381114419888/*/*".....sky111v6DBCLI00381653552255                                                                                                                                                                        
  98. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : sky111v6DBCLI00381653552255
  99. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : sky111v6
  100. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^381653552255.*' OR patterns = '^38165355225.*' OR patterns = '^3816535522.*' OR patterns = '^381653552.*' OR patterns = '^38165355.*' OR patterns = '^3816535.*' OR patterns = '^381653.*' OR patterns = '^38165.*' OR patterns = '^3816.*' OR patterns = '^381.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 16 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                              
  101. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="381653552255" AND A.accountid = '16' limit 1                                                                                                                                                                
  102. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 381653552255
  103. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="381653552255" LIMIT 1                                    
  104. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  105. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="381653552255" limit 1                                                                                                                                                                  
  106. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  107. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '381653552255' OR number = '38165355225' OR number = '3816535522' OR number = '381653552' OR number = '38165355' OR number = '3816535' OR number = '381653' OR number = '38165' OR number = '3816' OR number = '381' OR number = '38' OR number = '3' OR number ='--') OR (number = '381653552255*' OR number = '38165355225*' OR number = '3816535522*' OR number = '381653552*' OR number = '38165355*' OR number = '3816535*' OR number = '381653*' OR number = '38165*' OR number = '3816*' OR number = '381*' OR number = '38*' OR number = '3*' OR number ='--') OR (number = 'sky111v6' OR number = 'sky111v' OR number = 'sky111' OR number = 'sky11' OR number = 'sky1' OR number = 'sky' OR number = 'sk' OR number = 's' OR number ='--') OR (number = 'sky111v6*' OR number = 'sky111v*' OR number = 'sky111*' OR number = 'sky11*' OR number = 'sky1*' OR number = 'sky*' OR number = 'sk*' OR number = 's*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                  
  108. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  109. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '381653552255' OR routing_prefix = '38165355225' OR routing_prefix = '3816535522' OR routing_prefix = '381653552' OR routing_prefix = '38165355' OR routing_prefix = '3816535' OR routing_prefix = '381653' OR routing_prefix = '38165' OR routing_prefix = '3816' OR routing_prefix = '381' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                          
  110. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  111. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 16
  112. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3333456913
  113. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 989.505
  114. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  115. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  116. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  117. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  118. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"*/*/*/*".....AST v6
  119. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : AST v6
  120. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : ST v6
  121. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"*/*/*/*".....sky111v6
  122. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : sky111v6
  123. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : ky111v6
  124. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"*/*/*/*".....AST v6
  125. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : AST v6
  126. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : ST v6
  127. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"*/*/*/*".....sky111v6
  128. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : sky111v6
  129. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : ky111v6
  130. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  131. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  132. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  133. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^381653552255.*' OR pattern = '^38165355225.*' OR pattern = '^3816535522.*' OR pattern = '^381653552.*' OR pattern = '^38165355.*' OR pattern = '^3816535.*' OR pattern = '^381653.*' OR pattern = '^38165.*' OR pattern = '^3816.*' OR pattern = '^381.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND (caller_id_pattern = '^ky111v6.*' OR caller_id_pattern = '^ky111v.*' OR caller_id_pattern = '^ky111.*' OR caller_id_pattern = '^ky11.*' OR caller_id_pattern = '^ky1.*' OR caller_id_pattern = '^ky.*' OR caller_id_pattern = '^k.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 2 OR accountid=16)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1                                                                                                                                                    
  134. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  135. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  136. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 678
  137. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  138. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  139. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.1200000000
  140. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Srbija-Mobilni
  141. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 164
  142. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 16
  143. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  144. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  145. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  146. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your989.505 balance Accountid 16 !!!
  147. 2024-04-17 11:43:55.257507 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  148. 2024-04-17 11:43:55.257507 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  149. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  150. 2024-04-17 11:43:55.257507 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=2 ORDER by id asc
  151. 2024-04-17 11:43:55.277510 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^381653552255.*' OR pattern = '^38165355225.*' OR pattern = '^3816535522.*' OR pattern = '^381653552.*' OR pattern = '^38165355.*' OR pattern = '^3816535.*' OR pattern = '^381653.*' OR pattern = '^38165.*' OR pattern = '^3816.*' OR pattern = '^381.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4,6,7,8,9,10,11,12,15,16,17,19,21,22) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC                    
  152. 2024-04-17 11:43:55.277510 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  153. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  154. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 15926
  155. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3816.*
  156. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Serbia-Mobilni
  157. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  158. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  159. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3816.*
  160. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  161. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  162. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
  163. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Asterisk
  164. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  165. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  166. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 8
  167. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  168. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  169. 2024-04-17 11:43:55.277510 98.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DIDWW_INT: 0.3158000000 > 0.1200000000, skipping for loss less routing
  170. 2024-04-17 11:43:55.277510 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 16 AND status=0 LIMIT 1                                                                                                                                                                                        
  171. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  172. 2024-04-17 11:43:55.277510 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'sky111v6' and status = 0 limit 1
  173. 2024-04-17 11:43:55.277510 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  174. 2024-04-17 11:43:55.277510 98.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  175. 2024-04-17 11:43:55.277510 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  176. 2024-04-17 11:43:55.277510 98.17% [DEBUG] switch_cpp.cpp:1465 [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 = 8) AND status=0 limit 1                                                                                                                                                                  
  177. 2024-04-17 11:43:55.277510 98.17% [DEBUG] switch_cpp.cpp:1465 [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                                                                                                                                                                    
  178. 2024-04-17 11:43:55.277510 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="00381653552255" LIMIT 1                                  
  179. 2024-04-17 11:43:55.277510 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  180. 2024-04-17 11:43:55.277510 98.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  181. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  182. <document type="freeswitch/xml">                                                                                                                                                                                  
  183. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  184. <context name="default">                                                                                                                                                                                          
  185. <extension name="381653552255">                                                                                                                                                                                    
  186. <condition field="destination_number" expression="00381653552255">                                                                                                                                                
  187. <action application="set" data="effective_destination_number=381653552255"/>                                                                                                                                      
  188. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  189. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                                                              
  190. <action application="set" data="type=0"/>                                                                                                                                                                          
  191. <action application="set" data="callstart=2024-04-17 09:43:55"/>                                                                                                                                                  
  192. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  193. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  194. <action application="set" data="account_id=16"/>                                                                                                                                                                  
  195. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  196. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  197. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  198. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  199. <action application="set" data="accountname=default"/>                                                                                                                                                            
  200. <action application="export" data="t38_passthru=true"/>                                                                                                                                                            
  201. <action application="set" data="fax_enable_t38=true"/>                                                                                                                                                            
  202. <action application="set" data="fax_enable_t38_request=true"/>                                                                                                                                                    
  203. <action application="set" data="origination_rates=ID:678|CODE:^38165.*|DESTINATION:Srbija-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1200000000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:164|ACCID:16"/>                                                                                                                                                                                                  
  204. <action application="set" data="original_caller_id_name=SkyTel"/>                                                                                                                                                  
  205. <action application="set" data="original_caller_id_number=sky111v6"/>                                                                                                                                              
  206.  
  207. <action application="export" data="is_recording=1"/>                                                                                                                                                              
  208. <action application="export" data="media_bug_answer_req=true"/>                                                                                                                                                    
  209. <action application="export" data="record_sample_rate=8000"/>                                                                                                                                                      
  210. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>                                                                                                              
  211. <action application="set" data="effective_caller_id_name=SkyTel"/>                                                                                                                                                
  212. <action application="set" data="effective_caller_id_number=sky111v6"/>                                                                                                                                            
  213. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  214. <action application="set" data="termination_rates=ID:15926|CODE:^3816.*|DESTINATION:Serbia-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0191000000|INC:1|INITIALBLOCK:60|TRUNK:4|PROVIDER:8"/>    
  215. <action application="set" data="trunk_id=4"/>                                                                                                                                                                      
  216. <action application="set" data="provider_id=8"/>                                                                                                                                                                  
  217. <action application="set" data="rate_flag=0"/>                                                                                                                                                                    
  218. <action application="set" data="daily_call_credit_limit=0.00000"/>                                                                                                                                                
  219. <action application="set" data="monthly_call_credit_limit=0.00000"/>                                                                                                                                              
  220. <action application="set" data="daily_call_used_limit=0.00000"/>                                                                                                                                                  
  221. <action application="set" data="monthly_call_used_limit=0.00000"/>                                                                                                                                                
  222. <action application="set" data="quality_trunk_seq=4"/>                                                                                                                                                            
  223. <action application="set" data="force_trunk_flag=0"/>                                                                                                                                                              
  224. <action application="export" data="presence_data=trunk_id=4"/>                                                                                                                                                    
  225. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  226. <action application="export" data="presence_id=381653552255"/>                                                                                                                                                    
  227. <action application="export" data="presence_data=x|||SkyTel(3333456913)|||^38165.* // Srbija-Mobilni // 0.1200000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||89.216.18.197"/>                                                                                                                                                                                                                
  228. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/Asterisk/381653552255"/>                                                                    
  229. </condition>                                                                                                                                                                                                      
  230. </extension>                                                                                                                                                                                                      
  231. </context>                                                                                                                                                                                                        
  232. </section>                                                                                                                                                                                                        
  233. </document>                                                                                                                                                                                                        
  234. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 parsing [default->381653552255] continue=false
  235. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Regex (PASS) [381653552255] destination_number(00381653552255) =~ /00381653552255/ break=on-false
  236. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(effective_destination_number=381653552255)
  237. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  238. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  239. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(type=0)
  240. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(callstart=2024-04-17 09:43:55)
  241. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(hangup_after_bridge=true)
  242. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(continue_on_fail=TRUE)
  243. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(account_id=16)
  244. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(parent_id=0)
  245. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(entity_id=0)
  246. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(call_processed=internal)
  247. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(call_direction=outbound)
  248. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(accountname=default)
  249. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action export(t38_passthru=true)
  250. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(fax_enable_t38=true)
  251. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(fax_enable_t38_request=true)
  252. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(origination_rates=ID:678|CODE:^38165.*|DESTINATION:Srbija-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1200000000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:164|ACCID:16)                                                                                                                                                                    
  253. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(original_caller_id_name=SkyTel)
  254. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(original_caller_id_number=sky111v6)
  255. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action export(is_recording=1)
  256. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action export(media_bug_answer_req=true)
  257. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action export(record_sample_rate=8000)
  258. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  259. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(effective_caller_id_name=SkyTel)
  260. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(effective_caller_id_number=sky111v6)
  261. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(calltype=STANDARD)
  262. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(termination_rates=ID:15926|CODE:^3816.*|DESTINATION:Serbia-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0191000000|INC:1|INITIALBLOCK:60|TRUNK:4|PROVIDER:8)                                                                                                                                                                                          
  263. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(trunk_id=4)
  264. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(provider_id=8)
  265. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(rate_flag=0)
  266. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(daily_call_credit_limit=0.00000)
  267. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(monthly_call_credit_limit=0.00000)
  268. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(daily_call_used_limit=0.00000)
  269. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(monthly_call_used_limit=0.00000)
  270. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(quality_trunk_seq=4)
  271. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(force_trunk_flag=0)
  272. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action export(presence_data=trunk_id=4)
  273. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action set(intcall=0)
  274. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action export(presence_id=381653552255)
  275. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action export(presence_data=x|||SkyTel(3333456913)|||^38165.* // Srbija-Mobilni // 0.1200000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||89.216.18.197)                                                                                                                                                                                  
  276. Dialplan: sofia/default/sky111v6@tdsl.skytel.rs:5060 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/Asterisk/381653552255)
  277. 2024-04-17 11:43:55.277510 98.17% [DEBUG] switch_core_state_machine.c:281 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State Change CS_ROUTING -> CS_EXECUTE
  278. 2024-04-17 11:43:55.277510 98.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State ROUTING going to sleep
  279. 2024-04-17 11:43:55.277510 98.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/sky111v6@tdsl.skytel.rs:5060) Running State Change CS_EXECUTE (Cur 15 Tot 245042)
  280. 2024-04-17 11:43:55.277510 98.17% [DEBUG] switch_core_state_machine.c:647 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State EXECUTE
  281. 2024-04-17 11:43:55.277510 98.17% [DEBUG] mod_sofia.c:213 sofia/default/sky111v6@tdsl.skytel.rs:5060 SOFIA EXECUTE
  282. 2024-04-17 11:43:55.277510 98.17% [DEBUG] switch_core_state_machine.c:323 sofia/default/sky111v6@tdsl.skytel.rs:5060 Standard EXECUTE
  283. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(effective_destination_number=381653552255)
  284. 2024-04-17 11:43:55.277510 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [effective_destination_number]=[381653552255]
  285. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  286. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  287. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  288. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  289. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(type=0)
  290. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [type]=[0]
  291. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(callstart=2024-04-17 09:43:55)
  292. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [callstart]=[2024-04-17 09:43:55]
  293. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(hangup_after_bridge=true)
  294. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [hangup_after_bridge]=[true]
  295. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(continue_on_fail=TRUE)
  296. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [continue_on_fail]=[TRUE]
  297. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(account_id=16)
  298. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [account_id]=[16]
  299. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(parent_id=0)
  300. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [parent_id]=[0]
  301. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(entity_id=0)
  302. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [entity_id]=[0]
  303. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(call_processed=internal)
  304. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [call_processed]=[internal]
  305. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(call_direction=outbound)
  306. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [call_direction]=[outbound]
  307. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(accountname=default)
  308. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [accountname]=[default]
  309. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 export(t38_passthru=true)
  310. 2024-04-17 11:43:55.297512 98.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [t38_passthru]=[true]
  311. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(fax_enable_t38=true)
  312. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [fax_enable_t38]=[true]
  313. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(fax_enable_t38_request=true)
  314. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [fax_enable_t38_request]=[true]
  315. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(origination_rates=ID:678|CODE:^38165.*|DESTINATION:Srbija-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1200000000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:164|ACCID:16)                                                                                                                                                                  
  316. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [origination_rates]=[ID:678|CODE:^38165.*|DESTINATION:Srbija-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1200000000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:164|ACCID:16]                                                                                                                    
  317. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(original_caller_id_name=SkyTel)
  318. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [original_caller_id_name]=[SkyTel]
  319. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(original_caller_id_number=sky111v6)
  320. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [original_caller_id_number]=[sky111v6]
  321. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 export(is_recording=1)
  322. 2024-04-17 11:43:55.297512 98.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [is_recording]=[1]
  323. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 export(media_bug_answer_req=true)
  324. 2024-04-17 11:43:55.297512 98.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [media_bug_answer_req]=[true]
  325. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 export(record_sample_rate=8000)
  326. 2024-04-17 11:43:55.297512 98.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [record_sample_rate]=[8000]
  327. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/acdfd096-18d7-4824-b296-33bc352c9f1b.wav)
  328. 2024-04-17 11:43:55.297512 98.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/acdfd096-18d7-4824-b296-33bc352c9f1b.wav]
  329. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(effective_caller_id_name=SkyTel)
  330. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [effective_caller_id_name]=[SkyTel]
  331. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(effective_caller_id_number=sky111v6)
  332. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [effective_caller_id_number]=[sky111v6]
  333. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(calltype=STANDARD)
  334. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [calltype]=[STANDARD]
  335. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(termination_rates=ID:15926|CODE:^3816.*|DESTINATION:Serbia-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0191000000|INC:1|INITIALBLOCK:60|TRUNK:4|PROVIDER:8)                                                                                                                                                                                        
  336. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [termination_rates]=[ID:15926|CODE:^3816.*|DESTINATION:Serbia-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0191000000|INC:1|INITIALBLOCK:60|TRUNK:4|PROVIDER:8]                                                                                                                                          
  337. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(trunk_id=4)
  338. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [trunk_id]=[4]
  339. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(provider_id=8)
  340. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [provider_id]=[8]
  341. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(rate_flag=0)
  342. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [rate_flag]=[0]
  343. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(daily_call_credit_limit=0.00000)
  344. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [daily_call_credit_limit]=[0.00000]
  345. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(monthly_call_credit_limit=0.00000)
  346. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [monthly_call_credit_limit]=[0.00000]
  347. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(daily_call_used_limit=0.00000)
  348. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [daily_call_used_limit]=[0.00000]
  349. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(monthly_call_used_limit=0.00000)
  350. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [monthly_call_used_limit]=[0.00000]
  351. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(quality_trunk_seq=4)
  352. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [quality_trunk_seq]=[4]
  353. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(force_trunk_flag=0)
  354. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [force_trunk_flag]=[0]
  355. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 export(presence_data=trunk_id=4)
  356. 2024-04-17 11:43:55.297512 98.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=4]
  357. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 set(intcall=0)
  358. 2024-04-17 11:43:55.297512 98.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/sky111v6@tdsl.skytel.rs:5060 [intcall]=[0]
  359. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 export(presence_id=381653552255)
  360. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[381653552255]
  361. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 export(presence_data=x|||SkyTel(3333456913)|||^38165.* // Srbija-Mobilni // 0.1200000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||89.216.18.197)                                                                                                                                                                                
  362. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||SkyTel(3333456913)|||^38165.* // Srbija-Mobilni // 0.1200000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||89.216.18.197]                                                                                                                                                            
  363. EXECUTE [depth=0] sofia/default/sky111v6@tdsl.skytel.rs:5060 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/Asterisk/381653552255)
  364. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_channel.c:1288 sofia/default/sky111v6@tdsl.skytel.rs:5060 EXPORTING[export_vars] [t38_passthru]=[true] to event
  365. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_channel.c:1288 sofia/default/sky111v6@tdsl.skytel.rs:5060 EXPORTING[export_vars] [is_recording]=[1] to event
  366. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_channel.c:1288 sofia/default/sky111v6@tdsl.skytel.rs:5060 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  367. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_channel.c:1288 sofia/default/sky111v6@tdsl.skytel.rs:5060 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  368. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_channel.c:1288 sofia/default/sky111v6@tdsl.skytel.rs:5060 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/acdfd096-18d7-4824-b296-33bc352c9f1b.wav] to event                                                                                                                                                                            
  369. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_channel.c:1288 sofia/default/sky111v6@tdsl.skytel.rs:5060 EXPORTING[export_vars] [presence_data]=[x|||SkyTel(3333456913)|||^38165.* // Srbija-Mobilni // 0.1200000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||89.216.18.197] to event                                                                                                      
  370. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_channel.c:1288 sofia/default/sky111v6@tdsl.skytel.rs:5060 EXPORTING[export_vars] [presence_id]=[381653552255] to event
  371. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_channel.c:1288 sofia/default/sky111v6@tdsl.skytel.rs:5060 EXPORTING[export_vars] [presence_data]=[x|||SkyTel(3333456913)|||^38165.* // Srbija-Mobilni // 0.1200000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||89.216.18.197] to event                                                                                                      
  372. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  373. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  374. 2024-04-17 11:43:55.317527 98.10% [NOTICE] switch_channel.c:1142 New Channel sofia/default/381653552255 [86d3246f-7b38-4208-b1b9-16a18085330c]
  375. 2024-04-17 11:43:55.317527 98.10% [DEBUG] mod_sofia.c:5110 (sofia/default/381653552255) State Change CS_NEW -> CS_INIT
  376. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_ivr_originate.c:3167 sofia/default/381653552255 Setting leg timeout to 30
  377. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381653552255) Running State Change CS_INIT (Cur 16 Tot 245043)
  378. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/381653552255) State INIT
  379. 2024-04-17 11:43:55.317527 98.10% [DEBUG] mod_sofia.c:97 sofia/default/381653552255 SOFIA INIT
  380. 2024-04-17 11:43:55.317527 98.10% [INFO] sofia_glue.c:1659 sofia/default/381653552255 sending invite call-id: (null)
  381. 2024-04-17 11:43:55.317527 98.10% [DEBUG] sofia_glue.c:1662 sofia/default/381653552255 sending invite version: 1.10.10-release  64bit
  382. Local SDP:                                                                                                                                                                                                        
  383. v=0                                                                                                                                                                                                                
  384. o=FreeSWITCH 1713317145 1713317146 IN IP4 82.214.92.4                                                                                                                                                              
  385. s=FreeSWITCH                                                                                                                                                                                                      
  386. c=IN IP4 82.214.92.4                                                                                                                                                                                              
  387. t=0 0                                                                                                                                                                                                              
  388. m=audio 29890 RTP/AVP 8 0 101                                                                                                                                                                                      
  389. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  390. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  391. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  392. a=fmtp:101 0-15                                                                                                                                                                                                    
  393. a=ptime:20                                                                                                                                                                                                        
  394. a=sendrecv                                                                                                                                                                                                        
  395.  
  396. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/381653552255 Standard INIT
  397. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/381653552255) State Change CS_INIT -> CS_ROUTING
  398. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/381653552255) State INIT going to sleep
  399. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381653552255) Running State Change CS_ROUTING (Cur 16 Tot 245043)
  400. 2024-04-17 11:43:55.317527 98.10% [DEBUG] sofia.c:7493 Channel sofia/default/381653552255 entering state [calling][0]
  401. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/381653552255) State ROUTING
  402. 2024-04-17 11:43:55.317527 98.10% [DEBUG] mod_sofia.c:158 sofia/default/381653552255 SOFIA ROUTING
  403. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_ivr_originate.c:67 (sofia/default/381653552255) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  404. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/381653552255) State ROUTING going to sleep
  405. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381653552255) Running State Change CS_CONSUME_MEDIA (Cur 16 Tot 245043)
  406. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/381653552255) State CONSUME_MEDIA
  407. 2024-04-17 11:43:55.317527 98.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/381653552255) State CONSUME_MEDIA going to sleep
  408. 2024-04-17 11:43:56.937527 98.07% [DEBUG] sofia.c:7493 Channel sofia/default/381653552255 entering state [proceeding][183]
  409. 2024-04-17 11:43:56.937527 98.07% [DEBUG] sofia.c:7503 Remote SDP:
  410. v=0                                                                                                                                                                                                                
  411. o=- 1713317145 1713317148 IN IP4 82.214.92.11                                                                                                                                                                      
  412. s=Asterisk                                                                                                                                                                                                        
  413. c=IN IP4 82.214.92.11                                                                                                                                                                                              
  414. t=0 0                                                                                                                                                                                                              
  415. m=audio 15328 RTP/AVP 8 0 101                                                                                                                                                                                      
  416. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  417. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  418. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  419. a=fmtp:101 0-16                                                                                                                                                                                                    
  420. a=ptime:20                                                                                                                                                                                                        
  421. a=maxptime:140                                                                                                                                                                                                    
  422.  
  423. 2024-04-17 11:43:56.937527 98.07% [NOTICE] sofia.c:7506 Pre-Answer sofia/default/381653552255!
  424. 2024-04-17 11:43:56.937527 98.07% [DEBUG] switch_channel.c:3585 (sofia/default/381653552255) Callstate Change DOWN -> EARLY
  425. 2024-04-17 11:43:56.937527 98.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  426. 2024-04-17 11:43:56.937527 98.07% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  427. 2024-04-17 11:43:56.937527 98.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  428. 2024-04-17 11:43:56.937527 98.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  429. 2024-04-17 11:43:56.937527 98.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  430. 2024-04-17 11:43:56.937527 98.07% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  431. 2024-04-17 11:43:56.937527 98.07% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  432. 2024-04-17 11:43:56.937527 98.07% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/381653552255 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  433. 2024-04-17 11:43:56.937527 98.07% [DEBUG] switch_core_codec.c:111 sofia/default/381653552255 Original read codec set to PCMA:8
  434. 2024-04-17 11:43:56.937527 98.07% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  435. 2024-04-17 11:43:56.937527 98.07% [DEBUG] switch_core_media.c:5856 sofia/default/381653552255 Set 2833 dtmf send payload to 101 recv payload to 101
  436. 2024-04-17 11:43:56.937527 98.07% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/381653552255] 10.44.44.50 port 29890 -> 82.214.92.11 port 15328 codec: 8 ms: 20
  437. 2024-04-17 11:43:56.937527 98.07% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  438. 2024-04-17 11:43:56.937527 98.07% [DEBUG] switch_core_media.c:8972 sofia/default/381653552255 Set 2833 dtmf send payload to 101
  439. 2024-04-17 11:43:56.937527 98.07% [DEBUG] switch_core_media.c:8979 sofia/default/381653552255 Set 2833 dtmf receive payload to 101
  440. 2024-04-17 11:43:56.937527 98.07% [DEBUG] switch_core_media.c:9002 sofia/default/381653552255 Set rtp dtmf delay to 40
  441. 2024-04-17 11:43:56.957518 98.07% [INFO] switch_ivr_originate.c:3858 Sending early media
  442. 2024-04-17 11:43:56.957518 98.07% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/sky111v6@tdsl.skytel.rs:5060] 10.44.44.50 port 31976 -> 192.168.0.26 port 12038 codec: 0 ms: 20
  443. 2024-04-17 11:43:56.957518 98.07% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  444. 2024-04-17 11:43:56.957518 98.07% [DEBUG] switch_core_media.c:8972 sofia/default/sky111v6@tdsl.skytel.rs:5060 Set 2833 dtmf send payload to 101
  445. 2024-04-17 11:43:56.957518 98.07% [DEBUG] switch_core_media.c:8979 sofia/default/sky111v6@tdsl.skytel.rs:5060 Set 2833 dtmf receive payload to 101
  446. 2024-04-17 11:43:56.957518 98.07% [DEBUG] switch_core_media.c:9002 sofia/default/sky111v6@tdsl.skytel.rs:5060 Set rtp dtmf delay to 40
  447. 2024-04-17 11:43:56.957518 98.07% [DEBUG] mod_sofia.c:2607 Ring SDP:
  448. v=0                                                                                                                                                                                                                
  449. o=FreeSWITCH 1713315060 1713315061 IN IP4 82.214.92.4                                                                                                                                                              
  450. s=FreeSWITCH                                                                                                                                                                                                      
  451. c=IN IP4 82.214.92.4                                                                                                                                                                                              
  452. t=0 0                                                                                                                                                                                                              
  453. m=audio 31976 RTP/AVP 0 101                                                                                                                                                                                        
  454. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  455. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  456. a=fmtp:101 0-15                                                                                                                                                                                                    
  457. a=ptime:20                                                                                                                                                                                                        
  458. a=sendrecv                                                                                                                                                                                                        
  459.  
  460. 2024-04-17 11:43:56.957518 98.07% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/default/sky111v6@tdsl.skytel.rs:5060!
  461. 2024-04-17 11:43:56.957518 98.07% [DEBUG] switch_channel.c:3585 (sofia/default/sky111v6@tdsl.skytel.rs:5060) Callstate Change RINGING -> EARLY
  462. 2024-04-17 11:43:56.957518 98.07% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/381653552255] Peer UUID: 86d3246f-7b38-4208-b1b9-16a18085330c
  463. 2024-04-17 11:43:56.957518 98.07% [DEBUG] sofia.c:7493 Channel sofia/default/sky111v6@tdsl.skytel.rs:5060 entering state [early][183]
  464. 2024-04-17 11:43:56.957518 98.07% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/381653552255) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  465. 2024-04-17 11:43:56.957518 98.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381653552255) Running State Change CS_EXCHANGE_MEDIA (Cur 16 Tot 245043)
  466. 2024-04-17 11:43:56.957518 98.07% [DEBUG] switch_core_state_machine.c:650 (sofia/default/381653552255) State EXCHANGE_MEDIA
  467. 2024-04-17 11:43:56.957518 98.07% [DEBUG] mod_sofia.c:672 SOFIA EXCHANGE_MEDIA
  468. 2024-04-17 11:43:57.137515 98.07% [DEBUG] switch_ivr_bridge.c:654 sofia/default/381653552255 Bridge execute app sched_hangup(+6000 normal_clearing)
  469. 2024-04-17 11:43:57.157515 98.07% [DEBUG] sofia.c:7493 Channel sofia/default/381653552255 entering state [proceeding][183]
  470. 2024-04-17 11:43:57.157515 98.07% [DEBUG] sofia.c:7500 Duplicate SDP
  471. v=0                                                                                                                                                                                                                
  472. o=- 1713317145 1713317148 IN IP4 82.214.92.11                                                                                                                                                                      
  473. s=Asterisk                                                                                                                                                                                                        
  474. c=IN IP4 82.214.92.11                                                                                                                                                                                              
  475. t=0 0                                                                                                                                                                                                              
  476. m=audio 15328 RTP/AVP 8 0 101                                                                                                                                                                                      
  477. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  478. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  479. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  480. a=fmtp:101 0-16                                                                                                                                                                                                    
  481. a=ptime:20                                                                                                                                                                                                        
  482. a=maxptime:140                                                                                                                                                                                                    
  483.  
  484. 2024-04-17 11:43:57.157515 98.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  485. 2024-04-17 11:43:57.157515 98.07% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  486. 2024-04-17 11:43:57.157515 98.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  487. 2024-04-17 11:43:57.157515 98.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  488. 2024-04-17 11:43:57.157515 98.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  489. 2024-04-17 11:43:57.157515 98.07% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  490. 2024-04-17 11:43:57.157515 98.07% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  491. 2024-04-17 11:43:57.157515 98.07% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  492. 2024-04-17 11:43:57.157515 98.07% [DEBUG] switch_core_media.c:5856 sofia/default/381653552255 Set 2833 dtmf send payload to 101 recv payload to 101
  493. 2024-04-17 11:43:57.157515 98.07% [DEBUG] switch_core_media.c:8641 Audio params are unchanged for sofia/default/381653552255.
  494. 2024-04-17 11:43:57.157515 98.07% [DEBUG] switch_ivr.c:632 sofia/default/381653552255 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  495. EXECUTE [depth=0] sofia/default/381653552255 sched_hangup(+6000 normal_clearing)
  496. 2024-04-17 11:43:57.157515 98.07% [DEBUG] switch_scheduler.c:263 Added task 109040 switch_ivr_schedule_hangup (86d3246f-7b38-4208-b1b9-16a18085330c) to run at 1713353037
  497. 2024-04-17 11:43:57.197531 98.07% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
  498. 2024-04-17 11:43:57.297524 98.07% [INFO] switch_rtp.c:7463 Auto Changing audio port from 192.168.0.26:12038 to 89.216.18.197:12038
  499. 2024-04-17 11:44:00.877513 98.10% [NOTICE] switch_channel.c:1142 New Channel sofia/default/381114419368@10.44.44.50 [7cc6c305-9c52-4965-acac-c05f082dda6c]
  500. 2024-04-17 11:44:00.877513 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381114419368@10.44.44.50) Running State Change CS_NEW (Cur 17 Tot 245044)
  501. 2024-04-17 11:44:00.877513 98.10% [INFO] sofia.c:10459 sofia/default/381114419368@10.44.44.50 receiving invite from 82.214.92.6:60676 version: 1.10.10-release  64bit call-id: Fuh5WCadI-l0BPsBVa3XCQ..
  502. 2024-04-17 11:44:00.877513 98.10% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 82.214.92.6:0.
  503. 2024-04-17 11:44:00.877513 98.10% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [381656825510@10.44.44.50] from ip 82.214.92.6
  504. 2024-04-17 11:44:00.877513 98.10% [DEBUG] switch_core_state_machine.c:600 (sofia/default/381114419368@10.44.44.50) State NEW
  505. 2024-04-17 11:44:00.877513 98.10% [DEBUG] sofia.c:2419 detaching session 7cc6c305-9c52-4965-acac-c05f082dda6c
  506. 2024-04-17 11:44:00.877513 98.10% [DEBUG] sofia.c:2532 Re-attaching to session 7cc6c305-9c52-4965-acac-c05f082dda6c
  507. 2024-04-17 11:44:00.897526 98.10% [INFO] sofia.c:10459 sofia/default/381114419368@10.44.44.50 receiving invite from 82.214.92.6:60676 version: 1.10.10-release  64bit call-id: Fuh5WCadI-l0BPsBVa3XCQ..
  508. 2024-04-17 11:44:00.897526 98.10% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 82.214.92.6:0.
  509. 2024-04-17 11:44:00.897526 98.10% [DEBUG] sofia.c:11674 Setting NAT mode based on via received
  510. 2024-04-17 11:44:00.897526 98.10% [DEBUG] sofia.c:7493 Channel sofia/default/381114419368@10.44.44.50 entering state [received][100]
  511. 2024-04-17 11:44:00.897526 98.10% [DEBUG] sofia.c:7503 Remote SDP:
  512. v=0                                                                                                                                                                                                                
  513. o=130 2409 1664 IN IP4 10.10.10.185                                                                                                                                                                                
  514. s=Talk                                                                                                                                                                                                            
  515. c=IN IP4 10.66.66.50                                                                                                                                                                                              
  516. t=0 0                                                                                                                                                                                                              
  517. a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics                                                                                                                                          
  518. m=audio 47452 RTP/AVP 96 97 98 0 8 9 101 99 100                                                                                                                                                                    
  519. a=rtpmap:96 opus/48000/2                                                                                                                                                                                          
  520. a=fmtp:96 useinbandfec=1                                                                                                                                                                                          
  521. a=rtpmap:97 speex/16000                                                                                                                                                                                            
  522. a=fmtp:97 vbr=on                                                                                                                                                                                                  
  523. a=rtpmap:98 speex/8000                                                                                                                                                                                            
  524. a=fmtp:98 vbr=on                                                                                                                                                                                                  
  525. a=rtpmap:101 telephone-event/48000                                                                                                                                                                                
  526. a=rtpmap:99 telephone-event/16000                                                                                                                                                                                  
  527. a=rtpmap:100 telephone-event/8000                                                                                                                                                                                  
  528. a=rtcp-fb:* trr-int 1000                                                                                                                                                                                          
  529. a=rtcp-fb:* ccm tmmbr                                                                                                                                                                                              
  530.  
  531. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  532. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
  533. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  534. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  535. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  536. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  537. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  538. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  539. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  540. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  541. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  542. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  543. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  544. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  545. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@48000
  546. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/381114419368@10.44.44.50 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  547. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_codec.c:111 sofia/default/381114419368@10.44.44.50 Original read codec set to PCMU:0
  548. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 100@8000
  549. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_media.c:5856 sofia/default/381114419368@10.44.44.50 Set 2833 dtmf send payload to 100 recv payload to 100
  550. 2024-04-17 11:44:00.897526 98.10% [DEBUG] sofia.c:7927 (sofia/default/381114419368@10.44.44.50) State Change CS_NEW -> CS_INIT
  551. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381114419368@10.44.44.50) Running State Change CS_INIT (Cur 17 Tot 245044)
  552. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/381114419368@10.44.44.50) State INIT
  553. 2024-04-17 11:44:00.897526 98.10% [DEBUG] mod_sofia.c:97 sofia/default/381114419368@10.44.44.50 SOFIA INIT
  554. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/381114419368@10.44.44.50 Standard INIT
  555. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/381114419368@10.44.44.50) State Change CS_INIT -> CS_ROUTING
  556. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/381114419368@10.44.44.50) State INIT going to sleep
  557. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381114419368@10.44.44.50) Running State Change CS_ROUTING (Cur 17 Tot 245044)
  558. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_channel.c:2399 (sofia/default/381114419368@10.44.44.50) Callstate Change DOWN -> RINGING
  559. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/381114419368@10.44.44.50) State ROUTING
  560. 2024-04-17 11:44:00.897526 98.10% [DEBUG] mod_sofia.c:158 sofia/default/381114419368@10.44.44.50 SOFIA ROUTING
  561. 2024-04-17 11:44:00.897526 98.10% [DEBUG] switch_core_state_machine.c:230 sofia/default/381114419368@10.44.44.50 Standard ROUTING
  562. 2024-04-17 11:44:00.897526 98.10% [INFO] mod_dialplan_xml.c:639 Processing 130 <381114419368>->381656825510 in context default
  563. 2024-04-17 11:44:00.917523 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  564. 2024-04-17 11:44:00.917523 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  565. 2024-04-17 11:44:00.917523 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                                                                                                
  566. 2024-04-17 11:44:00.917523 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  567. 2024-04-17 11:44:00.917523 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 381656825510
  568. 2024-04-17 11:44:00.917523 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '381656825510' AND status=0 limit 1
  569. 2024-04-17 11:44:00.917523 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERStepMod011
  570. 2024-04-17 11:44:00.917523 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  571. 2024-04-17 11:44:00.917523 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '381656825510' limit 1
  572. 2024-04-17 11:44:00.917523 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 130 / 381114419368
  573. 2024-04-17 11:44:00.917523 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="381656825510" LIMIT 1                                    
  574. 2024-04-17 11:44:00.917523 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  575. 2024-04-17 11:44:00.917523 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="381656825510" limit 1                                                                                                                                                                  
  576. 2024-04-17 11:44:00.917523 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  577. 2024-04-17 11:44:00.917523 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9999235538]
  578. 2024-04-17 11:44:00.917523 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9999235538" OR id = "9999235538") AND deleted = 0 limit 1
  579. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^381656825510.*' OR blocked_patterns = '^38165682551.*' OR blocked_patterns = '^3816568255.*' OR blocked_patterns = '^381656825.*' OR blocked_patterns = '^38165682.*' OR blocked_patterns = '^3816568.*' OR blocked_patterns = '^381656.*' OR blocked_patterns = '^38165.*' OR blocked_patterns = '^3816.*' OR blocked_patterns = '^381.*' OR blocked_patterns = '^38.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 51 limit 1                                
  580. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="381656825510" AND (accountid = 0 OR status = 1) LIMIT 1
  581. 2024-04-17 11:44:00.937513 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 4
  582. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 4 AND status=0 limit 1                                                                                                                                                                                            
  583. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*/*/*,+/*/*/*".....381656825510
  584. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*/*/*,+/*/*/*".....381656825510
  585. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....381114419368DBCLI381656825510                                                                                                                                                                                            
  586. 2024-04-17 11:44:00.937513 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 381114419368DBCLI381656825510
  587. 2024-04-17 11:44:00.937513 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 381114419368DBCLI381656825510
  588. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....381114419368DBCLI381656825510                                                                                                                                                                                            
  589. 2024-04-17 11:44:00.937513 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 381114419368DBCLI381656825510
  590. 2024-04-17 11:44:00.937513 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 381114419368DBCLI381656825510
  591. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....381114419368DBCLI381656825510                                                                                                                                                                                            
  592. 2024-04-17 11:44:00.937513 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 381114419368DBCLI381656825510
  593. 2024-04-17 11:44:00.937513 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 381114419368DBCLI381656825510
  594. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....381114419368DBCLI381656825510                                                                                                                                                                                            
  595. 2024-04-17 11:44:00.937513 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 381114419368DBCLI381656825510
  596. 2024-04-17 11:44:00.937513 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 381114419368DBCLI381656825510
  597. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....381114419368DBCLI381656825510                                                                                                                                                                                            
  598. 2024-04-17 11:44:00.937513 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 381114419368DBCLI381656825510
  599. 2024-04-17 11:44:00.937513 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 381114419368
  600. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^381656825510.*' OR patterns = '^38165682551.*' OR patterns = '^3816568255.*' OR patterns = '^381656825.*' OR patterns = '^38165682.*' OR patterns = '^3816568.*' OR patterns = '^381656.*' OR patterns = '^38165.*' OR patterns = '^3816.*' OR patterns = '^381.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 51 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                              
  601. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="381656825510" AND A.accountid = '51' limit 1                                                                                                                                                                
  602. 2024-04-17 11:44:00.937513 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 381656825510
  603. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="381656825510" LIMIT 1                                    
  604. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  605. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="381656825510" limit 1                                                                                                                                                                  
  606. 2024-04-17 11:44:00.937513 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  607. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '381656825510' OR number = '38165682551' OR number = '3816568255' OR number = '381656825' OR number = '38165682' OR number = '3816568' OR number = '381656' OR number = '38165' OR number = '3816' OR number = '381' OR number = '38' OR number = '3' OR number ='--') OR (number = '381656825510*' OR number = '38165682551*' OR number = '3816568255*' OR number = '381656825*' OR number = '38165682*' OR number = '3816568*' OR number = '381656*' OR number = '38165*' OR number = '3816*' OR number = '381*' OR number = '38*' OR number = '3*' OR number ='--') OR (number = '381114419368' OR number = '38111441936' OR number = '3811144193' OR number = '381114419' OR number = '38111441' OR number = '3811144' OR number = '381114' OR number = '38111' OR number = '3811' OR number = '381' OR number = '38' OR number = '3' OR number ='--') OR (number = '381114419368*' OR number = '38111441936*' OR number = '3811144193*' OR number = '381114419*' OR number = '38111441*' OR number = '3811144*' OR number = '381114*' OR number = '38111*' OR number = '3811*' OR number = '381*' OR number = '38*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                    
  608. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  609. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '381656825510' OR routing_prefix = '38165682551' OR routing_prefix = '3816568255' OR routing_prefix = '381656825' OR routing_prefix = '38165682' OR routing_prefix = '3816568' OR routing_prefix = '381656' OR routing_prefix = '38165' OR routing_prefix = '3816' OR routing_prefix = '381' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                          
  610. 2024-04-17 11:44:00.937513 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  611. 2024-04-17 11:44:00.937513 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 51
  612. 2024-04-17 11:44:00.937513 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9999235538
  613. 2024-04-17 11:44:00.937513 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 3054.865
  614. 2024-04-17 11:44:00.937513 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  615. 2024-04-17 11:44:00.937513 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
  616. 2024-04-17 11:44:00.937513 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  617. 2024-04-17 11:44:00.937513 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  618. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  619. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  620. 2024-04-17 11:44:00.937513 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  621. 2024-04-17 11:44:00.957510 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^381656825510.*' OR pattern = '^38165682551.*' OR pattern = '^3816568255.*' OR pattern = '^381656825.*' OR pattern = '^38165682.*' OR pattern = '^3816568.*' OR pattern = '^381656.*' OR pattern = '^38165.*' OR pattern = '^3816.*' OR pattern = '^381.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND (caller_id_pattern = '^381114419368.*' OR caller_id_pattern = '^38111441936.*' OR caller_id_pattern = '^3811144193.*' OR caller_id_pattern = '^381114419.*' OR caller_id_pattern = '^38111441.*' OR caller_id_pattern = '^3811144.*' OR caller_id_pattern = '^381114.*' OR caller_id_pattern = '^38111.*' OR caller_id_pattern = '^3811.*' OR caller_id_pattern = '^381.*' OR caller_id_pattern = '^38.*' OR caller_id_pattern = '^3.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 5 OR accountid=51)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1                                                                                                                                                                    
  622. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  623. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  624. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 698
  625. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  626. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  627. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.0400000000
  628. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Serbia-Mobile
  629. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 164
  630. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 51
  631. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  632. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  633. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  634. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your3054.865 balance Accountid 51 !!!
  635. 2024-04-17 11:44:00.957510 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  636. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  637. 2024-04-17 11:44:00.957510 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  638. 2024-04-17 11:44:00.957510 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc
  639. 2024-04-17 11:44:00.957510 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^381656825510.*' OR pattern = '^38165682551.*' OR pattern = '^3816568255.*' OR pattern = '^381656825.*' OR pattern = '^38165682.*' OR pattern = '^3816568.*' OR pattern = '^381656.*' OR pattern = '^38165.*' OR pattern = '^3816.*' OR pattern = '^381.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4,6,8,10,16,21) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC                                          
  640. 2024-04-17 11:44:00.957510 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  641. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  642. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 15926
  643. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3816.*
  644. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Serbia-Mobilni
  645. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  646. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  647. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3816.*
  648. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  649. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  650. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
  651. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Asterisk
  652. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  653. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  654. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 8
  655. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  656. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  657. 2024-04-17 11:44:00.957510 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 51 AND status=0 LIMIT 1                                                                                                                                                                                        
  658. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  659. 2024-04-17 11:44:00.957510 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'StepMod011' and status = 0 limit 1
  660. 2024-04-17 11:44:00.957510 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  661. 2024-04-17 11:44:00.957510 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  662. 2024-04-17 11:44:00.957510 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  663. 2024-04-17 11:44:00.957510 98.10% [DEBUG] switch_cpp.cpp:1465 [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 = 8) AND status=0 limit 1                                                                                                                                                                  
  664. 2024-04-17 11:44:00.957510 98.10% [DEBUG] switch_cpp.cpp:1465 [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                                                                                                                                                                    
  665. 2024-04-17 11:44:00.957510 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="381656825510" LIMIT 1                                    
  666. 2024-04-17 11:44:00.957510 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  667. 2024-04-17 11:44:00.957510 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  668. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  669. <document type="freeswitch/xml">                                                                                                                                                                                  
  670. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  671. <context name="default">                                                                                                                                                                                          
  672. <extension name="381656825510">                                                                                                                                                                                    
  673. <condition field="destination_number" expression="381656825510">                                                                                                                                                  
  674. <action application="set" data="effective_destination_number=381656825510"/>                                                                                                                                      
  675. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  676. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                                                              
  677. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  678. <action application="set" data="notify_credit_limit=5.00000"/>                                                                                                                                                    
  679. <action application="set" data="type=0"/>                                                                                                                                                                          
  680. <action application="set" data="callstart=2024-04-17 09:44:00"/>                                                                                                                                                  
  681. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  682. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  683. <action application="set" data="account_id=51"/>                                                                                                                                                                  
  684. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  685. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  686. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  687. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  688. <action application="set" data="accountname=default"/>                                                                                                                                                            
  689. <action application="export" data="t38_passthru=true"/>                                                                                                                                                            
  690. <action application="set" data="fax_enable_t38=true"/>                                                                                                                                                            
  691. <action application="set" data="fax_enable_t38_request=true"/>                                                                                                                                                    
  692. <action application="set" data="origination_rates=ID:698|CODE:^3816.*|DESTINATION:Serbia-Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0400000000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:164|ACCID:51"/>                                                                                                                                                                                                    
  693. <action application="set" data="original_caller_id_name=130"/>                                                                                                                                                    
  694. <action application="set" data="original_caller_id_number=381114419368"/>                                                                                                                                          
  695.  
  696. <action application="set" data="effective_caller_id_name=130"/>                                                                                                                                                    
  697. <action application="set" data="effective_caller_id_number=381114419368"/>                                                                                                                                        
  698. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  699. <action application="set" data="termination_rates=ID:15926|CODE:^3816.*|DESTINATION:Serbia-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0191000000|INC:1|INITIALBLOCK:60|TRUNK:4|PROVIDER:8"/>    
  700. <action application="set" data="trunk_id=4"/>                                                                                                                                                                      
  701. <action application="set" data="provider_id=8"/>                                                                                                                                                                  
  702. <action application="set" data="rate_flag=0"/>                                                                                                                                                                    
  703. <action application="set" data="daily_call_credit_limit=0.00000"/>                                                                                                                                                
  704. <action application="set" data="monthly_call_credit_limit=0.00000"/>                                                                                                                                              
  705. <action application="set" data="daily_call_used_limit=0.00000"/>                                                                                                                                                  
  706. <action application="set" data="monthly_call_used_limit=0.00000"/>                                                                                                                                                
  707. <action application="set" data="quality_trunk_seq=4"/>                                                                                                                                                            
  708. <action application="set" data="force_trunk_flag=0"/>                                                                                                                                                              
  709. <action application="export" data="presence_data=trunk_id=4"/>                                                                                                                                                    
  710. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  711. <action application="export" data="presence_id=381656825510"/>                                                                                                                                                    
  712. <action application="export" data="presence_data=x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6"/>                                                                                                                                                                                                                  
  713. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/Asterisk/381656825510"/>                                                                    
  714. </condition>                                                                                                                                                                                                      
  715. </extension>                                                                                                                                                                                                      
  716. </context>                                                                                                                                                                                                        
  717. </section>                                                                                                                                                                                                        
  718. </document>                                                                                                                                                                                                        
  719. Dialplan: sofia/default/381114419368@10.44.44.50 parsing [default->381656825510] continue=false
  720. Dialplan: sofia/default/381114419368@10.44.44.50 Regex (PASS) [381656825510] destination_number(381656825510) =~ /381656825510/ break=on-false
  721. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(effective_destination_number=381656825510)
  722. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  723. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  724. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(notify_flag=0)
  725. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(notify_credit_limit=5.00000)
  726. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(type=0)
  727. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(callstart=2024-04-17 09:44:00)
  728. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(hangup_after_bridge=true)
  729. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(continue_on_fail=TRUE)
  730. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(account_id=51)
  731. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(parent_id=0)
  732. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(entity_id=0)
  733. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(call_processed=internal)
  734. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(call_direction=outbound)
  735. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(accountname=default)
  736. Dialplan: sofia/default/381114419368@10.44.44.50 Action export(t38_passthru=true)
  737. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(fax_enable_t38=true)
  738. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(fax_enable_t38_request=true)
  739. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(origination_rates=ID:698|CODE:^3816.*|DESTINATION:Serbia-Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0400000000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:164|ACCID:51)                                                                                                                                                                          
  740. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(original_caller_id_name=130)
  741. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(original_caller_id_number=381114419368)
  742. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(effective_caller_id_name=130)
  743. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(effective_caller_id_number=381114419368)
  744. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(calltype=STANDARD)
  745. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(termination_rates=ID:15926|CODE:^3816.*|DESTINATION:Serbia-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0191000000|INC:1|INITIALBLOCK:60|TRUNK:4|PROVIDER:8)                                                                                                                                                                                              
  746. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(trunk_id=4)
  747. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(provider_id=8)
  748. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(rate_flag=0)
  749. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(daily_call_credit_limit=0.00000)
  750. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(monthly_call_credit_limit=0.00000)
  751. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(daily_call_used_limit=0.00000)
  752. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(monthly_call_used_limit=0.00000)
  753. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(quality_trunk_seq=4)
  754. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(force_trunk_flag=0)
  755. Dialplan: sofia/default/381114419368@10.44.44.50 Action export(presence_data=trunk_id=4)
  756. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(intcall=0)
  757. Dialplan: sofia/default/381114419368@10.44.44.50 Action export(presence_id=381656825510)
  758. Dialplan: sofia/default/381114419368@10.44.44.50 Action export(presence_data=x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6)                                                                                                                                                                                        
  759. Dialplan: sofia/default/381114419368@10.44.44.50 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/Asterisk/381656825510)
  760. 2024-04-17 11:44:00.977512 98.10% [DEBUG] switch_core_state_machine.c:281 (sofia/default/381114419368@10.44.44.50) State Change CS_ROUTING -> CS_EXECUTE
  761. 2024-04-17 11:44:00.977512 98.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/381114419368@10.44.44.50) State ROUTING going to sleep
  762. 2024-04-17 11:44:00.977512 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381114419368@10.44.44.50) Running State Change CS_EXECUTE (Cur 17 Tot 245044)
  763. 2024-04-17 11:44:00.977512 98.10% [DEBUG] switch_core_state_machine.c:647 (sofia/default/381114419368@10.44.44.50) State EXECUTE
  764. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_sofia.c:213 sofia/default/381114419368@10.44.44.50 SOFIA EXECUTE
  765. 2024-04-17 11:44:00.977512 98.10% [DEBUG] switch_core_state_machine.c:323 sofia/default/381114419368@10.44.44.50 Standard EXECUTE
  766. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(effective_destination_number=381656825510)
  767. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [effective_destination_number]=[381656825510]
  768. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(bridge_pre_execute_bleg_app=sched_hangup)
  769. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [bridge_pre_execute_bleg_app]=[sched_hangup]
  770. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  771. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  772. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(notify_flag=0)
  773. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [notify_flag]=[0]
  774. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(notify_credit_limit=5.00000)
  775. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [notify_credit_limit]=[5.00000]
  776. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(type=0)
  777. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [type]=[0]
  778. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(callstart=2024-04-17 09:44:00)
  779. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [callstart]=[2024-04-17 09:44:00]
  780. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(hangup_after_bridge=true)
  781. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [hangup_after_bridge]=[true]
  782. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(continue_on_fail=TRUE)
  783. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [continue_on_fail]=[TRUE]
  784. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(account_id=51)
  785. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [account_id]=[51]
  786. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(parent_id=0)
  787. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [parent_id]=[0]
  788. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(entity_id=0)
  789. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [entity_id]=[0]
  790. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(call_processed=internal)
  791. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [call_processed]=[internal]
  792. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(call_direction=outbound)
  793. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [call_direction]=[outbound]
  794. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(accountname=default)
  795. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [accountname]=[default]
  796. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 export(t38_passthru=true)
  797. 2024-04-17 11:44:00.977512 98.10% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [t38_passthru]=[true]
  798. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(fax_enable_t38=true)
  799. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [fax_enable_t38]=[true]
  800. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(fax_enable_t38_request=true)
  801. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [fax_enable_t38_request]=[true]
  802. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(origination_rates=ID:698|CODE:^3816.*|DESTINATION:Serbia-Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0400000000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:164|ACCID:51)                                                                                                                                                                        
  803. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [origination_rates]=[ID:698|CODE:^3816.*|DESTINATION:Serbia-Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0400000000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:164|ACCID:51]                                                                                                                          
  804. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(original_caller_id_name=130)
  805. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [original_caller_id_name]=[130]
  806. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(original_caller_id_number=381114419368)
  807. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [original_caller_id_number]=[381114419368]
  808. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(effective_caller_id_name=130)
  809. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [effective_caller_id_name]=[130]
  810. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(effective_caller_id_number=381114419368)
  811. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [effective_caller_id_number]=[381114419368]
  812. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(calltype=STANDARD)
  813. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [calltype]=[STANDARD]
  814. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(termination_rates=ID:15926|CODE:^3816.*|DESTINATION:Serbia-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0191000000|INC:1|INITIALBLOCK:60|TRUNK:4|PROVIDER:8)                                                                                                                                                                                            
  815. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [termination_rates]=[ID:15926|CODE:^3816.*|DESTINATION:Serbia-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0191000000|INC:1|INITIALBLOCK:60|TRUNK:4|PROVIDER:8]                                                                                                                                              
  816. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(trunk_id=4)
  817. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [trunk_id]=[4]
  818. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(provider_id=8)
  819. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [provider_id]=[8]
  820. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(rate_flag=0)
  821. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [rate_flag]=[0]
  822. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(daily_call_credit_limit=0.00000)
  823. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [daily_call_credit_limit]=[0.00000]
  824. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(monthly_call_credit_limit=0.00000)
  825. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [monthly_call_credit_limit]=[0.00000]
  826. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(daily_call_used_limit=0.00000)
  827. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [daily_call_used_limit]=[0.00000]
  828. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(monthly_call_used_limit=0.00000)
  829. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [monthly_call_used_limit]=[0.00000]
  830. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(quality_trunk_seq=4)
  831. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [quality_trunk_seq]=[4]
  832. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(force_trunk_flag=0)
  833. 2024-04-17 11:44:00.977512 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [force_trunk_flag]=[0]
  834. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 export(presence_data=trunk_id=4)
  835. 2024-04-17 11:44:00.977512 98.10% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=4]
  836. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(intcall=0)
  837. 2024-04-17 11:44:00.997510 98.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [intcall]=[0]
  838. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 export(presence_id=381656825510)
  839. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[381656825510]
  840. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 export(presence_data=x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6)                                                                                                                                                                                      
  841. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6]                                                                                                                                                              
  842. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/Asterisk/381656825510)
  843. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_channel.c:1288 sofia/default/381114419368@10.44.44.50 EXPORTING[export_vars] [t38_passthru]=[true] to event
  844. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_channel.c:1288 sofia/default/381114419368@10.44.44.50 EXPORTING[export_vars] [presence_data]=[x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6] to event                                                                                                            
  845. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_channel.c:1288 sofia/default/381114419368@10.44.44.50 EXPORTING[export_vars] [presence_id]=[381656825510] to event
  846. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_channel.c:1288 sofia/default/381114419368@10.44.44.50 EXPORTING[export_vars] [presence_data]=[x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6] to event                                                                                                            
  847. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  848. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  849. 2024-04-17 11:44:00.997510 98.10% [NOTICE] switch_channel.c:1142 New Channel sofia/default/381656825510 [c14c0912-f3ab-4e41-a274-481a26806bb1]
  850. 2024-04-17 11:44:00.997510 98.10% [DEBUG] mod_sofia.c:5110 (sofia/default/381656825510) State Change CS_NEW -> CS_INIT
  851. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_ivr_originate.c:3167 sofia/default/381656825510 Setting leg timeout to 30
  852. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381656825510) Running State Change CS_INIT (Cur 18 Tot 245045)
  853. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/381656825510) State INIT
  854. 2024-04-17 11:44:00.997510 98.10% [DEBUG] mod_sofia.c:97 sofia/default/381656825510 SOFIA INIT
  855. 2024-04-17 11:44:00.997510 98.10% [INFO] sofia_glue.c:1659 sofia/default/381656825510 sending invite call-id: (null)
  856. 2024-04-17 11:44:00.997510 98.10% [DEBUG] sofia_glue.c:1662 sofia/default/381656825510 sending invite version: 1.10.10-release  64bit
  857. Local SDP:                                                                                                                                                                                                        
  858. v=0                                                                                                                                                                                                                
  859. o=FreeSWITCH 1713328710 1713328711 IN IP4 82.214.92.4                                                                                                                                                              
  860. s=FreeSWITCH                                                                                                                                                                                                      
  861. c=IN IP4 82.214.92.4                                                                                                                                                                                              
  862. t=0 0                                                                                                                                                                                                              
  863. m=audio 18330 RTP/AVP 8 0 101                                                                                                                                                                                      
  864. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  865. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  866. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  867. a=fmtp:101 0-15                                                                                                                                                                                                    
  868. a=ptime:20                                                                                                                                                                                                        
  869. a=sendrecv                                                                                                                                                                                                        
  870.  
  871. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/381656825510 Standard INIT
  872. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/381656825510) State Change CS_INIT -> CS_ROUTING
  873. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/381656825510) State INIT going to sleep
  874. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381656825510) Running State Change CS_ROUTING (Cur 18 Tot 245045)
  875. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/381656825510) State ROUTING
  876. 2024-04-17 11:44:00.997510 98.10% [DEBUG] mod_sofia.c:158 sofia/default/381656825510 SOFIA ROUTING
  877. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_ivr_originate.c:67 (sofia/default/381656825510) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  878. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/381656825510) State ROUTING going to sleep
  879. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381656825510) Running State Change CS_CONSUME_MEDIA (Cur 18 Tot 245045)
  880. 2024-04-17 11:44:00.997510 98.10% [DEBUG] sofia.c:7493 Channel sofia/default/381656825510 entering state [calling][0]
  881. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/381656825510) State CONSUME_MEDIA
  882. 2024-04-17 11:44:00.997510 98.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/381656825510) State CONSUME_MEDIA going to sleep
  883. 2024-04-17 11:44:01.057509 98.10% [DEBUG] sofia.c:7493 Channel sofia/default/sky111v6@tdsl.skytel.rs:5060 entering state [terminated][487]
  884. 2024-04-17 11:44:01.057509 98.10% [NOTICE] sofia.c:8735 Hangup sofia/default/sky111v6@tdsl.skytel.rs:5060 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  885. 2024-04-17 11:44:01.057509 98.10% [DEBUG] switch_ivr_bridge.c:825 sofia/default/sky111v6@tdsl.skytel.rs:5060 ending bridge by request from read function
  886. 2024-04-17 11:44:01.057509 98.10% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/sky111v6@tdsl.skytel.rs:5060]
  887. 2024-04-17 11:44:01.057509 98.10% [DEBUG] switch_ivr_bridge.c:819 sofia/default/sky111v6@tdsl.skytel.rs:5060 ending bridge by request from write function
  888. 2024-04-17 11:44:01.057509 98.10% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/381653552255]
  889. 2024-04-17 11:44:01.057509 98.10% [NOTICE] switch_ivr_bridge.c:1023 Hangup sofia/default/381653552255 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  890. 2024-04-17 11:44:01.057509 98.10% [DEBUG] switch_core_state_machine.c:650 (sofia/default/381653552255) State EXCHANGE_MEDIA going to sleep
  891. 2024-04-17 11:44:01.057509 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381653552255) Running State Change CS_HANGUP (Cur 18 Tot 245045)
  892. 2024-04-17 11:44:01.057509 98.10% [DEBUG] switch_core_state_machine.c:844 (sofia/default/381653552255) Callstate Change EARLY -> HANGUP
  893. 2024-04-17 11:44:01.057509 98.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/381653552255) State HANGUP
  894. 2024-04-17 11:44:01.057509 98.10% [DEBUG] mod_sofia.c:463 sofia/default/381653552255 Overriding SIP cause 487 with 487 from the other leg
  895. 2024-04-17 11:44:01.057509 98.10% [DEBUG] mod_sofia.c:469 Channel sofia/default/381653552255 hanging up, cause: ORIGINATOR_CANCEL
  896. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/381653552255 skip receive message [UNBRIDGE] (channel is hungup already)
  897. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_ivr_bridge.c:1893 sofia/default/sky111v6@tdsl.skytel.rs:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  898. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_session.c:2979 sofia/default/sky111v6@tdsl.skytel.rs:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  899. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:647 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State EXECUTE going to sleep
  900. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/sky111v6@tdsl.skytel.rs:5060) Running State Change CS_HANGUP (Cur 18 Tot 245045)
  901. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:844 (sofia/default/sky111v6@tdsl.skytel.rs:5060) Callstate Change EARLY -> HANGUP
  902. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State HANGUP
  903. 2024-04-17 11:44:01.077524 98.10% [DEBUG] mod_sofia.c:469 Channel sofia/default/sky111v6@tdsl.skytel.rs:5060 hanging up, cause: ORIGINATOR_CANCEL
  904. 2024-04-17 11:44:01.077524 98.10% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/381653552255
  905. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/381653552255 Standard HANGUP, cause: ORIGINATOR_CANCEL
  906. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/381653552255) State HANGUP going to sleep
  907. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:616 (sofia/default/381653552255) State Change CS_HANGUP -> CS_REPORTING
  908. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381653552255) Running State Change CS_REPORTING (Cur 18 Tot 245045)
  909. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/381653552255) State REPORTING
  910. 2024-04-17 11:44:01.077524 98.10% [INFO] mod_json_cdr.c:272 Process [86d3246f-7b38-4208-b1b9-16a18085330c.cdr.json]
  911. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/sky111v6@tdsl.skytel.rs:5060 Standard HANGUP, cause: ORIGINATOR_CANCEL
  912. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State HANGUP going to sleep
  913. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:616 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State Change CS_HANGUP -> CS_REPORTING
  914. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/sky111v6@tdsl.skytel.rs:5060) Running State Change CS_REPORTING (Cur 18 Tot 245045)
  915. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State REPORTING
  916. 2024-04-17 11:44:01.077524 98.10% [INFO] mod_json_cdr.c:272 Process [acdfd096-18d7-4824-b296-33bc352c9f1b.cdr.json]
  917. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:168 sofia/default/381653552255 Standard REPORTING, cause: ORIGINATOR_CANCEL
  918. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/381653552255) State REPORTING going to sleep
  919. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:607 (sofia/default/381653552255) State Change CS_REPORTING -> CS_DESTROY
  920. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_session.c:1744 Session 245043 (sofia/default/381653552255) Locked, Waiting on external entities
  921. 2024-04-17 11:44:01.077524 98.10% [NOTICE] switch_core_session.c:1762 Session 245043 (sofia/default/381653552255) Ended
  922. 2024-04-17 11:44:01.077524 98.10% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/381653552255 [CS_DESTROY]
  923. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:735 (sofia/default/381653552255) Running State Change CS_DESTROY (Cur 17 Tot 245045)
  924. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/381653552255) State DESTROY
  925. 2024-04-17 11:44:01.077524 98.10% [DEBUG] mod_sofia.c:380 sofia/default/381653552255 SOFIA DESTROY
  926. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:175 sofia/default/381653552255 Standard DESTROY
  927. 2024-04-17 11:44:01.077524 98.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/381653552255) State DESTROY going to sleep
  928. 2024-04-17 11:44:01.097504 98.10% [DEBUG] switch_core_state_machine.c:168 sofia/default/sky111v6@tdsl.skytel.rs:5060 Standard REPORTING, cause: ORIGINATOR_CANCEL
  929. 2024-04-17 11:44:01.097504 98.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State REPORTING going to sleep
  930. 2024-04-17 11:44:01.097504 98.10% [DEBUG] switch_core_state_machine.c:607 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State Change CS_REPORTING -> CS_DESTROY
  931. 2024-04-17 11:44:01.097504 98.10% [DEBUG] switch_core_session.c:1744 Session 245042 (sofia/default/sky111v6@tdsl.skytel.rs:5060) Locked, Waiting on external entities
  932. 2024-04-17 11:44:01.097504 98.10% [NOTICE] switch_core_session.c:1762 Session 245042 (sofia/default/sky111v6@tdsl.skytel.rs:5060) Ended
  933. 2024-04-17 11:44:01.097504 98.10% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/sky111v6@tdsl.skytel.rs:5060 [CS_DESTROY]
  934. 2024-04-17 11:44:01.097504 98.10% [DEBUG] switch_core_state_machine.c:735 (sofia/default/sky111v6@tdsl.skytel.rs:5060) Running State Change CS_DESTROY (Cur 16 Tot 245045)
  935. 2024-04-17 11:44:01.097504 98.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State DESTROY
  936. 2024-04-17 11:44:01.097504 98.10% [DEBUG] mod_sofia.c:380 sofia/default/sky111v6@tdsl.skytel.rs:5060 SOFIA DESTROY
  937. 2024-04-17 11:44:01.097504 98.10% [DEBUG] switch_core_state_machine.c:175 sofia/default/sky111v6@tdsl.skytel.rs:5060 Standard DESTROY
  938. 2024-04-17 11:44:01.097504 98.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/sky111v6@tdsl.skytel.rs:5060) State DESTROY going to sleep
  939. 2024-04-17 11:44:01.177509 98.10% [DEBUG] switch_scheduler.c:147 Deleting task 109040 switch_ivr_schedule_hangup (86d3246f-7b38-4208-b1b9-16a18085330c)
  940. 2024-04-17 11:44:01.257514 98.10% [NOTICE] sofia.c:1065 Hangup sofia/default/38733922284@10.44.44.50 [CS_EXECUTE] [NORMAL_CLEARING]
  941. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/38733922284@10.44.44.50]
  942. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_ivr_bridge.c:819 sofia/default/38733922284@10.44.44.50 ending bridge by request from write function
  943. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/2222387644267317]
  944. 2024-04-17 11:44:01.257514 98.10% [NOTICE] switch_ivr_bridge.c:1027 Hangup sofia/default/2222387644267317 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  945. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:650 (sofia/default/2222387644267317) State EXCHANGE_MEDIA going to sleep
  946. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2222387644267317) Running State Change CS_HANGUP (Cur 16 Tot 245045)
  947. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:844 (sofia/default/2222387644267317) Callstate Change ACTIVE -> HANGUP
  948. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2222387644267317) State HANGUP
  949. 2024-04-17 11:44:01.257514 98.10% [DEBUG] mod_sofia.c:463 sofia/default/2222387644267317 Overriding SIP cause 480 with 200 from the other leg
  950. 2024-04-17 11:44:01.257514 98.10% [DEBUG] mod_sofia.c:469 Channel sofia/default/2222387644267317 hanging up, cause: NORMAL_CLEARING
  951. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/2222387644267317 skip receive message [UNBRIDGE] (channel is hungup already)
  952. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_ivr_bridge.c:1893 sofia/default/38733922284@10.44.44.50 skip receive message [UNBRIDGE] (channel is hungup already)
  953. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_session.c:2979 sofia/default/38733922284@10.44.44.50 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  954. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:647 (sofia/default/38733922284@10.44.44.50) State EXECUTE going to sleep
  955. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/38733922284@10.44.44.50) Running State Change CS_HANGUP (Cur 16 Tot 245045)
  956. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:844 (sofia/default/38733922284@10.44.44.50) Callstate Change ACTIVE -> HANGUP
  957. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/38733922284@10.44.44.50) State HANGUP
  958. 2024-04-17 11:44:01.257514 98.10% [DEBUG] mod_sofia.c:469 Channel sofia/default/38733922284@10.44.44.50 hanging up, cause: NORMAL_CLEARING
  959. 2024-04-17 11:44:01.257514 98.10% [DEBUG] mod_sofia.c:523 Sending BYE to sofia/default/2222387644267317
  960. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/2222387644267317 Standard HANGUP, cause: NORMAL_CLEARING
  961. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2222387644267317) State HANGUP going to sleep
  962. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:616 (sofia/default/2222387644267317) State Change CS_HANGUP -> CS_REPORTING
  963. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2222387644267317) Running State Change CS_REPORTING (Cur 16 Tot 245045)
  964. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/2222387644267317) State REPORTING
  965. 2024-04-17 11:44:01.257514 98.10% [INFO] mod_json_cdr.c:272 Process [bb8dbe21-b806-4035-b89d-085c3e3324b1.cdr.json]
  966. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/38733922284@10.44.44.50 Standard HANGUP, cause: NORMAL_CLEARING
  967. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/38733922284@10.44.44.50) State HANGUP going to sleep
  968. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:616 (sofia/default/38733922284@10.44.44.50) State Change CS_HANGUP -> CS_REPORTING
  969. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/38733922284@10.44.44.50) Running State Change CS_REPORTING (Cur 16 Tot 245045)
  970. 2024-04-17 11:44:01.257514 98.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/38733922284@10.44.44.50) State REPORTING
  971. 2024-04-17 11:44:01.257514 98.10% [INFO] mod_json_cdr.c:272 Process [6224c2c0-2b6d-4948-ac86-cd6e46fb08b4.cdr.json]
  972. 2024-04-17 11:44:01.277541 98.10% [DEBUG] switch_core_state_machine.c:168 sofia/default/2222387644267317 Standard REPORTING, cause: NORMAL_CLEARING
  973. 2024-04-17 11:44:01.277541 98.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/2222387644267317) State REPORTING going to sleep
  974. 2024-04-17 11:44:01.277541 98.10% [DEBUG] switch_core_state_machine.c:607 (sofia/default/2222387644267317) State Change CS_REPORTING -> CS_DESTROY
  975. 2024-04-17 11:44:01.277541 98.10% [DEBUG] switch_core_session.c:1744 Session 244999 (sofia/default/2222387644267317) Locked, Waiting on external entities
  976. 2024-04-17 11:44:01.277541 98.10% [NOTICE] switch_core_session.c:1762 Session 244999 (sofia/default/2222387644267317) Ended
  977. 2024-04-17 11:44:01.277541 98.10% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/2222387644267317 [CS_DESTROY]
  978. 2024-04-17 11:44:01.277541 98.10% [DEBUG] switch_core_state_machine.c:735 (sofia/default/2222387644267317) Running State Change CS_DESTROY (Cur 15 Tot 245045)
  979. 2024-04-17 11:44:01.277541 98.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/2222387644267317) State DESTROY
  980. 2024-04-17 11:44:01.277541 98.10% [DEBUG] mod_sofia.c:380 sofia/default/2222387644267317 SOFIA DESTROY
  981. 2024-04-17 11:44:01.277541 98.10% [DEBUG] switch_core_state_machine.c:175 sofia/default/2222387644267317 Standard DESTROY
  982. 2024-04-17 11:44:01.277541 98.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/2222387644267317) State DESTROY going to sleep
  983. 2024-04-17 11:44:01.277541 98.10% [DEBUG] switch_core_state_machine.c:168 sofia/default/38733922284@10.44.44.50 Standard REPORTING, cause: NORMAL_CLEARING
  984. 2024-04-17 11:44:01.277541 98.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/38733922284@10.44.44.50) State REPORTING going to sleep
  985. 2024-04-17 11:44:01.277541 98.10% [DEBUG] switch_core_state_machine.c:607 (sofia/default/38733922284@10.44.44.50) State Change CS_REPORTING -> CS_DESTROY
  986. 2024-04-17 11:44:01.277541 98.10% [DEBUG] switch_core_session.c:1744 Session 244998 (sofia/default/38733922284@10.44.44.50) Locked, Waiting on external entities
  987. 2024-04-17 11:44:01.277541 98.10% [NOTICE] switch_core_session.c:1762 Session 244998 (sofia/default/38733922284@10.44.44.50) Ended
  988. 2024-04-17 11:44:01.277541 98.10% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/38733922284@10.44.44.50 [CS_DESTROY]
  989. 2024-04-17 11:44:01.277541 98.10% [DEBUG] switch_core_state_machine.c:735 (sofia/default/38733922284@10.44.44.50) Running State Change CS_DESTROY (Cur 14 Tot 245045)
  990. 2024-04-17 11:44:01.277541 98.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/38733922284@10.44.44.50) State DESTROY
  991. 2024-04-17 11:44:01.277541 98.10% [DEBUG] mod_sofia.c:380 sofia/default/38733922284@10.44.44.50 SOFIA DESTROY
  992. 2024-04-17 11:44:01.277541 98.10% [DEBUG] switch_core_state_machine.c:175 sofia/default/38733922284@10.44.44.50 Standard DESTROY
  993. 2024-04-17 11:44:01.277541 98.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/38733922284@10.44.44.50) State DESTROY going to sleep
  994. 2024-04-17 11:44:01.677514 98.07% [DEBUG] switch_scheduler.c:147 Deleting task 109018 switch_ivr_schedule_hangup (bb8dbe21-b806-4035-b89d-085c3e3324b1)
  995. 2024-04-17 11:44:02.717510 97.90% [DEBUG] sofia.c:7493 Channel sofia/default/381656825510 entering state [proceeding][183]
  996. 2024-04-17 11:44:02.717510 97.90% [DEBUG] sofia.c:7503 Remote SDP:
  997. v=0                                                                                                                                                                                                                
  998. o=- 1713328710 1713328713 IN IP4 82.214.92.11                                                                                                                                                                      
  999. s=Asterisk                                                                                                                                                                                                        
  1000. c=IN IP4 82.214.92.11                                                                                                                                                                                              
  1001. t=0 0                                                                                                                                                                                                              
  1002. m=audio 13786 RTP/AVP 8 0 101                                                                                                                                                                                      
  1003. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1004. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  1005. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1006. a=fmtp:101 0-16                                                                                                                                                                                                    
  1007. a=ptime:20                                                                                                                                                                                                        
  1008. a=maxptime:140                                                                                                                                                                                                    
  1009.  
  1010. 2024-04-17 11:44:02.717510 97.90% [NOTICE] sofia.c:7506 Pre-Answer sofia/default/381656825510!
  1011. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_channel.c:3585 (sofia/default/381656825510) Callstate Change DOWN -> EARLY
  1012. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1013. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1014. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1015. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1016. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1017. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1018. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  1019. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/381656825510 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1020. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_codec.c:111 sofia/default/381656825510 Original read codec set to PCMA:8
  1021. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  1022. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:5856 sofia/default/381656825510 Set 2833 dtmf send payload to 101 recv payload to 101
  1023. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/381656825510] 10.44.44.50 port 18330 -> 82.214.92.11 port 13786 codec: 8 ms: 20
  1024. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  1025. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:8972 sofia/default/381656825510 Set 2833 dtmf send payload to 101
  1026. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:8979 sofia/default/381656825510 Set 2833 dtmf receive payload to 101
  1027. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:9002 sofia/default/381656825510 Set rtp dtmf delay to 40
  1028. 2024-04-17 11:44:02.717510 97.90% [INFO] switch_ivr_originate.c:3858 Sending early media
  1029. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/381114419368@10.44.44.50] 10.44.44.50 port 17830 -> 10.66.66.50 port 47452 codec: 0 ms: 20
  1030. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  1031. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:8972 sofia/default/381114419368@10.44.44.50 Set 2833 dtmf send payload to 100
  1032. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:8979 sofia/default/381114419368@10.44.44.50 Set 2833 dtmf receive payload to 100
  1033. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_media.c:9002 sofia/default/381114419368@10.44.44.50 Set rtp dtmf delay to 40
  1034. 2024-04-17 11:44:02.717510 97.90% [DEBUG] mod_sofia.c:2607 Ring SDP:
  1035. v=0                                                                                                                                                                                                                
  1036. o=FreeSWITCH 1713329212 1713329213 IN IP4 82.214.92.4                                                                                                                                                              
  1037. s=FreeSWITCH                                                                                                                                                                                                      
  1038. c=IN IP4 82.214.92.4                                                                                                                                                                                              
  1039. t=0 0                                                                                                                                                                                                              
  1040. m=audio 17830 RTP/AVP 0 100                                                                                                                                                                                        
  1041. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  1042. a=rtpmap:100 telephone-event/8000                                                                                                                                                                                  
  1043. a=fmtp:100 0-15                                                                                                                                                                                                    
  1044. a=ptime:20                                                                                                                                                                                                        
  1045. a=sendrecv                                                                                                                                                                                                        
  1046.  
  1047. 2024-04-17 11:44:02.717510 97.90% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/default/381114419368@10.44.44.50!
  1048. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_channel.c:3585 (sofia/default/381114419368@10.44.44.50) Callstate Change RINGING -> EARLY
  1049. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/381656825510] Peer UUID: c14c0912-f3ab-4e41-a274-481a26806bb1
  1050. 2024-04-17 11:44:02.717510 97.90% [DEBUG] sofia.c:7493 Channel sofia/default/381114419368@10.44.44.50 entering state [early][183]
  1051. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/381656825510) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1052. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381656825510) Running State Change CS_EXCHANGE_MEDIA (Cur 14 Tot 245045)
  1053. 2024-04-17 11:44:02.717510 97.90% [DEBUG] switch_core_state_machine.c:650 (sofia/default/381656825510) State EXCHANGE_MEDIA
  1054. 2024-04-17 11:44:02.717510 97.90% [DEBUG] mod_sofia.c:672 SOFIA EXCHANGE_MEDIA
  1055. 2024-04-17 11:44:02.917509 97.90% [DEBUG] switch_ivr_bridge.c:654 sofia/default/381656825510 Bridge execute app sched_hangup(+6000 normal_clearing)
  1056. 2024-04-17 11:44:02.937509 97.90% [DEBUG] sofia.c:7493 Channel sofia/default/381656825510 entering state [proceeding][183]
  1057. 2024-04-17 11:44:02.937509 97.90% [DEBUG] sofia.c:7500 Duplicate SDP
  1058. v=0                                                                                                                                                                                                                
  1059. o=- 1713328710 1713328713 IN IP4 82.214.92.11                                                                                                                                                                      
  1060. s=Asterisk                                                                                                                                                                                                        
  1061. c=IN IP4 82.214.92.11                                                                                                                                                                                              
  1062. t=0 0                                                                                                                                                                                                              
  1063. m=audio 13786 RTP/AVP 8 0 101                                                                                                                                                                                      
  1064. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1065. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  1066. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1067. a=fmtp:101 0-16                                                                                                                                                                                                    
  1068. a=ptime:20                                                                                                                                                                                                        
  1069. a=maxptime:140                                                                                                                                                                                                    
  1070.  
  1071. 2024-04-17 11:44:02.937509 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1072. 2024-04-17 11:44:02.937509 97.90% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1073. 2024-04-17 11:44:02.937509 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1074. 2024-04-17 11:44:02.937509 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1075. 2024-04-17 11:44:02.937509 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1076. 2024-04-17 11:44:02.937509 97.90% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1077. 2024-04-17 11:44:02.937509 97.90% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  1078. 2024-04-17 11:44:02.937509 97.90% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  1079. 2024-04-17 11:44:02.937509 97.90% [DEBUG] switch_core_media.c:5856 sofia/default/381656825510 Set 2833 dtmf send payload to 101 recv payload to 101
  1080. 2024-04-17 11:44:02.937509 97.90% [DEBUG] switch_core_media.c:8641 Audio params are unchanged for sofia/default/381656825510.
  1081. 2024-04-17 11:44:02.937509 97.90% [DEBUG] switch_ivr.c:632 sofia/default/381656825510 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  1082. EXECUTE [depth=0] sofia/default/381656825510 sched_hangup(+6000 normal_clearing)
  1083. 2024-04-17 11:44:02.937509 97.90% [DEBUG] switch_scheduler.c:263 Added task 109041 switch_ivr_schedule_hangup (c14c0912-f3ab-4e41-a274-481a26806bb1) to run at 1713353042
  1084. 2024-04-17 11:44:02.977510 97.90% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
  1085. 2024-04-17 11:44:02.997514 97.90% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
  1086. 2024-04-17 11:44:03.157518 97.90% [NOTICE] switch_channel.c:1142 New Channel sofia/default/38514404706@10.44.44.50 [72e18a1b-4c35-43cd-8119-15ce53b69296]
  1087. 2024-04-17 11:44:03.157518 97.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/38514404706@10.44.44.50) Running State Change CS_NEW (Cur 15 Tot 245046)
  1088. 2024-04-17 11:44:03.157518 97.90% [INFO] sofia.c:10459 sofia/default/38514404706@10.44.44.50 receiving invite from 82.214.92.6:60676 version: 1.10.10-release  64bit call-id: 2nw1NCfeKszZsv5NNDeCVw..
  1089. 2024-04-17 11:44:03.157518 97.90% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 82.214.92.6:0.
  1090. 2024-04-17 11:44:03.157518 97.90% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [3850995626279@10.44.44.50] from ip 82.214.92.6
  1091. 2024-04-17 11:44:03.157518 97.90% [DEBUG] switch_core_state_machine.c:600 (sofia/default/38514404706@10.44.44.50) State NEW
  1092. 2024-04-17 11:44:03.157518 97.90% [DEBUG] sofia.c:2419 detaching session 72e18a1b-4c35-43cd-8119-15ce53b69296
  1093. 2024-04-17 11:44:03.157518 97.90% [DEBUG] sofia.c:2532 Re-attaching to session 72e18a1b-4c35-43cd-8119-15ce53b69296
  1094. 2024-04-17 11:44:03.177513 97.90% [INFO] sofia.c:10459 sofia/default/38514404706@10.44.44.50 receiving invite from 82.214.92.6:60676 version: 1.10.10-release  64bit call-id: 2nw1NCfeKszZsv5NNDeCVw..
  1095. 2024-04-17 11:44:03.177513 97.90% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 82.214.92.6:0.
  1096. 2024-04-17 11:44:03.197507 97.90% [DEBUG] sofia.c:11674 Setting NAT mode based on via received
  1097. 2024-04-17 11:44:03.197507 97.90% [DEBUG] sofia.c:7493 Channel sofia/default/38514404706@10.44.44.50 entering state [received][100]
  1098. 2024-04-17 11:44:03.197507 97.90% [DEBUG] sofia.c:7503 Remote SDP:
  1099. v=0                                                                                                                                                                                                                
  1100. o=143 1418 2669 IN IP4 10.10.10.150                                                                                                                                                                                
  1101. s=Talk                                                                                                                                                                                                            
  1102. c=IN IP4 10.66.66.50                                                                                                                                                                                              
  1103. t=0 0                                                                                                                                                                                                              
  1104. a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics                                                                                                                                          
  1105. m=audio 47376 RTP/AVP 96 97 98 0 8 101 99 100                                                                                                                                                                      
  1106. a=rtpmap:96 opus/48000/2                                                                                                                                                                                          
  1107. a=fmtp:96 useinbandfec=1                                                                                                                                                                                          
  1108. a=rtpmap:97 speex/16000                                                                                                                                                                                            
  1109. a=fmtp:97 vbr=on                                                                                                                                                                                                  
  1110. a=rtpmap:98 speex/8000                                                                                                                                                                                            
  1111. a=fmtp:98 vbr=on                                                                                                                                                                                                  
  1112. a=rtpmap:101 telephone-event/48000                                                                                                                                                                                
  1113. a=rtpmap:99 telephone-event/16000                                                                                                                                                                                  
  1114. a=rtpmap:100 telephone-event/8000                                                                                                                                                                                  
  1115. a=rtcp-fb:* trr-int 1000                                                                                                                                                                                          
  1116. a=rtcp-fb:* ccm tmmbr                                                                                                                                                                                              
  1117.  
  1118. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  1119. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
  1120. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  1121. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  1122. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  1123. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  1124. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1125. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1126. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1127. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1128. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1129. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1130. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@48000
  1131. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/38514404706@10.44.44.50 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  1132. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_codec.c:111 sofia/default/38514404706@10.44.44.50 Original read codec set to PCMU:0
  1133. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 100@8000
  1134. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_media.c:5856 sofia/default/38514404706@10.44.44.50 Set 2833 dtmf send payload to 100 recv payload to 100
  1135. 2024-04-17 11:44:03.197507 97.90% [DEBUG] sofia.c:7927 (sofia/default/38514404706@10.44.44.50) State Change CS_NEW -> CS_INIT
  1136. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/38514404706@10.44.44.50) Running State Change CS_INIT (Cur 15 Tot 245046)
  1137. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/38514404706@10.44.44.50) State INIT
  1138. 2024-04-17 11:44:03.197507 97.90% [DEBUG] mod_sofia.c:97 sofia/default/38514404706@10.44.44.50 SOFIA INIT
  1139. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/38514404706@10.44.44.50 Standard INIT
  1140. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/38514404706@10.44.44.50) State Change CS_INIT -> CS_ROUTING
  1141. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/38514404706@10.44.44.50) State INIT going to sleep
  1142. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/38514404706@10.44.44.50) Running State Change CS_ROUTING (Cur 15 Tot 245046)
  1143. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_channel.c:2399 (sofia/default/38514404706@10.44.44.50) Callstate Change DOWN -> RINGING
  1144. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/38514404706@10.44.44.50) State ROUTING
  1145. 2024-04-17 11:44:03.197507 97.90% [DEBUG] mod_sofia.c:158 sofia/default/38514404706@10.44.44.50 SOFIA ROUTING
  1146. 2024-04-17 11:44:03.197507 97.90% [DEBUG] switch_core_state_machine.c:230 sofia/default/38514404706@10.44.44.50 Standard ROUTING
  1147. 2024-04-17 11:44:03.197507 97.90% [INFO] mod_dialplan_xml.c:639 Processing 143 <38514404706>->3850995626279 in context default
  1148. 2024-04-17 11:44:03.217514 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  1149. 2024-04-17 11:44:03.217514 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  1150. 2024-04-17 11:44:03.217514 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                                                                                                
  1151. 2024-04-17 11:44:03.217514 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1152. 2024-04-17 11:44:03.237512 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 3850995626279
  1153. 2024-04-17 11:44:03.237512 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '3850995626279' AND status=0 limit 1
  1154. 2024-04-17 11:44:03.237512 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERStepMod011
  1155. 2024-04-17 11:44:03.237512 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1156. 2024-04-17 11:44:03.237512 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '3850995626279' limit 1
  1157. 2024-04-17 11:44:03.237512 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 143 / 38514404706
  1158. 2024-04-17 11:44:03.237512 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="3850995626279" LIMIT 1                                  
  1159. 2024-04-17 11:44:03.237512 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1160. 2024-04-17 11:44:03.237512 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3850995626279" limit 1                                                                                                                                                                
  1161. 2024-04-17 11:44:03.237512 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  1162. 2024-04-17 11:44:03.237512 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9999235538]
  1163. 2024-04-17 11:44:03.237512 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9999235538" OR id = "9999235538") AND deleted = 0 limit 1
  1164. 2024-04-17 11:44:03.237512 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^3850995626279.*' OR blocked_patterns = '^385099562627.*' OR blocked_patterns = '^38509956262.*' OR blocked_patterns = '^3850995626.*' OR blocked_patterns = '^385099562.*' OR blocked_patterns = '^38509956.*' OR blocked_patterns = '^3850995.*' OR blocked_patterns = '^385099.*' OR blocked_patterns = '^38509.*' OR blocked_patterns = '^3850.*' OR blocked_patterns = '^385.*' OR blocked_patterns = '^38.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 51 limit 1                                                                                                                                                                                                          
  1165. 2024-04-17 11:44:03.237512 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="3850995626279" AND (accountid = 0 OR status = 1) LIMIT 1
  1166. 2024-04-17 11:44:03.237512 97.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 4
  1167. 2024-04-17 11:44:03.237512 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 4 AND status=0 limit 1                                                                                                                                                                                            
  1168. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*/*/*,+/*/*/*".....3850995626279
  1169. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*/*/*,+/*/*/*".....3850995626279
  1170. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....38514404706DBCLI3850995626279                                                                                                                                                                                            
  1171. 2024-04-17 11:44:03.257515 97.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 38514404706DBCLI3850995626279
  1172. 2024-04-17 11:44:03.257515 97.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 38514404706DBCLI3850995626279
  1173. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....38514404706DBCLI3850995626279                                                                                                                                                                                            
  1174. 2024-04-17 11:44:03.257515 97.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 38514404706DBCLI3850995626279
  1175. 2024-04-17 11:44:03.257515 97.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 38514404706DBCLI3850995626279
  1176. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....38514404706DBCLI3850995626279                                                                                                                                                                                            
  1177. 2024-04-17 11:44:03.257515 97.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 38514404706DBCLI3850995626279
  1178. 2024-04-17 11:44:03.257515 97.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 38514404706DBCLI3850995626279
  1179. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....38514404706DBCLI3850995626279                                                                                                                                                                                            
  1180. 2024-04-17 11:44:03.257515 97.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 38514404706DBCLI3850995626279
  1181. 2024-04-17 11:44:03.257515 97.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 38514404706DBCLI3850995626279
  1182. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....38514404706DBCLI3850995626279                                                                                                                                                                                            
  1183. 2024-04-17 11:44:03.257515 97.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 38514404706DBCLI3850995626279
  1184. 2024-04-17 11:44:03.257515 97.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 38514404706
  1185. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^3850995626279.*' OR patterns = '^385099562627.*' OR patterns = '^38509956262.*' OR patterns = '^3850995626.*' OR patterns = '^385099562.*' OR patterns = '^38509956.*' OR patterns = '^3850995.*' OR patterns = '^385099.*' OR patterns = '^38509.*' OR patterns = '^3850.*' OR patterns = '^385.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 51 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                            
  1186. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="3850995626279" AND A.accountid = '51' limit 1                                                                                                                                                              
  1187. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 3850995626279
  1188. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="3850995626279" LIMIT 1                                  
  1189. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1190. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3850995626279" limit 1                                                                                                                                                                
  1191. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  1192. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '3850995626279' OR number = '385099562627' OR number = '38509956262' OR number = '3850995626' OR number = '385099562' OR number = '38509956' OR number = '3850995' OR number = '385099' OR number = '38509' OR number = '3850' OR number = '385' OR number = '38' OR number = '3' OR number ='--') OR (number = '3850995626279*' OR number = '385099562627*' OR number = '38509956262*' OR number = '3850995626*' OR number = '385099562*' OR number = '38509956*' OR number = '3850995*' OR number = '385099*' OR number = '38509*' OR number = '3850*' OR number = '385*' OR number = '38*' OR number = '3*' OR number ='--') OR (number = '38514404706' OR number = '3851440470' OR number = '385144047' OR number = '38514404' OR number = '3851440' OR number = '385144' OR number = '38514' OR number = '3851' OR number = '385' OR number = '38' OR number = '3' OR number ='--') OR (number = '38514404706*' OR number = '3851440470*' OR number = '385144047*' OR number = '38514404*' OR number = '3851440*' OR number = '385144*' OR number = '38514*' OR number = '3851*' OR number = '385*' OR number = '38*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                  
  1193. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1194. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '3850995626279' OR routing_prefix = '385099562627' OR routing_prefix = '38509956262' OR routing_prefix = '3850995626' OR routing_prefix = '385099562' OR routing_prefix = '38509956' OR routing_prefix = '3850995' OR routing_prefix = '385099' OR routing_prefix = '38509' OR routing_prefix = '3850' OR routing_prefix = '385' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1      
  1195. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1196. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 51
  1197. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9999235538
  1198. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 3054.29
  1199. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1200. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
  1201. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  1202. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1203. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  1204. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1205. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  1206. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^3850995626279.*' OR pattern = '^385099562627.*' OR pattern = '^38509956262.*' OR pattern = '^3850995626.*' OR pattern = '^385099562.*' OR pattern = '^38509956.*' OR pattern = '^3850995.*' OR pattern = '^385099.*' OR pattern = '^38509.*' OR pattern = '^3850.*' OR pattern = '^385.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND (caller_id_pattern = '^38514404706.*' OR caller_id_pattern = '^3851440470.*' OR caller_id_pattern = '^385144047.*' OR caller_id_pattern = '^38514404.*' OR caller_id_pattern = '^3851440.*' OR caller_id_pattern = '^385144.*' OR caller_id_pattern = '^38514.*' OR caller_id_pattern = '^3851.*' OR caller_id_pattern = '^385.*' OR caller_id_pattern = '^38.*' OR caller_id_pattern = '^3.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 5 OR accountid=51)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1                                                                                                                                                                              
  1207. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1208. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1209. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 693
  1210. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  1211. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1212. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.0500000000
  1213. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Croatia
  1214. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 47
  1215. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 51
  1216. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  1217. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1218. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1219. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your3054.29 balance Accountid 51 !!!
  1220. 2024-04-17 11:44:03.257515 97.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  1221. 2024-04-17 11:44:03.257515 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  1222. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  1223. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc
  1224. 2024-04-17 11:44:03.257515 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^3850995626279.*' OR pattern = '^385099562627.*' OR pattern = '^38509956262.*' OR pattern = '^3850995626.*' OR pattern = '^385099562.*' OR pattern = '^38509956.*' OR pattern = '^3850995.*' OR pattern = '^385099.*' OR pattern = '^38509.*' OR pattern = '^3850.*' OR pattern = '^385.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4,6,8,10,16,21) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC          
  1225. 2024-04-17 11:44:03.277513 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  1226. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1227. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1292
  1228. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^385.*
  1229. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Croatia Landline
  1230. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  1231. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1232. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^385.*
  1233. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1234. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1235. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
  1236. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : DIDWW_DID_ORIGIN
  1237. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1238. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : DIDWW_EEA_ORIGIN
  1239. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 7
  1240. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1241. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1242. 2024-04-17 11:44:03.277513 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 51 AND status=0 LIMIT 1                                                                                                                                                                                        
  1243. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  1244. 2024-04-17 11:44:03.277513 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'StepMod011' and status = 0 limit 1
  1245. 2024-04-17 11:44:03.277513 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1246. 2024-04-17 11:44:03.277513 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  1247. 2024-04-17 11:44:03.277513 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  1248. 2024-04-17 11:44:03.277513 97.90% [DEBUG] switch_cpp.cpp:1465 [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 = 7) AND status=0 limit 1                                                                                                                                                                  
  1249. 2024-04-17 11:44:03.277513 97.90% [DEBUG] switch_cpp.cpp:1465 [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 = 8) AND status=0 limit 1                                                                                                                                                                    
  1250. 2024-04-17 11:44:03.277513 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="3850995626279" LIMIT 1                                  
  1251. 2024-04-17 11:44:03.277513 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1252. 2024-04-17 11:44:03.277513 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  1253. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  1254. <document type="freeswitch/xml">                                                                                                                                                                                  
  1255. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  1256. <context name="default">                                                                                                                                                                                          
  1257. <extension name="3850995626279">                                                                                                                                                                                  
  1258. <condition field="destination_number" expression="3850995626279">                                                                                                                                                  
  1259. <action application="set" data="effective_destination_number=3850995626279"/>                                                                                                                                      
  1260. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  1261. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                                                              
  1262. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  1263. <action application="set" data="notify_credit_limit=5.00000"/>                                                                                                                                                    
  1264. <action application="set" data="type=0"/>                                                                                                                                                                          
  1265. <action application="set" data="callstart=2024-04-17 09:44:03"/>                                                                                                                                                  
  1266. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  1267. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  1268. <action application="set" data="account_id=51"/>                                                                                                                                                                  
  1269. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  1270. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  1271. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  1272. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  1273. <action application="set" data="accountname=default"/>                                                                                                                                                            
  1274. <action application="export" data="t38_passthru=true"/>                                                                                                                                                            
  1275. <action application="set" data="fax_enable_t38=true"/>                                                                                                                                                            
  1276. <action application="set" data="fax_enable_t38_request=true"/>                                                                                                                                                    
  1277. <action application="set" data="origination_rates=ID:693|CODE:^385.*|DESTINATION:Croatia|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0500000000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:47|ACCID:51"/>                                                                                                                                                                                                            
  1278. <action application="set" data="original_caller_id_name=143"/>                                                                                                                                                    
  1279. <action application="set" data="original_caller_id_number=38514404706"/>                                                                                                                                          
  1280.  
  1281. <action application="set" data="effective_caller_id_name=143"/>                                                                                                                                                    
  1282. <action application="set" data="effective_caller_id_number=38514404706"/>                                                                                                                                          
  1283. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  1284. <action application="set" data="termination_rates=ID:1292|CODE:^385.*|DESTINATION:Croatia Landline|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0069000000|INC:1|INITIALBLOCK:1|TRUNK:8|PROVIDER:7"/>      
  1285. <action application="set" data="trunk_id=8"/>                                                                                                                                                                      
  1286. <action application="set" data="provider_id=7"/>                                                                                                                                                                  
  1287. <action application="set" data="rate_flag=0"/>                                                                                                                                                                    
  1288. <action application="set" data="daily_call_credit_limit=0.00000"/>                                                                                                                                                
  1289. <action application="set" data="monthly_call_credit_limit=0.00000"/>                                                                                                                                              
  1290. <action application="set" data="daily_call_used_limit=0.00000"/>                                                                                                                                                  
  1291. <action application="set" data="monthly_call_used_limit=0.00000"/>                                                                                                                                                
  1292. <action application="set" data="quality_trunk_seq=8"/>                                                                                                                                                            
  1293. <action application="set" data="force_trunk_flag=0"/>                                                                                                                                                              
  1294. <action application="export" data="presence_data=trunk_id=8"/>                                                                                                                                                    
  1295. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  1296. <action application="export" data="presence_id=3850995626279"/>                                                                                                                                                    
  1297. <action application="export" data="presence_data=x|||StepMode(9999235538)|||^385.* // Croatia // 0.0500000000 |||DIDWW ORIGIN // ^385.* // Croatia Landline // 0.0069000000 // trunk_id=8|||STD|||82.214.92.6"/>  
  1298. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW_DID_ORIGIN/3850995626279"/>                                                          
  1299. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW_EEA_ORIGIN/3850995626279"/>                                                          
  1300. </condition>                                                                                                                                                                                                      
  1301. </extension>                                                                                                                                                                                                      
  1302. </context>                                                                                                                                                                                                        
  1303. </section>                                                                                                                                                                                                        
  1304. </document>                                                                                                                                                                                                        
  1305. Dialplan: sofia/default/38514404706@10.44.44.50 parsing [default->3850995626279] continue=false
  1306. Dialplan: sofia/default/38514404706@10.44.44.50 Regex (PASS) [3850995626279] destination_number(3850995626279) =~ /3850995626279/ break=on-false
  1307. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(effective_destination_number=3850995626279)
  1308. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1309. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1310. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(notify_flag=0)
  1311. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(notify_credit_limit=5.00000)
  1312. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(type=0)
  1313. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(callstart=2024-04-17 09:44:03)
  1314. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(hangup_after_bridge=true)
  1315. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(continue_on_fail=TRUE)
  1316. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(account_id=51)
  1317. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(parent_id=0)
  1318. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(entity_id=0)
  1319. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(call_processed=internal)
  1320. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(call_direction=outbound)
  1321. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(accountname=default)
  1322. Dialplan: sofia/default/38514404706@10.44.44.50 Action export(t38_passthru=true)
  1323. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(fax_enable_t38=true)
  1324. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(fax_enable_t38_request=true)
  1325. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(origination_rates=ID:693|CODE:^385.*|DESTINATION:Croatia|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0500000000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:47|ACCID:51)                                                                                                                                                                                  
  1326. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(original_caller_id_name=143)
  1327. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(original_caller_id_number=38514404706)
  1328. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(effective_caller_id_name=143)
  1329. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(effective_caller_id_number=38514404706)
  1330. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(calltype=STANDARD)
  1331. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(termination_rates=ID:1292|CODE:^385.*|DESTINATION:Croatia Landline|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0069000000|INC:1|INITIALBLOCK:1|TRUNK:8|PROVIDER:7)                                                                                                                                                                                                
  1332. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(trunk_id=8)
  1333. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(provider_id=7)
  1334. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(rate_flag=0)
  1335. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(daily_call_credit_limit=0.00000)
  1336. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(monthly_call_credit_limit=0.00000)
  1337. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(daily_call_used_limit=0.00000)
  1338. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(monthly_call_used_limit=0.00000)
  1339. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(quality_trunk_seq=8)
  1340. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(force_trunk_flag=0)
  1341. Dialplan: sofia/default/38514404706@10.44.44.50 Action export(presence_data=trunk_id=8)
  1342. Dialplan: sofia/default/38514404706@10.44.44.50 Action set(intcall=0)
  1343. Dialplan: sofia/default/38514404706@10.44.44.50 Action export(presence_id=3850995626279)
  1344. Dialplan: sofia/default/38514404706@10.44.44.50 Action export(presence_data=x|||StepMode(9999235538)|||^385.* // Croatia // 0.0500000000 |||DIDWW ORIGIN // ^385.* // Croatia Landline // 0.0069000000 // trunk_id=8|||STD|||82.214.92.6)                                                                                                                                                                                            
  1345. Dialplan: sofia/default/38514404706@10.44.44.50 Action bridge({sip_cid_type=none}[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW_DID_ORIGIN/3850995626279)
  1346. Dialplan: sofia/default/38514404706@10.44.44.50 Action bridge({sip_cid_type=none}[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW_EEA_ORIGIN/3850995626279)
  1347. 2024-04-17 11:44:03.277513 97.90% [DEBUG] switch_core_state_machine.c:281 (sofia/default/38514404706@10.44.44.50) State Change CS_ROUTING -> CS_EXECUTE
  1348. 2024-04-17 11:44:03.277513 97.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/38514404706@10.44.44.50) State ROUTING going to sleep
  1349. 2024-04-17 11:44:03.277513 97.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/38514404706@10.44.44.50) Running State Change CS_EXECUTE (Cur 15 Tot 245046)
  1350. 2024-04-17 11:44:03.277513 97.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/38514404706@10.44.44.50) State EXECUTE
  1351. 2024-04-17 11:44:03.277513 97.90% [DEBUG] mod_sofia.c:213 sofia/default/38514404706@10.44.44.50 SOFIA EXECUTE
  1352. 2024-04-17 11:44:03.277513 97.90% [DEBUG] switch_core_state_machine.c:323 sofia/default/38514404706@10.44.44.50 Standard EXECUTE
  1353. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(effective_destination_number=3850995626279)
  1354. 2024-04-17 11:44:03.277513 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [effective_destination_number]=[3850995626279]
  1355. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(bridge_pre_execute_bleg_app=sched_hangup)
  1356. 2024-04-17 11:44:03.277513 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1357. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1358. 2024-04-17 11:44:03.277513 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1359. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(notify_flag=0)
  1360. 2024-04-17 11:44:03.277513 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [notify_flag]=[0]
  1361. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(notify_credit_limit=5.00000)
  1362. 2024-04-17 11:44:03.277513 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [notify_credit_limit]=[5.00000]
  1363. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(type=0)
  1364. 2024-04-17 11:44:03.277513 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [type]=[0]
  1365. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(callstart=2024-04-17 09:44:03)
  1366. 2024-04-17 11:44:03.277513 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [callstart]=[2024-04-17 09:44:03]
  1367. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(hangup_after_bridge=true)
  1368. 2024-04-17 11:44:03.277513 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [hangup_after_bridge]=[true]
  1369. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(continue_on_fail=TRUE)
  1370. 2024-04-17 11:44:03.277513 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [continue_on_fail]=[TRUE]
  1371. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(account_id=51)
  1372. 2024-04-17 11:44:03.277513 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [account_id]=[51]
  1373. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(parent_id=0)
  1374. 2024-04-17 11:44:03.277513 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [parent_id]=[0]
  1375. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(entity_id=0)
  1376. 2024-04-17 11:44:03.277513 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [entity_id]=[0]
  1377. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(call_processed=internal)
  1378. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [call_processed]=[internal]
  1379. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(call_direction=outbound)
  1380. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [call_direction]=[outbound]
  1381. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(accountname=default)
  1382. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [accountname]=[default]
  1383. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 export(t38_passthru=true)
  1384. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [t38_passthru]=[true]
  1385. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(fax_enable_t38=true)
  1386. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [fax_enable_t38]=[true]
  1387. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(fax_enable_t38_request=true)
  1388. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [fax_enable_t38_request]=[true]
  1389. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(origination_rates=ID:693|CODE:^385.*|DESTINATION:Croatia|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0500000000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:47|ACCID:51)                                                                                                                                                                                  
  1390. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [origination_rates]=[ID:693|CODE:^385.*|DESTINATION:Croatia|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0500000000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:47|ACCID:51]                                                                                                                                    
  1391. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(original_caller_id_name=143)
  1392. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [original_caller_id_name]=[143]
  1393. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(original_caller_id_number=38514404706)
  1394. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [original_caller_id_number]=[38514404706]
  1395. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(effective_caller_id_name=143)
  1396. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [effective_caller_id_name]=[143]
  1397. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(effective_caller_id_number=38514404706)
  1398. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [effective_caller_id_number]=[38514404706]
  1399. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(calltype=STANDARD)
  1400. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [calltype]=[STANDARD]
  1401. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(termination_rates=ID:1292|CODE:^385.*|DESTINATION:Croatia Landline|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0069000000|INC:1|INITIALBLOCK:1|TRUNK:8|PROVIDER:7)                                                                                                                                                                                              
  1402. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [termination_rates]=[ID:1292|CODE:^385.*|DESTINATION:Croatia Landline|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0069000000|INC:1|INITIALBLOCK:1|TRUNK:8|PROVIDER:7]                                                                                                                                                
  1403. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(trunk_id=8)
  1404. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [trunk_id]=[8]
  1405. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(provider_id=7)
  1406. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [provider_id]=[7]
  1407. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(rate_flag=0)
  1408. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [rate_flag]=[0]
  1409. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(daily_call_credit_limit=0.00000)
  1410. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [daily_call_credit_limit]=[0.00000]
  1411. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(monthly_call_credit_limit=0.00000)
  1412. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [monthly_call_credit_limit]=[0.00000]
  1413. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(daily_call_used_limit=0.00000)
  1414. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [daily_call_used_limit]=[0.00000]
  1415. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(monthly_call_used_limit=0.00000)
  1416. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [monthly_call_used_limit]=[0.00000]
  1417. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(quality_trunk_seq=8)
  1418. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [quality_trunk_seq]=[8]
  1419. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(force_trunk_flag=0)
  1420. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [force_trunk_flag]=[0]
  1421. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 export(presence_data=trunk_id=8)
  1422. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=8]
  1423. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 set(intcall=0)
  1424. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_dptools.c:1671 SET sofia/default/38514404706@10.44.44.50 [intcall]=[0]
  1425. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 export(presence_id=3850995626279)
  1426. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[3850995626279]
  1427. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 export(presence_data=x|||StepMode(9999235538)|||^385.* // Croatia // 0.0500000000 |||DIDWW ORIGIN // ^385.* // Croatia Landline // 0.0069000000 // trunk_id=8|||STD|||82.214.92.6)                                                                                                                                                                                            
  1428. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||StepMode(9999235538)|||^385.* // Croatia // 0.0500000000 |||DIDWW ORIGIN // ^385.* // Croatia Landline // 0.0069000000 // trunk_id=8|||STD|||82.214.92.6]                                                                                                                                                                  
  1429. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 bridge({sip_cid_type=none}[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW_DID_ORIGIN/3850995626279)
  1430. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_channel.c:1288 sofia/default/38514404706@10.44.44.50 EXPORTING[export_vars] [t38_passthru]=[true] to event
  1431. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_channel.c:1288 sofia/default/38514404706@10.44.44.50 EXPORTING[export_vars] [presence_data]=[x|||StepMode(9999235538)|||^385.* // Croatia // 0.0500000000 |||DIDWW ORIGIN // ^385.* // Croatia Landline // 0.0069000000 // trunk_id=8|||STD|||82.214.92.6] to event                                                                                                                  
  1432. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_channel.c:1288 sofia/default/38514404706@10.44.44.50 EXPORTING[export_vars] [presence_id]=[3850995626279] to event
  1433. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_channel.c:1288 sofia/default/38514404706@10.44.44.50 EXPORTING[export_vars] [presence_data]=[x|||StepMode(9999235538)|||^385.* // Croatia // 0.0500000000 |||DIDWW ORIGIN // ^385.* // Croatia Landline // 0.0069000000 // trunk_id=8|||STD|||82.214.92.6] to event                                                                                                                  
  1434. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  1435. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  1436. 2024-04-17 11:44:03.297515 97.90% [NOTICE] switch_channel.c:1142 New Channel sofia/default/3850995626279 [09e18e3b-ce2d-407d-a85c-895ced876d69]
  1437. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_sofia.c:5110 (sofia/default/3850995626279) State Change CS_NEW -> CS_INIT
  1438. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_ivr_originate.c:3167 sofia/default/3850995626279 Setting leg timeout to 45
  1439. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3850995626279) Running State Change CS_INIT (Cur 16 Tot 245047)
  1440. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3850995626279) State INIT
  1441. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_sofia.c:97 sofia/default/3850995626279 SOFIA INIT
  1442. 2024-04-17 11:44:03.297515 97.90% [INFO] sofia_glue.c:1659 sofia/default/3850995626279 sending invite call-id: (null)
  1443. 2024-04-17 11:44:03.297515 97.90% [DEBUG] sofia_glue.c:1662 sofia/default/3850995626279 sending invite version: 1.10.10-release  64bit
  1444. Local SDP:                                                                                                                                                                                                        
  1445. v=0                                                                                                                                                                                                                
  1446. o=FreeSWITCH 1713323809 1713323810 IN IP4 82.214.92.4                                                                                                                                                              
  1447. s=FreeSWITCH                                                                                                                                                                                                      
  1448. c=IN IP4 82.214.92.4                                                                                                                                                                                              
  1449. t=0 0                                                                                                                                                                                                              
  1450. m=audio 23234 RTP/AVP 8 0 101                                                                                                                                                                                      
  1451. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1452. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  1453. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1454. a=fmtp:101 0-15                                                                                                                                                                                                    
  1455. a=ptime:20                                                                                                                                                                                                        
  1456. a=sendrecv                                                                                                                                                                                                        
  1457.  
  1458. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/3850995626279 Standard INIT
  1459. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/3850995626279) State Change CS_INIT -> CS_ROUTING
  1460. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3850995626279) State INIT going to sleep
  1461. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3850995626279) Running State Change CS_ROUTING (Cur 16 Tot 245047)
  1462. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3850995626279) State ROUTING
  1463. 2024-04-17 11:44:03.297515 97.90% [DEBUG] mod_sofia.c:158 sofia/default/3850995626279 SOFIA ROUTING
  1464. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_ivr_originate.c:67 (sofia/default/3850995626279) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1465. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3850995626279) State ROUTING going to sleep
  1466. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3850995626279) Running State Change CS_CONSUME_MEDIA (Cur 16 Tot 245047)
  1467. 2024-04-17 11:44:03.297515 97.90% [DEBUG] sofia.c:7493 Channel sofia/default/3850995626279 entering state [calling][0]
  1468. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_core_state_machine.c:659 (sofia/default/3850995626279) State CONSUME_MEDIA
  1469. 2024-04-17 11:44:03.297515 97.90% [DEBUG] switch_core_state_machine.c:659 (sofia/default/3850995626279) State CONSUME_MEDIA going to sleep
  1470. 2024-04-17 11:44:03.337508 97.67% [DEBUG] sofia.c:7493 Channel sofia/default/3850995626279 entering state [calling][0]
  1471. 2024-04-17 11:44:03.377513 97.67% [DEBUG] sofia.c:7493 Channel sofia/default/3850995626279 entering state [terminated][403]
  1472. 2024-04-17 11:44:03.377513 97.67% [NOTICE] sofia.c:8735 Hangup sofia/default/3850995626279 [CS_CONSUME_MEDIA] [CALL_REJECTED]
  1473. 2024-04-17 11:44:03.377513 97.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3850995626279) Running State Change CS_HANGUP (Cur 16 Tot 245047)
  1474. 2024-04-17 11:44:03.377513 97.67% [DEBUG] switch_core_state_machine.c:844 (sofia/default/3850995626279) Callstate Change DOWN -> HANGUP
  1475. 2024-04-17 11:44:03.377513 97.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3850995626279) State HANGUP
  1476. 2024-04-17 11:44:03.377513 97.67% [DEBUG] mod_sofia.c:469 Channel sofia/default/3850995626279 hanging up, cause: CALL_REJECTED
  1477. 2024-04-17 11:44:03.377513 97.67% [DEBUG] switch_core_state_machine.c:59 sofia/default/3850995626279 Standard HANGUP, cause: CALL_REJECTED
  1478. 2024-04-17 11:44:03.377513 97.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3850995626279) State HANGUP going to sleep
  1479. 2024-04-17 11:44:03.377513 97.67% [DEBUG] switch_core_state_machine.c:616 (sofia/default/3850995626279) State Change CS_HANGUP -> CS_REPORTING
  1480. 2024-04-17 11:44:03.377513 97.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3850995626279) Running State Change CS_REPORTING (Cur 16 Tot 245047)
  1481. 2024-04-17 11:44:03.377513 97.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3850995626279) State REPORTING
  1482. 2024-04-17 11:44:03.377513 97.67% [INFO] mod_json_cdr.c:272 Process [09e18e3b-ce2d-407d-a85c-895ced876d69.cdr.json]
  1483. 2024-04-17 11:44:03.377513 97.67% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 21 [CALL_REJECTED]
  1484. 2024-04-17 11:44:03.377513 97.67% [INFO] mod_dptools.c:3635 Originate Failed.  Cause: CALL_REJECTED
  1485. EXECUTE [depth=0] sofia/default/38514404706@10.44.44.50 bridge({sip_cid_type=none}[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW_EEA_ORIGIN/3850995626279)
  1486. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_channel.c:1288 sofia/default/38514404706@10.44.44.50 EXPORTING[export_vars] [t38_passthru]=[true] to event
  1487. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_channel.c:1288 sofia/default/38514404706@10.44.44.50 EXPORTING[export_vars] [presence_data]=[x|||StepMode(9999235538)|||^385.* // Croatia // 0.0500000000 |||DIDWW ORIGIN // ^385.* // Croatia Landline // 0.0069000000 // trunk_id=8|||STD|||82.214.92.6] to event                                                                                                                  
  1488. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_channel.c:1288 sofia/default/38514404706@10.44.44.50 EXPORTING[export_vars] [presence_id]=[3850995626279] to event
  1489. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_channel.c:1288 sofia/default/38514404706@10.44.44.50 EXPORTING[export_vars] [presence_data]=[x|||StepMode(9999235538)|||^385.* // Croatia // 0.0500000000 |||DIDWW ORIGIN // ^385.* // Croatia Landline // 0.0069000000 // trunk_id=8|||STD|||82.214.92.6] to event                                                                                                                  
  1490. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  1491. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  1492. 2024-04-17 11:44:03.397514 97.67% [NOTICE] switch_channel.c:1142 New Channel sofia/default/3850995626279 [45a35463-535e-45d9-9a25-ef4a0cb49ff4]
  1493. 2024-04-17 11:44:03.397514 97.67% [DEBUG] mod_sofia.c:5110 (sofia/default/3850995626279) State Change CS_NEW -> CS_INIT
  1494. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_ivr_originate.c:3167 sofia/default/3850995626279 Setting leg timeout to 45
  1495. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3850995626279) Running State Change CS_INIT (Cur 17 Tot 245048)
  1496. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3850995626279) State INIT
  1497. 2024-04-17 11:44:03.397514 97.67% [DEBUG] mod_sofia.c:97 sofia/default/3850995626279 SOFIA INIT
  1498. 2024-04-17 11:44:03.397514 97.67% [INFO] sofia_glue.c:1659 sofia/default/3850995626279 sending invite call-id: (null)
  1499. 2024-04-17 11:44:03.397514 97.67% [DEBUG] sofia_glue.c:1662 sofia/default/3850995626279 sending invite version: 1.10.10-release  64bit
  1500. Local SDP:                                                                                                                                                                                                        
  1501. v=0                                                                                                                                                                                                                
  1502. o=FreeSWITCH 1713321641 1713321642 IN IP4 82.214.92.4                                                                                                                                                              
  1503. s=FreeSWITCH                                                                                                                                                                                                      
  1504. c=IN IP4 82.214.92.4                                                                                                                                                                                              
  1505. t=0 0                                                                                                                                                                                                              
  1506. m=audio 25402 RTP/AVP 8 0 101                                                                                                                                                                                      
  1507. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1508. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  1509. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1510. a=fmtp:101 0-15                                                                                                                                                                                                    
  1511. a=ptime:20                                                                                                                                                                                                        
  1512. a=sendrecv                                                                                                                                                                                                        
  1513.  
  1514. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:40 sofia/default/3850995626279 Standard INIT
  1515. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:48 (sofia/default/3850995626279) State Change CS_INIT -> CS_ROUTING
  1516. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3850995626279) State INIT going to sleep
  1517. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3850995626279) Running State Change CS_ROUTING (Cur 17 Tot 245048)
  1518. 2024-04-17 11:44:03.397514 97.67% [DEBUG] sofia.c:7493 Channel sofia/default/3850995626279 entering state [calling][0]
  1519. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3850995626279) State ROUTING
  1520. 2024-04-17 11:44:03.397514 97.67% [DEBUG] mod_sofia.c:158 sofia/default/3850995626279 SOFIA ROUTING
  1521. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_ivr_originate.c:67 (sofia/default/3850995626279) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1522. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3850995626279) State ROUTING going to sleep
  1523. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3850995626279) Running State Change CS_CONSUME_MEDIA (Cur 17 Tot 245048)
  1524. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:659 (sofia/default/3850995626279) State CONSUME_MEDIA
  1525. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:659 (sofia/default/3850995626279) State CONSUME_MEDIA going to sleep
  1526. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:168 sofia/default/3850995626279 Standard REPORTING, cause: CALL_REJECTED
  1527. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3850995626279) State REPORTING going to sleep
  1528. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:607 (sofia/default/3850995626279) State Change CS_REPORTING -> CS_DESTROY
  1529. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_session.c:1744 Session 245047 (sofia/default/3850995626279) Locked, Waiting on external entities
  1530. 2024-04-17 11:44:03.397514 97.67% [NOTICE] switch_core_session.c:1762 Session 245047 (sofia/default/3850995626279) Ended
  1531. 2024-04-17 11:44:03.397514 97.67% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/3850995626279 [CS_DESTROY]
  1532. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:735 (sofia/default/3850995626279) Running State Change CS_DESTROY (Cur 16 Tot 245048)
  1533. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3850995626279) State DESTROY
  1534. 2024-04-17 11:44:03.397514 97.67% [DEBUG] mod_sofia.c:380 sofia/default/3850995626279 SOFIA DESTROY
  1535. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:175 sofia/default/3850995626279 Standard DESTROY
  1536. 2024-04-17 11:44:03.397514 97.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3850995626279) State DESTROY going to sleep
  1537. 2024-04-17 11:44:03.417511 97.67% [DEBUG] sofia.c:7493 Channel sofia/default/3850995626279 entering state [calling][0]
  1538. 2024-04-17 11:44:03.517548 97.67% [DEBUG] sofia.c:7493 Channel sofia/default/3850995626279 entering state [proceeding][183]
  1539. 2024-04-17 11:44:03.517548 97.67% [DEBUG] sofia.c:7503 Remote SDP:
  1540. v=0                                                                                                                                                                                                                
  1541. o=didww-y 1713321641 1713321644 IN IP4 46.19.210.21                                                                                                                                                                
  1542. s=didww-y                                                                                                                                                                                                          
  1543. t=0 0                                                                                                                                                                                                              
  1544. m=audio 31442 RTP/AVP 8 0 101                                                                                                                                                                                      
  1545. c=IN IP4 46.19.210.21                                                                                                                                                                                              
  1546. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1547. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  1548. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1549. a=fmtp:101 0-15                                                                                                                                                                                                    
  1550. a=ptime:20                                                                                                                                                                                                        
  1551. a=maxptime:30                                                                                                                                                                                                      
  1552.  
  1553. 2024-04-17 11:44:03.517548 97.67% [NOTICE] sofia.c:7506 Pre-Answer sofia/default/3850995626279!
  1554. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_channel.c:3585 (sofia/default/3850995626279) Callstate Change DOWN -> EARLY
  1555. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1556. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1557. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1558. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1559. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1560. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1561. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  1562. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/3850995626279 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1563. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_codec.c:111 sofia/default/3850995626279 Original read codec set to PCMA:8
  1564. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  1565. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:5856 sofia/default/3850995626279 Set 2833 dtmf send payload to 101 recv payload to 101
  1566. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/3850995626279] 10.44.44.50 port 25402 -> 46.19.210.21 port 31442 codec: 8 ms: 20
  1567. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  1568. 2024-04-17 11:44:03.517548 97.67% [INFO] switch_ivr_originate.c:3858 Sending early media
  1569. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:8972 sofia/default/3850995626279 Set 2833 dtmf send payload to 101
  1570. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:8979 sofia/default/3850995626279 Set 2833 dtmf receive payload to 101
  1571. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/38514404706@10.44.44.50] 10.44.44.50 port 27098 -> 10.66.66.50 port 47376 codec: 0 ms: 20
  1572. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:9002 sofia/default/3850995626279 Set rtp dtmf delay to 40
  1573. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  1574. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:8972 sofia/default/38514404706@10.44.44.50 Set 2833 dtmf send payload to 100
  1575. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:8979 sofia/default/38514404706@10.44.44.50 Set 2833 dtmf receive payload to 100
  1576. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_media.c:9002 sofia/default/38514404706@10.44.44.50 Set rtp dtmf delay to 40
  1577. 2024-04-17 11:44:03.517548 97.67% [DEBUG] mod_sofia.c:2607 Ring SDP:
  1578. v=0                                                                                                                                                                                                                
  1579. o=FreeSWITCH 1713319945 1713319946 IN IP4 82.214.92.4                                                                                                                                                              
  1580. s=FreeSWITCH                                                                                                                                                                                                      
  1581. c=IN IP4 82.214.92.4                                                                                                                                                                                              
  1582. t=0 0                                                                                                                                                                                                              
  1583. m=audio 27098 RTP/AVP 0 100                                                                                                                                                                                        
  1584. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  1585. a=rtpmap:100 telephone-event/8000                                                                                                                                                                                  
  1586. a=fmtp:100 0-15                                                                                                                                                                                                    
  1587. a=ptime:20                                                                                                                                                                                                        
  1588. a=sendrecv                                                                                                                                                                                                        
  1589.  
  1590. 2024-04-17 11:44:03.517548 97.67% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/default/38514404706@10.44.44.50!
  1591. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_channel.c:3585 (sofia/default/38514404706@10.44.44.50) Callstate Change RINGING -> EARLY
  1592. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/3850995626279] Peer UUID: 45a35463-535e-45d9-9a25-ef4a0cb49ff4
  1593. 2024-04-17 11:44:03.517548 97.67% [DEBUG] sofia.c:7493 Channel sofia/default/38514404706@10.44.44.50 entering state [early][183]
  1594. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/3850995626279) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1595. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3850995626279) Running State Change CS_EXCHANGE_MEDIA (Cur 16 Tot 245048)
  1596. 2024-04-17 11:44:03.517548 97.67% [DEBUG] switch_core_state_machine.c:650 (sofia/default/3850995626279) State EXCHANGE_MEDIA
  1597. 2024-04-17 11:44:03.517548 97.67% [DEBUG] mod_sofia.c:672 SOFIA EXCHANGE_MEDIA
  1598. 2024-04-17 11:44:03.657516 97.67% [DEBUG] sofia.c:7493 Channel sofia/default/3850995626279 entering state [terminated][404]
  1599. 2024-04-17 11:44:03.657516 97.67% [NOTICE] sofia.c:8735 Hangup sofia/default/3850995626279 [CS_EXCHANGE_MEDIA] [UNALLOCATED_NUMBER]
  1600. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_ivr_bridge.c:825 sofia/default/3850995626279 ending bridge by request from read function
  1601. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/3850995626279]
  1602. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:650 (sofia/default/3850995626279) State EXCHANGE_MEDIA going to sleep
  1603. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3850995626279) Running State Change CS_HANGUP (Cur 16 Tot 245048)
  1604. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:844 (sofia/default/3850995626279) Callstate Change EARLY -> HANGUP
  1605. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3850995626279) State HANGUP
  1606. 2024-04-17 11:44:03.657516 97.67% [DEBUG] mod_sofia.c:469 Channel sofia/default/3850995626279 hanging up, cause: UNALLOCATED_NUMBER
  1607. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/38514404706@10.44.44.50]
  1608. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/3850995626279 skip receive message [UNBRIDGE] (channel is hungup already)
  1609. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:59 sofia/default/3850995626279 Standard HANGUP, cause: UNALLOCATED_NUMBER
  1610. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3850995626279) State HANGUP going to sleep
  1611. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:616 (sofia/default/3850995626279) State Change CS_HANGUP -> CS_REPORTING
  1612. 2024-04-17 11:44:03.657516 97.67% [NOTICE] switch_core_state_machine.c:382 sofia/default/38514404706@10.44.44.50 has executed the last dialplan instruction, hanging up.
  1613. 2024-04-17 11:44:03.657516 97.67% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/38514404706@10.44.44.50 [CS_EXECUTE] [NORMAL_CLEARING]
  1614. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3850995626279) Running State Change CS_REPORTING (Cur 16 Tot 245048)
  1615. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3850995626279) State REPORTING
  1616. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:647 (sofia/default/38514404706@10.44.44.50) State EXECUTE going to sleep
  1617. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/38514404706@10.44.44.50) Running State Change CS_HANGUP (Cur 16 Tot 245048)
  1618. 2024-04-17 11:44:03.657516 97.67% [INFO] mod_json_cdr.c:272 Process [45a35463-535e-45d9-9a25-ef4a0cb49ff4.cdr.json]
  1619. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:844 (sofia/default/38514404706@10.44.44.50) Callstate Change EARLY -> HANGUP
  1620. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/38514404706@10.44.44.50) State HANGUP
  1621. 2024-04-17 11:44:03.657516 97.67% [DEBUG] mod_sofia.c:463 sofia/default/38514404706@10.44.44.50 Overriding SIP cause 480 with 404 from the other leg
  1622. 2024-04-17 11:44:03.657516 97.67% [DEBUG] mod_sofia.c:469 Channel sofia/default/38514404706@10.44.44.50 hanging up, cause: NORMAL_CLEARING
  1623. 2024-04-17 11:44:03.657516 97.67% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 404
  1624. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:59 sofia/default/38514404706@10.44.44.50 Standard HANGUP, cause: NORMAL_CLEARING
  1625. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/38514404706@10.44.44.50) State HANGUP going to sleep
  1626. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:616 (sofia/default/38514404706@10.44.44.50) State Change CS_HANGUP -> CS_REPORTING
  1627. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/38514404706@10.44.44.50) Running State Change CS_REPORTING (Cur 16 Tot 245048)
  1628. 2024-04-17 11:44:03.657516 97.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/38514404706@10.44.44.50) State REPORTING
  1629. 2024-04-17 11:44:03.657516 97.67% [INFO] mod_json_cdr.c:272 Process [72e18a1b-4c35-43cd-8119-15ce53b69296.cdr.json]
  1630. 2024-04-17 11:44:03.677506 97.67% [DEBUG] switch_core_state_machine.c:168 sofia/default/3850995626279 Standard REPORTING, cause: UNALLOCATED_NUMBER
  1631. 2024-04-17 11:44:03.677506 97.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3850995626279) State REPORTING going to sleep
  1632. 2024-04-17 11:44:03.677506 97.67% [DEBUG] switch_core_state_machine.c:607 (sofia/default/3850995626279) State Change CS_REPORTING -> CS_DESTROY
  1633. 2024-04-17 11:44:03.677506 97.67% [DEBUG] switch_core_session.c:1744 Session 245048 (sofia/default/3850995626279) Locked, Waiting on external entities
  1634. 2024-04-17 11:44:03.677506 97.67% [NOTICE] switch_core_session.c:1762 Session 245048 (sofia/default/3850995626279) Ended
  1635. 2024-04-17 11:44:03.677506 97.67% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/3850995626279 [CS_DESTROY]
  1636. 2024-04-17 11:44:03.677506 97.67% [DEBUG] switch_core_state_machine.c:735 (sofia/default/3850995626279) Running State Change CS_DESTROY (Cur 15 Tot 245048)
  1637. 2024-04-17 11:44:03.677506 97.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3850995626279) State DESTROY
  1638. 2024-04-17 11:44:03.677506 97.67% [DEBUG] mod_sofia.c:380 sofia/default/3850995626279 SOFIA DESTROY
  1639. 2024-04-17 11:44:03.677506 97.67% [DEBUG] switch_core_state_machine.c:175 sofia/default/3850995626279 Standard DESTROY
  1640. 2024-04-17 11:44:03.677506 97.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3850995626279) State DESTROY going to sleep
  1641. 2024-04-17 11:44:03.677506 97.67% [DEBUG] switch_core_state_machine.c:168 sofia/default/38514404706@10.44.44.50 Standard REPORTING, cause: NORMAL_CLEARING
  1642. 2024-04-17 11:44:03.677506 97.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/38514404706@10.44.44.50) State REPORTING going to sleep
  1643. 2024-04-17 11:44:03.677506 97.67% [DEBUG] switch_core_state_machine.c:607 (sofia/default/38514404706@10.44.44.50) State Change CS_REPORTING -> CS_DESTROY
  1644. 2024-04-17 11:44:03.677506 97.67% [DEBUG] switch_core_session.c:1744 Session 245046 (sofia/default/38514404706@10.44.44.50) Locked, Waiting on external entities
  1645. 2024-04-17 11:44:03.677506 97.67% [NOTICE] switch_core_session.c:1762 Session 245046 (sofia/default/38514404706@10.44.44.50) Ended
  1646. 2024-04-17 11:44:03.677506 97.67% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/38514404706@10.44.44.50 [CS_DESTROY]
  1647. 2024-04-17 11:44:03.677506 97.67% [DEBUG] switch_core_state_machine.c:735 (sofia/default/38514404706@10.44.44.50) Running State Change CS_DESTROY (Cur 14 Tot 245048)
  1648. 2024-04-17 11:44:03.677506 97.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/38514404706@10.44.44.50) State DESTROY
  1649. 2024-04-17 11:44:03.677506 97.67% [DEBUG] mod_sofia.c:380 sofia/default/38514404706@10.44.44.50 SOFIA DESTROY
  1650. 2024-04-17 11:44:03.677506 97.67% [DEBUG] switch_core_state_machine.c:175 sofia/default/38514404706@10.44.44.50 Standard DESTROY
  1651. 2024-04-17 11:44:03.677506 97.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/38514404706@10.44.44.50) State DESTROY going to sleep
  1652. 2024-04-17 11:44:04.217517 97.67% [NOTICE] switch_channel.c:1142 New Channel sofia/default/381114419368@10.44.44.50 [1466385e-d531-4730-850b-5a3b35fb5533]
  1653. 2024-04-17 11:44:04.217517 97.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381114419368@10.44.44.50) Running State Change CS_NEW (Cur 15 Tot 245049)
  1654. 2024-04-17 11:44:04.217517 97.67% [INFO] sofia.c:10459 sofia/default/381114419368@10.44.44.50 receiving invite from 82.214.92.6:60676 version: 1.10.10-release  64bit call-id: ghGNpfxcJwJFgsVu_4t6xQ..
  1655. 2024-04-17 11:44:04.217517 97.67% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 82.214.92.6:0.
  1656. 2024-04-17 11:44:04.217517 97.67% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [381646663202@10.44.44.50] from ip 82.214.92.6
  1657. 2024-04-17 11:44:04.217517 97.67% [DEBUG] switch_core_state_machine.c:600 (sofia/default/381114419368@10.44.44.50) State NEW
  1658. 2024-04-17 11:44:04.217517 97.67% [DEBUG] sofia.c:2419 detaching session 1466385e-d531-4730-850b-5a3b35fb5533
  1659. 2024-04-17 11:44:04.217517 97.67% [DEBUG] sofia.c:2532 Re-attaching to session 1466385e-d531-4730-850b-5a3b35fb5533
  1660. 2024-04-17 11:44:04.237510 97.67% [INFO] sofia.c:10459 sofia/default/381114419368@10.44.44.50 receiving invite from 82.214.92.6:60676 version: 1.10.10-release  64bit call-id: ghGNpfxcJwJFgsVu_4t6xQ..
  1661. 2024-04-17 11:44:04.237510 97.67% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 82.214.92.6:0.
  1662. 2024-04-17 11:44:04.257509 97.67% [DEBUG] sofia.c:11674 Setting NAT mode based on via received
  1663. 2024-04-17 11:44:04.257509 97.67% [DEBUG] sofia.c:7493 Channel sofia/default/381114419368@10.44.44.50 entering state [received][100]
  1664. 2024-04-17 11:44:04.257509 97.67% [DEBUG] sofia.c:7503 Remote SDP:
  1665. v=0                                                                                                                                                                                                                
  1666. o=107 826 1385 IN IP4 10.10.10.172                                                                                                                                                                                
  1667. s=Talk                                                                                                                                                                                                            
  1668. c=IN IP4 10.66.66.50                                                                                                                                                                                              
  1669. t=0 0                                                                                                                                                                                                              
  1670. a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics                                                                                                                                          
  1671. m=audio 47544 RTP/AVP 96 97 98 0 8 9 101 99 100                                                                                                                                                                    
  1672. a=rtpmap:96 opus/48000/2                                                                                                                                                                                          
  1673. a=fmtp:96 useinbandfec=1                                                                                                                                                                                          
  1674. a=rtpmap:97 speex/16000                                                                                                                                                                                            
  1675. a=fmtp:97 vbr=on                                                                                                                                                                                                  
  1676. a=rtpmap:98 speex/8000                                                                                                                                                                                            
  1677. a=fmtp:98 vbr=on                                                                                                                                                                                                  
  1678. a=rtpmap:101 telephone-event/48000                                                                                                                                                                                
  1679. a=rtpmap:99 telephone-event/16000                                                                                                                                                                                  
  1680. a=rtpmap:100 telephone-event/8000                                                                                                                                                                                  
  1681. a=rtcp-fb:* trr-int 1000                                                                                                                                                                                          
  1682. a=rtcp-fb:* ccm tmmbr                                                                                                                                                                                              
  1683.  
  1684. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  1685. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
  1686. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  1687. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  1688. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  1689. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  1690. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1691. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1692. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1693. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1694. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1695. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1696. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1697. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1698. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@48000
  1699. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/381114419368@10.44.44.50 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  1700. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_codec.c:111 sofia/default/381114419368@10.44.44.50 Original read codec set to PCMU:0
  1701. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 100@8000
  1702. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_media.c:5856 sofia/default/381114419368@10.44.44.50 Set 2833 dtmf send payload to 100 recv payload to 100
  1703. 2024-04-17 11:44:04.257509 97.67% [DEBUG] sofia.c:7927 (sofia/default/381114419368@10.44.44.50) State Change CS_NEW -> CS_INIT
  1704. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381114419368@10.44.44.50) Running State Change CS_INIT (Cur 15 Tot 245049)
  1705. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/381114419368@10.44.44.50) State INIT
  1706. 2024-04-17 11:44:04.257509 97.67% [DEBUG] mod_sofia.c:97 sofia/default/381114419368@10.44.44.50 SOFIA INIT
  1707. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_state_machine.c:40 sofia/default/381114419368@10.44.44.50 Standard INIT
  1708. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_state_machine.c:48 (sofia/default/381114419368@10.44.44.50) State Change CS_INIT -> CS_ROUTING
  1709. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/381114419368@10.44.44.50) State INIT going to sleep
  1710. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381114419368@10.44.44.50) Running State Change CS_ROUTING (Cur 15 Tot 245049)
  1711. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_channel.c:2399 (sofia/default/381114419368@10.44.44.50) Callstate Change DOWN -> RINGING
  1712. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_state_machine.c:640 (sofia/default/381114419368@10.44.44.50) State ROUTING
  1713. 2024-04-17 11:44:04.257509 97.67% [DEBUG] mod_sofia.c:158 sofia/default/381114419368@10.44.44.50 SOFIA ROUTING
  1714. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_core_state_machine.c:230 sofia/default/381114419368@10.44.44.50 Standard ROUTING
  1715. 2024-04-17 11:44:04.257509 97.67% [INFO] mod_dialplan_xml.c:639 Processing 107 <381114419368>->381646663202 in context default
  1716. 2024-04-17 11:44:04.257509 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  1717. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  1718. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                                                                                                
  1719. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1720. 2024-04-17 11:44:04.257509 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 381646663202
  1721. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '381646663202' AND status=0 limit 1
  1722. 2024-04-17 11:44:04.257509 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERStepMod011
  1723. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1724. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '381646663202' limit 1
  1725. 2024-04-17 11:44:04.257509 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 107 / 381114419368
  1726. 2024-04-17 11:44:04.257509 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="381646663202" LIMIT 1                                    
  1727. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1728. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="381646663202" limit 1                                                                                                                                                                  
  1729. 2024-04-17 11:44:04.277517 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  1730. 2024-04-17 11:44:04.277517 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9999235538]
  1731. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9999235538" OR id = "9999235538") AND deleted = 0 limit 1
  1732. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^381646663202.*' OR blocked_patterns = '^38164666320.*' OR blocked_patterns = '^3816466632.*' OR blocked_patterns = '^381646663.*' OR blocked_patterns = '^38164666.*' OR blocked_patterns = '^3816466.*' OR blocked_patterns = '^381646.*' OR blocked_patterns = '^38164.*' OR blocked_patterns = '^3816.*' OR blocked_patterns = '^381.*' OR blocked_patterns = '^38.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 51 limit 1                                
  1733. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="381646663202" AND (accountid = 0 OR status = 1) LIMIT 1
  1734. 2024-04-17 11:44:04.277517 97.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 4
  1735. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 4 AND status=0 limit 1                                                                                                                                                                                            
  1736. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*/*/*,+/*/*/*".....381646663202
  1737. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*/*/*,+/*/*/*".....381646663202
  1738. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....381114419368DBCLI381646663202                                                                                                                                                                                            
  1739. 2024-04-17 11:44:04.277517 97.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 381114419368DBCLI381646663202
  1740. 2024-04-17 11:44:04.277517 97.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 381114419368DBCLI381646663202
  1741. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....381114419368DBCLI381646663202                                                                                                                                                                                            
  1742. 2024-04-17 11:44:04.277517 97.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 381114419368DBCLI381646663202
  1743. 2024-04-17 11:44:04.277517 97.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 381114419368DBCLI381646663202
  1744. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....381114419368DBCLI381646663202                                                                                                                                                                                            
  1745. 2024-04-17 11:44:04.277517 97.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 381114419368DBCLI381646663202
  1746. 2024-04-17 11:44:04.277517 97.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 381114419368DBCLI381646663202
  1747. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....381114419368DBCLI381646663202                                                                                                                                                                                            
  1748. 2024-04-17 11:44:04.277517 97.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 381114419368DBCLI381646663202
  1749. 2024-04-17 11:44:04.277517 97.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 381114419368DBCLI381646663202
  1750. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....381114419368DBCLI381646663202                                                                                                                                                                                            
  1751. 2024-04-17 11:44:04.277517 97.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 381114419368DBCLI381646663202
  1752. 2024-04-17 11:44:04.277517 97.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 381114419368
  1753. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^381646663202.*' OR patterns = '^38164666320.*' OR patterns = '^3816466632.*' OR patterns = '^381646663.*' OR patterns = '^38164666.*' OR patterns = '^3816466.*' OR patterns = '^381646.*' OR patterns = '^38164.*' OR patterns = '^3816.*' OR patterns = '^381.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 51 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                              
  1754. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="381646663202" AND A.accountid = '51' limit 1                                                                                                                                                                
  1755. 2024-04-17 11:44:04.277517 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 381646663202
  1756. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="381646663202" LIMIT 1                                    
  1757. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1758. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="381646663202" limit 1                                                                                                                                                                  
  1759. 2024-04-17 11:44:04.277517 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  1760. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '381646663202' OR number = '38164666320' OR number = '3816466632' OR number = '381646663' OR number = '38164666' OR number = '3816466' OR number = '381646' OR number = '38164' OR number = '3816' OR number = '381' OR number = '38' OR number = '3' OR number ='--') OR (number = '381646663202*' OR number = '38164666320*' OR number = '3816466632*' OR number = '381646663*' OR number = '38164666*' OR number = '3816466*' OR number = '381646*' OR number = '38164*' OR number = '3816*' OR number = '381*' OR number = '38*' OR number = '3*' OR number ='--') OR (number = '381114419368' OR number = '38111441936' OR number = '3811144193' OR number = '381114419' OR number = '38111441' OR number = '3811144' OR number = '381114' OR number = '38111' OR number = '3811' OR number = '381' OR number = '38' OR number = '3' OR number ='--') OR (number = '381114419368*' OR number = '38111441936*' OR number = '3811144193*' OR number = '381114419*' OR number = '38111441*' OR number = '3811144*' OR number = '381114*' OR number = '38111*' OR number = '3811*' OR number = '381*' OR number = '38*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                    
  1761. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1762. 2024-04-17 11:44:04.277517 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '381646663202' OR routing_prefix = '38164666320' OR routing_prefix = '3816466632' OR routing_prefix = '381646663' OR routing_prefix = '38164666' OR routing_prefix = '3816466' OR routing_prefix = '381646' OR routing_prefix = '38164' OR routing_prefix = '3816' OR routing_prefix = '381' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                          
  1763. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1764. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 51
  1765. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9999235538
  1766. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 3054.29
  1767. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1768. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
  1769. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  1770. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1771. 2024-04-17 11:44:04.297538 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  1772. 2024-04-17 11:44:04.297538 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1773. 2024-04-17 11:44:04.297538 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  1774. 2024-04-17 11:44:04.297538 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^381646663202.*' OR pattern = '^38164666320.*' OR pattern = '^3816466632.*' OR pattern = '^381646663.*' OR pattern = '^38164666.*' OR pattern = '^3816466.*' OR pattern = '^381646.*' OR pattern = '^38164.*' OR pattern = '^3816.*' OR pattern = '^381.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND (caller_id_pattern = '^381114419368.*' OR caller_id_pattern = '^38111441936.*' OR caller_id_pattern = '^3811144193.*' OR caller_id_pattern = '^381114419.*' OR caller_id_pattern = '^38111441.*' OR caller_id_pattern = '^3811144.*' OR caller_id_pattern = '^381114.*' OR caller_id_pattern = '^38111.*' OR caller_id_pattern = '^3811.*' OR caller_id_pattern = '^381.*' OR caller_id_pattern = '^38.*' OR caller_id_pattern = '^3.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 5 OR accountid=51)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1                                                                                                                                                                    
  1775. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1776. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1777. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 698
  1778. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  1779. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1780. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.0400000000
  1781. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Serbia-Mobile
  1782. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 164
  1783. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 51
  1784. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  1785. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1786. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1787. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your3054.29 balance Accountid 51 !!!
  1788. 2024-04-17 11:44:04.297538 97.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  1789. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  1790. 2024-04-17 11:44:04.297538 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  1791. 2024-04-17 11:44:04.297538 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc
  1792. 2024-04-17 11:44:04.297538 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^381646663202.*' OR pattern = '^38164666320.*' OR pattern = '^3816466632.*' OR pattern = '^381646663.*' OR pattern = '^38164666.*' OR pattern = '^3816466.*' OR pattern = '^381646.*' OR pattern = '^38164.*' OR pattern = '^3816.*' OR pattern = '^381.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4,6,8,10,16,21) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC                                          
  1793. 2024-04-17 11:44:04.297538 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  1794. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1795. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 15926
  1796. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3816.*
  1797. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Serbia-Mobilni
  1798. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  1799. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1800. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3816.*
  1801. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1802. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1803. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
  1804. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Asterisk
  1805. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1806. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1807. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 8
  1808. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1809. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1810. 2024-04-17 11:44:04.297538 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 51 AND status=0 LIMIT 1                                                                                                                                                                                        
  1811. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  1812. 2024-04-17 11:44:04.297538 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'StepMod011' and status = 0 limit 1
  1813. 2024-04-17 11:44:04.297538 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1814. 2024-04-17 11:44:04.297538 97.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  1815. 2024-04-17 11:44:04.297538 97.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  1816. 2024-04-17 11:44:04.317507 97.47% [DEBUG] switch_cpp.cpp:1465 [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 = 8) AND status=0 limit 1                                                                                                                                                                  
  1817. 2024-04-17 11:44:04.317507 97.47% [DEBUG] switch_cpp.cpp:1465 [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                                                                                                                                                                    
  1818. 2024-04-17 11:44:04.317507 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="381646663202" LIMIT 1                                    
  1819. 2024-04-17 11:44:04.317507 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1820. 2024-04-17 11:44:04.317507 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  1821. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  1822. <document type="freeswitch/xml">                                                                                                                                                                                  
  1823. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  1824. <context name="default">                                                                                                                                                                                          
  1825. <extension name="381646663202">                                                                                                                                                                                    
  1826. <condition field="destination_number" expression="381646663202">                                                                                                                                                  
  1827. <action application="set" data="effective_destination_number=381646663202"/>                                                                                                                                      
  1828. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  1829. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                                                              
  1830. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  1831. <action application="set" data="notify_credit_limit=5.00000"/>                                                                                                                                                    
  1832. <action application="set" data="type=0"/>                                                                                                                                                                          
  1833. <action application="set" data="callstart=2024-04-17 09:44:04"/>                                                                                                                                                  
  1834. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  1835. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  1836. <action application="set" data="account_id=51"/>                                                                                                                                                                  
  1837. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  1838. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  1839. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  1840. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  1841. <action application="set" data="accountname=default"/>                                                                                                                                                            
  1842. <action application="export" data="t38_passthru=true"/>                                                                                                                                                            
  1843. <action application="set" data="fax_enable_t38=true"/>                                                                                                                                                            
  1844. <action application="set" data="fax_enable_t38_request=true"/>                                                                                                                                                    
  1845. <action application="set" data="origination_rates=ID:698|CODE:^3816.*|DESTINATION:Serbia-Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0400000000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:164|ACCID:51"/>                                                                                                                                                                                                    
  1846. <action application="set" data="original_caller_id_name=107"/>                                                                                                                                                    
  1847. <action application="set" data="original_caller_id_number=381114419368"/>                                                                                                                                          
  1848.  
  1849. <action application="set" data="effective_caller_id_name=107"/>                                                                                                                                                    
  1850. <action application="set" data="effective_caller_id_number=381114419368"/>                                                                                                                                        
  1851. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  1852. <action application="set" data="termination_rates=ID:15926|CODE:^3816.*|DESTINATION:Serbia-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0191000000|INC:1|INITIALBLOCK:60|TRUNK:4|PROVIDER:8"/>    
  1853. <action application="set" data="trunk_id=4"/>                                                                                                                                                                      
  1854. <action application="set" data="provider_id=8"/>                                                                                                                                                                  
  1855. <action application="set" data="rate_flag=0"/>                                                                                                                                                                    
  1856. <action application="set" data="daily_call_credit_limit=0.00000"/>                                                                                                                                                
  1857. <action application="set" data="monthly_call_credit_limit=0.00000"/>                                                                                                                                              
  1858. <action application="set" data="daily_call_used_limit=0.00000"/>                                                                                                                                                  
  1859. <action application="set" data="monthly_call_used_limit=0.00000"/>                                                                                                                                                
  1860. <action application="set" data="quality_trunk_seq=4"/>                                                                                                                                                            
  1861. <action application="set" data="force_trunk_flag=0"/>                                                                                                                                                              
  1862. <action application="export" data="presence_data=trunk_id=4"/>                                                                                                                                                    
  1863. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  1864. <action application="export" data="presence_id=381646663202"/>                                                                                                                                                    
  1865. <action application="export" data="presence_data=x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6"/>                                                                                                                                                                                                                  
  1866. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/Asterisk/381646663202"/>                                                                    
  1867. </condition>                                                                                                                                                                                                      
  1868. </extension>                                                                                                                                                                                                      
  1869. </context>                                                                                                                                                                                                        
  1870. </section>                                                                                                                                                                                                        
  1871. </document>                                                                                                                                                                                                        
  1872. Dialplan: sofia/default/381114419368@10.44.44.50 parsing [default->381646663202] continue=false
  1873. Dialplan: sofia/default/381114419368@10.44.44.50 Regex (PASS) [381646663202] destination_number(381646663202) =~ /381646663202/ break=on-false
  1874. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(effective_destination_number=381646663202)
  1875. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1876. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1877. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(notify_flag=0)
  1878. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(notify_credit_limit=5.00000)
  1879. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(type=0)
  1880. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(callstart=2024-04-17 09:44:04)
  1881. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(hangup_after_bridge=true)
  1882. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(continue_on_fail=TRUE)
  1883. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(account_id=51)
  1884. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(parent_id=0)
  1885. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(entity_id=0)
  1886. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(call_processed=internal)
  1887. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(call_direction=outbound)
  1888. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(accountname=default)
  1889. Dialplan: sofia/default/381114419368@10.44.44.50 Action export(t38_passthru=true)
  1890. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(fax_enable_t38=true)
  1891. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(fax_enable_t38_request=true)
  1892. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(origination_rates=ID:698|CODE:^3816.*|DESTINATION:Serbia-Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0400000000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:164|ACCID:51)                                                                                                                                                                          
  1893. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(original_caller_id_name=107)
  1894. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(original_caller_id_number=381114419368)
  1895. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(effective_caller_id_name=107)
  1896. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(effective_caller_id_number=381114419368)
  1897. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(calltype=STANDARD)
  1898. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(termination_rates=ID:15926|CODE:^3816.*|DESTINATION:Serbia-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0191000000|INC:1|INITIALBLOCK:60|TRUNK:4|PROVIDER:8)                                                                                                                                                                                              
  1899. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(trunk_id=4)
  1900. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(provider_id=8)
  1901. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(rate_flag=0)
  1902. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(daily_call_credit_limit=0.00000)
  1903. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(monthly_call_credit_limit=0.00000)
  1904. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(daily_call_used_limit=0.00000)
  1905. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(monthly_call_used_limit=0.00000)
  1906. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(quality_trunk_seq=4)
  1907. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(force_trunk_flag=0)
  1908. Dialplan: sofia/default/381114419368@10.44.44.50 Action export(presence_data=trunk_id=4)
  1909. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(intcall=0)
  1910. Dialplan: sofia/default/381114419368@10.44.44.50 Action export(presence_id=381646663202)
  1911. Dialplan: sofia/default/381114419368@10.44.44.50 Action export(presence_data=x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6)                                                                                                                                                                                        
  1912. Dialplan: sofia/default/381114419368@10.44.44.50 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/Asterisk/381646663202)
  1913. 2024-04-17 11:44:04.317507 97.47% [DEBUG] switch_core_state_machine.c:281 (sofia/default/381114419368@10.44.44.50) State Change CS_ROUTING -> CS_EXECUTE
  1914. 2024-04-17 11:44:04.317507 97.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/381114419368@10.44.44.50) State ROUTING going to sleep
  1915. 2024-04-17 11:44:04.317507 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381114419368@10.44.44.50) Running State Change CS_EXECUTE (Cur 15 Tot 245049)
  1916. 2024-04-17 11:44:04.317507 97.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/381114419368@10.44.44.50) State EXECUTE
  1917. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_sofia.c:213 sofia/default/381114419368@10.44.44.50 SOFIA EXECUTE
  1918. 2024-04-17 11:44:04.317507 97.47% [DEBUG] switch_core_state_machine.c:323 sofia/default/381114419368@10.44.44.50 Standard EXECUTE
  1919. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(effective_destination_number=381646663202)
  1920. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [effective_destination_number]=[381646663202]
  1921. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(bridge_pre_execute_bleg_app=sched_hangup)
  1922. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1923. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1924. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1925. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(notify_flag=0)
  1926. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [notify_flag]=[0]
  1927. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(notify_credit_limit=5.00000)
  1928. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [notify_credit_limit]=[5.00000]
  1929. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(type=0)
  1930. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [type]=[0]
  1931. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(callstart=2024-04-17 09:44:04)
  1932. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [callstart]=[2024-04-17 09:44:04]
  1933. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(hangup_after_bridge=true)
  1934. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [hangup_after_bridge]=[true]
  1935. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(continue_on_fail=TRUE)
  1936. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [continue_on_fail]=[TRUE]
  1937. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(account_id=51)
  1938. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [account_id]=[51]
  1939. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(parent_id=0)
  1940. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [parent_id]=[0]
  1941. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(entity_id=0)
  1942. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [entity_id]=[0]
  1943. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(call_processed=internal)
  1944. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [call_processed]=[internal]
  1945. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(call_direction=outbound)
  1946. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [call_direction]=[outbound]
  1947. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(accountname=default)
  1948. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [accountname]=[default]
  1949. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 export(t38_passthru=true)
  1950. 2024-04-17 11:44:04.317507 97.47% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [t38_passthru]=[true]
  1951. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(fax_enable_t38=true)
  1952. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [fax_enable_t38]=[true]
  1953. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(fax_enable_t38_request=true)
  1954. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [fax_enable_t38_request]=[true]
  1955. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(origination_rates=ID:698|CODE:^3816.*|DESTINATION:Serbia-Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0400000000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:164|ACCID:51)                                                                                                                                                                        
  1956. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [origination_rates]=[ID:698|CODE:^3816.*|DESTINATION:Serbia-Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0400000000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:164|ACCID:51]                                                                                                                          
  1957. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(original_caller_id_name=107)
  1958. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [original_caller_id_name]=[107]
  1959. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(original_caller_id_number=381114419368)
  1960. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [original_caller_id_number]=[381114419368]
  1961. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(effective_caller_id_name=107)
  1962. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [effective_caller_id_name]=[107]
  1963. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(effective_caller_id_number=381114419368)
  1964. 2024-04-17 11:44:04.317507 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [effective_caller_id_number]=[381114419368]
  1965. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(calltype=STANDARD)
  1966. 2024-04-17 11:44:04.337514 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [calltype]=[STANDARD]
  1967. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(termination_rates=ID:15926|CODE:^3816.*|DESTINATION:Serbia-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0191000000|INC:1|INITIALBLOCK:60|TRUNK:4|PROVIDER:8)                                                                                                                                                                                            
  1968. 2024-04-17 11:44:04.337514 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [termination_rates]=[ID:15926|CODE:^3816.*|DESTINATION:Serbia-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0191000000|INC:1|INITIALBLOCK:60|TRUNK:4|PROVIDER:8]                                                                                                                                              
  1969. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(trunk_id=4)
  1970. 2024-04-17 11:44:04.337514 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [trunk_id]=[4]
  1971. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(provider_id=8)
  1972. 2024-04-17 11:44:04.337514 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [provider_id]=[8]
  1973. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(rate_flag=0)
  1974. 2024-04-17 11:44:04.337514 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [rate_flag]=[0]
  1975. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(daily_call_credit_limit=0.00000)
  1976. 2024-04-17 11:44:04.337514 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [daily_call_credit_limit]=[0.00000]
  1977. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(monthly_call_credit_limit=0.00000)
  1978. 2024-04-17 11:44:04.337514 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [monthly_call_credit_limit]=[0.00000]
  1979. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(daily_call_used_limit=0.00000)
  1980. 2024-04-17 11:44:04.337514 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [daily_call_used_limit]=[0.00000]
  1981. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(monthly_call_used_limit=0.00000)
  1982. 2024-04-17 11:44:04.337514 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [monthly_call_used_limit]=[0.00000]
  1983. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(quality_trunk_seq=4)
  1984. 2024-04-17 11:44:04.337514 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [quality_trunk_seq]=[4]
  1985. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(force_trunk_flag=0)
  1986. 2024-04-17 11:44:04.337514 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [force_trunk_flag]=[0]
  1987. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 export(presence_data=trunk_id=4)
  1988. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=4]
  1989. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(intcall=0)
  1990. 2024-04-17 11:44:04.337514 97.47% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [intcall]=[0]
  1991. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 export(presence_id=381646663202)
  1992. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[381646663202]
  1993. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 export(presence_data=x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6)                                                                                                                                                                                      
  1994. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6]                                                                                                                                                              
  1995. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/Asterisk/381646663202)
  1996. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_channel.c:1288 sofia/default/381114419368@10.44.44.50 EXPORTING[export_vars] [t38_passthru]=[true] to event
  1997. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_channel.c:1288 sofia/default/381114419368@10.44.44.50 EXPORTING[export_vars] [presence_data]=[x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6] to event                                                                                                            
  1998. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_channel.c:1288 sofia/default/381114419368@10.44.44.50 EXPORTING[export_vars] [presence_id]=[381646663202] to event
  1999. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_channel.c:1288 sofia/default/381114419368@10.44.44.50 EXPORTING[export_vars] [presence_data]=[x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6] to event                                                                                                            
  2000. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  2001. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  2002. 2024-04-17 11:44:04.337514 97.47% [NOTICE] switch_channel.c:1142 New Channel sofia/default/381646663202 [cf4a546a-bd60-4412-98ea-e5c6ea73acfe]
  2003. 2024-04-17 11:44:04.337514 97.47% [DEBUG] mod_sofia.c:5110 (sofia/default/381646663202) State Change CS_NEW -> CS_INIT
  2004. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_ivr_originate.c:3167 sofia/default/381646663202 Setting leg timeout to 30
  2005. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381646663202) Running State Change CS_INIT (Cur 16 Tot 245050)
  2006. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/381646663202) State INIT
  2007. 2024-04-17 11:44:04.337514 97.47% [DEBUG] mod_sofia.c:97 sofia/default/381646663202 SOFIA INIT
  2008. 2024-04-17 11:44:04.337514 97.47% [INFO] sofia_glue.c:1659 sofia/default/381646663202 sending invite call-id: (null)
  2009. 2024-04-17 11:44:04.337514 97.47% [DEBUG] sofia_glue.c:1662 sofia/default/381646663202 sending invite version: 1.10.10-release  64bit
  2010. Local SDP:                                                                                                                                                                                                        
  2011. v=0                                                                                                                                                                                                                
  2012. o=FreeSWITCH 1713324150 1713324151 IN IP4 82.214.92.4                                                                                                                                                              
  2013. s=FreeSWITCH                                                                                                                                                                                                      
  2014. c=IN IP4 82.214.92.4                                                                                                                                                                                              
  2015. t=0 0                                                                                                                                                                                                              
  2016. m=audio 22894 RTP/AVP 8 0 101                                                                                                                                                                                      
  2017. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  2018. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  2019. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  2020. a=fmtp:101 0-15                                                                                                                                                                                                    
  2021. a=ptime:20                                                                                                                                                                                                        
  2022. a=sendrecv                                                                                                                                                                                                        
  2023.  
  2024. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/381646663202 Standard INIT
  2025. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/381646663202) State Change CS_INIT -> CS_ROUTING
  2026. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/381646663202) State INIT going to sleep
  2027. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381646663202) Running State Change CS_ROUTING (Cur 16 Tot 245050)
  2028. 2024-04-17 11:44:04.337514 97.47% [DEBUG] sofia.c:7493 Channel sofia/default/381646663202 entering state [calling][0]
  2029. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/381646663202) State ROUTING
  2030. 2024-04-17 11:44:04.337514 97.47% [DEBUG] mod_sofia.c:158 sofia/default/381646663202 SOFIA ROUTING
  2031. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_ivr_originate.c:67 (sofia/default/381646663202) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2032. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/381646663202) State ROUTING going to sleep
  2033. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381646663202) Running State Change CS_CONSUME_MEDIA (Cur 16 Tot 245050)
  2034. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/381646663202) State CONSUME_MEDIA
  2035. 2024-04-17 11:44:04.337514 97.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/381646663202) State CONSUME_MEDIA going to sleep
  2036. 2024-04-17 11:44:06.337519 97.20% [NOTICE] switch_channel.c:1142 New Channel sofia/default/381114419368@10.44.44.50 [addb1780-7bc1-413a-a2e7-72e13878e4b2]
  2037. 2024-04-17 11:44:06.337519 97.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381114419368@10.44.44.50) Running State Change CS_NEW (Cur 17 Tot 245051)
  2038. 2024-04-17 11:44:06.337519 97.20% [INFO] sofia.c:10459 sofia/default/381114419368@10.44.44.50 receiving invite from 82.214.92.6:60676 version: 1.10.10-release  64bit call-id: ulLJBaybPj-I6f7vNpC_VQ..
  2039. 2024-04-17 11:44:06.337519 97.20% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 82.214.92.6:0.
  2040. 2024-04-17 11:44:06.337519 97.20% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [381607316820@10.44.44.50] from ip 82.214.92.6
  2041. 2024-04-17 11:44:06.337519 97.20% [DEBUG] switch_core_state_machine.c:600 (sofia/default/381114419368@10.44.44.50) State NEW
  2042. 2024-04-17 11:44:06.337519 97.20% [DEBUG] sofia.c:2419 detaching session addb1780-7bc1-413a-a2e7-72e13878e4b2
  2043. 2024-04-17 11:44:06.337519 97.20% [DEBUG] sofia.c:2532 Re-attaching to session addb1780-7bc1-413a-a2e7-72e13878e4b2
  2044. 2024-04-17 11:44:06.357519 97.20% [INFO] sofia.c:10459 sofia/default/381114419368@10.44.44.50 receiving invite from 82.214.92.6:60676 version: 1.10.10-release  64bit call-id: ulLJBaybPj-I6f7vNpC_VQ..
  2045. 2024-04-17 11:44:06.357519 97.20% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 82.214.92.6:0.
  2046. 2024-04-17 11:44:06.377516 97.20% [DEBUG] sofia.c:11674 Setting NAT mode based on via received
  2047. 2024-04-17 11:44:06.377516 97.20% [DEBUG] sofia.c:7493 Channel sofia/default/381114419368@10.44.44.50 entering state [received][100]
  2048. 2024-04-17 11:44:06.377516 97.20% [DEBUG] sofia.c:7503 Remote SDP:
  2049. v=0                                                                                                                                                                                                                
  2050. o=144 3060 1390 IN IP4 10.10.10.149                                                                                                                                                                                
  2051. s=Talk                                                                                                                                                                                                            
  2052. c=IN IP4 10.66.66.50                                                                                                                                                                                              
  2053. t=0 0                                                                                                                                                                                                              
  2054. a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics                                                                                                                                          
  2055. m=audio 47556 RTP/AVP 96 97 98 0 8 101 99 100                                                                                                                                                                      
  2056. a=rtpmap:96 opus/48000/2                                                                                                                                                                                          
  2057. a=fmtp:96 useinbandfec=1                                                                                                                                                                                          
  2058. a=rtpmap:97 speex/16000                                                                                                                                                                                            
  2059. a=fmtp:97 vbr=on                                                                                                                                                                                                  
  2060. a=rtpmap:98 speex/8000                                                                                                                                                                                            
  2061. a=fmtp:98 vbr=on                                                                                                                                                                                                  
  2062. a=rtpmap:101 telephone-event/48000                                                                                                                                                                                
  2063. a=rtpmap:99 telephone-event/16000                                                                                                                                                                                  
  2064. a=rtpmap:100 telephone-event/8000                                                                                                                                                                                  
  2065. a=rtcp-fb:* trr-int 1000                                                                                                                                                                                          
  2066. a=rtcp-fb:* ccm tmmbr                                                                                                                                                                                              
  2067.  
  2068. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  2069. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
  2070. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  2071. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  2072. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  2073. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  2074. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2075. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2076. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  2077. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2078. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2079. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2080. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@48000
  2081. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/381114419368@10.44.44.50 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  2082. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_codec.c:111 sofia/default/381114419368@10.44.44.50 Original read codec set to PCMU:0
  2083. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 100@8000
  2084. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_media.c:5856 sofia/default/381114419368@10.44.44.50 Set 2833 dtmf send payload to 100 recv payload to 100
  2085. 2024-04-17 11:44:06.377516 97.20% [DEBUG] sofia.c:7927 (sofia/default/381114419368@10.44.44.50) State Change CS_NEW -> CS_INIT
  2086. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381114419368@10.44.44.50) Running State Change CS_INIT (Cur 17 Tot 245051)
  2087. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/381114419368@10.44.44.50) State INIT
  2088. 2024-04-17 11:44:06.377516 97.20% [DEBUG] mod_sofia.c:97 sofia/default/381114419368@10.44.44.50 SOFIA INIT
  2089. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/381114419368@10.44.44.50 Standard INIT
  2090. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/381114419368@10.44.44.50) State Change CS_INIT -> CS_ROUTING
  2091. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/381114419368@10.44.44.50) State INIT going to sleep
  2092. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381114419368@10.44.44.50) Running State Change CS_ROUTING (Cur 17 Tot 245051)
  2093. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_channel.c:2399 (sofia/default/381114419368@10.44.44.50) Callstate Change DOWN -> RINGING
  2094. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/381114419368@10.44.44.50) State ROUTING
  2095. 2024-04-17 11:44:06.377516 97.20% [DEBUG] mod_sofia.c:158 sofia/default/381114419368@10.44.44.50 SOFIA ROUTING
  2096. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_core_state_machine.c:230 sofia/default/381114419368@10.44.44.50 Standard ROUTING
  2097. 2024-04-17 11:44:06.377516 97.20% [INFO] mod_dialplan_xml.c:639 Processing 144 <381114419368>->381607316820 in context default
  2098. 2024-04-17 11:44:06.377516 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  2099. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  2100. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                                                                                                
  2101. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2102. 2024-04-17 11:44:06.377516 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 381607316820
  2103. 2024-04-17 11:44:06.377516 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '381607316820' AND status=0 limit 1
  2104. 2024-04-17 11:44:06.397504 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERStepMod011
  2105. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2106. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '381607316820' limit 1
  2107. 2024-04-17 11:44:06.397504 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 144 / 381114419368
  2108. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="381607316820" LIMIT 1                                    
  2109. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2110. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="381607316820" limit 1                                                                                                                                                                  
  2111. 2024-04-17 11:44:06.397504 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  2112. 2024-04-17 11:44:06.397504 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9999235538]
  2113. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9999235538" OR id = "9999235538") AND deleted = 0 limit 1
  2114. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^381607316820.*' OR blocked_patterns = '^38160731682.*' OR blocked_patterns = '^3816073168.*' OR blocked_patterns = '^381607316.*' OR blocked_patterns = '^38160731.*' OR blocked_patterns = '^3816073.*' OR blocked_patterns = '^381607.*' OR blocked_patterns = '^38160.*' OR blocked_patterns = '^3816.*' OR blocked_patterns = '^381.*' OR blocked_patterns = '^38.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 51 limit 1                                
  2115. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="381607316820" AND (accountid = 0 OR status = 1) LIMIT 1
  2116. 2024-04-17 11:44:06.397504 97.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 4
  2117. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 4 AND status=0 limit 1                                                                                                                                                                                            
  2118. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*/*/*,+/*/*/*".....381607316820
  2119. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*/*/*,+/*/*/*".....381607316820
  2120. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....381114419368DBCLI381607316820                                                                                                                                                                                            
  2121. 2024-04-17 11:44:06.397504 97.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 381114419368DBCLI381607316820
  2122. 2024-04-17 11:44:06.397504 97.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 381114419368DBCLI381607316820
  2123. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....381114419368DBCLI381607316820                                                                                                                                                                                            
  2124. 2024-04-17 11:44:06.397504 97.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 381114419368DBCLI381607316820
  2125. 2024-04-17 11:44:06.397504 97.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 381114419368DBCLI381607316820
  2126. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....381114419368DBCLI381607316820                                                                                                                                                                                            
  2127. 2024-04-17 11:44:06.397504 97.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 381114419368DBCLI381607316820
  2128. 2024-04-17 11:44:06.397504 97.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 381114419368DBCLI381607316820
  2129. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....381114419368DBCLI381607316820                                                                                                                                                                                            
  2130. 2024-04-17 11:44:06.397504 97.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 381114419368DBCLI381607316820
  2131. 2024-04-17 11:44:06.397504 97.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 381114419368DBCLI381607316820
  2132. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"382/+38220690284/*/*,387/38733922284/*/*,381/381114419368/*/*,386/38618284878/*/*,49/4961088009984/*/*".....381114419368DBCLI381607316820                                                                                                                                                                                            
  2133. 2024-04-17 11:44:06.397504 97.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 381114419368DBCLI381607316820
  2134. 2024-04-17 11:44:06.397504 97.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 381114419368
  2135. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^381607316820.*' OR patterns = '^38160731682.*' OR patterns = '^3816073168.*' OR patterns = '^381607316.*' OR patterns = '^38160731.*' OR patterns = '^3816073.*' OR patterns = '^381607.*' OR patterns = '^38160.*' OR patterns = '^3816.*' OR patterns = '^381.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 51 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                              
  2136. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="381607316820" AND A.accountid = '51' limit 1                                                                                                                                                                
  2137. 2024-04-17 11:44:06.397504 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 381607316820
  2138. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="381607316820" LIMIT 1                                    
  2139. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2140. 2024-04-17 11:44:06.397504 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="381607316820" limit 1                                                                                                                                                                  
  2141. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  2142. 2024-04-17 11:44:06.417526 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '381607316820' OR number = '38160731682' OR number = '3816073168' OR number = '381607316' OR number = '38160731' OR number = '3816073' OR number = '381607' OR number = '38160' OR number = '3816' OR number = '381' OR number = '38' OR number = '3' OR number ='--') OR (number = '381607316820*' OR number = '38160731682*' OR number = '3816073168*' OR number = '381607316*' OR number = '38160731*' OR number = '3816073*' OR number = '381607*' OR number = '38160*' OR number = '3816*' OR number = '381*' OR number = '38*' OR number = '3*' OR number ='--') OR (number = '381114419368' OR number = '38111441936' OR number = '3811144193' OR number = '381114419' OR number = '38111441' OR number = '3811144' OR number = '381114' OR number = '38111' OR number = '3811' OR number = '381' OR number = '38' OR number = '3' OR number ='--') OR (number = '381114419368*' OR number = '38111441936*' OR number = '3811144193*' OR number = '381114419*' OR number = '38111441*' OR number = '3811144*' OR number = '381114*' OR number = '38111*' OR number = '3811*' OR number = '381*' OR number = '38*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                    
  2143. 2024-04-17 11:44:06.417526 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  2144. 2024-04-17 11:44:06.417526 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '381607316820' OR routing_prefix = '38160731682' OR routing_prefix = '3816073168' OR routing_prefix = '381607316' OR routing_prefix = '38160731' OR routing_prefix = '3816073' OR routing_prefix = '381607' OR routing_prefix = '38160' OR routing_prefix = '3816' OR routing_prefix = '381' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                          
  2145. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  2146. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 51
  2147. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9999235538
  2148. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 3054.29
  2149. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  2150. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
  2151. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  2152. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  2153. 2024-04-17 11:44:06.417526 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  2154. 2024-04-17 11:44:06.417526 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  2155. 2024-04-17 11:44:06.417526 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  2156. 2024-04-17 11:44:06.417526 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^381607316820.*' OR pattern = '^38160731682.*' OR pattern = '^3816073168.*' OR pattern = '^381607316.*' OR pattern = '^38160731.*' OR pattern = '^3816073.*' OR pattern = '^381607.*' OR pattern = '^38160.*' OR pattern = '^3816.*' OR pattern = '^381.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND (caller_id_pattern = '^381114419368.*' OR caller_id_pattern = '^38111441936.*' OR caller_id_pattern = '^3811144193.*' OR caller_id_pattern = '^381114419.*' OR caller_id_pattern = '^38111441.*' OR caller_id_pattern = '^3811144.*' OR caller_id_pattern = '^381114.*' OR caller_id_pattern = '^38111.*' OR caller_id_pattern = '^3811.*' OR caller_id_pattern = '^381.*' OR caller_id_pattern = '^38.*' OR caller_id_pattern = '^3.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 5 OR accountid=51)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1                                                                                                                                                                    
  2157. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  2158. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  2159. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 698
  2160. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  2161. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  2162. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.0400000000
  2163. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Serbia-Mobile
  2164. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 164
  2165. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 51
  2166. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  2167. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  2168. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  2169. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your3054.29 balance Accountid 51 !!!
  2170. 2024-04-17 11:44:06.417526 97.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  2171. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  2172. 2024-04-17 11:44:06.417526 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  2173. 2024-04-17 11:44:06.417526 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc
  2174. 2024-04-17 11:44:06.417526 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^381607316820.*' OR pattern = '^38160731682.*' OR pattern = '^3816073168.*' OR pattern = '^381607316.*' OR pattern = '^38160731.*' OR pattern = '^3816073.*' OR pattern = '^381607.*' OR pattern = '^38160.*' OR pattern = '^3816.*' OR pattern = '^381.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4,6,8,10,16,21) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC                                          
  2175. 2024-04-17 11:44:06.417526 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  2176. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  2177. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 15926
  2178. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3816.*
  2179. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Serbia-Mobilni
  2180. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  2181. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  2182. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3816.*
  2183. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2184. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2185. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
  2186. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Asterisk
  2187. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2188. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  2189. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 8
  2190. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  2191. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2192. 2024-04-17 11:44:06.417526 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 51 AND status=0 LIMIT 1                                                                                                                                                                                        
  2193. 2024-04-17 11:44:06.417526 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  2194. 2024-04-17 11:44:06.417526 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'StepMod011' and status = 0 limit 1
  2195. 2024-04-17 11:44:06.417526 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2196. 2024-04-17 11:44:06.437530 97.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  2197. 2024-04-17 11:44:06.437530 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  2198. 2024-04-17 11:44:06.437530 97.20% [DEBUG] switch_cpp.cpp:1465 [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 = 8) AND status=0 limit 1                                                                                                                                                                  
  2199. 2024-04-17 11:44:06.437530 97.20% [DEBUG] switch_cpp.cpp:1465 [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                                                                                                                                                                    
  2200. 2024-04-17 11:44:06.437530 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="381607316820" LIMIT 1                                    
  2201. 2024-04-17 11:44:06.437530 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2202. 2024-04-17 11:44:06.437530 97.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  2203. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  2204. <document type="freeswitch/xml">                                                                                                                                                                                  
  2205. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  2206. <context name="default">                                                                                                                                                                                          
  2207. <extension name="381607316820">                                                                                                                                                                                    
  2208. <condition field="destination_number" expression="381607316820">                                                                                                                                                  
  2209. <action application="set" data="effective_destination_number=381607316820"/>                                                                                                                                      
  2210. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  2211. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                                                              
  2212. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  2213. <action application="set" data="notify_credit_limit=5.00000"/>                                                                                                                                                    
  2214. <action application="set" data="type=0"/>                                                                                                                                                                          
  2215. <action application="set" data="callstart=2024-04-17 09:44:06"/>                                                                                                                                                  
  2216. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  2217. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  2218. <action application="set" data="account_id=51"/>                                                                                                                                                                  
  2219. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  2220. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  2221. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  2222. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  2223. <action application="set" data="accountname=default"/>                                                                                                                                                            
  2224. <action application="export" data="t38_passthru=true"/>                                                                                                                                                            
  2225. <action application="set" data="fax_enable_t38=true"/>                                                                                                                                                            
  2226. <action application="set" data="fax_enable_t38_request=true"/>                                                                                                                                                    
  2227. <action application="set" data="origination_rates=ID:698|CODE:^3816.*|DESTINATION:Serbia-Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0400000000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:164|ACCID:51"/>                                                                                                                                                                                                    
  2228. <action application="set" data="original_caller_id_name=144"/>                                                                                                                                                    
  2229. <action application="set" data="original_caller_id_number=381114419368"/>                                                                                                                                          
  2230.  
  2231. <action application="set" data="effective_caller_id_name=144"/>                                                                                                                                                    
  2232. <action application="set" data="effective_caller_id_number=381114419368"/>                                                                                                                                        
  2233. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  2234. <action application="set" data="termination_rates=ID:15926|CODE:^3816.*|DESTINATION:Serbia-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0191000000|INC:1|INITIALBLOCK:60|TRUNK:4|PROVIDER:8"/>    
  2235. <action application="set" data="trunk_id=4"/>                                                                                                                                                                      
  2236. <action application="set" data="provider_id=8"/>                                                                                                                                                                  
  2237. <action application="set" data="rate_flag=0"/>                                                                                                                                                                    
  2238. <action application="set" data="daily_call_credit_limit=0.00000"/>                                                                                                                                                
  2239. <action application="set" data="monthly_call_credit_limit=0.00000"/>                                                                                                                                              
  2240. <action application="set" data="daily_call_used_limit=0.00000"/>                                                                                                                                                  
  2241. <action application="set" data="monthly_call_used_limit=0.00000"/>                                                                                                                                                
  2242. <action application="set" data="quality_trunk_seq=4"/>                                                                                                                                                            
  2243. <action application="set" data="force_trunk_flag=0"/>                                                                                                                                                              
  2244. <action application="export" data="presence_data=trunk_id=4"/>                                                                                                                                                    
  2245. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  2246. <action application="export" data="presence_id=381607316820"/>                                                                                                                                                    
  2247. <action application="export" data="presence_data=x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6"/>                                                                                                                                                                                                                  
  2248. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/Asterisk/381607316820"/>                                                                    
  2249. </condition>                                                                                                                                                                                                      
  2250. </extension>                                                                                                                                                                                                      
  2251. </context>                                                                                                                                                                                                        
  2252. </section>                                                                                                                                                                                                        
  2253. </document>                                                                                                                                                                                                        
  2254. Dialplan: sofia/default/381114419368@10.44.44.50 parsing [default->381607316820] continue=false
  2255. Dialplan: sofia/default/381114419368@10.44.44.50 Regex (PASS) [381607316820] destination_number(381607316820) =~ /381607316820/ break=on-false
  2256. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(effective_destination_number=381607316820)
  2257. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  2258. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2259. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(notify_flag=0)
  2260. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(notify_credit_limit=5.00000)
  2261. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(type=0)
  2262. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(callstart=2024-04-17 09:44:06)
  2263. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(hangup_after_bridge=true)
  2264. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(continue_on_fail=TRUE)
  2265. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(account_id=51)
  2266. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(parent_id=0)
  2267. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(entity_id=0)
  2268. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(call_processed=internal)
  2269. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(call_direction=outbound)
  2270. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(accountname=default)
  2271. Dialplan: sofia/default/381114419368@10.44.44.50 Action export(t38_passthru=true)
  2272. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(fax_enable_t38=true)
  2273. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(fax_enable_t38_request=true)
  2274. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(origination_rates=ID:698|CODE:^3816.*|DESTINATION:Serbia-Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0400000000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:164|ACCID:51)                                                                                                                                                                          
  2275. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(original_caller_id_name=144)
  2276. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(original_caller_id_number=381114419368)
  2277. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(effective_caller_id_name=144)
  2278. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(effective_caller_id_number=381114419368)
  2279. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(calltype=STANDARD)
  2280. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(termination_rates=ID:15926|CODE:^3816.*|DESTINATION:Serbia-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0191000000|INC:1|INITIALBLOCK:60|TRUNK:4|PROVIDER:8)                                                                                                                                                                                              
  2281. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(trunk_id=4)
  2282. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(provider_id=8)
  2283. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(rate_flag=0)
  2284. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(daily_call_credit_limit=0.00000)
  2285. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(monthly_call_credit_limit=0.00000)
  2286. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(daily_call_used_limit=0.00000)
  2287. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(monthly_call_used_limit=0.00000)
  2288. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(quality_trunk_seq=4)
  2289. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(force_trunk_flag=0)
  2290. Dialplan: sofia/default/381114419368@10.44.44.50 Action export(presence_data=trunk_id=4)
  2291. Dialplan: sofia/default/381114419368@10.44.44.50 Action set(intcall=0)
  2292. Dialplan: sofia/default/381114419368@10.44.44.50 Action export(presence_id=381607316820)
  2293. Dialplan: sofia/default/381114419368@10.44.44.50 Action export(presence_data=x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6)                                                                                                                                                                                        
  2294. Dialplan: sofia/default/381114419368@10.44.44.50 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/Asterisk/381607316820)
  2295. 2024-04-17 11:44:06.437530 97.20% [DEBUG] switch_core_state_machine.c:281 (sofia/default/381114419368@10.44.44.50) State Change CS_ROUTING -> CS_EXECUTE
  2296. 2024-04-17 11:44:06.437530 97.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/381114419368@10.44.44.50) State ROUTING going to sleep
  2297. 2024-04-17 11:44:06.437530 97.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381114419368@10.44.44.50) Running State Change CS_EXECUTE (Cur 17 Tot 245051)
  2298. 2024-04-17 11:44:06.437530 97.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/381114419368@10.44.44.50) State EXECUTE
  2299. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_sofia.c:213 sofia/default/381114419368@10.44.44.50 SOFIA EXECUTE
  2300. 2024-04-17 11:44:06.437530 97.20% [DEBUG] switch_core_state_machine.c:323 sofia/default/381114419368@10.44.44.50 Standard EXECUTE
  2301. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(effective_destination_number=381607316820)
  2302. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [effective_destination_number]=[381607316820]
  2303. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(bridge_pre_execute_bleg_app=sched_hangup)
  2304. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [bridge_pre_execute_bleg_app]=[sched_hangup]
  2305. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2306. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  2307. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(notify_flag=0)
  2308. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [notify_flag]=[0]
  2309. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(notify_credit_limit=5.00000)
  2310. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [notify_credit_limit]=[5.00000]
  2311. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(type=0)
  2312. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [type]=[0]
  2313. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(callstart=2024-04-17 09:44:06)
  2314. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [callstart]=[2024-04-17 09:44:06]
  2315. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(hangup_after_bridge=true)
  2316. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [hangup_after_bridge]=[true]
  2317. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(continue_on_fail=TRUE)
  2318. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [continue_on_fail]=[TRUE]
  2319. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(account_id=51)
  2320. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [account_id]=[51]
  2321. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(parent_id=0)
  2322. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [parent_id]=[0]
  2323. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(entity_id=0)
  2324. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [entity_id]=[0]
  2325. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(call_processed=internal)
  2326. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [call_processed]=[internal]
  2327. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(call_direction=outbound)
  2328. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [call_direction]=[outbound]
  2329. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(accountname=default)
  2330. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [accountname]=[default]
  2331. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 export(t38_passthru=true)
  2332. 2024-04-17 11:44:06.437530 97.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [t38_passthru]=[true]
  2333. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(fax_enable_t38=true)
  2334. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [fax_enable_t38]=[true]
  2335. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(fax_enable_t38_request=true)
  2336. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [fax_enable_t38_request]=[true]
  2337. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(origination_rates=ID:698|CODE:^3816.*|DESTINATION:Serbia-Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0400000000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:164|ACCID:51)                                                                                                                                                                        
  2338. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [origination_rates]=[ID:698|CODE:^3816.*|DESTINATION:Serbia-Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0400000000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:164|ACCID:51]                                                                                                                          
  2339. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(original_caller_id_name=144)
  2340. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [original_caller_id_name]=[144]
  2341. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(original_caller_id_number=381114419368)
  2342. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [original_caller_id_number]=[381114419368]
  2343. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(effective_caller_id_name=144)
  2344. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [effective_caller_id_name]=[144]
  2345. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(effective_caller_id_number=381114419368)
  2346. 2024-04-17 11:44:06.437530 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [effective_caller_id_number]=[381114419368]
  2347. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(calltype=STANDARD)
  2348. 2024-04-17 11:44:06.457523 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [calltype]=[STANDARD]
  2349. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(termination_rates=ID:15926|CODE:^3816.*|DESTINATION:Serbia-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0191000000|INC:1|INITIALBLOCK:60|TRUNK:4|PROVIDER:8)                                                                                                                                                                                            
  2350. 2024-04-17 11:44:06.457523 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [termination_rates]=[ID:15926|CODE:^3816.*|DESTINATION:Serbia-Mobilni|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0191000000|INC:1|INITIALBLOCK:60|TRUNK:4|PROVIDER:8]                                                                                                                                              
  2351. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(trunk_id=4)
  2352. 2024-04-17 11:44:06.457523 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [trunk_id]=[4]
  2353. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(provider_id=8)
  2354. 2024-04-17 11:44:06.457523 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [provider_id]=[8]
  2355. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(rate_flag=0)
  2356. 2024-04-17 11:44:06.457523 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [rate_flag]=[0]
  2357. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(daily_call_credit_limit=0.00000)
  2358. 2024-04-17 11:44:06.457523 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [daily_call_credit_limit]=[0.00000]
  2359. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(monthly_call_credit_limit=0.00000)
  2360. 2024-04-17 11:44:06.457523 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [monthly_call_credit_limit]=[0.00000]
  2361. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(daily_call_used_limit=0.00000)
  2362. 2024-04-17 11:44:06.457523 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [daily_call_used_limit]=[0.00000]
  2363. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(monthly_call_used_limit=0.00000)
  2364. 2024-04-17 11:44:06.457523 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [monthly_call_used_limit]=[0.00000]
  2365. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(quality_trunk_seq=4)
  2366. 2024-04-17 11:44:06.457523 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [quality_trunk_seq]=[4]
  2367. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(force_trunk_flag=0)
  2368. 2024-04-17 11:44:06.457523 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [force_trunk_flag]=[0]
  2369. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 export(presence_data=trunk_id=4)
  2370. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=4]
  2371. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 set(intcall=0)
  2372. 2024-04-17 11:44:06.457523 97.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/381114419368@10.44.44.50 [intcall]=[0]
  2373. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 export(presence_id=381607316820)
  2374. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[381607316820]
  2375. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 export(presence_data=x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6)
  2376. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6]
  2377. EXECUTE [depth=0] sofia/default/381114419368@10.44.44.50 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/Asterisk/381607316820)
  2378. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_channel.c:1288 sofia/default/381114419368@10.44.44.50 EXPORTING[export_vars] [t38_passthru]=[true] to event
  2379. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_channel.c:1288 sofia/default/381114419368@10.44.44.50 EXPORTING[export_vars] [presence_data]=[x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6] to event
  2380. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_channel.c:1288 sofia/default/381114419368@10.44.44.50 EXPORTING[export_vars] [presence_id]=[381607316820] to event
  2381. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_channel.c:1288 sofia/default/381114419368@10.44.44.50 EXPORTING[export_vars] [presence_data]=[x|||StepMode(9999235538)|||^3816.* // Serbia-Mobile // 0.0400000000 |||TELENOR RS // ^3816.* // Serbia-Mobilni // 0.0191000000 // trunk_id=4|||STD|||82.214.92.6] to event
  2382. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  2383. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  2384. 2024-04-17 11:44:06.457523 97.20% [NOTICE] switch_channel.c:1142 New Channel sofia/default/381607316820 [bb7e2841-525c-47d8-ad17-ffa62f56381a]
  2385. 2024-04-17 11:44:06.457523 97.20% [DEBUG] mod_sofia.c:5110 (sofia/default/381607316820) State Change CS_NEW -> CS_INIT
  2386. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_ivr_originate.c:3167 sofia/default/381607316820 Setting leg timeout to 30
  2387. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381607316820) Running State Change CS_INIT (Cur 18 Tot 245052)
  2388. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/381607316820) State INIT
  2389. 2024-04-17 11:44:06.457523 97.20% [DEBUG] mod_sofia.c:97 sofia/default/381607316820 SOFIA INIT
  2390. 2024-04-17 11:44:06.457523 97.20% [INFO] sofia_glue.c:1659 sofia/default/381607316820 sending invite call-id: (null)
  2391. 2024-04-17 11:44:06.457523 97.20% [DEBUG] sofia_glue.c:1662 sofia/default/381607316820 sending invite version: 1.10.10-release  64bit
  2392. Local SDP:
  2393. v=0
  2394. o=FreeSWITCH 1713327028 1713327029 IN IP4 82.214.92.4
  2395. s=FreeSWITCH
  2396. c=IN IP4 82.214.92.4
  2397. t=0 0
  2398. m=audio 20018 RTP/AVP 8 0 101
  2399. a=rtpmap:8 PCMA/8000
  2400. a=rtpmap:0 PCMU/8000
  2401. a=rtpmap:101 telephone-event/8000
  2402. a=fmtp:101 0-15
  2403. a=ptime:20
  2404. a=sendrecv
  2405.  
  2406. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/381607316820 Standard INIT
  2407. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/381607316820) State Change CS_INIT -> CS_ROUTING
  2408. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/381607316820) State INIT going to sleep
  2409. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381607316820) Running State Change CS_ROUTING (Cur 18 Tot 245052)
  2410. 2024-04-17 11:44:06.457523 97.20% [DEBUG] sofia.c:7493 Channel sofia/default/381607316820 entering state [calling][0]
  2411. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/381607316820) State ROUTING
  2412. 2024-04-17 11:44:06.457523 97.20% [DEBUG] mod_sofia.c:158 sofia/default/381607316820 SOFIA ROUTING
  2413. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_ivr_originate.c:67 (sofia/default/381607316820) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2414. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/381607316820) State ROUTING going to sleep
  2415. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/381607316820) Running State Change CS_CONSUME_MEDIA (Cur 18 Tot 245052)
  2416. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_core_state_machine.c:659 (sofia/default/381607316820) State CONSUME_MEDIA
  2417. 2024-04-17 11:44:06.457523 97.20% [DEBUG] switch_core_state_machine.c:659 (sofia/default/381607316820) State CONSUME_MEDIA going to sleep
  2418.