From Sahil, 3 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Test_case
  1. span style="color: cornflowerblue; font-weight: bold;"> 021-03-11 08:40:48.548929 [NOTICE] switch_channel.c:1118 New Channel sofia/default/190@kfc.voipbox.co.il [0e453e13-3247-41d5-b020-385c61f2a13f]
  2. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:585 (sofia/default/190@kfc.voipbox.co.il) Running State Change CS_NEW (Cur 1 Tot 459)
  3. 2021-03-11 08:40:48.548929 [DEBUG] sofia.c:10280 sofia/default/190@kfc.voipbox.co.il receiving invite from 185.184.17.14:5060 version: 1.10.5 -release-17-25569c1631 64bit
  4. 2021-03-11 08:40:48.548929 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.184.17.14:0.
  5. 2021-03-11 08:40:48.548929 [DEBUG] sofia.c:10403 IP 185.184.17.14 Approved by acl "default[]". Access Granted.
  6. 2021-03-11 08:40:48.548929 [DEBUG] sofia.c:7326 Channel sofia/default/190@kfc.voipbox.co.il entering state [received][100]
  7. 2021-03-11 08:40:48.548929 [DEBUG] sofia.c:7336 Remote SDP:
  8. v=0
  9. o=- 20002 20002 IN IP4 192.168.10.104
  10. s=SDP data
  11. c=IN IP4 192.168.10.104
  12. t=0 0
  13. m=audio 11784 RTP/AVP 0 8 101
  14. a=rtpmap:0 PCMU/8000
  15. a=rtpmap:8 PCMA/8000
  16. a=rtpmap:101 telephone-event/8000
  17. a=fmtp:101 0-15
  18. a=ptime:20
  19.  
  20. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  21. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  22. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  23. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  24. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  25. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  26. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  27. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  28. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  29. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/190@kfc.voipbox.co.il PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  30. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_codec.c:111 sofia/default/190@kfc.voipbox.co.il Original read codec set to PCMU:0
  31. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  32. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_media.c:5911 sofia/default/190@kfc.voipbox.co.il Set 2833 dtmf send payload to 101 recv payload to 101
  33. 2021-03-11 08:40:48.548929 [DEBUG] sofia.c:7760 (sofia/default/190@kfc.voipbox.co.il) State Change CS_NEW -> CS_INIT
  34. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:604 (sofia/default/190@kfc.voipbox.co.il) State NEW
  35. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:585 (sofia/default/190@kfc.voipbox.co.il) Running State Change CS_INIT (Cur 1 Tot 459)
  36. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:628 (sofia/default/190@kfc.voipbox.co.il) State INIT
  37. 2021-03-11 08:40:48.548929 [DEBUG] mod_sofia.c:93 sofia/default/190@kfc.voipbox.co.il SOFIA INIT
  38. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:40 sofia/default/190@kfc.voipbox.co.il Standard INIT
  39. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:48 (sofia/default/190@kfc.voipbox.co.il) State Change CS_INIT -> CS_ROUTING
  40. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:628 (sofia/default/190@kfc.voipbox.co.il) State INIT going to sleep
  41. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:585 (sofia/default/190@kfc.voipbox.co.il) Running State Change CS_ROUTING (Cur 1 Tot 459)
  42. 2021-03-11 08:40:48.548929 [DEBUG] switch_channel.c:2332 (sofia/default/190@kfc.voipbox.co.il) Callstate Change DOWN -> RINGING
  43. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:644 (sofia/default/190@kfc.voipbox.co.il) State ROUTING
  44. 2021-03-11 08:40:48.548929 [DEBUG] mod_sofia.c:154 sofia/default/190@kfc.voipbox.co.il SOFIA ROUTING
  45. 2021-03-11 08:40:48.548929 [DEBUG] switch_core_state_machine.c:236 sofia/default/190@kfc.voipbox.co.il Standard ROUTING
  46. 2021-03-11 08:40:48.548929 [INFO] mod_dialplan_xml.c:637 Processing 190 <190>->0503666448 in context default
  47. 2021-03-11 08:40:48.568902 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  48. 2021-03-11 08:40:48.568902 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  49. 2021-03-11 08:40:48.568902 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0
  50. 2021-03-11 08:40:48.568902 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 0503666448
  51. 2021-03-11 08:40:48.568902 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0503666448' limit 1
  52. 2021-03-11 08:40:48.568902 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0503666448' AND status=0 limit 1
  53. 2021-03-11 08:40:48.568902 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0503666448' and status=0 LIMIT 1
  54. 2021-03-11 08:40:48.568902 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] in custom Caller ID
  55. 2021-03-11 08:40:48.568902 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 190 / 190
  56. 2021-03-11 08:40:48.568902 [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 ="0503666448" LIMIT 1
  57. 2021-03-11 08:40:48.568902 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="0503666448"  AND domains.domain="kfc.voipbox.co.il" limit 1
  58. 2021-03-11 08:40:48.568902 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  59. 2021-03-11 08:40:48.568902 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 700376]
  60. 2021-03-11 08:40:48.568902 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "700376" AND deleted = 0 limit 1
  61. 2021-03-11 08:40:48.588919 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0503666448.*' OR blocked_patterns = '^050366644.*' OR blocked_patterns = '^05036664.*' OR blocked_patterns = '^0503666.*' OR blocked_patterns = '^050366.*' OR blocked_patterns = '^05036.*' OR blocked_patterns = '^0503.*' OR blocked_patterns = '^050.*' OR blocked_patterns = '^05.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 29 limit 1
  62. 2021-03-11 08:40:48.588919 [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 ="0503666448" AND A.accountid = '29' limit 1
  63. 2021-03-11 08:40:48.588919 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0503666448
  64. 2021-03-11 08:40:48.588919 [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 ="0503666448" LIMIT 1
  65. 2021-03-11 08:40:48.588919 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="0503666448"  AND domains.domain="kfc.voipbox.co.il" limit 1
  66. 2021-03-11 08:40:48.588919 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : outbound
  67. 2021-03-11 08:40:48.588919 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0503666448" AND (accountid = 0 OR status = 1) LIMIT 1
  68. 2021-03-11 08:40:48.588919 [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 = '^0503666448.*' OR patterns = '^050366644.*' OR patterns = '^05036664.*' OR patterns = '^0503666.*' OR patterns = '^050366.*' OR patterns = '^05036.*' OR patterns = '^0503.*' OR patterns = '^050.*' OR patterns = '^05.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 29 ORDER BY LENGTH(PKGPTR.patterns) DESC
  69. 2021-03-11 08:40:48.588919 [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 = '0503666448' OR number = '050366644' OR number = '05036664' OR number = '0503666' OR number = '050366' OR number = '05036' OR number = '0503' OR number = '050' OR number = '05' OR number = '0' OR number ='--') OR (number = '0503666448*' OR number = '050366644*' OR number = '05036664*' OR number = '0503666*' OR number = '050366*' OR number = '05036*' OR number = '0503*' OR number = '050*' OR number = '05*' OR number = '0*' OR number ='--') OR (number = '190' OR number = '19' OR number = '1' OR number ='--') OR (number = '190*' OR number = '19*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  70. 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  71. 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0503666448' OR routing_prefix = '050366644' OR routing_prefix = '05036664' OR routing_prefix = '0503666' OR routing_prefix = '050366' OR routing_prefix = '05036' OR routing_prefix = '0503' OR routing_prefix = '050' OR routing_prefix = '05' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  72. 2021-03-11 08:40:48.608925 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [PORTED_NUMBER] Get Destination Number (0503666448)!!!!
  73. 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PORTED_NUMBER] ported_num :27503666448
  74. 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27503666448' limit 1
  75. 2021-03-11 08:40:48.608925 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [PORTED_NUMBER] After append Ported Number:::: (0503666448)!!!!
  76. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  77. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 29
  78. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 700376
  79. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 0
  80. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  81. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 3
  82. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  83. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  84. 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  85. 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  86. 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  87. 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0503666448.*' OR pattern = '^050366644.*' OR pattern = '^05036664.*' OR pattern = '^0503666.*' OR pattern = '^050366.*' OR pattern = '^05036.*' OR pattern = '^0503.*' OR pattern = '^050.*' OR pattern = '^05.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 3 OR accountid=29)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  88. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: outbound
  89. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  90. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 7
  91. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  92. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  93. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
  94. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] comment :
  95. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
  96. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 29
  97. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID:
  98. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  99. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  100. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your0 balance Accountid 29 !!!
  101. 2021-03-11 08:40:48.608925 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  102. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes
  103. 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :
  104. 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=3 ORDER by id asc
  105. 2021-03-11 08:40:48.608925 [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 = '^0503666448.*' OR pattern = '^050366644.*' OR pattern = '^05036664.*' OR pattern = '^0503666.*' OR pattern = '^050366.*' OR pattern = '^05036.*' OR pattern = '^0503.*' OR pattern = '^050.*' OR pattern = '^05.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (3) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  106. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
  107. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 7
  108. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^0.*
  109. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination :
  110. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  111. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
  112. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^0.*
  113. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
  114. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
  115. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 3
  116. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : Cellcom
  117. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
  118. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway :
  119. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 25
  120. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
  121. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : Main_Trunk
  122. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
  123. 2021-03-11 08:40:48.608925 [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 = 29 AND status=0 LIMIT 1
  124. 2021-03-11 08:40:48.608925 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 100
  125. 2021-03-11 08:40:48.608925 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  126. 2021-03-11 08:40:48.628915 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 25) AND status=0 limit 1
  127. 2021-03-11 08:40:48.628915 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
  128. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  129. <document type="freeswitch/xml">
  130. <section name="dialplan" description="ASTPP Dialplan">
  131. <context name="default">
  132. <extension name="0503666448">
  133. <condition field="destination_number" expression="0503666448">
  134. <action application="set" data="effective_destination_number=0503666448"/>
  135. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  136. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  137. <action application="set" data="callstart=2021-03-11 13:40:48"/>
  138. <action application="set" data="hangup_after_bridge=true"/>
  139. <action application="set" data="continue_on_fail=TRUE"/>
  140. <action application="set" data="account_id=29"/>
  141. <action application="set" data="parent_id=0"/>
  142. <action application="set" data="entity_id=0"/>
  143. <action application="set" data="call_processed=internal"/>
  144. <action application="set" data="call_direction=outbound"/>
  145. <action application="set" data="accountname=default"/>
  146. <action application="set" data="filename1=astpp.pbx.lua"/>
  147. <action application="set" data="origination_rates=ID:7|CODE:^0.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:29"/>
  148. <action application="set" data="original_caller_id_name=190"/>
  149. <action application="set" data="original_caller_id_number=190"/>
  150.  
  151. <action application="set" data="effective_caller_id_name=190"/>
  152. <action application="set" data="effective_caller_id_number=190"/>
  153. <action application="set" data="calltype=STANDARD"/>
  154. <action application="set" data="termination_rates=ID:7|CODE:^0.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:25"/>
  155. <action application="set" data="trunk_id=3"/>
  156. <action application="set" data="provider_id=25"/>
  157. <action application="set" data="rate_flag=0"/>
  158. <action application="set" data="force_trunk_flag=0"/>
  159. <action application="export" data="presence_data=trunk_id=3"/>
  160. <action application="set" data="intcall=0"/>
  161. <action application="export" data="presence_data=x|||KFC(700376)|||^0.* //  // 0.00000 // trunk_id=|||Main_Trunk // ^0.* //  // 0.00000 // trunk_id=3|||STD|||185.184.16.178"/>
  162. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA.G729:PCMU]sofia/gateway/Cellcom/0503666448;fs_path=sip:185.184.17.14:5060"/>
  163. </condition>
  164. </extension>
  165. </context>
  166. </section>
  167. </document>
  168. Dialplan: sofia/default/190@kfc.voipbox.co.il parsing [default->0503666448] continue=false
  169. Dialplan: sofia/default/190@kfc.voipbox.co.il Regex (PASS) [0503666448] destination_number(0503666448) =~ /0503666448/ break=on-false
  170. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(effective_destination_number=0503666448)
  171. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(bridge_pre_execute_bleg_app=sched_hangup)
  172. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  173. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(callstart=2021-03-11 13:40:48)
  174. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(hangup_after_bridge=true)
  175. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(continue_on_fail=TRUE)
  176. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(account_id=29)
  177. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(parent_id=0)
  178. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(entity_id=0)
  179. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(call_processed=internal)
  180. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(call_direction=outbound)
  181. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(accountname=default)
  182. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(filename1=astpp.pbx.lua)
  183. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(origination_rates=ID:7|CODE:^0.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:29)
  184. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(original_caller_id_name=190)
  185. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(original_caller_id_number=190)
  186. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(effective_caller_id_name=190)
  187. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(effective_caller_id_number=190)
  188. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(calltype=STANDARD)
  189. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(termination_rates=ID:7|CODE:^0.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:25)
  190. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(trunk_id=3)
  191. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(provider_id=25)
  192. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(rate_flag=0)
  193. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(force_trunk_flag=0)
  194. Dialplan: sofia/default/190@kfc.voipbox.co.il Action export(presence_data=trunk_id=3)
  195. Dialplan: sofia/default/190@kfc.voipbox.co.il Action set(intcall=0)
  196. Dialplan: sofia/default/190@kfc.voipbox.co.il Action export(presence_data=x|||KFC(700376)|||^0.* //  // 0.00000 // trunk_id=|||Main_Trunk // ^0.* //  // 0.00000 // trunk_id=3|||STD|||185.184.16.178)
  197. Dialplan: sofia/default/190@kfc.voipbox.co.il Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA.G729:PCMU]sofia/gateway/Cellcom/0503666448;fs_path=sip:185.184.17.14:5060)
  198. 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:287 (sofia/default/190@kfc.voipbox.co.il) State Change CS_ROUTING -> CS_EXECUTE
  199. 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:644 (sofia/default/190@kfc.voipbox.co.il) State ROUTING going to sleep
  200. 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:585 (sofia/default/190@kfc.voipbox.co.il) Running State Change CS_EXECUTE (Cur 1 Tot 459)
  201. 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:651 (sofia/default/190@kfc.voipbox.co.il) State EXECUTE
  202. 2021-03-11 08:40:48.628915 [DEBUG] mod_sofia.c:209 sofia/default/190@kfc.voipbox.co.il SOFIA EXECUTE
  203. 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:329 sofia/default/190@kfc.voipbox.co.il Standard EXECUTE
  204. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(effective_destination_number=0503666448)
  205. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [effective_destination_number]=[0503666448]
  206. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(bridge_pre_execute_bleg_app=sched_hangup)
  207. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [bridge_pre_execute_bleg_app]=[sched_hangup]
  208. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  209. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  210. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(callstart=2021-03-11 13:40:48)
  211. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [callstart]=[2021-03-11 13:40:48]
  212. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(hangup_after_bridge=true)
  213. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [hangup_after_bridge]=[true]
  214. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(continue_on_fail=TRUE)
  215. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [continue_on_fail]=[TRUE]
  216. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(account_id=29)
  217. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [account_id]=[29]
  218. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(parent_id=0)
  219. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [parent_id]=[0]
  220. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(entity_id=0)
  221. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [entity_id]=[0]
  222. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(call_processed=internal)
  223. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [call_processed]=[internal]
  224. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(call_direction=outbound)
  225. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [call_direction]=[outbound]
  226. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(accountname=default)
  227. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [accountname]=[default]
  228. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(filename1=astpp.pbx.lua)
  229. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [filename1]=[astpp.pbx.lua]
  230. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(origination_rates=ID:7|CODE:^0.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:29)
  231. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [origination_rates]=[ID:7|CODE:^0.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:29]
  232. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(original_caller_id_name=190)
  233. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [original_caller_id_name]=[190]
  234. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(original_caller_id_number=190)
  235. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [original_caller_id_number]=[190]
  236. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(effective_caller_id_name=190)
  237. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [effective_caller_id_name]=[190]
  238. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(effective_caller_id_number=190)
  239. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [effective_caller_id_number]=[190]
  240. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(calltype=STANDARD)
  241. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [calltype]=[STANDARD]
  242. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(termination_rates=ID:7|CODE:^0.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:25)
  243. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [termination_rates]=[ID:7|CODE:^0.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:25]
  244. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(trunk_id=3)
  245. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [trunk_id]=[3]
  246. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(provider_id=25)
  247. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [provider_id]=[25]
  248. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(rate_flag=0)
  249. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [rate_flag]=[0]
  250. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(force_trunk_flag=0)
  251. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [force_trunk_flag]=[0]
  252. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il export(presence_data=trunk_id=3)
  253. 2021-03-11 08:40:48.628915 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  254. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il set(intcall=0)
  255. 2021-03-11 08:40:48.628915 [DEBUG] mod_dptools.c:1672 SET sofia/default/190@kfc.voipbox.co.il [intcall]=[0]
  256. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il export(presence_data=x|||KFC(700376)|||^0.* //  // 0.00000 // trunk_id=|||Main_Trunk // ^0.* //  // 0.00000 // trunk_id=3|||STD|||185.184.16.178)
  257. 2021-03-11 08:40:48.628915 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||KFC(700376)|||^0.* //  // 0.00000 // trunk_id=|||Main_Trunk // ^0.* //  // 0.00000 // trunk_id=3|||STD|||185.184.16.178]
  258. EXECUTE [depth=0] sofia/default/190@kfc.voipbox.co.il bridge([leg_timeout=0,absolute_codec_string=^^:PCMA.G729:PCMU]sofia/gateway/Cellcom/0503666448;fs_path=sip:185.184.17.14:5060)
  259. 2021-03-11 08:40:48.628915 [DEBUG] switch_channel.c:1264 sofia/default/190@kfc.voipbox.co.il EXPORTING[export_vars] [presence_data]=[x|||KFC(700376)|||^0.* //  // 0.00000 // trunk_id=|||Main_Trunk // ^0.* //  // 0.00000 // trunk_id=3|||STD|||185.184.16.178] to event
  260. 2021-03-11 08:40:48.628915 [DEBUG] switch_channel.c:1264 sofia/default/190@kfc.voipbox.co.il EXPORTING[export_vars] [presence_data]=[x|||KFC(700376)|||^0.* //  // 0.00000 // trunk_id=|||Main_Trunk // ^0.* //  // 0.00000 // trunk_id=3|||STD|||185.184.16.178] to event
  261. 2021-03-11 08:40:48.628915 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  262. 2021-03-11 08:40:48.628915 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  263. 2021-03-11 08:40:48.628915 [NOTICE] switch_channel.c:1118 New Channel sofia/default/0503666448 [a277f145-9369-4071-9cb6-f178acf8aff9]
  264. 2021-03-11 08:40:48.628915 [DEBUG] mod_sofia.c:5089 (sofia/default/0503666448) State Change CS_NEW -> CS_INIT
  265. 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0503666448) Running State Change CS_INIT (Cur 2 Tot 460)
  266. 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0503666448) State INIT
  267. 2021-03-11 08:40:48.628915 [DEBUG] mod_sofia.c:93 sofia/default/0503666448 SOFIA INIT
  268. 2021-03-11 08:40:48.628915 [DEBUG] sofia_glue.c:1587 sip:185.184.17.14:5060 Setting proxy route to sofia/default/0503666448
  269. 2021-03-11 08:40:48.628915 [DEBUG] sofia_glue.c:1618 sofia/default/0503666448 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  270. Local SDP:
  271. v=0
  272. o=FreeSWITCH 1615433160 1615433161 IN IP4 185.184.17.141
  273. s=FreeSWITCH
  274. c=IN IP4 185.184.17.141
  275. t=0 0
  276. m=audio 36888 RTP/AVP 0 101
  277. a=rtpmap:0 PCMU/8000
  278. a=rtpmap:101 telephone-event/8000
  279. a=fmtp:101 0-16
  280. a=ptime:20
  281. a=sendrecv
  282.  
  283. 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:40 sofia/default/0503666448 Standard INIT
  284. 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0503666448) State Change CS_INIT -> CS_ROUTING
  285. 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0503666448) State INIT going to sleep
  286. 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0503666448) Running State Change CS_ROUTING (Cur 2 Tot 460)
  287. 2021-03-11 08:40:48.628915 [DEBUG] sofia.c:7326 Channel sofia/default/0503666448 entering state [calling][0]
  288. 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0503666448) State ROUTING
  289. 2021-03-11 08:40:48.628915 [DEBUG] mod_sofia.c:154 sofia/default/0503666448 SOFIA ROUTING
  290. 2021-03-11 08:40:48.628915 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0503666448) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  291. 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0503666448) State ROUTING going to sleep
  292. 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0503666448) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 460)
  293. 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:663 (sofia/default/0503666448) State CONSUME_MEDIA
  294. 2021-03-11 08:40:48.628915 [DEBUG] switch_core_state_machine.c:663 (sofia/default/0503666448) State CONSUME_MEDIA going to sleep
  295. 2021-03-11 08:40:51.008926 [DEBUG] sofia.c:7326 Channel sofia/default/0503666448 entering state [proceeding][183]
  296. 2021-03-11 08:40:51.008926 [DEBUG] sofia.c:7336 Remote SDP:
  297. v=0
  298. o=Sonus_UAC 329 8091 IN IP4 82.166.67.145
  299. s=SIP Media Capabilities
  300. c=IN IP4 82.166.67.145
  301. t=0 0
  302. m=audio 7742 RTP/AVP 0 101
  303. a=rtpmap:0 PCMU/8000
  304. a=rtpmap:101 telephone-event/8000
  305. a=fmtp:101 0-15
  306. a=maxptime:20
  307.  
  308. 2021-03-11 08:40:51.008926 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/0503666448!
  309. 2021-03-11 08:40:51.008926 [DEBUG] switch_channel.c:3565 (sofia/default/0503666448) Callstate Change DOWN -> EARLY
  310. 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  311. 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  312. 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  313. 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/0503666448 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  314. 2021-03-11 08:40:51.008926 [DEBUG] switch_core_codec.c:111 sofia/default/0503666448 Original read codec set to PCMU:0
  315. 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  316. 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:5911 sofia/default/0503666448 Set 2833 dtmf send payload to 101 recv payload to 101
  317. 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/0503666448] 185.184.17.141 port 36888 -> 82.166.67.145 port 7742 codec: 0 ms: 20
  318. 2021-03-11 08:40:51.008926 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  319. 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:8977 sofia/default/0503666448 Set 2833 dtmf send payload to 101
  320. 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:8984 sofia/default/0503666448 Set 2833 dtmf receive payload to 101
  321. 2021-03-11 08:40:51.008926 [DEBUG] switch_core_media.c:9007 sofia/default/0503666448 Set rtp dtmf delay to 40
  322. 2021-03-11 08:40:51.028907 [INFO] switch_ivr_originate.c:3801 Sending early media
  323. 2021-03-11 08:40:51.028907 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/190@kfc.voipbox.co.il] 185.184.17.141 port 23306 -> 192.168.10.104 port 11784 codec: 0 ms: 20
  324. 2021-03-11 08:40:51.028907 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  325. 2021-03-11 08:40:51.028907 [DEBUG] switch_core_media.c:8977 sofia/default/190@kfc.voipbox.co.il Set 2833 dtmf send payload to 101
  326. 2021-03-11 08:40:51.028907 [DEBUG] switch_core_media.c:8984 sofia/default/190@kfc.voipbox.co.il Set 2833 dtmf receive payload to 101
  327. 2021-03-11 08:40:51.028907 [DEBUG] switch_core_media.c:9007 sofia/default/190@kfc.voipbox.co.il Set rtp dtmf delay to 40
  328. 2021-03-11 08:40:51.028907 [DEBUG] mod_sofia.c:2593 Ring SDP:
  329. v=0
  330. o=FreeSWITCH 1615446745 1615446746 IN IP4 185.184.17.141
  331. s=FreeSWITCH
  332. c=IN IP4 185.184.17.141
  333. t=0 0
  334. m=audio 23306 RTP/AVP 0 101
  335. a=rtpmap:0 PCMU/8000
  336. a=rtpmap:101 telephone-event/8000
  337. a=fmtp:101 0-16
  338. a=ptime:20
  339. a=sendrecv
  340.  
  341. 2021-03-11 08:40:51.028907 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/190@kfc.voipbox.co.il!
  342. 2021-03-11 08:40:51.028907 [DEBUG] switch_channel.c:3565 (sofia/default/190@kfc.voipbox.co.il) Callstate Change RINGING -> EARLY
  343. 2021-03-11 08:40:51.028907 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/0503666448]
  344. 2021-03-11 08:40:51.028907 [DEBUG] sofia.c:7326 Channel sofia/default/190@kfc.voipbox.co.il entering state [early][183]
  345. 2021-03-11 08:40:51.028907 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/0503666448) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  346. 2021-03-11 08:40:51.028907 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0503666448) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 460)
  347. 2021-03-11 08:40:51.028907 [DEBUG] switch_core_state_machine.c:654 (sofia/default/0503666448) State EXCHANGE_MEDIA
  348. 2021-03-11 08:40:51.028907 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  349. 2021-03-11 08:40:51.068957 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  350. 2021-03-11 08:40:51.208927 [DEBUG] switch_ivr_bridge.c:655 sofia/default/0503666448 Bridge execute app sched_hangup(+6000 normal_clearing)
  351. 2021-03-11 08:40:51.229003 [DEBUG] switch_ivr.c:632 sofia/default/0503666448 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  352. EXECUTE [depth=0] sofia/default/0503666448 sched_hangup(+6000 normal_clearing)
  353. 2021-03-11 08:40:51.229003 [DEBUG] switch_scheduler.c:252 Added task 161 switch_ivr_schedule_hangup (a277f145-9369-4071-9cb6-f178acf8aff9) to run at 1615476051
  354. 2021-03-11 08:40:51.368925 [INFO] switch_rtp.c:7719 Auto Changing audio port from 192.168.10.104:11784 to 185.184.16.178:11784
  355. 2021-03-11 08:40:56.308920 [DEBUG] sofia.c:7326 Channel sofia/default/0503666448 entering state [completing][200]
  356. 2021-03-11 08:40:56.308920 [DEBUG] sofia.c:7333 Duplicate SDP
  357. v=0
  358. o=Sonus_UAC 329 8091 IN IP4 82.166.67.145
  359. s=SIP Media Capabilities
  360. c=IN IP4 82.166.67.145
  361. t=0 0
  362. m=audio 7742 RTP/AVP 0 101
  363. a=rtpmap:0 PCMU/8000
  364. a=rtpmap:101 telephone-event/8000
  365. a=fmtp:101 0-15
  366. a=maxptime:20
  367.  
  368. 2021-03-11 08:40:56.328925 [DEBUG] sofia.c:7326 Channel sofia/default/0503666448 entering state [ready][200]
  369. 2021-03-11 08:40:56.328925 [NOTICE] sofia.c:8445 Channel [sofia/default/0503666448] has been answered
  370. 2021-03-11 08:40:56.328925 [DEBUG] switch_channel.c:3865 (sofia/default/0503666448) Callstate Change EARLY -> ACTIVE
  371. 2021-03-11 08:40:56.348961 [DEBUG] switch_core_media.c:8645 Audio params are unchanged for sofia/default/190@kfc.voipbox.co.il.
  372. 2021-03-11 08:40:56.348961 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/190@kfc.voipbox.co.il:
  373. v=0
  374. o=FreeSWITCH 1615446745 1615446747 IN IP4 185.184.17.141
  375. s=FreeSWITCH
  376. c=IN IP4 185.184.17.141
  377. t=0 0
  378. m=audio 23306 RTP/AVP 0 101
  379. a=rtpmap:0 PCMU/8000
  380. a=rtpmap:101 telephone-event/8000
  381. a=fmtp:101 0-16
  382. a=ptime:20
  383. a=sendrecv
  384.  
  385. 2021-03-11 08:40:56.348961 [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/190@kfc.voipbox.co.il] has been answered
  386. 2021-03-11 08:40:56.348961 [DEBUG] switch_channel.c:3865 (sofia/default/190@kfc.voipbox.co.il) Callstate Change EARLY -> ACTIVE
  387. 2021-03-11 08:40:56.348961 [DEBUG] sofia.c:7326 Channel sofia/default/190@kfc.voipbox.co.il entering state [completed][200]
  388. 2021-03-11 08:40:56.388924 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  389. 2021-03-11 08:40:56.408959 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  390. 2021-03-11 08:40:56.408959 [DEBUG] sofia.c:7326 Channel sofia/default/190@kfc.voipbox.co.il entering state [ready][200]
  391. 2021-03-11 08:40:56.448974 [DEBUG] sofia.c:7326 Channel sofia/default/190@kfc.voipbox.co.il entering state [calling][0]
  392. 2021-03-11 08:40:56.448974 [DEBUG] sofia.c:7326 Channel sofia/default/190@kfc.voipbox.co.il entering state [ready][200]
  393. 2021-03-11 08:40:58.928934 [NOTICE] sofia.c:1089 Hangup sofia/default/0503666448 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  394. 2021-03-11 08:40:58.928934 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/0503666448]
  395. 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:654 (sofia/default/0503666448) State EXCHANGE_MEDIA going to sleep
  396. 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0503666448) Running State Change CS_HANGUP (Cur 2 Tot 460)
  397. 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:848 (sofia/default/0503666448) Callstate Change ACTIVE -> HANGUP
  398. 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0503666448) State HANGUP
  399. 2021-03-11 08:40:58.928934 [DEBUG] mod_sofia.c:453 Channel sofia/default/0503666448 hanging up, cause: NORMAL_CLEARING
  400. 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:60 sofia/default/0503666448 Standard HANGUP, cause: NORMAL_CLEARING
  401. 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0503666448) State HANGUP going to sleep
  402. 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:620 (sofia/default/0503666448) State Change CS_HANGUP -> CS_REPORTING
  403. 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0503666448) Running State Change CS_REPORTING (Cur 2 Tot 460)
  404. 2021-03-11 08:40:58.928934 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0503666448) State REPORTING
  405. 2021-03-11 08:40:58.928934 [INFO] mod_json_cdr.c:271 Process [a277f145-9369-4071-9cb6-f178acf8aff9.cdr.json]
  406. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:174 sofia/default/0503666448 Standard REPORTING, cause: NORMAL_CLEARING
  407. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0503666448) State REPORTING going to sleep
  408. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:611 (sofia/default/0503666448) State Change CS_REPORTING -> CS_DESTROY
  409. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_session.c:1726 Session 460 (sofia/default/0503666448) Locked, Waiting on external entities
  410. 2021-03-11 08:40:58.948905 [DEBUG] switch_ivr_bridge.c:820 sofia/default/0503666448 ending bridge by request from write function
  411. 2021-03-11 08:40:58.948905 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/190@kfc.voipbox.co.il]
  412. 2021-03-11 08:40:58.948905 [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/190@kfc.voipbox.co.il [CS_EXECUTE] [NORMAL_CLEARING]
  413. 2021-03-11 08:40:58.948905 [NOTICE] switch_core_session.c:1744 Session 460 (sofia/default/0503666448) Ended
  414. 2021-03-11 08:40:58.948905 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/0503666448 [CS_DESTROY]
  415. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_session.c:2905 sofia/default/190@kfc.voipbox.co.il skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  416. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:651 (sofia/default/190@kfc.voipbox.co.il) State EXECUTE going to sleep
  417. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:585 (sofia/default/190@kfc.voipbox.co.il) Running State Change CS_HANGUP (Cur 1 Tot 460)
  418. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:739 (sofia/default/0503666448) Running State Change CS_DESTROY (Cur 1 Tot 460)
  419. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:848 (sofia/default/190@kfc.voipbox.co.il) Callstate Change ACTIVE -> HANGUP
  420. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0503666448) State DESTROY
  421. 2021-03-11 08:40:58.948905 [DEBUG] mod_sofia.c:364 sofia/default/0503666448 SOFIA DESTROY
  422. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:181 sofia/default/0503666448 Standard DESTROY
  423. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0503666448) State DESTROY going to sleep
  424. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:850 (sofia/default/190@kfc.voipbox.co.il) State HANGUP
  425. 2021-03-11 08:40:58.948905 [DEBUG] mod_sofia.c:447 sofia/default/190@kfc.voipbox.co.il Overriding SIP cause 480 with 200 from the other leg
  426. 2021-03-11 08:40:58.948905 [DEBUG] mod_sofia.c:453 Channel sofia/default/190@kfc.voipbox.co.il hanging up, cause: NORMAL_CLEARING
  427. 2021-03-11 08:40:58.948905 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/190@kfc.voipbox.co.il
  428. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:60 sofia/default/190@kfc.voipbox.co.il Standard HANGUP, cause: NORMAL_CLEARING
  429. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:850 (sofia/default/190@kfc.voipbox.co.il) State HANGUP going to sleep
  430. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:620 (sofia/default/190@kfc.voipbox.co.il) State Change CS_HANGUP -> CS_REPORTING
  431. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:585 (sofia/default/190@kfc.voipbox.co.il) Running State Change CS_REPORTING (Cur 1 Tot 460)
  432. 2021-03-11 08:40:58.948905 [DEBUG] switch_core_state_machine.c:936 (sofia/default/190@kfc.voipbox.co.il) State REPORTING
  433. 2021-03-11 08:40:58.948905 [INFO] mod_json_cdr.c:271 Process [0e453e13-3247-41d5-b020-385c61f2a13f.cdr.json]
  434. 2021-03-11 08:40:58.968929 [DEBUG] switch_core_state_machine.c:174 sofia/default/190@kfc.voipbox.co.il Standard REPORTING, cause: NORMAL_CLEARING
  435. 2021-03-11 08:40:58.968929 [DEBUG] switch_core_state_machine.c:936 (sofia/default/190@kfc.voipbox.co.il) State REPORTING going to sleep
  436. 2021-03-11 08:40:58.968929 [DEBUG] switch_core_state_machine.c:611 (sofia/default/190@kfc.voipbox.co.il) State Change CS_REPORTING -> CS_DESTROY
  437. 2021-03-11 08:40:58.968929 [DEBUG] switch_core_session.c:1726 Session 459 (sofia/default/190@kfc.voipbox.co.il) Locked, Waiting on external entities
  438. 2021-03-11 08:40:58.968929 [NOTICE] switch_core_session.c:1744 Session 459 (sofia/default/190@kfc.voipbox.co.il) Ended
  439. 2021-03-11 08:40:58.968929 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/190@kfc.voipbox.co.il [CS_DESTROY]
  440. 2021-03-11 08:40:58.968929 [DEBUG] switch_core_state_machine.c:739 (sofia/default/190@kfc.voipbox.co.il) Running State Change CS_DESTROY (Cur 0 Tot 460)
  441. 2021-03-11 08:40:58.968929 [DEBUG] switch_core_state_machine.c:749 (sofia/default/190@kfc.voipbox.co.il) State DESTROY
  442. 2021-03-11 08:40:58.968929 [DEBUG] mod_sofia.c:364 sofia/default/190@kfc.voipbox.co.il SOFIA DESTROY
  443. 2021-03-11 08:40:58.968929 [DEBUG] switch_core_state_machine.c:181 sofia/default/190@kfc.voipbox.co.il Standard DESTROY
  444. 2021-03-11 08:40:58.968929 [DEBUG] switch_core_state_machine.c:749 (sofia/default/190@kfc.voipbox.co.il) State DESTROY going to sleep
  445. 2021-03-11 08:40:59.228931 [DEBUG] switch_scheduler.c:147 Deleting task 161 switch_ivr_schedule_hangup (a277f145-9369-4071-9cb6-f178acf8aff9)
  446.