From Morose Frog, 3 Years ago, written in Plain Text.
- view diff
Embed
  1. 2020-12-20 17:36:20.639460 [NOTICE] switch_channel.c:1118 New Channel sofia/default/0894062723@195.191.28.110 [68e52179-dec7-4873-b434-eb32b8192110]
  2. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0894062723@195.191.28.110) Running State Change CS_NEW (Cur 1 Tot 12)
  3. 2020-12-20 17:36:20.639460 [DEBUG] sofia.c:10280 sofia/default/0894062723@195.191.28.110 receiving invite from 195.191.29.50:5060 version: 1.10.5 -release-17-25569c1631 64bit
  4. 2020-12-20 17:36:20.639460 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 195.191.29.50:0.
  5. 2020-12-20 17:36:20.639460 [DEBUG] sofia.c:10403 IP 195.191.29.50 Approved by acl "default[]". Access Granted.
  6. 2020-12-20 17:36:20.639460 [DEBUG] sofia.c:7326 Channel sofia/default/0894062723@195.191.28.110 entering state [received][100]
  7. 2020-12-20 17:36:20.639460 [DEBUG] sofia.c:7336 Remote SDP:
  8. v=0
  9. o=FreeSWITCH 1608463429 1608463430 IN IP4 195.191.28.110
  10. s=FreeSWITCH
  11. c=IN IP4 195.191.28.110
  12. t=0 0
  13. m=audio 22350 RTP/AVP 8 101 13
  14. a=rtpmap:101 telephone-event/8000
  15. a=fmtp:101 0-16
  16. a=rtpmap:13 CN/8000
  17. a=ptime:20
  18.  
  19. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  20. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  21. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  22. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  23. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/0894062723@195.191.28.110 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  24. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_codec.c:111 sofia/default/0894062723@195.191.28.110 Original read codec set to PCMA:8
  25. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  26. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_media.c:5911 sofia/default/0894062723@195.191.28.110 Set 2833 dtmf send payload to 101 recv payload to 101
  27. 2020-12-20 17:36:20.639460 [DEBUG] sofia.c:7760 (sofia/default/0894062723@195.191.28.110) State Change CS_NEW -> CS_INIT
  28. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:604 (sofia/default/0894062723@195.191.28.110) State NEW
  29. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0894062723@195.191.28.110) Running State Change CS_INIT (Cur 1 Tot 12)
  30. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0894062723@195.191.28.110) State INIT
  31. 2020-12-20 17:36:20.639460 [DEBUG] mod_sofia.c:93 sofia/default/0894062723@195.191.28.110 SOFIA INIT
  32. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:40 sofia/default/0894062723@195.191.28.110 Standard INIT
  33. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0894062723@195.191.28.110) State Change CS_INIT -> CS_ROUTING
  34. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0894062723@195.191.28.110) State INIT going to sleep
  35. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0894062723@195.191.28.110) Running State Change CS_ROUTING (Cur 1 Tot 12)
  36. 2020-12-20 17:36:20.639460 [DEBUG] switch_channel.c:2332 (sofia/default/0894062723@195.191.28.110) Callstate Change DOWN -> RINGING
  37. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0894062723@195.191.28.110) State ROUTING
  38. 2020-12-20 17:36:20.639460 [DEBUG] mod_sofia.c:154 sofia/default/0894062723@195.191.28.110 SOFIA ROUTING
  39. 2020-12-20 17:36:20.639460 [DEBUG] switch_core_state_machine.c:236 sofia/default/0894062723@195.191.28.110 Standard ROUTING
  40. 2020-12-20 17:36:20.639460 [INFO] mod_dialplan_xml.c:637 Processing 0894062723 <0894062723>->012239401 in context default
  41. 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  42. 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  43. 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 012239401
  44. 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '012239401' AND status=0 limit 1
  45. 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 0894062723 / 0894062723
  46. 2020-12-20 17:36:20.639460 [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 ="012239401" LIMIT 1
  47. 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="012239401" limit 1
  48. 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  49. 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("195.191.29.50") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "012239401"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  50. 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 785192359862675]
  51. 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =012239401
  52. 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== local number ===================
  53. 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =012239401
  54. 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] destination number : 012239401
  55. 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] caller id name : 0894062723
  56. 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] caller id number : 0894062723
  57. 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_ani] Query :SELECT * FROM ani_map WHERE number = 0894062723
  58. 2020-12-20 17:36:20.639460 [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 ="012239401" AND A.accountid = '4' limit 1
  59. 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] accountid : 4
  60. 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] speed_dial number : 8801747265333
  61. 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination number : 012239401
  62. 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  63. 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT number FROM accounts WHERE id =4 limit 1
  64. 2020-12-20 17:36:20.639460 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode sandip : 353894062723]
  65. 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "353894062723" AND deleted = 0 limit 1
  66. 2020-12-20 17:36:20.639460 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^8801747265333.*' OR blocked_patterns = '^880174726533.*' OR blocked_patterns = '^88017472653.*' OR blocked_patterns = '^8801747265.*' OR blocked_patterns = '^880174726.*' OR blocked_patterns = '^88017472.*' OR blocked_patterns = '^8801747.*' OR blocked_patterns = '^880174.*' OR blocked_patterns = '^88017.*' OR blocked_patterns = '^8801.*' OR blocked_patterns = '^880.*' OR blocked_patterns = '^88.*' OR blocked_patterns = '^8.*' OR blocked_patterns ='--') AND accountid = 4 limit 1
  67. 2020-12-20 17:36:20.639460 [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 ="8801747265333" AND A.accountid = '4' limit 1
  68. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 8801747265333
  69. 2020-12-20 17:36:20.659426 [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 ="8801747265333" LIMIT 1
  70. 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="8801747265333" limit 1
  71. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : outbound
  72. 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="8801747265333" AND (accountid = 0 OR status = 1) LIMIT 1
  73. 2020-12-20 17:36:20.659426 [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 = '^8801747265333.*' OR patterns = '^880174726533.*' OR patterns = '^88017472653.*' OR patterns = '^8801747265.*' OR patterns = '^880174726.*' OR patterns = '^88017472.*' OR patterns = '^8801747.*' OR patterns = '^880174.*' OR patterns = '^88017.*' OR patterns = '^8801.*' OR patterns = '^880.*' OR patterns = '^88.*' OR patterns = '^8.*' OR patterns ='--') AND accountid = 4 ORDER BY LENGTH(PKGPTR.patterns) DESC
  74. 2020-12-20 17:36:20.659426 [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 = '8801747265333' OR number = '880174726533' OR number = '88017472653' OR number = '8801747265' OR number = '880174726' OR number = '88017472' OR number = '8801747' OR number = '880174' OR number = '88017' OR number = '8801' OR number = '880' OR number = '88' OR number = '8' OR number ='--') OR (number = '8801747265333*' OR number = '880174726533*' OR number = '88017472653*' OR number = '8801747265*' OR number = '880174726*' OR number = '88017472*' OR number = '8801747*' OR number = '880174*' OR number = '88017*' OR number = '8801*' OR number = '880*' OR number = '88*' OR number = '8*' OR number ='--') OR (number = '0894062723' OR number = '089406272' OR number = '08940627' OR number = '0894062' OR number = '089406' OR number = '08940' OR number = '0894' OR number = '089' OR number = '08' OR number = '0' OR number ='--') OR (number = '0894062723*' OR number = '089406272*' OR number = '08940627*' OR number = '0894062*' OR number = '089406*' OR number = '08940*' OR number = '0894*' OR number = '089*' OR number = '08*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  75. 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  76. 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '8801747265333' OR routing_prefix = '880174726533' OR routing_prefix = '88017472653' OR routing_prefix = '8801747265' OR routing_prefix = '880174726' OR routing_prefix = '88017472' OR routing_prefix = '8801747' OR routing_prefix = '880174' OR routing_prefix = '88017' OR routing_prefix = '8801' OR routing_prefix = '880' OR routing_prefix = '88' OR routing_prefix = '8' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  77. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  78. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 4
  79. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 353894062723
  80. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 500
  81. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  82. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
  83. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  84. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  85. 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  86. 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  87. 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  88. 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^8801747265333.*' OR pattern = '^880174726533.*' OR pattern = '^88017472653.*' OR pattern = '^8801747265.*' OR pattern = '^880174726.*' OR pattern = '^88017472.*' OR pattern = '^8801747.*' OR pattern = '^880174.*' OR pattern = '^88017.*' OR pattern = '^8801.*' OR pattern = '^880.*' OR pattern = '^88.*' OR pattern = '^8.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=4)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  89. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: outbound
  90. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  91. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 1
  92. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  93. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  94. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.02000
  95. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] comment : Bangladesh Mobile
  96. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 17
  97. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 4
  98. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID:
  99. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  100. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  101. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your500 balance Accountid 4 !!!
  102. 2020-12-20 17:36:20.659426 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
  103. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes
  104. 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :
  105. 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
  106. 2020-12-20 17:36:20.659426 [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 = '^8801747265333.*' OR pattern = '^880174726533.*' OR pattern = '^88017472653.*' OR pattern = '^8801747265.*' OR pattern = '^880174726.*' OR pattern = '^88017472.*' OR pattern = '^8801747.*' OR pattern = '^880174.*' OR pattern = '^88017.*' OR pattern = '^8801.*' OR pattern = '^880.*' OR pattern = '^88.*' OR pattern = '^8.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1,2) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  107. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
  108. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 1
  109. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^8801.*
  110. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Bangladesh Mobile
  111. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  112. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
  113. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^8801.*
  114. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
  115. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
  116. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 2
  117. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : Voxbeam_GW
  118. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
  119. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway :
  120. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 3
  121. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
  122. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : Voxbeam_Trunk
  123. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
  124. 2020-12-20 17:36:20.659426 [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 = 4 AND status=0 LIMIT 1
  125. 2020-12-20 17:36:20.659426 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 100
  126. 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  127. 2020-12-20 17:36:20.659426 [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 = 3) AND status=0 limit 1
  128. 2020-12-20 17:36:20.659426 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
  129. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  130. <document type="freeswitch/xml">
  131. <section name="dialplan" description="ASTPP Dialplan">
  132. <context name="default">
  133. <extension name="8801747265333">
  134. <condition field="destination_number" expression="012239401">
  135. <action application="set" data="effective_destination_number=8801747265333"/>
  136. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  137. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  138. <action application="set" data="callstart=2020-12-20 17:36:21"/>
  139. <action application="set" data="hangup_after_bridge=true"/>
  140. <action application="set" data="continue_on_fail=TRUE"/>
  141. <action application="set" data="account_id=4"/>
  142. <action application="set" data="parent_id=0"/>
  143. <action application="set" data="entity_id=0"/>
  144. <action application="set" data="call_processed=internal"/>
  145. <action application="set" data="call_direction=outbound"/>
  146. <action application="set" data="accountname=IPT-2"/>
  147. <action application="set" data="origination_rates=ID:1|CODE:^8801.*|DESTINATION:Bangladesh Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:17|ACCID:4"/>
  148. <action application="set" data="original_caller_id_name=0894062723"/>
  149. <action application="set" data="original_caller_id_number=0894062723"/>
  150.  
  151. <action application="set" data="effective_caller_id_name=0894062723"/>
  152. <action application="set" data="effective_caller_id_number=0894062723"/>
  153. <action application="set" data="calltype=STANDARD"/>
  154. <action application="set" data="termination_rates=ID:1|CODE:^8801.*|DESTINATION:Bangladesh Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01000|INC:1|INITIALBLOCK:1|TRUNK:2|PROVIDER:3"/>
  155. <action application="set" data="trunk_id=2"/>
  156. <action application="set" data="provider_id=3"/>
  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=2"/>
  160. <action application="set" data="intcall=0"/>
  161. <action application="export" data="presence_data=x|||Mahim(353894062723)|||^8801.* // Bangladesh Mobile // 0.02000 // trunk_id=|||Voxbeam_Trunk // ^8801.* // Bangladesh Mobile // 0.01000 // trunk_id=2|||STD|||195.191.29.50"/>
  162. <action application="bridge" data="[leg_timeout=0]sofia/gateway/Voxbeam_GW/8801747265333"/>
  163. </condition>
  164. </extension>
  165. </context>
  166. </section>
  167. </document>
  168. Dialplan: sofia/default/0894062723@195.191.28.110 parsing [default->8801747265333] continue=false
  169. Dialplan: sofia/default/0894062723@195.191.28.110 Regex (PASS) [8801747265333] destination_number(012239401) =~ /012239401/ break=on-false
  170. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(effective_destination_number=8801747265333)
  171. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  172. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  173. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(callstart=2020-12-20 17:36:21)
  174. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(hangup_after_bridge=true)
  175. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(continue_on_fail=TRUE)
  176. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(account_id=4)
  177. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(parent_id=0)
  178. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(entity_id=0)
  179. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(call_processed=internal)
  180. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(call_direction=outbound)
  181. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(accountname=IPT-2)
  182. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(origination_rates=ID:1|CODE:^8801.*|DESTINATION:Bangladesh Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:17|ACCID:4)
  183. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(original_caller_id_name=0894062723)
  184. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(original_caller_id_number=0894062723)
  185. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(effective_caller_id_name=0894062723)
  186. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(effective_caller_id_number=0894062723)
  187. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(calltype=STANDARD)
  188. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(termination_rates=ID:1|CODE:^8801.*|DESTINATION:Bangladesh Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01000|INC:1|INITIALBLOCK:1|TRUNK:2|PROVIDER:3)
  189. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(trunk_id=2)
  190. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(provider_id=3)
  191. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(rate_flag=0)
  192. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(force_trunk_flag=0)
  193. Dialplan: sofia/default/0894062723@195.191.28.110 Action export(presence_data=trunk_id=2)
  194. Dialplan: sofia/default/0894062723@195.191.28.110 Action set(intcall=0)
  195. Dialplan: sofia/default/0894062723@195.191.28.110 Action export(presence_data=x|||Mahim(353894062723)|||^8801.* // Bangladesh Mobile // 0.02000 // trunk_id=|||Voxbeam_Trunk // ^8801.* // Bangladesh Mobile // 0.01000 // trunk_id=2|||STD|||195.191.29.50)
  196. Dialplan: sofia/default/0894062723@195.191.28.110 Action bridge([leg_timeout=0]sofia/gateway/Voxbeam_GW/8801747265333)
  197. 2020-12-20 17:36:20.659426 [DEBUG] switch_core_state_machine.c:287 (sofia/default/0894062723@195.191.28.110) State Change CS_ROUTING -> CS_EXECUTE
  198. 2020-12-20 17:36:20.659426 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0894062723@195.191.28.110) State ROUTING going to sleep
  199. 2020-12-20 17:36:20.659426 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0894062723@195.191.28.110) Running State Change CS_EXECUTE (Cur 1 Tot 12)
  200. 2020-12-20 17:36:20.659426 [DEBUG] switch_core_state_machine.c:651 (sofia/default/0894062723@195.191.28.110) State EXECUTE
  201. 2020-12-20 17:36:20.659426 [DEBUG] mod_sofia.c:209 sofia/default/0894062723@195.191.28.110 SOFIA EXECUTE
  202. 2020-12-20 17:36:20.659426 [DEBUG] switch_core_state_machine.c:329 sofia/default/0894062723@195.191.28.110 Standard EXECUTE
  203. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(effective_destination_number=8801747265333)
  204. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [effective_destination_number]=[8801747265333]
  205. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(bridge_pre_execute_bleg_app=sched_hangup)
  206. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [bridge_pre_execute_bleg_app]=[sched_hangup]
  207. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  208. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  209. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(callstart=2020-12-20 17:36:21)
  210. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [callstart]=[2020-12-20 17:36:21]
  211. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(hangup_after_bridge=true)
  212. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [hangup_after_bridge]=[true]
  213. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(continue_on_fail=TRUE)
  214. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [continue_on_fail]=[TRUE]
  215. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(account_id=4)
  216. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [account_id]=[4]
  217. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(parent_id=0)
  218. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [parent_id]=[0]
  219. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(entity_id=0)
  220. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [entity_id]=[0]
  221. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(call_processed=internal)
  222. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [call_processed]=[internal]
  223. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(call_direction=outbound)
  224. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [call_direction]=[outbound]
  225. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(accountname=IPT-2)
  226. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [accountname]=[IPT-2]
  227. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(origination_rates=ID:1|CODE:^8801.*|DESTINATION:Bangladesh Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:17|ACCID:4)
  228. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [origination_rates]=[ID:1|CODE:^8801.*|DESTINATION:Bangladesh Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:17|ACCID:4]
  229. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(original_caller_id_name=0894062723)
  230. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [original_caller_id_name]=[0894062723]
  231. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(original_caller_id_number=0894062723)
  232. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [original_caller_id_number]=[0894062723]
  233. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(effective_caller_id_name=0894062723)
  234. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [effective_caller_id_name]=[0894062723]
  235. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(effective_caller_id_number=0894062723)
  236. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [effective_caller_id_number]=[0894062723]
  237. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(calltype=STANDARD)
  238. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [calltype]=[STANDARD]
  239. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(termination_rates=ID:1|CODE:^8801.*|DESTINATION:Bangladesh Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01000|INC:1|INITIALBLOCK:1|TRUNK:2|PROVIDER:3)
  240. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [termination_rates]=[ID:1|CODE:^8801.*|DESTINATION:Bangladesh Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01000|INC:1|INITIALBLOCK:1|TRUNK:2|PROVIDER:3]
  241. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(trunk_id=2)
  242. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [trunk_id]=[2]
  243. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(provider_id=3)
  244. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [provider_id]=[3]
  245. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(rate_flag=0)
  246. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [rate_flag]=[0]
  247. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(force_trunk_flag=0)
  248. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [force_trunk_flag]=[0]
  249. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 export(presence_data=trunk_id=2)
  250. 2020-12-20 17:36:20.659426 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=2]
  251. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 set(intcall=0)
  252. 2020-12-20 17:36:20.659426 [DEBUG] mod_dptools.c:1672 SET sofia/default/0894062723@195.191.28.110 [intcall]=[0]
  253. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 export(presence_data=x|||Mahim(353894062723)|||^8801.* // Bangladesh Mobile // 0.02000 // trunk_id=|||Voxbeam_Trunk // ^8801.* // Bangladesh Mobile // 0.01000 // trunk_id=2|||STD|||195.191.29.50)
  254. 2020-12-20 17:36:20.659426 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Mahim(353894062723)|||^8801.* // Bangladesh Mobile // 0.02000 // trunk_id=|||Voxbeam_Trunk // ^8801.* // Bangladesh Mobile // 0.01000 // trunk_id=2|||STD|||195.191.29.50]
  255. EXECUTE [depth=0] sofia/default/0894062723@195.191.28.110 bridge([leg_timeout=0]sofia/gateway/Voxbeam_GW/8801747265333)
  256. 2020-12-20 17:36:20.659426 [DEBUG] switch_channel.c:1264 sofia/default/0894062723@195.191.28.110 EXPORTING[export_vars] [presence_data]=[x|||Mahim(353894062723)|||^8801.* // Bangladesh Mobile // 0.02000 // trunk_id=|||Voxbeam_Trunk // ^8801.* // Bangladesh Mobile // 0.01000 // trunk_id=2|||STD|||195.191.29.50] to event
  257. 2020-12-20 17:36:20.659426 [DEBUG] switch_channel.c:1264 sofia/default/0894062723@195.191.28.110 EXPORTING[export_vars] [presence_data]=[x|||Mahim(353894062723)|||^8801.* // Bangladesh Mobile // 0.02000 // trunk_id=|||Voxbeam_Trunk // ^8801.* // Bangladesh Mobile // 0.01000 // trunk_id=2|||STD|||195.191.29.50] to event
  258. 2020-12-20 17:36:20.659426 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  259. 2020-12-20 17:36:20.659426 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  260. 2020-12-20 17:36:20.659426 [NOTICE] switch_channel.c:1118 New Channel sofia/default/8801747265333 [70c7ea2d-5851-4d21-b011-451171d82591]
  261. 2020-12-20 17:36:20.659426 [DEBUG] mod_sofia.c:5089 (sofia/default/8801747265333) State Change CS_NEW -> CS_INIT
  262. 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8801747265333) Running State Change CS_INIT (Cur 2 Tot 13)
  263. 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:628 (sofia/default/8801747265333) State INIT
  264. 2020-12-20 17:36:20.679419 [DEBUG] mod_sofia.c:93 sofia/default/8801747265333 SOFIA INIT
  265. 2020-12-20 17:36:20.679419 [DEBUG] sofia_glue.c:1618 sofia/default/8801747265333 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  266. Local SDP:
  267. v=0
  268. o=FreeSWITCH 1608461216 1608461217 IN IP4 178.62.69.130
  269. s=FreeSWITCH
  270. c=IN IP4 178.62.69.130
  271. t=0 0
  272. m=audio 24564 RTP/AVP 8 101
  273. a=rtpmap:8 PCMA/8000
  274. a=rtpmap:101 telephone-event/8000
  275. a=fmtp:101 0-16
  276. a=ptime:20
  277. a=sendrecv
  278.  
  279. 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:40 sofia/default/8801747265333 Standard INIT
  280. 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:48 (sofia/default/8801747265333) State Change CS_INIT -> CS_ROUTING
  281. 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:628 (sofia/default/8801747265333) State INIT going to sleep
  282. 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8801747265333) Running State Change CS_ROUTING (Cur 2 Tot 13)
  283. 2020-12-20 17:36:20.679419 [DEBUG] sofia.c:7326 Channel sofia/default/8801747265333 entering state [calling][0]
  284. 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:644 (sofia/default/8801747265333) State ROUTING
  285. 2020-12-20 17:36:20.679419 [DEBUG] mod_sofia.c:154 sofia/default/8801747265333 SOFIA ROUTING
  286. 2020-12-20 17:36:20.679419 [DEBUG] switch_ivr_originate.c:67 (sofia/default/8801747265333) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  287. 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:644 (sofia/default/8801747265333) State ROUTING going to sleep
  288. 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8801747265333) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 13)
  289. 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:663 (sofia/default/8801747265333) State CONSUME_MEDIA
  290. 2020-12-20 17:36:20.679419 [DEBUG] switch_core_state_machine.c:663 (sofia/default/8801747265333) State CONSUME_MEDIA going to sleep
  291. 2020-12-20 17:36:22.019424 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [6280@178.62.69.130] from ip 80.246.28.12
  292. 2020-12-20 17:36:22.179424 [WARNING] sofia_reg.c:2930 Can't find user [6280@178.62.69.130] from 80.246.28.12
  293. You must define a domain called '178.62.69.130' in your directory and add a user with the id="6280" attribute
  294. and you must configure your device to use the proper domain in its authentication credentials.
  295. 2020-12-20 17:36:22.179424 [WARNING] sofia_reg.c:1739 SIP auth failure (REGISTER) on sofia profile 'default' for [6280@178.62.69.130] from ip 80.246.28.12
  296. 2020-12-20 17:36:22.319421 [DEBUG] sofia.c:7326 Channel sofia/default/8801747265333 entering state [proceeding][183]
  297. 2020-12-20 17:36:22.319421 [DEBUG] sofia.c:7336 Remote SDP:
  298. v=0
  299. o=- 718596394 718596394 IN IP4 103.12.44.12
  300. s=SBC call
  301. c=IN IP4 103.12.44.12
  302. t=0 0
  303. m=audio 34890 RTP/AVP 8
  304. a=rtpmap:8 PCMA/8000
  305. a=ptime:20
  306.  
  307. 2020-12-20 17:36:22.319421 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/8801747265333!
  308. 2020-12-20 17:36:22.319421 [DEBUG] switch_channel.c:3565 (sofia/default/8801747265333) Callstate Change DOWN -> EARLY
  309. 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  310. 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  311. 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/8801747265333 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  312. 2020-12-20 17:36:22.319421 [DEBUG] switch_core_codec.c:111 sofia/default/8801747265333 Original read codec set to PCMA:8
  313. 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:5882 No 2833 in SDP. Liberal DTMF mode adding 101 as telephone-event.
  314. 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:5911 sofia/default/8801747265333 Set 2833 dtmf send payload to 101 recv payload to 101
  315. 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/8801747265333] 178.62.69.130 port 24564 -> 103.12.44.12 port 34890 codec: 8 ms: 20
  316. 2020-12-20 17:36:22.319421 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  317. 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:8977 sofia/default/8801747265333 Set 2833 dtmf send payload to 101
  318. 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:8984 sofia/default/8801747265333 Set 2833 dtmf receive payload to 101
  319. 2020-12-20 17:36:22.319421 [DEBUG] switch_core_media.c:9007 sofia/default/8801747265333 Set rtp dtmf delay to 40
  320. 2020-12-20 17:36:22.339420 [INFO] switch_ivr_originate.c:3801 Sending early media
  321. 2020-12-20 17:36:22.339420 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/0894062723@195.191.28.110] 178.62.69.130 port 29068 -> 195.191.28.110 port 22350 codec: 8 ms: 20
  322. 2020-12-20 17:36:22.339420 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  323. 2020-12-20 17:36:22.339420 [DEBUG] switch_core_media.c:8977 sofia/default/0894062723@195.191.28.110 Set 2833 dtmf send payload to 101
  324. 2020-12-20 17:36:22.339420 [DEBUG] switch_core_media.c:8984 sofia/default/0894062723@195.191.28.110 Set 2833 dtmf receive payload to 101
  325. 2020-12-20 17:36:22.339420 [DEBUG] switch_core_media.c:9007 sofia/default/0894062723@195.191.28.110 Set rtp dtmf delay to 40
  326. 2020-12-20 17:36:22.339420 [DEBUG] mod_sofia.c:2593 Ring SDP:
  327. v=0
  328. o=FreeSWITCH 1608456714 1608456715 IN IP4 178.62.69.130
  329. s=FreeSWITCH
  330. c=IN IP4 178.62.69.130
  331. t=0 0
  332. m=audio 29068 RTP/AVP 8 101
  333. a=rtpmap:8 PCMA/8000
  334. a=rtpmap:101 telephone-event/8000
  335. a=fmtp:101 0-16
  336. a=ptime:20
  337. a=sendrecv
  338.  
  339. 2020-12-20 17:36:22.339420 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/0894062723@195.191.28.110!
  340. 2020-12-20 17:36:22.339420 [DEBUG] switch_channel.c:3565 (sofia/default/0894062723@195.191.28.110) Callstate Change RINGING -> EARLY
  341. 2020-12-20 17:36:22.339420 [DEBUG] sofia.c:7326 Channel sofia/default/0894062723@195.191.28.110 entering state [early][183]
  342. 2020-12-20 17:36:22.339420 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/8801747265333]
  343. 2020-12-20 17:36:22.339420 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/8801747265333) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  344. 2020-12-20 17:36:22.339420 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8801747265333) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 13)
  345. 2020-12-20 17:36:22.339420 [DEBUG] switch_core_state_machine.c:654 (sofia/default/8801747265333) State EXCHANGE_MEDIA
  346. 2020-12-20 17:36:22.339420 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  347. 2020-12-20 17:36:22.379423 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  348. 2020-12-20 17:36:22.419421 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [7882@178.62.69.130] from ip 80.246.28.12
  349. 2020-12-20 17:36:22.519421 [DEBUG] switch_ivr_bridge.c:655 sofia/default/8801747265333 Bridge execute app sched_hangup(+6000 normal_clearing)
  350. 2020-12-20 17:36:22.539425 [DEBUG] switch_ivr.c:632 sofia/default/8801747265333 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  351. EXECUTE [depth=0] sofia/default/8801747265333 sched_hangup(+6000 normal_clearing)
  352. 2020-12-20 17:36:22.539425 [DEBUG] switch_scheduler.c:252 Added task 7 switch_ivr_schedule_hangup (70c7ea2d-5851-4d21-b011-451171d82591) to run at 1608491782
  353. 2020-12-20 17:36:22.659429 [WARNING] sofia_reg.c:2930 Can't find user [7882@178.62.69.130] from 80.246.28.12
  354. You must define a domain called '178.62.69.130' in your directory and add a user with the id="7882" attribute
  355. and you must configure your device to use the proper domain in its authentication credentials.
  356. 2020-12-20 17:36:22.659429 [WARNING] sofia_reg.c:1739 SIP auth failure (REGISTER) on sofia profile 'default' for [7882@178.62.69.130] from ip 80.246.28.12
  357. 2020-12-20 17:36:24.359451 [DEBUG] sofia.c:7326 Channel sofia/default/0894062723@195.191.28.110 entering state [terminated][487]
  358. 2020-12-20 17:36:24.359451 [NOTICE] sofia.c:8559 Hangup sofia/default/0894062723@195.191.28.110 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  359. 2020-12-20 17:36:24.359451 [DEBUG] switch_ivr_bridge.c:826 sofia/default/0894062723@195.191.28.110 ending bridge by request from read function
  360. 2020-12-20 17:36:24.359451 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/0894062723@195.191.28.110]
  361. 2020-12-20 17:36:24.359451 [DEBUG] switch_ivr_bridge.c:820 sofia/default/0894062723@195.191.28.110 ending bridge by request from write function
  362. 2020-12-20 17:36:24.359451 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/8801747265333]
  363. 2020-12-20 17:36:24.359451 [NOTICE] switch_ivr_bridge.c:1025 Hangup sofia/default/8801747265333 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  364. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:654 (sofia/default/8801747265333) State EXCHANGE_MEDIA going to sleep
  365. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8801747265333) Running State Change CS_HANGUP (Cur 2 Tot 13)
  366. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:848 (sofia/default/8801747265333) Callstate Change EARLY -> HANGUP
  367. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:850 (sofia/default/8801747265333) State HANGUP
  368. 2020-12-20 17:36:24.359451 [DEBUG] mod_sofia.c:447 sofia/default/8801747265333 Overriding SIP cause 487 with 487 from the other leg
  369. 2020-12-20 17:36:24.359451 [DEBUG] mod_sofia.c:453 Channel sofia/default/8801747265333 hanging up, cause: ORIGINATOR_CANCEL
  370. 2020-12-20 17:36:24.359451 [DEBUG] mod_sofia.c:521 Sending CANCEL to sofia/default/8801747265333
  371. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:60 sofia/default/8801747265333 Standard HANGUP, cause: ORIGINATOR_CANCEL
  372. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:850 (sofia/default/8801747265333) State HANGUP going to sleep
  373. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:620 (sofia/default/8801747265333) State Change CS_HANGUP -> CS_REPORTING
  374. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8801747265333) Running State Change CS_REPORTING (Cur 2 Tot 13)
  375. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:936 (sofia/default/8801747265333) State REPORTING
  376. 2020-12-20 17:36:24.359451 [INFO] mod_json_cdr.c:271 Process [70c7ea2d-5851-4d21-b011-451171d82591.cdr.json]
  377. 2020-12-20 17:36:24.359451 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/8801747265333 skip receive message [UNBRIDGE] (channel is hungup already)
  378. 2020-12-20 17:36:24.359451 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/0894062723@195.191.28.110 skip receive message [UNBRIDGE] (channel is hungup already)
  379. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_session.c:2905 sofia/default/0894062723@195.191.28.110 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  380. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:651 (sofia/default/0894062723@195.191.28.110) State EXECUTE going to sleep
  381. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0894062723@195.191.28.110) Running State Change CS_HANGUP (Cur 2 Tot 13)
  382. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:848 (sofia/default/0894062723@195.191.28.110) Callstate Change EARLY -> HANGUP
  383. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0894062723@195.191.28.110) State HANGUP
  384. 2020-12-20 17:36:24.359451 [DEBUG] mod_sofia.c:453 Channel sofia/default/0894062723@195.191.28.110 hanging up, cause: ORIGINATOR_CANCEL
  385. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:60 sofia/default/0894062723@195.191.28.110 Standard HANGUP, cause: ORIGINATOR_CANCEL
  386. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0894062723@195.191.28.110) State HANGUP going to sleep
  387. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:620 (sofia/default/0894062723@195.191.28.110) State Change CS_HANGUP -> CS_REPORTING
  388. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0894062723@195.191.28.110) Running State Change CS_REPORTING (Cur 2 Tot 13)
  389. 2020-12-20 17:36:24.359451 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0894062723@195.191.28.110) State REPORTING
  390. 2020-12-20 17:36:24.359451 [INFO] mod_json_cdr.c:271 Process [68e52179-dec7-4873-b434-eb32b8192110.cdr.json]
  391. 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:174 sofia/default/8801747265333 Standard REPORTING, cause: ORIGINATOR_CANCEL
  392. 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:936 (sofia/default/8801747265333) State REPORTING going to sleep
  393. 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:611 (sofia/default/8801747265333) State Change CS_REPORTING -> CS_DESTROY
  394. 2020-12-20 17:36:24.379428 [DEBUG] switch_core_session.c:1726 Session 13 (sofia/default/8801747265333) Locked, Waiting on external entities
  395. 2020-12-20 17:36:24.379428 [NOTICE] switch_core_session.c:1744 Session 13 (sofia/default/8801747265333) Ended
  396. 2020-12-20 17:36:24.379428 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/8801747265333 [CS_DESTROY]
  397. 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:739 (sofia/default/8801747265333) Running State Change CS_DESTROY (Cur 1 Tot 13)
  398. 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:749 (sofia/default/8801747265333) State DESTROY
  399. 2020-12-20 17:36:24.379428 [DEBUG] mod_sofia.c:364 sofia/default/8801747265333 SOFIA DESTROY
  400. 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:181 sofia/default/8801747265333 Standard DESTROY
  401. 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:749 (sofia/default/8801747265333) State DESTROY going to sleep
  402. 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:174 sofia/default/0894062723@195.191.28.110 Standard REPORTING, cause: ORIGINATOR_CANCEL
  403. 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0894062723@195.191.28.110) State REPORTING going to sleep
  404. 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:611 (sofia/default/0894062723@195.191.28.110) State Change CS_REPORTING -> CS_DESTROY
  405. 2020-12-20 17:36:24.379428 [DEBUG] switch_core_session.c:1726 Session 12 (sofia/default/0894062723@195.191.28.110) Locked, Waiting on external entities
  406. 2020-12-20 17:36:24.379428 [NOTICE] switch_core_session.c:1744 Session 12 (sofia/default/0894062723@195.191.28.110) Ended
  407. 2020-12-20 17:36:24.379428 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/0894062723@195.191.28.110 [CS_DESTROY]
  408. 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:739 (sofia/default/0894062723@195.191.28.110) Running State Change CS_DESTROY (Cur 0 Tot 13)
  409. 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0894062723@195.191.28.110) State DESTROY
  410. 2020-12-20 17:36:24.379428 [DEBUG] mod_sofia.c:364 sofia/default/0894062723@195.191.28.110 SOFIA DESTROY
  411. 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:181 sofia/default/0894062723@195.191.28.110 Standard DESTROY
  412. 2020-12-20 17:36:24.379428 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0894062723@195.191.28.110) State DESTROY going to sleep
  413. 2020-12-20 17:36:24.539449 [DEBUG] switch_scheduler.c:147 Deleting task 7 switch_ivr_schedule_hangup (70c7ea2d-5851-4d21-b011-451171d82591)
  414.