From alexey, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: green; font-weight: bold;"> 2022-02-14 09:33:19.302539 [INFO] mod_dialplan_xml.c:637 Processing 380993289429 <380993289429>->78125093695 in context default
  2. 2022-02-14 09:33:19.302539 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  3. 2022-02-14 09:33:19.302539 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4. 2022-02-14 09:33:19.302539 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 78125093695
  5. 2022-02-14 09:33:19.302539 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '78125093695' AND status=0 limit 1
  6. 2022-02-14 09:33:19.302539 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 380993289429 / 380993289429
  7. 2022-02-14 09:33:19.302539 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="78125093695" LIMIT 1
  8. 2022-02-14 09:33:19.302539 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound
  9. 2022-02-14 09:33:19.302539 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 6021411776]
  10. 2022-02-14 09:33:19.302539 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "6021411776" AND deleted = 0 limit 1
  11. 2022-02-14 09:33:19.302539 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="78125093695" AND A.accountid = '77' limit 1
  12. 2022-02-14 09:33:19.302539 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 78125093695
  13. 2022-02-14 09:33:19.302539 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="78125093695" LIMIT 1
  14. 2022-02-14 09:33:19.302539 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : inbound
  15. 2022-02-14 09:33:19.302539 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="78125093695" AND (accountid = 0 OR status = 1) LIMIT 1
  16. 2022-02-14 09:33:19.302539 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  17. 2022-02-14 09:33:19.302539 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :134
  18. 2022-02-14 09:33:19.302539 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^78125093695.*' OR patterns = '^7812509369.*' OR patterns = '^781250936.*' OR patterns = '^78125093.*' OR patterns = '^7812509.*' OR patterns = '^781250.*' OR patterns = '^78125.*' OR patterns = '^7812.*' OR patterns = '^781.*' OR patterns = '^78.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 134 ORDER BY LENGTH(PKGPTR.patterns) DESC
  19. 2022-02-14 09:33:19.322540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '78125093695' OR number = '7812509369' OR number = '781250936' OR number = '78125093' OR number = '7812509' OR number = '781250' OR number = '78125' OR number = '7812' OR number = '781' OR number = '78' OR number = '7' OR number ='--') OR (number = '78125093695*' OR number = '7812509369*' OR number = '781250936*' OR number = '78125093*' OR number = '7812509*' OR number = '781250*' OR number = '78125*' OR number = '7812*' OR number = '781*' OR number = '78*' OR number = '7*' OR number ='--') OR (number = '380993289429' OR number = '38099328942' OR number = '3809932894' OR number = '380993289' OR number = '38099328' OR number = '3809932' OR number = '380993' OR number = '38099' OR number = '3809' OR number = '380' OR number = '38' OR number = '3' OR number ='--') OR (number = '380993289429*' OR number = '38099328942*' OR number = '3809932894*' OR number = '380993289*' OR number = '38099328*' OR number = '3809932*' OR number = '380993*' OR number = '38099*' OR number = '3809*' OR number = '380*' OR number = '38*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  20. 2022-02-14 09:33:19.322540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  21. 2022-02-14 09:33:19.322540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '78125093695' OR routing_prefix = '7812509369' OR routing_prefix = '781250936' OR routing_prefix = '78125093' OR routing_prefix = '7812509' OR routing_prefix = '781250' OR routing_prefix = '78125' OR routing_prefix = '7812' OR routing_prefix = '781' OR routing_prefix = '78' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  22. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  23. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 77
  24. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 6021411776
  25. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10000
  26. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  27. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
  28. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  29. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  30. 2022-02-14 09:33:19.322540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  31. 2022-02-14 09:33:19.322540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
  32. 2022-02-14 09:33:19.322540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="78125093695" LIMIT 1
  33. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: inbound
  34. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  35. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 18766
  36. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  37. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  38. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
  39. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] comment : 78125093695
  40. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 158
  41. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 77
  42. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  43. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 77 !!!
  44. 2022-02-14 09:33:19.322540 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  45. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes
  46. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
  47. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
  48. 2022-02-14 09:33:19.322540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_SIP_DEVICE_ID] Query :select id from sip_devices where username = '380993289429' and status =0
  49. 2022-02-14 09:33:19.322540 [INFO] switch_cpp.cpp:1447 [ASTPP] SIP Device id : -1
  50. 2022-02-14 09:33:19.322540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 77 AND status=0 LIMIT 1
  51. 2022-02-14 09:33:19.322540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :select am.id,am.number from ani_map as a,ani_map_numbers as am where a.id = am.ani_map_id and a.status ='0' and a.accountid = 77 and (pattern = '^78125093695.*' OR pattern = '^7812509369.*' OR pattern = '^781250936.*' OR pattern = '^78125093.*' OR pattern = '^7812509.*' OR pattern = '^781250.*' OR pattern = '^78125.*' OR pattern = '^7812.*' OR pattern = '^781.*' OR pattern = '^78.*' OR pattern = '^7.*' OR pattern ='--') and (((am.in_use=1 and a.sip_device_id=-1) or (am.in_use=0 and a.sip_device_id =-1)) or ((a.sip_device_id =-1 and am.in_use=1) or (a.sip_device_id = -1 and am.in_use =0))) order by a.prefix desc,a.sip_device_id desc,am.in_use desc limit 1
  52. 2022-02-14 09:33:19.322540 [ERR] switch_core_sqldb.c:1355 ERR: [select am.id,am.number from ani_map as a,ani_map_numbers as am where a.id = am.ani_map_id and a.status ='0' and a.accountid = 77 and (pattern = '^78125093695.*' OR pattern = '^7812509369.*' OR pattern = '^781250936.*' OR pattern = '^78125093.*' OR pattern = '^7812509.*' OR pattern = '^781250.*' OR pattern = '^78125.*' OR pattern = '^7812.*' OR pattern = '^781.*' OR pattern = '^78.*' OR pattern = '^7.*' OR pattern ='--') and (((am.in_use=1 and a.sip_device_id=-1) or (am.in_use=0 and a.sip_device_id =-1)) or ((a.sip_device_id =-1 and am.in_use=1) or (a.sip_device_id = -1 and am.in_use =0))) order by a.prefix desc,a.sip_device_id desc,am.in_use desc limit 1]
  53. [STATE: 42S22 CODE 1054 ERROR: [MySQL][ODBC 8.0(a) Driver][mysqld-8.0.22]Unknown column 'pattern' in 'where clause'
  54. ]
  55. 2022-02-14 09:33:19.322540 [ERR] mod_lua.cpp:202 /usr/share/freeswitch/scripts/astpp/lib/astpp.functions.lua:1128: assertion failed!
  56. stack traceback:
  57.         [C]: in function 'assert'
  58.         /usr/share/freeswitch/scripts/astpp/lib/astpp.functions.lua:1128: in function 'get_override_callerid'
  59.         ...hare/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:608: in main chunk
  60.         [C]: in function 'dofile'
  61.         ./astpp/astpp.lua:86: in main chunk
  62. 2022-02-14 09:33:19.322540 [ERR] mod_lua.cpp:270 LUA script parse/execute error!
  63. 2022-02-14 09:33:19.322540 [WARNING] mod_dialplan_xml.c:667 Context default not found
  64. 2022-02-14 09:33:19.322540 [INFO] switch_core_state_machine.c:312 No Route, Aborting
  65. 2022-02-14 09:33:19.322540 [NOTICE] switch_core_state_machine.c:313 Hangup sofia/default/380993289429@185.17.3.201:5160 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  66. 2022-02-14 09:33:19.322540 [DEBUG] switch_core_state_machine.c:644 (sofia/default/380993289429@185.17.3.201:5160) State ROUTING going to sleep
  67. 2022-02-14 09:33:19.322540 [DEBUG] switch_core_state_machine.c:585 (sofia/default/380993289429@185.17.3.201:5160) Running State Change CS_HANGUP (Cur 263 Tot 21788082)
  68. 2022-02-14 09:33:19.322540 [DEBUG] switch_core_state_machine.c:848 (sofia/default/380993289429@185.17.3.201:5160) Callstate Change RINGING -> HANGUP
  69. 2022-02-14 09:33:19.322540 [DEBUG] switch_core_state_machine.c:850 (sofia/default/380993289429@185.17.3.201:5160) State HANGUP
  70. 2022-02-14 09:33:19.322540 [DEBUG] mod_sofia.c:453 Channel sofia/default/380993289429@185.17.3.201:5160 hanging up, cause: NO_ROUTE_DESTINATION
  71. 2022-02-14 09:33:19.322540 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 404
  72. 2022-02-14 09:33:19.322540 [DEBUG] switch_core_state_machine.c:60 sofia/default/380993289429@185.17.3.201:5160 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  73. 2022-02-14 09:33:19.322540 [DEBUG] switch_core_state_machine.c:850 (sofia/default/380993289429@185.17.3.201:5160) State HANGUP going to sleep
  74. 2022-02-14 09:33:19.322540 [DEBUG] switch_core_state_machine.c:620 (sofia/default/380993289429@185.17.3.201:5160) State Change CS_HANGUP -> CS_REPORTING
  75. 2022-02-14 09:33:19.322540 [DEBUG] switch_core_state_machine.c:585 (sofia/default/380993289429@185.17.3.201:5160) Running State Change CS_REPORTING (Cur 263 Tot 21788082)
  76. 2022-02-14 09:33:19.322540 [DEBUG] switch_core_state_machine.c:936 (sofia/default/380993289429@185.17.3.201:5160) State REPORTING
  77. 2022-02-14 09:33:19.322540 [INFO] mod_json_cdr.c:271 Process [1e001c66-58f2-4ad9-a49c-eb4c61d9113e.cdr.json]
  78. 2022-02-14 09:33:19.322540 [DEBUG] switch_core_state_machine.c:174 sofia/default/380993289429@185.17.3.201:5160 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  79. 2022-02-14 09:33:19.322540 [DEBUG] switch_core_state_machine.c:936 (sofia/default/380993289429@185.17.3.201:5160) State REPORTING going to sleep
  80. 2022-02-14 09:33:19.322540 [DEBUG] switch_core_state_machine.c:611 (sofia/default/380993289429@185.17.3.201:5160) State Change CS_REPORTING -> CS_DESTROY
  81. 2022-02-14 09:33:19.322540 [DEBUG] switch_core_session.c:1726 Session 21788082 (sofia/default/380993289429@185.17.3.201:5160) Locked, Waiting on external entities
  82. 2022-02-14 09:33:19.322540 [NOTICE] switch_core_session.c:1744 Session 21788082 (sofia/default/380993289429@185.17.3.201:5160) Ended
  83. 2022-02-14 09:33:19.322540 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/380993289429@185.17.3.201:5160 [CS_DESTROY]
  84. 2022-02-14 09:33:19.322540 [DEBUG] switch_core_state_machine.c:739 (sofia/default/380993289429@185.17.3.201:5160) Running State Change CS_DESTROY (Cur 262 Tot 21788082)
  85. 2022-02-14 09:33:19.322540 [DEBUG] switch_core_state_machine.c:749 (sofia/default/380993289429@185.17.3.201:5160) State DESTROY
  86. 2022-02-14 09:33:19.322540 [DEBUG] mod_sofia.c:364 sofia/default/380993289429@185.17.3.201:5160 SOFIA DESTROY
  87. 2022-02-14 09:33:19.322540 [DEBUG] switch_core_state_machine.c:181 sofia/default/380993289429@185.17.3.201:5160 Standard DESTROY
  88. 2022-02-14 09:33:19.322540 [DEBUG] switch_core_state_machine.c:749 (sofia/default/380993289429@185.17.3.201:5160) State DESTROY going to sleep
  89. 2022-02-14 09:33:19.462539 [DEBUG] sofia.c:7326 Channel sofia/default/253710#79091517527 entering state [proceeding][183]
  90. span style="color: goldenrod; font-weight: bold;"> 2022-02-14 09:33:19.462539 [DEBUG] sofia.c:7336 Remote SDP:
  91. v=0
  92. o=mc 1644823999 1644823999 IN IP4 194.28.167.139
  93. s=SIP Call
  94. c=IN IP4 194.28.167.139
  95. t=0 0
  96. m=audio 30860 RTP/AVP 8 101
  97. a=rtpmap:8 PCMA/8000
  98. a=rtpmap:101 telephone-event/8000
  99. a=fmtp:101 0-15
  100.  
  101. 2022-02-14 09:33:19.462539 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/253710#79091517527!
  102. span style="color: goldenrod; font-weight: bold;"> 2022-02-14 09:33:19.462539 [DEBUG] switch_channel.c:3565 (sofia/default/253710#79091517527) Callstate Change DOWN -> EARLY
  103. span style="color: goldenrod; font-weight: bold;"> 2022-02-14 09:33:19.462539 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  104. 2022-02-14 09:33:19.462539 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  105. 2022-02-14 09:33:19.462539 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  106. 2022-02-14 09:33:19.462539 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  107. 2022-02-14 09:33:19.462539 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/253710#79091517527 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  108. span style="color: goldenrod; font-weight: bold;"> 2022-02-14 09:33:19.462539 [DEBUG] switch_core_codec.c:111 sofia/default/253710#79091517527 Original read codec set to PCMA:8
  109. span style="color: goldenrod; font-weight: bold;"> 2022-02-14 09:33:19.462539 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  110. 2022-02-14 09:33:19.462539 [DEBUG] switch_core_media.c:5911 sofia/default/253710#79091517527 Set 2833 dtmf send payload to 101 recv payload to 101
  111. span style="color: goldenrod; font-weight: bold;"> 2022-02-14 09:33:19.462539 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/253710#79091517527] 51.91.38.123 port 22892 -> 194.28.167.139 port 30860 codec: 8 ms: 20
  112. span style="color: goldenrod; font-weight: bold;"> 2022-02-14 09:33:19.462539 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  113. 2022-02-14 09:33:19.462539 [DEBUG] switch_core_media.c:8977 sofia/default/253710#79091517527 Set 2833 dtmf send payload to 101
  114. span style="color: goldenrod; font-weight: bold;"> 2022-02-14 09:33:19.462539 [DEBUG] switch_core_media.c:8984 sofia/default/253710#79091517527 Set 2833 dtmf receive payload to 101
  115. span style="color: goldenrod; font-weight: bold;"> 2022-02-14 09:33:19.462539 [DEBUG] switch_core_media.c:9007 sofia/default/253710#79091517527 Set rtp dtmf delay to 40
  116. span style="color: green; font-weight: bold;"> 2022-02-14 09:33:19.462539 [INFO] switch_ivr_originate.c:3801 Sending early media
  117. 2022-02-14 09:33:19.462539 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/59305939@193.111.83.49] 51.91.38.123 port 29868 -> 193.111.83.49 port 18632 codec: 8 ms: 20
  118. 2022-02-14 09:33:19.462539 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  119. 2022-02-14 09:33:19.462539 [DEBUG] switch_core_media.c:8977 sofia/default/59305939@193.111.83.49 Set 2833 dtmf send payload to 101
  120. 2022-02-14 09:33:19.462539 [DEBUG] switch_core_media.c:8984 sofia/default/59305939@193.111.83.49 Set 2833 dtmf receive payload to 101
  121. 2022-02-14 09:33:19.462539 [DEBUG] switch_core_media.c:9007 sofia/default/59305939@193.111.83.49 Set rtp dtmf delay to 40
  122. 2022-02-14 09:33:19.462539 [DEBUG] mod_sofia.c:2593 Ring SDP:
  123. v=0
  124. o=FreeSWITCH 1644794131 1644794132 IN IP4 51.91.38.123
  125. s=FreeSWITCH
  126. c=IN IP4 51.91.38.123
  127. t=0 0
  128. m=audio 29868 RTP/AVP 8 101
  129. a=rtpmap:8 PCMA/8000
  130. a=rtpmap:101 telephone-event/8000
  131. a=fmtp:101 0-16
  132. a=ptime:20
  133. a=sendrecv
  134.  
  135. 2022-02-14 09:33:19.462539 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/59305939@193.111.83.49!
  136. 2022-02-14 09:33:19.462539 [DEBUG] switch_channel.c:3565 (sofia/default/59305939@193.111.83.49) Callstate Change RINGING -> EARLY
  137. 2022-02-14 09:33:19.482539 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/253710#79091517527]
  138. span style="color: goldenrod; font-weight: bold;"> 2022-02-14 09:33:19.482539 [DEBUG] sofia.c:7326 Channel sofia/default/59305939@193.111.83.49 entering state [early][183]
  139. 2022-02-14 09:33:19.482539 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/253710#79091517527) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  140. span style="color: goldenrod; font-weight: bold;"> 2022-02-14 09:33:19.482539 [DEBUG] switch_core_state_machine.c:585 (sofia/default/253710#79091517527) Running State Change CS_EXCHANGE_MEDIA (Cur 262 Tot 21788082)
  141. span style="color: goldenrod; font-weight: bold;"> 2022-02-14 09:33:19.482539 [DEBUG] switch_core_state_machine.c:654 (sofia/default/253710#79091517527) State EXCHANGE_MEDIA
  142. span style="color: goldenrod; font-weight: bold;"> 2022-02-14 09:33:19.482539 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  143. 2022-02-14 09:33:19.542540 [NOTICE] switch_channel.c:1118 New Channel sofia/default/002807@193.111.83.49 [8a03fbad-1dc5-48b8-9ec5-b23534021e46]
  144. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_state_machine.c:585 (sofia/default/002807@193.111.83.49) Running State Change CS_NEW (Cur 263 Tot 21788083)
  145. 2022-02-14 09:33:19.542540 [DEBUG] sofia.c:10280 sofia/default/002807@193.111.83.49 receiving invite from 51.91.38.125:5060 version: 1.10.5 -release-17-25569c1631 64bit
  146. 2022-02-14 09:33:19.542540 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 51.91.38.125:0.
  147. 2022-02-14 09:33:19.542540 [DEBUG] sofia.c:10403 IP 51.91.38.125 Approved by acl "default[]". Access Granted.
  148. 2022-02-14 09:33:19.542540 [DEBUG] sofia.c:7326 Channel sofia/default/002807@193.111.83.49 entering state [received][100]
  149. 2022-02-14 09:33:19.542540 [DEBUG] sofia.c:7336 Remote SDP:
  150. v=0
  151. o=root 1520408072 1520408072 IN IP4 193.111.83.49
  152. s=Asterisk PBX 16.8.0
  153. c=IN IP4 193.111.83.49
  154. t=0 0
  155. m=audio 5094 RTP/AVP 8 0 101
  156. a=rtpmap:8 PCMA/8000
  157. a=rtpmap:0 PCMU/8000
  158. a=rtpmap:101 telephone-event/8000
  159. a=fmtp:101 0-16
  160. a=ptime:20
  161. a=maxptime:150
  162.  
  163. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  164. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  165. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  166. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  167. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  168. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  169. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  170. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  171. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  172. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/002807@193.111.83.49 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  173. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_codec.c:111 sofia/default/002807@193.111.83.49 Original read codec set to PCMA:8
  174. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  175. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_media.c:5911 sofia/default/002807@193.111.83.49 Set 2833 dtmf send payload to 101 recv payload to 101
  176. 2022-02-14 09:33:19.542540 [DEBUG] sofia.c:7760 (sofia/default/002807@193.111.83.49) State Change CS_NEW -> CS_INIT
  177. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_state_machine.c:604 (sofia/default/002807@193.111.83.49) State NEW
  178. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_state_machine.c:585 (sofia/default/002807@193.111.83.49) Running State Change CS_INIT (Cur 263 Tot 21788083)
  179. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_state_machine.c:628 (sofia/default/002807@193.111.83.49) State INIT
  180. 2022-02-14 09:33:19.542540 [DEBUG] mod_sofia.c:93 sofia/default/002807@193.111.83.49 SOFIA INIT
  181. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_state_machine.c:40 sofia/default/002807@193.111.83.49 Standard INIT
  182. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_state_machine.c:48 (sofia/default/002807@193.111.83.49) State Change CS_INIT -> CS_ROUTING
  183. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_state_machine.c:628 (sofia/default/002807@193.111.83.49) State INIT going to sleep
  184. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_state_machine.c:585 (sofia/default/002807@193.111.83.49) Running State Change CS_ROUTING (Cur 263 Tot 21788083)
  185. 2022-02-14 09:33:19.542540 [DEBUG] switch_channel.c:2332 (sofia/default/002807@193.111.83.49) Callstate Change DOWN -> RINGING
  186. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_state_machine.c:644 (sofia/default/002807@193.111.83.49) State ROUTING
  187. 2022-02-14 09:33:19.542540 [DEBUG] mod_sofia.c:154 sofia/default/002807@193.111.83.49 SOFIA ROUTING
  188. 2022-02-14 09:33:19.542540 [DEBUG] switch_core_state_machine.c:236 sofia/default/002807@193.111.83.49 Standard ROUTING
  189. 2022-02-14 09:33:19.542540 [INFO] mod_dialplan_xml.c:637 Processing 002807 <002807>->3379199101877 in context default
  190. 2022-02-14 09:33:19.542540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  191. 2022-02-14 09:33:19.542540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  192. 2022-02-14 09:33:19.562540 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 3379199101877
  193. 2022-02-14 09:33:19.562540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '3379199101877' AND status=0 limit 1
  194. 2022-02-14 09:33:19.562540 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 002807 / 002807
  195. 2022-02-14 09:33:19.562540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="3379199101877" LIMIT 1
  196. 2022-02-14 09:33:19.562540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT accounts.is_recording,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3379199101877" limit 1
  197. 2022-02-14 09:33:19.562540 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  198. 2022-02-14 09:33:19.562540 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 6913881027]
  199. 2022-02-14 09:33:19.562540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "6913881027" AND deleted = 0 limit 1
  200. 2022-02-14 09:33:19.562540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^3379199101877.*' OR blocked_patterns = '^337919910187.*' OR blocked_patterns = '^33791991018.*' OR blocked_patterns = '^3379199101.*' OR blocked_patterns = '^337919910.*' OR blocked_patterns = '^33791991.*' OR blocked_patterns = '^3379199.*' OR blocked_patterns = '^337919.*' OR blocked_patterns = '^33791.*' OR blocked_patterns = '^3379.*' OR blocked_patterns = '^337.*' OR blocked_patterns = '^33.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 41 limit 1
  201. 2022-02-14 09:33:19.562540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="3379199101877" AND A.accountid = '41' limit 1
  202. 2022-02-14 09:33:19.562540 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 3379199101877
  203. 2022-02-14 09:33:19.562540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="3379199101877" LIMIT 1
  204. 2022-02-14 09:33:19.562540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT accounts.is_recording,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3379199101877" limit 1
  205. 2022-02-14 09:33:19.562540 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : outbound
  206. 2022-02-14 09:33:19.562540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="3379199101877" AND (accountid = 0 OR status = 1) LIMIT 1
  207. 2022-02-14 09:33:19.562540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^3379199101877.*' OR patterns = '^337919910187.*' OR patterns = '^33791991018.*' OR patterns = '^3379199101.*' OR patterns = '^337919910.*' OR patterns = '^33791991.*' OR patterns = '^3379199.*' OR patterns = '^337919.*' OR patterns = '^33791.*' OR patterns = '^3379.*' OR patterns = '^337.*' OR patterns = '^33.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 41 ORDER BY LENGTH(PKGPTR.patterns) DESC
  208. 2022-02-14 09:33:19.562540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '3379199101877' OR number = '337919910187' OR number = '33791991018' OR number = '3379199101' OR number = '337919910' OR number = '33791991' OR number = '3379199' OR number = '337919' OR number = '33791' OR number = '3379' OR number = '337' OR number = '33' OR number = '3' OR number ='--') OR (number = '3379199101877*' OR number = '337919910187*' OR number = '33791991018*' OR number = '3379199101*' OR number = '337919910*' OR number = '33791991*' OR number = '3379199*' OR number = '337919*' OR number = '33791*' OR number = '3379*' OR number = '337*' OR number = '33*' OR number = '3*' OR number ='--') OR (number = '002807' OR number = '00280' OR number = '0028' OR number = '002' OR number = '00' OR number = '0' OR number ='--') OR (number = '002807*' OR number = '00280*' OR number = '0028*' OR number = '002*' OR number = '00*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  209. 2022-02-14 09:33:19.562540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  210. 2022-02-14 09:33:19.562540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '3379199101877' OR routing_prefix = '337919910187' OR routing_prefix = '33791991018' OR routing_prefix = '3379199101' OR routing_prefix = '337919910' OR routing_prefix = '33791991' OR routing_prefix = '3379199' OR routing_prefix = '337919' OR routing_prefix = '33791' OR routing_prefix = '3379' OR routing_prefix = '337' OR routing_prefix = '33' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  211. 2022-02-14 09:33:19.562540 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  212. 2022-02-14 09:33:19.562540 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 41
  213. 2022-02-14 09:33:19.562540 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 6913881027
  214. 2022-02-14 09:33:19.562540 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10910.0201
  215. 2022-02-14 09:33:19.562540 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  216. 2022-02-14 09:33:19.562540 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 17
  217. 2022-02-14 09:33:19.562540 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  218. 2022-02-14 09:33:19.562540 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  219. 2022-02-14 09:33:19.562540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 17 AND status = 0
  220. 2022-02-14 09:33:19.562540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  221. 2022-02-14 09:33:19.562540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 17 AND status = 0
  222. 2022-02-14 09:33:19.562540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^3379199101877.*' OR pattern = '^337919910187.*' OR pattern = '^33791991018.*' OR pattern = '^3379199101.*' OR pattern = '^337919910.*' OR pattern = '^33791991.*' OR pattern = '^3379199.*' OR pattern = '^337919.*' OR pattern = '^33791.*' OR pattern = '^3379.*' OR pattern = '^337.*' OR pattern = '^33.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 17 OR accountid=41)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  223. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: outbound
  224. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  225. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 32954
  226. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  227. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  228. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.03500
  229. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] comment : T33RF
  230. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 158
  231. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 41
  232. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 150
  233. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  234. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  235. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10910.0201 balance Accountid 41 !!!
  236. 2022-02-14 09:33:19.582540 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins!
  237. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 180 minutes
  238. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 32954
  239. 2022-02-14 09:33:19.582540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :150
  240. 2022-02-14 09:33:19.582540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^3379199101877.*' OR pattern = '^337919910187.*' OR pattern = '^33791991018.*' OR pattern = '^3379199101.*' OR pattern = '^337919910.*' OR pattern = '^33791991.*' OR pattern = '^3379199.*' OR pattern = '^337919.*' OR pattern = '^33791.*' OR pattern = '^3379.*' OR pattern = '^337.*' OR pattern = '^33.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (150)  ORDER by FIELD(TR.trunk_id,150),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC
  241. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
  242. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 5066
  243. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3379.*
  244. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : TRF033
  245. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  246. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
  247. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3379.*
  248. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
  249. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
  250. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 150
  251. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : TSL2
  252. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
  253. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway :
  254. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 80
  255. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
  256. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : TSL033_forRandom
  257. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
  258. 2022-02-14 09:33:19.582540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_SIP_DEVICE_ID] Query :select id from sip_devices where username = '002807' and status =0
  259. 2022-02-14 09:33:19.582540 [INFO] switch_cpp.cpp:1447 [ASTPP] SIP Device id : 171
  260. 2022-02-14 09:33:19.582540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 41 AND status=0 LIMIT 1
  261. 2022-02-14 09:33:19.582540 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :select am.id,am.number from ani_map as a,ani_map_numbers as am where a.id = am.ani_map_id and a.status ='0' and a.accountid = 41 and (prefix = '^3379199101877.*' OR prefix = '^337919910187.*' OR prefix = '^33791991018.*' OR prefix = '^3379199101.*' OR prefix = '^337919910.*' OR prefix = '^33791991.*' OR prefix = '^3379199.*' OR prefix = '^337919.*' OR prefix = '^33791.*' OR prefix = '^3379.*' OR prefix = '^337.*' OR prefix = '^33.*' OR prefix = '^3.*' OR prefix ='--') and (((am.in_use=1 and a.sip_device_id=171) or (am.in_use=0 and a.sip_device_id =171)) or ((a.sip_device_id =-1 and am.in_use=1) or (a.sip_device_id = -1 and am.in_use =0))) order by a.prefix desc,a.sip_device_id desc,am.in_use desc limit 1
  262. 2022-02-14 09:33:19.602539 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 180
  263. 2022-02-14 09:33:19.602539 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 17 AND status = 0
  264. 2022-02-14 09:33:19.602539 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 150) AND status=0 limit 1
  265. 2022-02-14 09:33:19.602539 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"33/*,*/033".....3379199101877
  266. 2022-02-14 09:33:19.602539 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 3379199101877
  267. 2022-02-14 09:33:19.602539 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 79199101877
  268. 2022-02-14 09:33:19.602539 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"33/*,*/033".....79199101877
  269. 2022-02-14 09:33:19.602539 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 79199101877
  270. 2022-02-14 09:33:19.602539 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 03379199101877
  271. 2022-02-14 09:33:19.602539 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
  272. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  273. <document type="freeswitch/xml">
  274. <section name="dialplan" description="ASTPP Dialplan">
  275. <context name="default">
  276. <extension name="3379199101877">
  277. <condition field="destination_number" expression="3379199101877">
  278. <action application="set" data="effective_destination_number=3379199101877"/>
  279. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  280. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  281. <action application="export" data="ani_map_id=216363"/>
  282. <action application="set" data="callstart=2022-02-14 07:33:19"/>
  283. <action application="set" data="hangup_after_bridge=true"/>
  284. <action application="set" data="continue_on_fail=TRUE"/>
  285. <action application="set" data="account_id=41"/>
  286. <action application="set" data="parent_id=0"/>
  287. <action application="set" data="entity_id=0"/>
  288. <action application="set" data="call_processed=internal"/>
  289. <action application="set" data="call_direction=outbound"/>
  290. <action application="set" data="accountname=default"/>
  291. <action application="export" data="t38_passthru=true"/>
  292. <action application="set" data="fax_enable_t38=true"/>
  293. <action application="set" data="fax_enable_t38_request=true"/>
  294. <action application="set" data="origination_rates=ID:32954|CODE:^3379.*|DESTINATION:T33RF|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03500|INC:1|INITIALBLOCK:1|RATEGROUP:17|MARKUP:0|CI:158|ACCID:41"/>
  295. <action application="set" data="original_caller_id_name=79623015687"/>
  296. <action application="set" data="original_caller_id_number=79623015687"/>
  297.  
  298. <action application="export" data="is_recording=1"/>
  299. <action application="export" data="media_bug_answer_req=true"/>
  300. <action application="export" data="record_sample_rate=8000"/>
  301. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.mp3"/>
  302. <action application="set" data="effective_caller_id_name=79623015687"/>
  303. <action application="set" data="effective_caller_id_number=79623015687"/>
  304. <action application="set" data="calltype=STANDARD"/>
  305. <action application="set" data="termination_rates=ID:5066|CODE:^3379.*|DESTINATION:TRF033|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.03250|INC:1|INITIALBLOCK:1|TRUNK:150|PROVIDER:80"/>
  306. <action application="set" data="trunk_id=150"/>
  307. <action application="set" data="provider_id=80"/>
  308. <action application="set" data="rate_flag=0"/>
  309. <action application="set" data="force_trunk_flag=32954"/>
  310. <action application="export" data="presence_data=trunk_id=150"/>
  311. <action application="set" data="intcall=0"/>
  312. <action application="export" data="presence_data=x|||Kharkov GT2(6913881027)|||^3379.* // T33RF // 0.03500 // trunk_id=150|||TSL033_forRandom // ^3379.* // TRF033 // 0.03250 // trunk_id=150|||STD|||51.91.38.125"/>
  313. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/TSL2/03379199101877;fs_path=sip:51.91.38.125:5060"/>
  314. </condition>
  315. </extension>
  316. </context>
  317. </section>
  318. </document>
  319. Dialplan: sofia/default/002807@193.111.83.49 parsing [default->3379199101877] continue=false
  320. Dialplan: sofia/default/002807@193.111.83.49 Regex (PASS) [3379199101877] destination_number(3379199101877) =~ /3379199101877/ break=on-false
  321. Dialplan: sofia/default/002807@193.111.83.49 Action set(effective_destination_number=3379199101877)
  322. Dialplan: sofia/default/002807@193.111.83.49 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  323. Dialplan: sofia/default/002807@193.111.83.49 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  324. Dialplan: sofia/default/002807@193.111.83.49 Action export(ani_map_id=216363)
  325. Dialplan: sofia/default/002807@193.111.83.49 Action set(callstart=2022-02-14 07:33:19)
  326. Dialplan: sofia/default/002807@193.111.83.49 Action set(hangup_after_bridge=true)
  327. Dialplan: sofia/default/002807@193.111.83.49 Action set(continue_on_fail=TRUE)
  328. Dialplan: sofia/default/002807@193.111.83.49 Action set(account_id=41)
  329. Dialplan: sofia/default/002807@193.111.83.49 Action set(parent_id=0)
  330. Dialplan: sofia/default/002807@193.111.83.49 Action set(entity_id=0)
  331. Dialplan: sofia/default/002807@193.111.83.49 Action set(call_processed=internal)
  332. Dialplan: sofia/default/002807@193.111.83.49 Action set(call_direction=outbound)
  333. Dialplan: sofia/default/002807@193.111.83.49 Action set(accountname=default)
  334. Dialplan: sofia/default/002807@193.111.83.49 Action export(t38_passthru=true)
  335. Dialplan: sofia/default/002807@193.111.83.49 Action set(fax_enable_t38=true)
  336. Dialplan: sofia/default/002807@193.111.83.49 Action set(fax_enable_t38_request=true)
  337. Dialplan: sofia/default/002807@193.111.83.49 Action set(origination_rates=ID:32954|CODE:^3379.*|DESTINATION:T33RF|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03500|INC:1|INITIALBLOCK:1|RATEGROUP:17|MARKUP:0|CI:158|ACCID:41)
  338. Dialplan: sofia/default/002807@193.111.83.49 Action set(original_caller_id_name=79623015687)
  339. Dialplan: sofia/default/002807@193.111.83.49 Action set(original_caller_id_number=79623015687)
  340. Dialplan: sofia/default/002807@193.111.83.49 Action export(is_recording=1)
  341. Dialplan: sofia/default/002807@193.111.83.49 Action export(media_bug_answer_req=true)
  342. Dialplan: sofia/default/002807@193.111.83.49 Action export(record_sample_rate=8000)
  343. Dialplan: sofia/default/002807@193.111.83.49 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.mp3)
  344. Dialplan: sofia/default/002807@193.111.83.49 Action set(effective_caller_id_name=79623015687)
  345. Dialplan: sofia/default/002807@193.111.83.49 Action set(effective_caller_id_number=79623015687)
  346. Dialplan: sofia/default/002807@193.111.83.49 Action set(calltype=STANDARD)
  347. Dialplan: sofia/default/002807@193.111.83.49 Action set(termination_rates=ID:5066|CODE:^3379.*|DESTINATION:TRF033|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.03250|INC:1|INITIALBLOCK:1|TRUNK:150|PROVIDER:80)
  348. Dialplan: sofia/default/002807@193.111.83.49 Action set(trunk_id=150)
  349. Dialplan: sofia/default/002807@193.111.83.49 Action set(provider_id=80)
  350. Dialplan: sofia/default/002807@193.111.83.49 Action set(rate_flag=0)
  351. Dialplan: sofia/default/002807@193.111.83.49 Action set(force_trunk_flag=32954)
  352. Dialplan: sofia/default/002807@193.111.83.49 Action export(presence_data=trunk_id=150)
  353. Dialplan: sofia/default/002807@193.111.83.49 Action set(intcall=0)
  354. Dialplan: sofia/default/002807@193.111.83.49 Action export(presence_data=x|||Kharkov GT2(6913881027)|||^3379.* // T33RF // 0.03500 // trunk_id=150|||TSL033_forRandom // ^3379.* // TRF033 // 0.03250 // trunk_id=150|||STD|||51.91.38.125)
  355. Dialplan: sofia/default/002807@193.111.83.49 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/TSL2/03379199101877;fs_path=sip:51.91.38.125:5060)
  356. 2022-02-14 09:33:19.602539 [DEBUG] switch_core_state_machine.c:287 (sofia/default/002807@193.111.83.49) State Change CS_ROUTING -> CS_EXECUTE
  357. 2022-02-14 09:33:19.602539 [DEBUG] switch_core_state_machine.c:644 (sofia/default/002807@193.111.83.49) State ROUTING going to sleep
  358. 2022-02-14 09:33:19.602539 [DEBUG] switch_core_state_machine.c:585 (sofia/default/002807@193.111.83.49) Running State Change CS_EXECUTE (Cur 263 Tot 21788083)
  359. 2022-02-14 09:33:19.602539 [DEBUG] switch_core_state_machine.c:651 (sofia/default/002807@193.111.83.49) State EXECUTE
  360. 2022-02-14 09:33:19.602539 [DEBUG] mod_sofia.c:209 sofia/default/002807@193.111.83.49 SOFIA EXECUTE
  361. 2022-02-14 09:33:19.602539 [DEBUG] switch_core_state_machine.c:329 sofia/default/002807@193.111.83.49 Standard EXECUTE
  362. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(effective_destination_number=3379199101877)
  363. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [effective_destination_number]=[3379199101877]
  364. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(bridge_pre_execute_bleg_app=sched_hangup)
  365. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [bridge_pre_execute_bleg_app]=[sched_hangup]
  366. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  367. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  368. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 export(ani_map_id=216363)
  369. 2022-02-14 09:33:19.602539 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [ani_map_id]=[216363]
  370. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(callstart=2022-02-14 07:33:19)
  371. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [callstart]=[2022-02-14 07:33:19]
  372. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(hangup_after_bridge=true)
  373. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [hangup_after_bridge]=[true]
  374. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(continue_on_fail=TRUE)
  375. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [continue_on_fail]=[TRUE]
  376. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(account_id=41)
  377. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [account_id]=[41]
  378. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(parent_id=0)
  379. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [parent_id]=[0]
  380. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(entity_id=0)
  381. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [entity_id]=[0]
  382. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(call_processed=internal)
  383. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [call_processed]=[internal]
  384. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(call_direction=outbound)
  385. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [call_direction]=[outbound]
  386. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(accountname=default)
  387. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [accountname]=[default]
  388. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 export(t38_passthru=true)
  389. 2022-02-14 09:33:19.602539 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [t38_passthru]=[true]
  390. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(fax_enable_t38=true)
  391. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [fax_enable_t38]=[true]
  392. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(fax_enable_t38_request=true)
  393. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [fax_enable_t38_request]=[true]
  394. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(origination_rates=ID:32954|CODE:^3379.*|DESTINATION:T33RF|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03500|INC:1|INITIALBLOCK:1|RATEGROUP:17|MARKUP:0|CI:158|ACCID:41)
  395. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [origination_rates]=[ID:32954|CODE:^3379.*|DESTINATION:T33RF|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03500|INC:1|INITIALBLOCK:1|RATEGROUP:17|MARKUP:0|CI:158|ACCID:41]
  396. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(original_caller_id_name=79623015687)
  397. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [original_caller_id_name]=[79623015687]
  398. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(original_caller_id_number=79623015687)
  399. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [original_caller_id_number]=[79623015687]
  400. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 export(is_recording=1)
  401. 2022-02-14 09:33:19.602539 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [is_recording]=[1]
  402. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 export(media_bug_answer_req=true)
  403. 2022-02-14 09:33:19.602539 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [media_bug_answer_req]=[true]
  404. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 export(record_sample_rate=8000)
  405. 2022-02-14 09:33:19.602539 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [record_sample_rate]=[8000]
  406. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/8a03fbad-1dc5-48b8-9ec5-b23534021e46.mp3)
  407. 2022-02-14 09:33:19.602539 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/8a03fbad-1dc5-48b8-9ec5-b23534021e46.mp3]
  408. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(effective_caller_id_name=79623015687)
  409. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [effective_caller_id_name]=[79623015687]
  410. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(effective_caller_id_number=79623015687)
  411. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [effective_caller_id_number]=[79623015687]
  412. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(calltype=STANDARD)
  413. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [calltype]=[STANDARD]
  414. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(termination_rates=ID:5066|CODE:^3379.*|DESTINATION:TRF033|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.03250|INC:1|INITIALBLOCK:1|TRUNK:150|PROVIDER:80)
  415. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [termination_rates]=[ID:5066|CODE:^3379.*|DESTINATION:TRF033|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.03250|INC:1|INITIALBLOCK:1|TRUNK:150|PROVIDER:80]
  416. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(trunk_id=150)
  417. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [trunk_id]=[150]
  418. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(provider_id=80)
  419. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [provider_id]=[80]
  420. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(rate_flag=0)
  421. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [rate_flag]=[0]
  422. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(force_trunk_flag=32954)
  423. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [force_trunk_flag]=[32954]
  424. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 export(presence_data=trunk_id=150)
  425. 2022-02-14 09:33:19.602539 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=150]
  426. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 set(intcall=0)
  427. 2022-02-14 09:33:19.602539 [DEBUG] mod_dptools.c:1672 SET sofia/default/002807@193.111.83.49 [intcall]=[0]
  428. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 export(presence_data=x|||Kharkov GT2(6913881027)|||^3379.* // T33RF // 0.03500 // trunk_id=150|||TSL033_forRandom // ^3379.* // TRF033 // 0.03250 // trunk_id=150|||STD|||51.91.38.125)
  429. 2022-02-14 09:33:19.602539 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Kharkov GT2(6913881027)|||^3379.* // T33RF // 0.03500 // trunk_id=150|||TSL033_forRandom // ^3379.* // TRF033 // 0.03250 // trunk_id=150|||STD|||51.91.38.125]
  430. EXECUTE [depth=0] sofia/default/002807@193.111.83.49 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/TSL2/03379199101877;fs_path=sip:51.91.38.125:5060)
  431. 2022-02-14 09:33:19.602539 [DEBUG] switch_channel.c:1264 sofia/default/002807@193.111.83.49 E