From Sahil, 3 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and SIP1-> outbound -> IVR
  1. span style="color: cornflowerblue; font-weight: bold;"> 2021-02-11 12:51:58.446223 [NOTICE] switch_channel.c:1104 New Channel sofia/default/161313476075@161313476075.sbc.gosip.gr [8b977428-6c5f-11eb-a1ca-57d4daeded5e]
  2. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_state_machine.c:584 (sofia/default/161313476075@161313476075.sbc.gosip.gr) Running State Change CS_NEW (Cur 21 Tot 33503)
  3. 2021-02-11 12:51:58.446223 [DEBUG] sofia.c:9873 sofia/default/161313476075@161313476075.sbc.gosip.gr receiving invite from 168.119.135.178:5060 version: 1.6.20  64bit
  4. 2021-02-11 12:51:58.446223 [DEBUG] sofia.c:9989 IP 168.119.135.178 Approved by acl "default[]". Access Granted.
  5. 2021-02-11 12:51:58.446223 [DEBUG] sofia.c:7084 Channel sofia/default/161313476075@161313476075.sbc.gosip.gr entering state [received][100]
  6. 2021-02-11 12:51:58.446223 [DEBUG] sofia.c:7094 Remote SDP:
  7. v=0
  8. o=Z 0 0 IN IP4 117.247.91.162
  9. s=Z
  10. c=IN IP4 117.247.91.162
  11. t=0 0
  12. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  13. a=rtpmap:110 speex/8000
  14. a=rtpmap:98 iLBC/8000
  15. a=fmtp:98 mode=20
  16. a=rtpmap:101 telephone-event/8000
  17. a=fmtp:101 0-15
  18.  
  19. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  20. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  21. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
  22. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[GSM:3:8000:20:13200:1]
  23. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [GSM:3:8000:20:13200:1] ++++ is saved as a match
  24. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  25. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  26. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1]
  27. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[GSM:3:8000:20:13200:1]
  28. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  29. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  30. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  31. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  32. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
  33. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  36. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  37. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
  38. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  39. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  40. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1]
  41. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:98:8000:30:0:1]/[GSM:3:8000:20:13200:1]
  42. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  43. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/161313476075@161313476075.sbc.gosip.gr GSM/8000 20 ms 160 samples 13200 bits 1 channels
  44. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_codec.c:111 sofia/default/161313476075@161313476075.sbc.gosip.gr Original read codec set to GSM:3
  45. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  46. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_media.c:4767 sofia/default/161313476075@161313476075.sbc.gosip.gr Set 2833 dtmf send payload to 101 recv payload to 101
  47. 2021-02-11 12:51:58.446223 [DEBUG] sofia.c:7507 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State Change CS_NEW -> CS_INIT
  48. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_state_machine.c:603 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State NEW
  49. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_state_machine.c:584 (sofia/default/161313476075@161313476075.sbc.gosip.gr) Running State Change CS_INIT (Cur 21 Tot 33503)
  50. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_state_machine.c:627 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State INIT
  51. 2021-02-11 12:51:58.446223 [DEBUG] mod_sofia.c:90 sofia/default/161313476075@161313476075.sbc.gosip.gr SOFIA INIT
  52. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_state_machine.c:40 sofia/default/161313476075@161313476075.sbc.gosip.gr Standard INIT
  53. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_state_machine.c:48 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State Change CS_INIT -> CS_ROUTING
  54. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_state_machine.c:627 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State INIT going to sleep
  55. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_state_machine.c:584 (sofia/default/161313476075@161313476075.sbc.gosip.gr) Running State Change CS_ROUTING (Cur 21 Tot 33503)
  56. 2021-02-11 12:51:58.446223 [DEBUG] switch_channel.c:2249 (sofia/default/161313476075@161313476075.sbc.gosip.gr) Callstate Change DOWN -> RINGING
  57. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_state_machine.c:643 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State ROUTING
  58. 2021-02-11 12:51:58.446223 [DEBUG] mod_sofia.c:143 sofia/default/161313476075@161313476075.sbc.gosip.gr SOFIA ROUTING
  59. 2021-02-11 12:51:58.446223 [DEBUG] switch_core_state_machine.c:236 sofia/default/161313476075@161313476075.sbc.gosip.gr Standard ROUTING
  60. 2021-02-11 12:51:58.446223 [INFO] mod_dialplan_xml.c:637 Processing 161313476075 <161313476075>->302104115837 in context default
  61. 2021-02-11 12:51:58.446223 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f748809c840 Connected.
  62. 2021-02-11 12:51:58.446223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  63. 2021-02-11 12:51:58.446223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  64. 2021-02-11 12:51:58.466223 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  65. 2021-02-11 12:51:58.466223 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 302104115837
  66. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '302104115837' limit 1
  67. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '302104115837' AND status=0 limit 1
  68. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '302104115837' and status=0 LIMIT 1
  69. 2021-02-11 12:51:58.466223 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 161313476075 / 161313476075
  70. 2021-02-11 12:51:58.466223 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 3
  71. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1
  72. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/,2/302,6/306".....302104115837
  73. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/,2/302,6/306".....302104115837
  74. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/,2/302,6/306".....302104115837
  75. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [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 ="302104115837" LIMIT 1
  76. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="302104115837"  AND domains.domain="161313476075.sbc.gosip.gr" limit 1
  77. 2021-02-11 12:51:58.466223 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  78. 2021-02-11 12:51:58.466223 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 161313476075]
  79. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "161313476075" AND deleted = 0 limit 1
  80. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^302104115837.*' OR blocked_patterns = '^30210411583.*' OR blocked_patterns = '^3021041158.*' OR blocked_patterns = '^302104115.*' OR blocked_patterns = '^30210411.*' OR blocked_patterns = '^3021041.*' OR blocked_patterns = '^302104.*' OR blocked_patterns = '^30210.*' OR blocked_patterns = '^3021.*' OR blocked_patterns = '^302.*' OR blocked_patterns = '^30.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 989 limit 1
  81. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [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 ="302104115837" AND A.accountid = '989' limit 1
  82. 2021-02-11 12:51:58.466223 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 302104115837
  83. 2021-02-11 12:51:58.466223 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 3
  84. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1
  85. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/,2/302,6/306".....302104115837
  86. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/,2/302,6/306".....302104115837
  87. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/,2/302,6/306".....302104115837
  88. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [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 ="302104115837" LIMIT 1
  89. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="302104115837"  AND domains.domain="161313476075.sbc.gosip.gr" limit 1
  90. 2021-02-11 12:51:58.466223 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
  91. 2021-02-11 12:51:58.466223 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 3
  92. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1
  93. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/,2/302,6/306".....302104115837
  94. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/,2/302,6/306".....302104115837
  95. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/,2/302,6/306".....302104115837
  96. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="302104115837" AND (accountid = 0 OR status = 1) LIMIT 1
  97. 2021-02-11 12:51:58.466223 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 1
  98. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [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
  99. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"11/3011,69/3069,8/308,100/30100,166/30166,21/3021,22/3022,23/3023,24/3024,25/3025,26/3026,27/3027,28/3028,00/,+/".....302104115837
  100. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"11/3011,69/3069,8/308,100/30100,166/30166,21/3021,22/3022,23/3023,24/3024,25/3025,26/3026,27/3027,28/3028,00/,+/".....302104115837
  101. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"11/3011,69/3069,8/308,100/30100,166/30166,21/3021,22/3022,23/3023,24/3024,25/3025,26/3026,27/3027,28/3028,00/,+/".....302104115837
  102. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"11/3011,69/3069,8/308,100/30100,166/30166,21/3021,22/3022,23/3023,24/3024,25/3025,26/3026,27/3027,28/3028,00/,+/".....302104115837
  103. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"11/3011,69/3069,8/308,100/30100,166/30166,21/3021,22/3022,23/3023,24/3024,25/3025,26/3026,27/3027,28/3028,00/,+/".....302104115837
  104. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"11/3011,69/3069,8/308,100/30100,166/30166,21/3021,22/3022,23/3023,24/3024,25/3025,26/3026,27/3027,28/3028,00/,+/".....302104115837
  105. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"11/3011,69/3069,8/308,100/30100,166/30166,21/3021,22/3022,23/3023,24/3024,25/3025,26/3026,27/3027,28/3028,00/,+/".....302104115837
  106. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"11/3011,69/3069,8/308,100/30100,166/30166,21/3021,22/3022,23/3023,24/3024,25/3025,26/3026,27/3027,28/3028,00/,+/".....302104115837
  107. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"11/3011,69/3069,8/308,100/30100,166/30166,21/3021,22/3022,23/3023,24/3024,25/3025,26/3026,27/3027,28/3028,00/,+/".....302104115837
  108. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"11/3011,69/3069,8/308,100/30100,166/30166,21/3021,22/3022,23/3023,24/3024,25/3025,26/3026,27/3027,28/3028,00/,+/".....302104115837
  109. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"11/3011,69/3069,8/308,100/30100,166/30166,21/3021,22/3022,23/3023,24/3024,25/3025,26/3026,27/3027,28/3028,00/,+/".....302104115837
  110. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"11/3011,69/3069,8/308,100/30100,166/30166,21/3021,22/3022,23/3023,24/3024,25/3025,26/3026,27/3027,28/3028,00/,+/".....302104115837
  111. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"11/3011,69/3069,8/308,100/30100,166/30166,21/3021,22/3022,23/3023,24/3024,25/3025,26/3026,27/3027,28/3028,00/,+/".....302104115837
  112. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"11/3011,69/3069,8/308,100/30100,166/30166,21/3021,22/3022,23/3023,24/3024,25/3025,26/3026,27/3027,28/3028,00/,+/".....302104115837
  113. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"11/3011,69/3069,8/308,100/30100,166/30166,21/3021,22/3022,23/3023,24/3024,25/3025,26/3026,27/3027,28/3028,00/,+/".....302104115837
  114. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [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 = '^302104115837.*' OR patterns = '^30210411583.*' OR patterns = '^3021041158.*' OR patterns = '^302104115.*' OR patterns = '^30210411.*' OR patterns = '^3021041.*' OR patterns = '^302104.*' OR patterns = '^30210.*' OR patterns = '^3021.*' OR patterns = '^302.*' OR patterns = '^30.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 989 ORDER BY LENGTH(PKGPTR.patterns) DESC
  115. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '302104115837' OR number = '30210411583' OR number = '3021041158' OR number = '302104115' OR number = '30210411' OR number = '3021041' OR number = '302104' OR number = '30210' OR number = '3021' OR number = '302' OR number = '30' OR number = '3' OR number ='--') OR (number = '302104115837*' OR number = '30210411583*' OR number = '3021041158*' OR number = '302104115*' OR number = '30210411*' OR number = '3021041*' OR number = '302104*' OR number = '30210*' OR number = '3021*' OR number = '302*' OR number = '30*' OR number = '3*' OR number ='--') OR (number = '161313476075' OR number = '16131347607' OR number = '1613134760' OR number = '161313476' OR number = '16131347' OR number = '1613134' OR number = '161313' OR number = '16131' OR number = '1613' OR number = '161' OR number = '16' OR number = '1' OR number ='--') OR (number = '161313476075*' OR number = '16131347607*' OR number = '1613134760*' OR number = '161313476*' OR number = '16131347*' OR number = '1613134*' OR number = '161313*' OR number = '16131*' OR number = '1613*' OR number = '161*' OR number = '16*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  116. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  117. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '302104115837' OR routing_prefix = '30210411583' OR routing_prefix = '3021041158' OR routing_prefix = '302104115' OR routing_prefix = '30210411' OR routing_prefix = '3021041' OR routing_prefix = '302104' OR routing_prefix = '30210' OR routing_prefix = '3021' OR routing_prefix = '302' OR routing_prefix = '30' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  118. 2021-02-11 12:51:58.466223 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  119. 2021-02-11 12:51:58.466223 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 989
  120. 2021-02-11 12:51:58.466223 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 161313476075
  121. 2021-02-11 12:51:58.466223 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 47.0243
  122. 2021-02-11 12:51:58.466223 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  123. 2021-02-11 12:51:58.466223 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  124. 2021-02-11 12:51:58.466223 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  125. 2021-02-11 12:51:58.466223 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  126. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  127. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  128. 2021-02-11 12:51:58.466223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^302104115837.*' OR pattern = '^30210411583.*' OR pattern = '^3021041158.*' OR pattern = '^302104115.*' OR pattern = '^30210411.*' OR pattern = '^3021041.*' OR pattern = '^302104.*' OR pattern = '^30210.*' OR pattern = '^3021.*' OR pattern = '^302.*' OR pattern = '^30.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=989)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  129. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
  130. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  131. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 51993
  132. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  133. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  134. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.01300
  135. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Greece - Land Line
  136. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 75
  137. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 989
  138. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID:
  139. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  140. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  141. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your47.0243 balance Accountid 989 !!!
  142. 2021-02-11 12:51:58.486223 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
  143. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 100 minutes
  144. 2021-02-11 12:51:58.486223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :
  145. 2021-02-11 12:51:58.486223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
  146. 2021-02-11 12:51:58.486223 [DEBUG] switch_cpp.cpp:1365 [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 = '^302104115837.*' OR pattern = '^30210411583.*' OR pattern = '^3021041158.*' OR pattern = '^302104115.*' OR pattern = '^30210411.*' OR pattern = '^3021041.*' OR pattern = '^302104.*' OR pattern = '^30210.*' OR pattern = '^3021.*' OR pattern = '^302.*' OR pattern = '^30.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5,11) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  147. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  148. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 142213
  149. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^302.*
  150. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Greece-local-national
  151. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  152. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  153. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^302.*
  154. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip :
  155. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 5578
  156. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 11
  157. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : ePhone-Athens
  158. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  159. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : ePhone-Thessaloniki
  160. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 247
  161. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 60
  162. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : ePhone
  163. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  164. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  165. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 51961
  166. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^30.*
  167. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Greece - Other
  168. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  169. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  170. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^30.*
  171. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip :
  172. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend :
  173. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 5
  174. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : DiDLogic-Germany
  175. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  176. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : DidlogicUK
  177. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 81
  178. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 1000
  179. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Didlogic
  180. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  181. 2021-02-11 12:51:58.486223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 989 AND status=0 LIMIT 1
  182. 2021-02-11 12:51:58.486223 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 100
  183. 2021-02-11 12:51:58.486223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  184. 2021-02-11 12:51:58.486223 [DEBUG] switch_cpp.cpp:1365 [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 = 247) AND status=0 limit 1
  185. 2021-02-11 12:51:58.486223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :*/5578.....302104115837
  186. 2021-02-11 12:51:58.486223 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 302104115837
  187. 2021-02-11 12:51:58.486223 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 5578302104115837
  188. 2021-02-11 12:51:58.486223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  189. 2021-02-11 12:51:58.486223 [DEBUG] switch_cpp.cpp:1365 [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 = 81) AND status=0 limit 1
  190. 2021-02-11 12:51:58.486223 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  191. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  192. <document type="freeswitch/xml">
  193. <section name="dialplan" description="ASTPP Dialplan">
  194. <context name="default">
  195. <extension name="302104115837">
  196. <condition field="destination_number" expression="302104115837">
  197. <action application="set" data="effective_destination_number=302104115837"/>
  198. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  199. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  200. <action application="set" data="callstart=2021-02-11 11:51:58"/>
  201. <action application="set" data="hangup_after_bridge=true"/>
  202. <action application="set" data="continue_on_fail=TRUE"/>
  203. <action application="set" data="account_id=989"/>
  204. <action application="set" data="parent_id=0"/>
  205. <action application="set" data="entity_id=0"/>
  206. <action application="set" data="call_processed=internal"/>
  207. <action application="set" data="call_direction=outbound"/>
  208. <action application="set" data="accountname=default"/>
  209. <action application="set" data="origination_rates=ID:51993|CODE:^302.*|DESTINATION:Greece - Land Line|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01300|INC:1|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:75|ACCID:989"/>
  210. <action application="set" data="original_caller_id_name=302107563001"/>
  211. <action application="set" data="original_caller_id_number=302107563001"/>
  212. <action application="limit" data="db 161313476075 user_161313476075 4 !SWITCH_CONGESTION"/>
  213.  
  214. <action application="set" data="effective_caller_id_name=302107563001"/>
  215. <action application="set" data="effective_caller_id_number=302107563001"/>
  216. <action application="set" data="calltype=STANDARD"/>
  217. <action application="set" data="termination_rates=ID:142213|CODE:^302.*|DESTINATION:Greece-local-national|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01120|INC:1|INITIALBLOCK:1|TRUNK:11|PROVIDER:247"/>
  218. <action application="set" data="trunk_id=11"/>
  219. <action application="set" data="provider_id=247"/>
  220. <action application="set" data="rate_flag=0"/>
  221. <action application="set" data="force_trunk_flag=0"/>
  222. <action application="export" data="presence_data=trunk_id=11"/>
  223. <action application="set" data="intcall=0"/>
  224. <action application="export" data="presence_data=x|||manos-test(161313476075)|||^302.* // Greece - Land Line // 0.01300 // trunk_id=|||ePhone // ^302.* // Greece-local-national // 0.01120 // trunk_id=11|||STD|||117.247.91.162"/>
  225. <action application="limit_execute" data="db ePhone-Athens gw_ePhone-Athens 60 bridge [leg_timeout=0,absolute_codec_string=^^:PCMA:G729:GSM:PCMU]sofia/gateway/ePhone-Athens/5578302104115837;fs_path=sip:168.119.135.178:5060"/>
  226. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:GSM:PCMU]sofia/gateway/ePhone-Thessaloniki/5578302104115837;fs_path=sip:168.119.135.178:5060"/>
  227. <action application="set" data="effective_caller_id_name=302107563001"/>
  228. <action application="set" data="effective_caller_id_number=302107563001"/>
  229. <action application="set" data="calltype=STANDARD"/>
  230. <action application="set" data="termination_rates=ID:51961|CODE:^30.*|DESTINATION:Greece - Other|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01240|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:81"/>
  231. <action application="set" data="trunk_id=5"/>
  232. <action application="set" data="provider_id=81"/>
  233. <action application="set" data="rate_flag=0"/>
  234. <action application="set" data="force_trunk_flag=0"/>
  235. <action application="export" data="presence_data=trunk_id=5"/>
  236. <action application="set" data="intcall=0"/>
  237. <action application="export" data="presence_data=x|||manos-test(161313476075)|||^302.* // Greece - Land Line // 0.01300 // trunk_id=|||Didlogic // ^30.* // Greece - Other // 0.01240 // trunk_id=5|||STD|||117.247.91.162"/>
  238. <action application="limit" data="hash CPS_5 CPS_trunk_5 20/1 !SWITCH_CONGESTION"/>
  239. <action application="limit_execute" data="db DiDLogic-Germany gw_DiDLogic-Germany 1000 bridge [leg_timeout=60,absolute_codec_string=^^:PCMA:G729:GSM:PCMU:G722]sofia/gateway/DiDLogic-Germany/302104115837;fs_path=sip:168.119.135.178:5060"/>
  240. <action application="bridge" data="[leg_timeout=60,absolute_codec_string=^^:PCMA:G729:GSM:PCMU:G722]sofia/gateway/DidlogicUK/302104115837;fs_path=sip:168.119.135.178:5060"/>
  241. <action application="bridge" data="[leg_timeout=60,absolute_codec_string=^^:PCMA:G729:GSM:PCMU:G722]sofia/gateway/DIDLogic-Reg/302104115837;fs_path=sip:168.119.135.178:5060"/>
  242. </condition>
  243. </extension>
  244. </context>
  245. </section>
  246. </document>
  247. 2021-02-11 12:51:58.486223 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f748809c840 released.
  248. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr parsing [default->302104115837] continue=false
  249. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Regex (PASS) [302104115837] destination_number(302104115837) =~ /302104115837/ break=on-false
  250. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(effective_destination_number=302104115837)
  251. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
  252. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  253. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(callstart=2021-02-11 11:51:58)
  254. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(hangup_after_bridge=true)
  255. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(continue_on_fail=TRUE)
  256. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(account_id=989)
  257. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(parent_id=0)
  258. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(entity_id=0)
  259. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(call_processed=internal)
  260. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(call_direction=outbound)
  261. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(accountname=default)
  262. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(origination_rates=ID:51993|CODE:^302.*|DESTINATION:Greece - Land Line|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01300|INC:1|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:75|ACCID:989)
  263. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(original_caller_id_name=302107563001)
  264. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(original_caller_id_number=302107563001)
  265. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action limit(db 161313476075 user_161313476075 4 !SWITCH_CONGESTION)
  266. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(effective_caller_id_name=302107563001)
  267. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(effective_caller_id_number=302107563001)
  268. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(calltype=STANDARD)
  269. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(termination_rates=ID:142213|CODE:^302.*|DESTINATION:Greece-local-national|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01120|INC:1|INITIALBLOCK:1|TRUNK:11|PROVIDER:247)
  270. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(trunk_id=11)
  271. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(provider_id=247)
  272. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(rate_flag=0)
  273. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(force_trunk_flag=0)
  274. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action export(presence_data=trunk_id=11)
  275. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(intcall=0)
  276. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action export(presence_data=x|||manos-test(161313476075)|||^302.* // Greece - Land Line // 0.01300 // trunk_id=|||ePhone // ^302.* // Greece-local-national // 0.01120 // trunk_id=11|||STD|||117.247.91.162)
  277. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action limit_execute(db ePhone-Athens gw_ePhone-Athens 60 bridge [leg_timeout=0,absolute_codec_string=^^:PCMA:G729:GSM:PCMU]sofia/gateway/ePhone-Athens/5578302104115837;fs_path=sip:168.119.135.178:5060)
  278. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA:G729:GSM:PCMU]sofia/gateway/ePhone-Thessaloniki/5578302104115837;fs_path=sip:168.119.135.178:5060)
  279. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(effective_caller_id_name=302107563001)
  280. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(effective_caller_id_number=302107563001)
  281. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(calltype=STANDARD)
  282. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(termination_rates=ID:51961|CODE:^30.*|DESTINATION:Greece - Other|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01240|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:81)
  283. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(trunk_id=5)
  284. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(provider_id=81)
  285. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(rate_flag=0)
  286. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(force_trunk_flag=0)
  287. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action export(presence_data=trunk_id=5)
  288. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action set(intcall=0)
  289. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action export(presence_data=x|||manos-test(161313476075)|||^302.* // Greece - Land Line // 0.01300 // trunk_id=|||Didlogic // ^30.* // Greece - Other // 0.01240 // trunk_id=5|||STD|||117.247.91.162)
  290. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action limit(hash CPS_5 CPS_trunk_5 20/1 !SWITCH_CONGESTION)
  291. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action limit_execute(db DiDLogic-Germany gw_DiDLogic-Germany 1000 bridge [leg_timeout=60,absolute_codec_string=^^:PCMA:G729:GSM:PCMU:G722]sofia/gateway/DiDLogic-Germany/302104115837;fs_path=sip:168.119.135.178:5060)
  292. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action bridge([leg_timeout=60,absolute_codec_string=^^:PCMA:G729:GSM:PCMU:G722]sofia/gateway/DidlogicUK/302104115837;fs_path=sip:168.119.135.178:5060)
  293. Dialplan: sofia/default/161313476075@161313476075.sbc.gosip.gr Action bridge([leg_timeout=60,absolute_codec_string=^^:PCMA:G729:GSM:PCMU:G722]sofia/gateway/DIDLogic-Reg/302104115837;fs_path=sip:168.119.135.178:5060)
  294. 2021-02-11 12:51:58.486223 [DEBUG] switch_core_state_machine.c:286 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State Change CS_ROUTING -> CS_EXECUTE
  295. 2021-02-11 12:51:58.486223 [DEBUG] switch_core_state_machine.c:643 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State ROUTING going to sleep
  296. 2021-02-11 12:51:58.486223 [DEBUG] switch_core_state_machine.c:584 (sofia/default/161313476075@161313476075.sbc.gosip.gr) Running State Change CS_EXECUTE (Cur 21 Tot 33503)
  297. 2021-02-11 12:51:58.486223 [DEBUG] switch_core_state_machine.c:650 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State EXECUTE
  298. 2021-02-11 12:51:58.486223 [DEBUG] mod_sofia.c:198 sofia/default/161313476075@161313476075.sbc.gosip.gr SOFIA EXECUTE
  299. 2021-02-11 12:51:58.486223 [DEBUG] switch_core_state_machine.c:328 sofia/default/161313476075@161313476075.sbc.gosip.gr Standard EXECUTE
  300. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(effective_destination_number=302104115837)
  301. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [effective_destination_number]=[302104115837]
  302. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(bridge_pre_execute_bleg_app=sched_hangup)
  303. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
  304. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  305. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  306. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(callstart=2021-02-11 11:51:58)
  307. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [callstart]=[2021-02-11 11:51:58]
  308. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(hangup_after_bridge=true)
  309. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [hangup_after_bridge]=[true]
  310. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(continue_on_fail=TRUE)
  311. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [continue_on_fail]=[TRUE]
  312. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(account_id=989)
  313. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [account_id]=[989]
  314. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(parent_id=0)
  315. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [parent_id]=[0]
  316. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(entity_id=0)
  317. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [entity_id]=[0]
  318. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(call_processed=internal)
  319. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [call_processed]=[internal]
  320. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(call_direction=outbound)
  321. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [call_direction]=[outbound]
  322. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(accountname=default)
  323. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [accountname]=[default]
  324. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(origination_rates=ID:51993|CODE:^302.*|DESTINATION:Greece - Land Line|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01300|INC:1|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:75|ACCID:989)
  325. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [origination_rates]=[ID:51993|CODE:^302.*|DESTINATION:Greece - Land Line|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01300|INC:1|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:75|ACCID:989]
  326. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(original_caller_id_name=302107563001)
  327. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [original_caller_id_name]=[302107563001]
  328. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(original_caller_id_number=302107563001)
  329. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [original_caller_id_number]=[302107563001]
  330. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr limit(db 161313476075 user_161313476075 4 !SWITCH_CONGESTION)
  331. 2021-02-11 12:51:58.486223 [DEBUG] switch_limit.c:126 incr called: 161313476075_user_161313476075 max:4, interval:0
  332. 2021-02-11 12:51:58.486223 [DEBUG] mod_db.c:194 Usage for 161313476075_user_161313476075 is now 1/4
  333. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(effective_caller_id_name=302107563001)
  334. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [effective_caller_id_name]=[302107563001]
  335. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(effective_caller_id_number=302107563001)
  336. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [effective_caller_id_number]=[302107563001]
  337. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(calltype=STANDARD)
  338. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [calltype]=[STANDARD]
  339. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(termination_rates=ID:142213|CODE:^302.*|DESTINATION:Greece-local-national|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01120|INC:1|INITIALBLOCK:1|TRUNK:11|PROVIDER:247)
  340. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [termination_rates]=[ID:142213|CODE:^302.*|DESTINATION:Greece-local-national|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01120|INC:1|INITIALBLOCK:1|TRUNK:11|PROVIDER:247]
  341. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(trunk_id=11)
  342. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [trunk_id]=[11]
  343. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(provider_id=247)
  344. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [provider_id]=[247]
  345. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(rate_flag=0)
  346. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [rate_flag]=[0]
  347. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(force_trunk_flag=0)
  348. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [force_trunk_flag]=[0]
  349. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr export(presence_data=trunk_id=11)
  350. 2021-02-11 12:51:58.486223 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=11]
  351. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr set(intcall=0)
  352. 2021-02-11 12:51:58.486223 [DEBUG] mod_dptools.c:1548 SET sofia/default/161313476075@161313476075.sbc.gosip.gr [intcall]=[0]
  353. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr export(presence_data=x|||manos-test(161313476075)|||^302.* // Greece - Land Line // 0.01300 // trunk_id=|||ePhone // ^302.* // Greece-local-national // 0.01120 // trunk_id=11|||STD|||117.247.91.162)
  354. 2021-02-11 12:51:58.486223 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||manos-test(161313476075)|||^302.* // Greece - Land Line // 0.01300 // trunk_id=|||ePhone // ^302.* // Greece-local-national // 0.01120 // trunk_id=11|||STD|||117.247.91.162]
  355. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr limit_execute(db ePhone-Athens gw_ePhone-Athens 60 bridge [leg_timeout=0,absolute_codec_string=^^:PCMA:G729:GSM:PCMU]sofia/gateway/ePhone-Athens/5578302104115837;fs_path=sip:168.119.135.178:5060)
  356. 2021-02-11 12:51:58.486223 [DEBUG] switch_limit.c:126 incr called: ePhone-Athens_gw_ePhone-Athens max:60, interval:0
  357. 2021-02-11 12:51:58.486223 [DEBUG] mod_db.c:194 Usage for ePhone-Athens_gw_ePhone-Athens is now 3/60
  358. EXECUTE sofia/default/161313476075@161313476075.sbc.gosip.gr bridge([leg_timeout=0,absolute_codec_string=^^:PCMA:G729:GSM:PCMU]sofia/gateway/ePhone-Athens/5578302104115837;fs_path=sip:168.119.135.178:5060)
  359. 2021-02-11 12:51:58.486223 [DEBUG] switch_channel.c:1250 sofia/default/161313476075@161313476075.sbc.gosip.gr EXPORTING[export_vars] [presence_data]=[x|||manos-test(161313476075)|||^302.* // Greece - Land Line // 0.01300 // trunk_id=|||ePhone // ^302.* // Greece-local-national // 0.01120 // trunk_id=11|||STD|||117.247.91.162] to event
  360. 2021-02-11 12:51:58.486223 [DEBUG] switch_channel.c:1250 sofia/default/161313476075@161313476075.sbc.gosip.gr EXPORTING[export_vars] [presence_data]=[x|||manos-test(161313476075)|||^302.* // Greece - Land Line // 0.01300 // trunk_id=|||ePhone // ^302.* // Greece-local-national // 0.01120 // trunk_id=11|||STD|||117.247.91.162] to event
  361. 2021-02-11 12:51:58.486223 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  362. 2021-02-11 12:51:58.486223 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  363. 2021-02-11 12:51:58.486223 [NOTICE] switch_channel.c:1104 New Channel sofia/default/5578302104115837 [8b9dbe32-6c5f-11eb-a1ec-57d4daeded5e]
  364. 2021-02-11 12:51:58.486223 [DEBUG] mod_sofia.c:4819 (sofia/default/5578302104115837) State Change CS_NEW -> CS_INIT
  365. 2021-02-11 12:51:58.486223 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5578302104115837) Running State Change CS_INIT (Cur 22 Tot 33504)
  366. 2021-02-11 12:51:58.486223 [DEBUG] switch_core_state_machine.c:627 (sofia/default/5578302104115837) State INIT
  367. 2021-02-11 12:51:58.486223 [DEBUG] mod_sofia.c:90 sofia/default/5578302104115837 SOFIA INIT
  368. 2021-02-11 12:51:58.486223 [DEBUG] sofia_glue.c:1264 sip:168.119.135.178:5060 Setting proxy route to sofia/default/5578302104115837
  369. 2021-02-11 12:51:58.486223 [DEBUG] sofia_glue.c:1295 sofia/default/5578302104115837 sending invite version: 1.6.20  64bit
  370. Local SDP:
  371. v=0
  372. o=FreeSWITCH 1613013058 1613013059 IN IP4 168.119.135.181
  373. s=FreeSWITCH
  374. c=IN IP4 168.119.135.181
  375. t=0 0
  376. m=audio 31260 RTP/AVP 8 18 3 0 101
  377. a=rtpmap:8 PCMA/8000
  378. a=rtpmap:18 G729/8000
  379. a=fmtp:18 annexb=no
  380. a=rtpmap:3 GSM/8000
  381. a=rtpmap:0 PCMU/8000
  382. a=rtpmap:101 telephone-event/8000
  383. a=fmtp:101 0-16
  384. a=ptime:20
  385. a=sendrecv
  386.  
  387. 2021-02-11 12:51:58.486223 [DEBUG] switch_core_state_machine.c:40 sofia/default/5578302104115837 Standard INIT
  388. 2021-02-11 12:51:58.486223 [DEBUG] switch_core_state_machine.c:48 (sofia/default/5578302104115837) State Change CS_INIT -> CS_ROUTING
  389. 2021-02-11 12:51:58.486223 [DEBUG] switch_core_state_machine.c:627 (sofia/default/5578302104115837) State INIT going to sleep
  390. 2021-02-11 12:51:58.486223 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5578302104115837) Running State Change CS_ROUTING (Cur 22 Tot 33504)
  391. 2021-02-11 12:51:58.486223 [DEBUG] switch_core_state_machine.c:643 (sofia/default/5578302104115837) State ROUTING
  392. 2021-02-11 12:51:58.486223 [DEBUG] mod_sofia.c:143 sofia/default/5578302104115837 SOFIA ROUTING
  393. 2021-02-11 12:51:58.486223 [DEBUG] switch_ivr_originate.c:67 (sofia/default/5578302104115837) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  394. 2021-02-11 12:51:58.486223 [DEBUG] switch_core_state_machine.c:643 (sofia/default/5578302104115837) State ROUTING going to sleep
  395. 2021-02-11 12:51:58.486223 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5578302104115837) Running State Change CS_CONSUME_MEDIA (Cur 22 Tot 33504)
  396. 2021-02-11 12:51:58.486223 [DEBUG] sofia.c:7084 Channel sofia/default/5578302104115837 entering state [calling][0]
  397. 2021-02-11 12:51:58.486223 [DEBUG] switch_core_state_machine.c:662 (sofia/default/5578302104115837) State CONSUME_MEDIA
  398. 2021-02-11 12:51:58.486223 [DEBUG] switch_core_state_machine.c:662 (sofia/default/5578302104115837) State CONSUME_MEDIA going to sleep
  399. 2021-02-11 12:51:58.726223 [DEBUG] sofia.c:7084 Channel sofia/default/5578302104115837 entering state [proceeding][181]
  400. 2021-02-11 12:51:58.946222 [DEBUG] sofia.c:7084 Channel sofia/default/5578302104115837 entering state [proceeding][180]
  401. 2021-02-11 12:51:58.946222 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/5578302104115837!
  402. 2021-02-11 12:51:58.946222 [DEBUG] switch_channel.c:3346 (sofia/default/5578302104115837) Callstate Change DOWN -> RINGING
  403. 2021-02-11 12:51:58.966223 [DEBUG] sofia.c:7084 Channel sofia/default/5578302104115837 entering state [completing][200]
  404. 2021-02-11 12:51:58.966223 [DEBUG] sofia.c:7094 Remote SDP:
  405. v=0
  406. o=- 70256817 70256817 IN IP4 91.217.155.93
  407. s=SBC call
  408. c=IN IP4 91.217.155.93
  409. t=0 0
  410. m=audio 14388 RTP/AVP 8 101
  411. b=AS:80
  412. b=TIAS:64000
  413. a=rtpmap:8 PCMA/8000/1
  414. a=rtpmap:101 telephone-event/8000
  415. a=fmtp:101 0-15
  416. a=maxptime:20
  417. a=rtcp:14389
  418. a=ptime:20
  419.  
  420. 2021-02-11 12:51:58.966223 [DEBUG] sofia.c:7084 Channel sofia/default/5578302104115837 entering state [ready][200]
  421. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  422. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  423. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  424. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
  425. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  426. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  427. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/5578302104115837 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  428. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_codec.c:111 sofia/default/5578302104115837 Original read codec set to PCMA:8
  429. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  430. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:4767 sofia/default/5578302104115837 Set 2833 dtmf send payload to 101 recv payload to 101
  431. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/5578302104115837] 168.119.135.181 port 31260 -> 91.217.155.93 port 14388 codec: 8 ms: 20
  432. 2021-02-11 12:51:58.966223 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  433. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:7096 Activating RTCP PORT 14389
  434. 2021-02-11 12:51:58.966223 [DEBUG] switch_rtp.c:4533 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 14389
  435. 2021-02-11 12:51:58.966223 [DEBUG] switch_rtp.c:2567 Setting RTCP remote addr to 91.217.155.93:14389 2
  436. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:7180 sofia/default/5578302104115837 Set 2833 dtmf send payload to 101
  437. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:7187 sofia/default/5578302104115837 Set 2833 dtmf receive payload to 101
  438. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:7210 sofia/default/5578302104115837 Set rtp dtmf delay to 40
  439. 2021-02-11 12:51:58.966223 [NOTICE] sofia.c:8218 Channel [sofia/default/5578302104115837] has been answered
  440. 2021-02-11 12:51:58.966223 [DEBUG] switch_channel.c:3773 (sofia/default/5578302104115837) Callstate Change RINGING -> ACTIVE
  441. 2021-02-11 12:51:58.966223 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/161313476075@161313476075.sbc.gosip.gr!
  442. 2021-02-11 12:51:58.966223 [DEBUG] sofia.c:7084 Channel sofia/default/161313476075@161313476075.sbc.gosip.gr entering state [early][180]
  443. 2021-02-11 12:51:58.966223 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/161313476075@161313476075.sbc.gosip.gr!
  444. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/161313476075@161313476075.sbc.gosip.gr] 168.119.135.181 port 24928 -> 117.247.91.162 port 8000 codec: 3 ms: 20
  445. 2021-02-11 12:51:58.966223 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  446. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:7180 sofia/default/161313476075@161313476075.sbc.gosip.gr Set 2833 dtmf send payload to 101
  447. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:7187 sofia/default/161313476075@161313476075.sbc.gosip.gr Set 2833 dtmf receive payload to 101
  448. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_media.c:7210 sofia/default/161313476075@161313476075.sbc.gosip.gr Set rtp dtmf delay to 40
  449. 2021-02-11 12:51:58.966223 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/161313476075@161313476075.sbc.gosip.gr:
  450. v=0
  451. o=FreeSWITCH 1613019390 1613019391 IN IP4 168.119.135.181
  452. s=FreeSWITCH
  453. c=IN IP4 168.119.135.181
  454. t=0 0
  455. m=audio 24928 RTP/AVP 3 101
  456. a=rtpmap:3 GSM/8000
  457. a=rtpmap:101 telephone-event/8000
  458. a=fmtp:101 0-16
  459. a=ptime:20
  460. a=sendrecv
  461.  
  462. 2021-02-11 12:51:58.966223 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/161313476075@161313476075.sbc.gosip.gr] has been answered
  463. 2021-02-11 12:51:58.966223 [DEBUG] switch_channel.c:3773 (sofia/default/161313476075@161313476075.sbc.gosip.gr) Callstate Change RINGING -> ACTIVE
  464. 2021-02-11 12:51:58.966223 [DEBUG] sofia.c:7084 Channel sofia/default/161313476075@161313476075.sbc.gosip.gr entering state [completed][200]
  465. 2021-02-11 12:51:58.966223 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/5578302104115837]
  466. 2021-02-11 12:51:58.966223 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/5578302104115837) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  467. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5578302104115837) Running State Change CS_EXCHANGE_MEDIA (Cur 22 Tot 33504)
  468. 2021-02-11 12:51:58.966223 [DEBUG] switch_core_state_machine.c:653 (sofia/default/5578302104115837) State EXCHANGE_MEDIA
  469. 2021-02-11 12:51:58.966223 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  470. 2021-02-11 12:51:59.106222 [DEBUG] switch_rtp.c:1887 rtcp_stats_init: audio ssrc[1962833143] base_seq[0]
  471. 2021-02-11 12:51:59.106222 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  472. 2021-02-11 12:51:59.166222 [DEBUG] switch_ivr_bridge.c:546 sofia/default/5578302104115837 Bridge execute app sched_hangup(+6000 normal_clearing)
  473. 2021-02-11 12:51:59.166222 [DEBUG] sofia.c:7084 Channel sofia/default/161313476075@161313476075.sbc.gosip.gr entering state [ready][200]
  474. 2021-02-11 12:51:59.186222 [DEBUG] switch_ivr.c:623 sofia/default/5578302104115837 Command Execute sched_hangup(+6000 normal_clearing)
  475. EXECUTE sofia/default/5578302104115837 sched_hangup(+6000 normal_clearing)
  476. 2021-02-11 12:51:59.186222 [DEBUG] switch_scheduler.c:249 Added task 14047 switch_ivr_schedule_hangup (8b9dbe32-6c5f-11eb-a1ec-57d4daeded5e) to run at 1613050319
  477. 2021-02-11 12:51:59.206224 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  478. 2021-02-11 12:52:11.386226 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 2:960
  479. 2021-02-11 12:52:11.386226 [INFO] switch_channel.c:515 RECV DTMF 2:960
  480. 2021-02-11 12:52:11.406225 [DEBUG] switch_rtp.c:5261 Send start packet for [2] ts=4105747319 dur=160/160/960 seq=13409 lw=4105747319
  481. 2021-02-11 12:52:11.406225 [DEBUG] switch_rtp.c:5160 Send middle packet for [2] ts=4105747319 dur=320/320/960 seq=13410 lw=4105747479
  482. 2021-02-11 12:52:11.426221 [DEBUG] switch_rtp.c:5160 Send middle packet for [2] ts=4105747319 dur=480/480/960 seq=13411 lw=4105747639
  483. 2021-02-11 12:52:11.426221 [DEBUG] switch_rtp.c:5160 Send middle packet for [2] ts=4105747319 dur=640/640/960 seq=13412 lw=4105747799
  484. 2021-02-11 12:52:11.446222 [DEBUG] switch_rtp.c:5160 Send middle packet for [2] ts=4105747319 dur=800/800/960 seq=13413 lw=4105747959
  485. 2021-02-11 12:52:11.446222 [DEBUG] switch_rtp.c:5160 Send end packet for [2] ts=4105747319 dur=960/960/960 seq=13414 lw=4105747959
  486. 2021-02-11 12:52:11.446222 [DEBUG] switch_rtp.c:5160 Send end packet for [2] ts=4105747319 dur=960/960/960 seq=13415 lw=4105747959
  487. 2021-02-11 12:52:11.446222 [DEBUG] switch_rtp.c:5160 Send end packet for [2] ts=4105747319 dur=960/960/960 seq=13416 lw=4105747959
  488. 2021-02-11 12:52:11.446222 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms
  489. 2021-02-11 12:52:14.226223 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 6:960
  490. 2021-02-11 12:52:14.226223 [INFO] switch_channel.c:515 RECV DTMF 6:960
  491. 2021-02-11 12:52:14.246222 [DEBUG] switch_rtp.c:5261 Send start packet for [6] ts=4105770199 dur=160/160/960 seq=13550 lw=4105770199
  492. 2021-02-11 12:52:14.246222 [DEBUG] switch_rtp.c:5160 Send middle packet for [6] ts=4105770199 dur=320/320/960 seq=13551 lw=4105770359
  493. 2021-02-11 12:52:14.266222 [DEBUG] switch_rtp.c:5160 Send middle packet for [6] ts=4105770199 dur=480/480/960 seq=13552 lw=4105770519
  494. 2021-02-11 12:52:14.266222 [DEBUG] switch_rtp.c:5160 Send middle packet for [6] ts=4105770199 dur=640/640/960 seq=13553 lw=4105770679
  495. 2021-02-11 12:52:14.286222 [DEBUG] switch_rtp.c:5160 Send middle packet for [6] ts=4105770199 dur=800/800/960 seq=13554 lw=4105770839
  496. 2021-02-11 12:52:14.286222 [DEBUG] switch_rtp.c:5160 Send end packet for [6] ts=4105770199 dur=960/960/960 seq=13555 lw=4105770839
  497. 2021-02-11 12:52:14.286222 [DEBUG] switch_rtp.c:5160 Send end packet for [6] ts=4105770199 dur=960/960/960 seq=13556 lw=4105770839
  498. 2021-02-11 12:52:14.286222 [DEBUG] switch_rtp.c:5160 Send end packet for [6] ts=4105770199 dur=960/960/960 seq=13557 lw=4105770839
  499. 2021-02-11 12:52:14.286222 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms
  500. 2021-02-11 12:52:18.806223 [NOTICE] sofia.c:1012 Hangup sofia/default/161313476075@161313476075.sbc.gosip.gr [CS_EXECUTE] [NORMAL_CLEARING]
  501. 2021-02-11 12:52:18.806223 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/161313476075@161313476075.sbc.gosip.gr]
  502. 2021-02-11 12:52:18.826222 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/5578302104115837]
  503. 2021-02-11 12:52:18.826222 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/5578302104115837 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  504. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:653 (sofia/default/5578302104115837) State EXCHANGE_MEDIA going to sleep
  505. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5578302104115837) Running State Change CS_HANGUP (Cur 22 Tot 33504)
  506. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:850 (sofia/default/5578302104115837) Callstate Change ACTIVE -> HANGUP
  507. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:852 (sofia/default/5578302104115837) State HANGUP
  508. 2021-02-11 12:52:18.826222 [DEBUG] mod_sofia.c:432 sofia/default/5578302104115837 Overriding SIP cause 480 with 200 from the other leg
  509. 2021-02-11 12:52:18.826222 [DEBUG] mod_sofia.c:438 Channel sofia/default/5578302104115837 hanging up, cause: NORMAL_CLEARING
  510. 2021-02-11 12:52:18.826222 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/5578302104115837
  511. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:60 sofia/default/5578302104115837 Standard HANGUP, cause: NORMAL_CLEARING
  512. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:852 (sofia/default/5578302104115837) State HANGUP going to sleep
  513. 2021-02-11 12:52:18.826222 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/5578302104115837 skip receive message [UNBRIDGE] (channel is hungup already)
  514. 2021-02-11 12:52:18.826222 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/161313476075@161313476075.sbc.gosip.gr skip receive message [UNBRIDGE] (channel is hungup already)
  515. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:619 (sofia/default/5578302104115837) State Change CS_HANGUP -> CS_REPORTING
  516. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5578302104115837) Running State Change CS_REPORTING (Cur 22 Tot 33504)
  517. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_session.c:2815 sofia/default/161313476075@161313476075.sbc.gosip.gr skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  518. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:938 (sofia/default/5578302104115837) State REPORTING
  519. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_session.c:2815 sofia/default/161313476075@161313476075.sbc.gosip.gr skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  520. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:650 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State EXECUTE going to sleep
  521. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:584 (sofia/default/161313476075@161313476075.sbc.gosip.gr) Running State Change CS_HANGUP (Cur 22 Tot 33504)
  522. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:850 (sofia/default/161313476075@161313476075.sbc.gosip.gr) Callstate Change ACTIVE -> HANGUP
  523. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:852 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State HANGUP
  524. 2021-02-11 12:52:18.826222 [DEBUG] mod_sofia.c:438 Channel sofia/default/161313476075@161313476075.sbc.gosip.gr hanging up, cause: NORMAL_CLEARING
  525. 2021-02-11 12:52:18.826222 [INFO] mod_json_cdr.c:271 Process [8b9dbe32-6c5f-11eb-a1ec-57d4daeded5e.cdr.json]
  526. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:60 sofia/default/161313476075@161313476075.sbc.gosip.gr Standard HANGUP, cause: NORMAL_CLEARING
  527. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:852 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State HANGUP going to sleep
  528. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:619 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State Change CS_HANGUP -> CS_REPORTING
  529. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:584 (sofia/default/161313476075@161313476075.sbc.gosip.gr) Running State Change CS_REPORTING (Cur 22 Tot 33504)
  530. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:938 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State REPORTING
  531. 2021-02-11 12:52:18.826222 [INFO] mod_json_cdr.c:271 Process [8b977428-6c5f-11eb-a1ca-57d4daeded5e.cdr.json]
  532. 2021-02-11 12:52:18.826222 [ERR] mod_json_cdr.c:396 Got error [500] posting to web server [http://localhost:8735/cdr.php]
  533. 2021-02-11 12:52:18.826222 [ERR] mod_json_cdr.c:415 Unable to post to web server
  534. 2021-02-11 12:52:18.826222 [INFO] mod_json_cdr.c:208 Backup file /var/log/freeswitch/json_cdr/8b9dbe32-6c5f-11eb-a1ec-57d4daeded5e.cdr.json
  535. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:174 sofia/default/5578302104115837 Standard REPORTING, cause: NORMAL_CLEARING
  536. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:938 (sofia/default/5578302104115837) State REPORTING going to sleep
  537. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:610 (sofia/default/5578302104115837) State Change CS_REPORTING -> CS_DESTROY
  538. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_session.c:1665 Session 33504 (sofia/default/5578302104115837) Locked, Waiting on external entities
  539. 2021-02-11 12:52:18.826222 [NOTICE] switch_core_session.c:1683 Session 33504 (sofia/default/5578302104115837) Ended
  540. 2021-02-11 12:52:18.826222 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/5578302104115837 [CS_DESTROY]
  541. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:741 (sofia/default/5578302104115837) Running State Change CS_DESTROY (Cur 21 Tot 33504)
  542. 2021-02-11 12:52:18.826222 [ERR] mod_json_cdr.c:396 Got error [500] posting to web server [http://localhost:8735/cdr.php]
  543. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:751 (sofia/default/5578302104115837) State DESTROY
  544. 2021-02-11 12:52:18.826222 [DEBUG] mod_sofia.c:343 sofia/default/5578302104115837 SOFIA DESTROY
  545. 2021-02-11 12:52:18.826222 [ERR] mod_json_cdr.c:415 Unable to post to web server
  546. 2021-02-11 12:52:18.826222 [INFO] mod_json_cdr.c:208 Backup file /var/log/freeswitch/json_cdr/8b977428-6c5f-11eb-a1ca-57d4daeded5e.cdr.json
  547. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:181 sofia/default/5578302104115837 Standard DESTROY
  548. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:751 (sofia/default/5578302104115837) State DESTROY going to sleep
  549. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:174 sofia/default/161313476075@161313476075.sbc.gosip.gr Standard REPORTING, cause: NORMAL_CLEARING
  550. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:938 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State REPORTING going to sleep
  551. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:610 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State Change CS_REPORTING -> CS_DESTROY
  552. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_session.c:1665 Session 33503 (sofia/default/161313476075@161313476075.sbc.gosip.gr) Locked, Waiting on external entities
  553. 2021-02-11 12:52:18.826222 [NOTICE] switch_core_session.c:1683 Session 33503 (sofia/default/161313476075@161313476075.sbc.gosip.gr) Ended
  554. 2021-02-11 12:52:18.826222 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/161313476075@161313476075.sbc.gosip.gr [CS_DESTROY]
  555. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:741 (sofia/default/161313476075@161313476075.sbc.gosip.gr) Running State Change CS_DESTROY (Cur 20 Tot 33504)
  556. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:751 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State DESTROY
  557. 2021-02-11 12:52:18.826222 [DEBUG] mod_sofia.c:343 sofia/default/161313476075@161313476075.sbc.gosip.gr SOFIA DESTROY
  558. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:181 sofia/default/161313476075@161313476075.sbc.gosip.gr Standard DESTROY
  559. 2021-02-11 12:52:18.826222 [DEBUG] switch_core_state_machine.c:751 (sofia/default/161313476075@161313476075.sbc.gosip.gr) State DESTROY going to sleep
  560. 2021-02-11 12:52:19.186222 [DEBUG] switch_scheduler.c:144 Deleting task 14047 switch_ivr_schedule_hangup (8b9dbe32-6c5f-11eb-a1ec-57d4daeded5e)
  561.