From Akash_patel, 5 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2019-08-05 15:15:52.033883 [NOTICE] switch_channel.c:1114 New Channel sofia/default/34540000@billing.voipalbania.com [e8d805ae-a8ea-4a7c-832a-c43ca1287f99]
  2. 2019-08-05 15:15:52.033883 [DEBUG] switch_core_state_machine.c:584 (sofia/default/34540000@billing.voipalbania.com) Running State Change CS_NEW (Cur 3 Tot 17061)
  3. 2019-08-05 15:15:52.033883 [DEBUG] sofia.c:10164 sofia/default/34540000@billing.voipalbania.com receiving invite from 117.247.91.162:57066 version: 1.8.7 -8-6047ebddfc 64bit
  4. 2019-08-05 15:15:52.033883 [DEBUG] sofia.c:10260 verifying acl "default" for ip/port 117.247.91.162:0.
  5. 2019-08-05 15:15:52.033883 [WARNING] sofia_reg.c:1798 SIP auth challenge (INVITE) on sofia profile 'default' for [0692078506@billing.voipalbania.com] from ip 117.247.91.162
  6. 2019-08-05 15:15:52.033883 [DEBUG] switch_core_state_machine.c:603 (sofia/default/34540000@billing.voipalbania.com) State NEW
  7. 2019-08-05 15:15:52.033883 [DEBUG] sofia.c:2413 detaching session e8d805ae-a8ea-4a7c-832a-c43ca1287f99
  8. 2019-08-05 15:15:52.393921 [DEBUG] sofia.c:2522 Re-attaching to session e8d805ae-a8ea-4a7c-832a-c43ca1287f99
  9. 2019-08-05 15:15:52.393921 [DEBUG] sofia.c:10164 sofia/default/34540000@billing.voipalbania.com receiving invite from 117.247.91.162:57066 version: 1.8.7 -8-6047ebddfc 64bit
  10. 2019-08-05 15:15:52.393921 [DEBUG] sofia.c:10260 verifying acl "default" for ip/port 117.247.91.162:0.
  11. 2019-08-05 15:15:52.413806 [DEBUG] sofia.c:11370 Setting NAT mode based on via received
  12. 2019-08-05 15:15:52.413806 [DEBUG] sofia.c:7323 Channel sofia/default/34540000@billing.voipalbania.com entering state [received][100]
  13. 2019-08-05 15:15:52.413806 [DEBUG] sofia.c:7333 Remote SDP:
  14. v=0
  15. o=Z 0 0 IN IP4 117.247.91.162
  16. s=Z
  17. c=IN IP4 117.247.91.162
  18. t=0 0
  19. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  20. a=rtpmap:110 speex/8000
  21. a=rtpmap:98 iLBC/8000
  22. a=fmtp:98 mode=20
  23. a=rtpmap:101 telephone-event/8000
  24. a=fmtp:101 0-15
  25.  
  26. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  27. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
  28. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  29. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  30. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1]
  31. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  32. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  33. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5566 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  34. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  35. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  37. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  38. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  39. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5566 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  40. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  41. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1]
  42. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  43. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5427 Set telephone-event payload to 101@8000
  44. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:3781 Set Codec sofia/default/34540000@billing.voipalbania.com PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  45. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_codec.c:111 sofia/default/34540000@billing.voipalbania.com Original read codec set to PCMA:8
  46. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5770 Set telephone-event payload to 101@8000
  47. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_media.c:5828 sofia/default/34540000@billing.voipalbania.com Set 2833 dtmf send payload to 101 recv payload to 101
  48. 2019-08-05 15:15:52.413806 [DEBUG] sofia.c:7748 (sofia/default/34540000@billing.voipalbania.com) State Change CS_NEW -> CS_INIT
  49. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_state_machine.c:584 (sofia/default/34540000@billing.voipalbania.com) Running State Change CS_INIT (Cur 3 Tot 17061)
  50. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_state_machine.c:627 (sofia/default/34540000@billing.voipalbania.com) State INIT
  51. 2019-08-05 15:15:52.413806 [DEBUG] mod_sofia.c:93 sofia/default/34540000@billing.voipalbania.com SOFIA INIT
  52. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_state_machine.c:40 sofia/default/34540000@billing.voipalbania.com Standard INIT
  53. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_state_machine.c:48 (sofia/default/34540000@billing.voipalbania.com) State Change CS_INIT -> CS_ROUTING
  54. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_state_machine.c:627 (sofia/default/34540000@billing.voipalbania.com) State INIT going to sleep
  55. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_state_machine.c:584 (sofia/default/34540000@billing.voipalbania.com) Running State Change CS_ROUTING (Cur 3 Tot 17061)
  56. 2019-08-05 15:15:52.413806 [DEBUG] switch_channel.c:2293 (sofia/default/34540000@billing.voipalbania.com) Callstate Change DOWN -> RINGING
  57. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_state_machine.c:643 (sofia/default/34540000@billing.voipalbania.com) State ROUTING
  58. 2019-08-05 15:15:52.413806 [DEBUG] mod_sofia.c:154 sofia/default/34540000@billing.voipalbania.com SOFIA ROUTING
  59. 2019-08-05 15:15:52.413806 [DEBUG] switch_core_state_machine.c:236 sofia/default/34540000@billing.voipalbania.com Standard ROUTING
  60. 2019-08-05 15:15:52.413806 [INFO] mod_dialplan_xml.c:637 Processing 34540000 <34540000>->0692078506 in context default
  61. 2019-08-05 15:15:52.413806 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  62. 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  63. 2019-08-05 15:15:52.433758 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Dialed number : 0692078506
  64. 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0692078506' AND status=0 limit 1
  65. 2019-08-05 15:15:52.433758 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Caller Id name / number  : 34540000 / 34540000
  66. 2019-08-05 15:15:52.433758 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  67. 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  68. 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [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 ="0692078506" LIMIT 1
  69. 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [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="0692078506" limit 1
  70. 2019-08-05 15:15:52.433758 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Call direction : outbound
  71. 2019-08-05 15:15:52.433758 [INFO] switch_cpp.cpp:1443 [ASTPP] [Accountcode : 4727985745]
  72. 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4727985745" AND deleted = 0 limit 1
  73. 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0692078506.*' OR blocked_patterns = '^069207850.*' OR blocked_patterns = '^06920785.*' OR blocked_patterns = '^0692078.*' OR blocked_patterns = '^069207.*' OR blocked_patterns = '^06920.*' OR blocked_patterns = '^0692.*' OR blocked_patterns = '^069.*' OR blocked_patterns = '^06.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 2 limit 1
  74. 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [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 ="0692078506" AND A.accountid = '2' limit 1
  75. 2019-08-05 15:15:52.433758 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0692078506
  76. 2019-08-05 15:15:52.433758 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  77. 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  78. 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [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 ="0692078506" LIMIT 1
  79. 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [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="0692078506" limit 1
  80. 2019-08-05 15:15:52.433758 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] New Call direction : outbound
  81. 2019-08-05 15:15:52.433758 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  82. 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  83. 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0692078506" AND (accountid = 0 OR status = 1) LIMIT 1
  84. 2019-08-05 15:15:52.433758 [DEBUG] switch_cpp.cpp:1443 [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 = '^0692078506.*' OR patterns = '^069207850.*' OR patterns = '^06920785.*' OR patterns = '^0692078.*' OR patterns = '^069207.*' OR patterns = '^06920.*' OR patterns = '^0692.*' OR patterns = '^069.*' OR patterns = '^06.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  85. 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0692078506' OR number = '069207850' OR number = '06920785' OR number = '0692078' OR number = '069207' OR number = '06920' OR number = '0692' OR number = '069' OR number = '06' OR number = '0' OR number ='--') OR (number = '0692078506*' OR number = '069207850*' OR number = '06920785*' OR number = '0692078*' OR number = '069207*' OR number = '06920*' OR number = '0692*' OR number = '069*' OR number = '06*' OR number = '0*' OR number ='--') OR (number = '34540000' OR number = '3454000' OR number = '345400' OR number = '34540' OR number = '3454' OR number = '345' OR number = '34' OR number = '3' OR number ='--') OR (number = '34540000*' OR number = '3454000*' OR number = '345400*' OR number = '34540*' OR number = '3454*' OR number = '345*' OR number = '34*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  86. 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] Call Barring Status : -1
  87. 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0692078506' OR routing_prefix = '069207850' OR routing_prefix = '06920785' OR routing_prefix = '0692078' OR routing_prefix = '069207' OR routing_prefix = '06920' OR routing_prefix = '0692' OR routing_prefix = '069' OR routing_prefix = '06' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  88. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Account Information ===================
  89. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] User id : 2
  90. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Account code : 4727985745
  91. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Balance : 1.9652
  92. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  93. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Ratecard id : 2
  94. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] CID Pool : 0
  95. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] ========================================================
  96. 2019-08-05 15:15:52.453838 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH1: 2
  97. 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 2 AND status=0 limit 1
  98. 2019-08-05 15:15:52.453838 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0692078506
  99. 2019-08-05 15:15:52.453838 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 355692078506
  100. 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  101. 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] call_direction :outbound
  102. 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^355692078506.*' OR pattern = '^35569207850.*' OR pattern = '^3556920785.*' OR pattern = '^355692078.*' OR pattern = '^35569207.*' OR pattern = '^3556920.*' OR pattern = '^355692.*' OR pattern = '^35569.*' OR pattern = '^3556.*' OR pattern = '^355.*' OR pattern = '^35.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 2 OR accountid=2)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  103. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] call_direction:::::: outbound
  104. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Markup : 100
  105. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Rates Information ===================
  106. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 88
  107. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.00000
  108. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Includedseconds : 0
  109. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Cost : 0.22312
  110. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] comment : Albania Vodafon
  111. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Country Id : 2
  112. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Accid : 2
  113. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Trunk ID: 0
  114. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Routing type:
  115. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] ================================================================
  116. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Your1.9652 balance Accountid 2 !!!
  117. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Call Max length duration : 8.8078164216565 minutes
  118. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] [DIALPLAN] User Rate ID : 88
  119. 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :0
  120. 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=2 ORDER by id asc
  121. 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [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 = '^355692078506.*' OR pattern = '^35569207850.*' OR pattern = '^3556920785.*' OR pattern = '^355692078.*' OR pattern = '^35569207.*' OR pattern = '^3556920.*' OR pattern = '^355692.*' OR pattern = '^35569.*' OR pattern = '^3556.*' OR pattern = '^355.*' OR pattern = '^35.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1,3) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  122. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Termination Rates Information ===================
  123. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 86
  124. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Code : ^35569.*
  125. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Destination : Albania Vodafon
  126. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.00000
  127. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Free Seconds : 0
  128. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Prefix : ^35569.*
  129. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Strip : 0
  130. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Prepend : 0
  131. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Carrier id : 1
  132. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] carrier_name : VoipGateway
  133. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] dialplan_variable :
  134. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Failover gateway :
  135. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Vendor id : 3
  136. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Max channels : 0
  137. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] Trunk Name : VoipGateway
  138. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] ========================END OF TERMINATION RATES=======================
  139. 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 2 AND status=0 LIMIT 1
  140. 2019-08-05 15:15:52.453838 [INFO] switch_cpp.cpp:1443 [ASTPP] maxlength::::::::: 8.8078164216565
  141. 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  142. 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  143. 2019-08-05 15:15:52.453838 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 355692078506
  144. 2019-08-05 15:15:52.453838 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 692078506
  145. 2019-08-05 15:15:52.453838 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Generated XML:
  146. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  147. <document type="freeswitch/xml">
  148. <section name="dialplan" description="ASTPP Dialplan">
  149. <context name="default">
  150. <extension name="355692078506">
  151. <condition field="destination_number" expression="0692078506">
  152. <action application="set" data="effective_destination_number=0692078506"/>
  153. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  154. <action application="set" data="bridge_pre_execute_bleg_data=+528.46898529939 normal_clearing"/>
  155. <action application="set" data="callstart=2019-08-05 13:15:52"/>
  156. <action application="set" data="hangup_after_bridge=true"/>
  157. <action application="set" data="continue_on_fail=TRUE"/>
  158. <action application="set" data="account_id=2"/>
  159. <action application="set" data="parent_id=0"/>
  160. <action application="set" data="entity_id=0"/>
  161. <action application="set" data="call_processed=internal"/>
  162. <action application="set" data="call_direction=outbound"/>
  163. <action application="set" data="accountname=default"/>
  164. <action application="set" data="origination_rates=ID:88|CODE:^35569.*|DESTINATION:Albania Vodafon|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.22312|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:100|CI:2|ACCID:2"/>
  165. <action application="set" data="original_caller_id_name=34540000"/>
  166. <action application="set" data="original_caller_id_number=34540000"/>
  167. <action application="limit" data="db 4727985745 user_4727985745 1 !SWITCH_CONGESTION"/>
  168.  
  169. <action application="set" data="effective_caller_id_name=34540000"/>
  170. <action application="set" data="effective_caller_id_number=34540000"/>
  171. <action application="set" data="calltype=STANDARD"/>
  172. <action application="set" data="termination_rates=ID:86|CODE:^35569.*|DESTINATION:Albania Vodafon|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02052|INC:1|INITIALBLOCK:0|TRUNK:1|PROVIDER:3"/>
  173. <action application="set" data="trunk_id=1"/>
  174. <action application="set" data="provider_id=3"/>
  175. <action application="set" data="rate_flag=0"/>
  176. <action application="set" data="force_trunk_flag=88"/>
  177. <action application="export" data="presence_data=trunk_id=1"/>
  178. <action application="set" data="intcall=0"/>
  179. <action application="export" data="presence_data=x|||Zyra(4727985745)|||^35569.* // Albania Vodafon // 0.22312 // trunk_id=0|||VoipGateway // ^35569.* // Albania Vodafon // 0.02052 // trunk_id=1|||STD"/>
  180. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/VoipGateway/692078506"/>
  181. </condition>
  182. </extension>
  183. </context>
  184. </section>
  185. </document>
  186. Dialplan: sofia/default/34540000@billing.voipalbania.com parsing [default->355692078506] continue=false
  187. Dialplan: sofia/default/34540000@billing.voipalbania.com Regex (PASS) [355692078506] destination_number(0692078506) =~ /0692078506/ break=on-false
  188. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(effective_destination_number=0692078506)
  189. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(bridge_pre_execute_bleg_app=sched_hangup)
  190. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(bridge_pre_execute_bleg_data=+528.46898529939 normal_clearing)
  191. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(callstart=2019-08-05 13:15:52)
  192. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(hangup_after_bridge=true)
  193. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(continue_on_fail=TRUE)
  194. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(account_id=2)
  195. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(parent_id=0)
  196. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(entity_id=0)
  197. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(call_processed=internal)
  198. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(call_direction=outbound)
  199. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(accountname=default)
  200. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(origination_rates=ID:88|CODE:^35569.*|DESTINATION:Albania Vodafon|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.22312|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:100|CI:2|ACCID:2)
  201. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(original_caller_id_name=34540000)
  202. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(original_caller_id_number=34540000)
  203. Dialplan: sofia/default/34540000@billing.voipalbania.com Action limit(db 4727985745 user_4727985745 1 !SWITCH_CONGESTION)
  204. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(effective_caller_id_name=34540000)
  205. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(effective_caller_id_number=34540000)
  206. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(calltype=STANDARD)
  207. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(termination_rates=ID:86|CODE:^35569.*|DESTINATION:Albania Vodafon|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02052|INC:1|INITIALBLOCK:0|TRUNK:1|PROVIDER:3)
  208. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(trunk_id=1)
  209. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(provider_id=3)
  210. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(rate_flag=0)
  211. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(force_trunk_flag=88)
  212. Dialplan: sofia/default/34540000@billing.voipalbania.com Action export(presence_data=trunk_id=1)
  213. Dialplan: sofia/default/34540000@billing.voipalbania.com Action set(intcall=0)
  214. Dialplan: sofia/default/34540000@billing.voipalbania.com Action export(presence_data=x|||Zyra(4727985745)|||^35569.* // Albania Vodafon // 0.22312 // trunk_id=0|||VoipGateway // ^35569.* // Albania Vodafon // 0.02052 // trunk_id=1|||STD)
  215. Dialplan: sofia/default/34540000@billing.voipalbania.com Action bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/VoipGateway/692078506)
  216. 2019-08-05 15:15:52.453838 [DEBUG] switch_core_state_machine.c:286 (sofia/default/34540000@billing.voipalbania.com) State Change CS_ROUTING -> CS_EXECUTE
  217. 2019-08-05 15:15:52.453838 [DEBUG] switch_core_state_machine.c:643 (sofia/default/34540000@billing.voipalbania.com) State ROUTING going to sleep
  218. 2019-08-05 15:15:52.453838 [DEBUG] switch_core_state_machine.c:584 (sofia/default/34540000@billing.voipalbania.com) Running State Change CS_EXECUTE (Cur 3 Tot 17061)
  219. 2019-08-05 15:15:52.453838 [DEBUG] switch_core_state_machine.c:650 (sofia/default/34540000@billing.voipalbania.com) State EXECUTE
  220. 2019-08-05 15:15:52.453838 [DEBUG] mod_sofia.c:209 sofia/default/34540000@billing.voipalbania.com SOFIA EXECUTE
  221. 2019-08-05 15:15:52.453838 [DEBUG] switch_core_state_machine.c:328 sofia/default/34540000@billing.voipalbania.com Standard EXECUTE
  222. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(effective_destination_number=0692078506)
  223. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [effective_destination_number]=[0692078506]
  224. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(bridge_pre_execute_bleg_app=sched_hangup)
  225. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [bridge_pre_execute_bleg_app]=[sched_hangup]
  226. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(bridge_pre_execute_bleg_data=+528.46898529939 normal_clearing)
  227. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [bridge_pre_execute_bleg_data]=[+528.46898529939 normal_clearing]
  228. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(callstart=2019-08-05 13:15:52)
  229. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [callstart]=[2019-08-05 13:15:52]
  230. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(hangup_after_bridge=true)
  231. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [hangup_after_bridge]=[true]
  232. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(continue_on_fail=TRUE)
  233. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [continue_on_fail]=[TRUE]
  234. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(account_id=2)
  235. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [account_id]=[2]
  236. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(parent_id=0)
  237. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [parent_id]=[0]
  238. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(entity_id=0)
  239. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [entity_id]=[0]
  240. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(call_processed=internal)
  241. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [call_processed]=[internal]
  242. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(call_direction=outbound)
  243. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [call_direction]=[outbound]
  244. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(accountname=default)
  245. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [accountname]=[default]
  246. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(origination_rates=ID:88|CODE:^35569.*|DESTINATION:Albania Vodafon|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.22312|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:100|CI:2|ACCID:2)
  247. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [origination_rates]=[ID:88|CODE:^35569.*|DESTINATION:Albania Vodafon|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.22312|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:100|CI:2|ACCID:2]
  248. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(original_caller_id_name=34540000)
  249. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [original_caller_id_name]=[34540000]
  250. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(original_caller_id_number=34540000)
  251. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [original_caller_id_number]=[34540000]
  252. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com limit(db 4727985745 user_4727985745 1 !SWITCH_CONGESTION)
  253. 2019-08-05 15:15:52.453838 [DEBUG] switch_limit.c:126 incr called: 4727985745_user_4727985745 max:1, interval:0
  254. 2019-08-05 15:15:52.453838 [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 1/1
  255. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(effective_caller_id_name=34540000)
  256. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [effective_caller_id_name]=[34540000]
  257. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(effective_caller_id_number=34540000)
  258. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [effective_caller_id_number]=[34540000]
  259. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(calltype=STANDARD)
  260. 2019-08-05 15:15:52.453838 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [calltype]=[STANDARD]
  261. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(termination_rates=ID:86|CODE:^35569.*|DESTINATION:Albania Vodafon|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02052|INC:1|INITIALBLOCK:0|TRUNK:1|PROVIDER:3)
  262. 2019-08-05 15:15:52.473760 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [termination_rates]=[ID:86|CODE:^35569.*|DESTINATION:Albania Vodafon|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02052|INC:1|INITIALBLOCK:0|TRUNK:1|PROVIDER:3]
  263. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(trunk_id=1)
  264. 2019-08-05 15:15:52.473760 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [trunk_id]=[1]
  265. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(provider_id=3)
  266. 2019-08-05 15:15:52.473760 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [provider_id]=[3]
  267. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(rate_flag=0)
  268. 2019-08-05 15:15:52.473760 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [rate_flag]=[0]
  269. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(force_trunk_flag=88)
  270. 2019-08-05 15:15:52.473760 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [force_trunk_flag]=[88]
  271. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com export(presence_data=trunk_id=1)
  272. 2019-08-05 15:15:52.473760 [DEBUG] switch_channel.c:1306 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  273. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com set(intcall=0)
  274. 2019-08-05 15:15:52.473760 [DEBUG] mod_dptools.c:1615 SET sofia/default/34540000@billing.voipalbania.com [intcall]=[0]
  275. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com export(presence_data=x|||Zyra(4727985745)|||^35569.* // Albania Vodafon // 0.22312 // trunk_id=0|||VoipGateway // ^35569.* // Albania Vodafon // 0.02052 // trunk_id=1|||STD)
  276. 2019-08-05 15:15:52.473760 [DEBUG] switch_channel.c:1306 EXPORT (export_vars) [presence_data]=[x|||Zyra(4727985745)|||^35569.* // Albania Vodafon // 0.22312 // trunk_id=0|||VoipGateway // ^35569.* // Albania Vodafon // 0.02052 // trunk_id=1|||STD]
  277. EXECUTE [depth=0] sofia/default/34540000@billing.voipalbania.com bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/VoipGateway/692078506)
  278. 2019-08-05 15:15:52.473760 [DEBUG] switch_channel.c:1260 sofia/default/34540000@billing.voipalbania.com EXPORTING[export_vars] [presence_data]=[x|||Zyra(4727985745)|||^35569.* // Albania Vodafon // 0.22312 // trunk_id=0|||VoipGateway // ^35569.* // Albania Vodafon // 0.02052 // trunk_id=1|||STD] to event
  279. 2019-08-05 15:15:52.473760 [DEBUG] switch_channel.c:1260 sofia/default/34540000@billing.voipalbania.com EXPORTING[export_vars] [presence_data]=[x|||Zyra(4727985745)|||^35569.* // Albania Vodafon // 0.22312 // trunk_id=0|||VoipGateway // ^35569.* // Albania Vodafon // 0.02052 // trunk_id=1|||STD] to event
  280. 2019-08-05 15:15:52.473760 [DEBUG] switch_ivr_originate.c:2209 Parsing global variables
  281. 2019-08-05 15:15:52.473760 [DEBUG] switch_ivr_originate.c:2754 Parsing session specific variables
  282. 2019-08-05 15:15:52.473760 [NOTICE] switch_channel.c:1114 New Channel sofia/default/692078506 [7951e07f-e073-4ec2-a002-6d10dd25c8f0]
  283. 2019-08-05 15:15:52.473760 [DEBUG] mod_sofia.c:5031 (sofia/default/692078506) State Change CS_NEW -> CS_INIT
  284. 2019-08-05 15:15:52.473760 [DEBUG] switch_ivr_originate.c:3061 sofia/default/692078506 Setting leg timeout to 30
  285. 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:584 (sofia/default/692078506) Running State Change CS_INIT (Cur 4 Tot 17062)
  286. 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:627 (sofia/default/692078506) State INIT
  287. 2019-08-05 15:15:52.473760 [DEBUG] mod_sofia.c:93 sofia/default/692078506 SOFIA INIT
  288. 2019-08-05 15:15:52.473760 [DEBUG] sofia_glue.c:1315 sofia/default/692078506 sending invite version: 1.8.7 -8-6047ebddfc 64bit
  289. Local SDP:
  290. v=0
  291. o=FreeSWITCH 1564986964 1564986965 IN IP4 192.168.0.9
  292. s=FreeSWITCH
  293. c=IN IP4 192.168.0.9
  294. t=0 0
  295. m=audio 23988 RTP/AVP 8 18 0 101
  296. a=rtpmap:8 PCMA/8000
  297. a=rtpmap:18 G729/8000
  298. a=fmtp:18 annexb=no
  299. a=rtpmap:0 PCMU/8000
  300. a=rtpmap:101 telephone-event/8000
  301. a=fmtp:101 0-16
  302. a=ptime:20
  303. a=sendrecv
  304.  
  305. 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:40 sofia/default/692078506 Standard INIT
  306. 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:48 (sofia/default/692078506) State Change CS_INIT -> CS_ROUTING
  307. 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:627 (sofia/default/692078506) State INIT going to sleep
  308. 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:584 (sofia/default/692078506) Running State Change CS_ROUTING (Cur 4 Tot 17062)
  309. 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:643 (sofia/default/692078506) State ROUTING
  310. 2019-08-05 15:15:52.473760 [DEBUG] mod_sofia.c:154 sofia/default/692078506 SOFIA ROUTING
  311. 2019-08-05 15:15:52.473760 [DEBUG] switch_ivr_originate.c:67 (sofia/default/692078506) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  312. 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:643 (sofia/default/692078506) State ROUTING going to sleep
  313. 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:584 (sofia/default/692078506) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 17062)
  314. 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:662 (sofia/default/692078506) State CONSUME_MEDIA
  315. 2019-08-05 15:15:52.473760 [DEBUG] switch_core_state_machine.c:662 (sofia/default/692078506) State CONSUME_MEDIA going to sleep
  316. 2019-08-05 15:15:52.473760 [DEBUG] sofia.c:7323 Channel sofia/default/692078506 entering state [calling][0]
  317. 2019-08-05 15:15:52.493763 [DEBUG] sofia.c:7323 Channel sofia/default/692078506 entering state [completing][200]
  318. 2019-08-05 15:15:52.493763 [DEBUG] sofia.c:7333 Remote SDP:
  319. v=0
  320. o=root 420156173 420156173 IN IP4 192.168.0.15
  321. s=Asterisk PBX 11.11.0
  322. c=IN IP4 192.168.0.15
  323. t=0 0
  324. m=audio 16560 RTP/AVP 18 8 0 101
  325. a=rtpmap:18 G729/8000
  326. a=fmtp:18 annexb=no
  327. a=rtpmap:8 PCMA/8000
  328. a=rtpmap:0 PCMU/8000
  329. a=rtpmap:101 telephone-event/8000
  330. a=fmtp:101 0-16
  331. a=ptime:20
  332.  
  333. 2019-08-05 15:15:52.493763 [NOTICE] sofia.c:7336 Pre-Answer sofia/default/692078506!
  334. 2019-08-05 15:15:52.493763 [DEBUG] switch_channel.c:3526 (sofia/default/692078506) Callstate Change DOWN -> EARLY
  335. 2019-08-05 15:15:52.493763 [DEBUG] sofia.c:7323 Channel sofia/default/692078506 entering state [ready][200]
  336. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  337. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  338. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5566 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  339. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  340. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  341. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5566 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  342. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  343. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  344. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  345. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  346. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  347. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5566 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  348. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5427 Set telephone-event payload to 101@8000
  349. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:3781 Set Codec sofia/default/692078506 G729/8000 20 ms 160 samples 8000 bits 1 channels
  350. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_codec.c:111 sofia/default/692078506 Original read codec set to G729:18
  351. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5770 Set telephone-event payload to 101@8000
  352. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:5828 sofia/default/692078506 Set 2833 dtmf send payload to 101 recv payload to 101
  353. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:8568 AUDIO RTP [sofia/default/692078506] 192.168.0.9 port 23988 -> 192.168.0.15 port 16560 codec: 18 ms: 20
  354. 2019-08-05 15:15:52.493763 [DEBUG] switch_rtp.c:4349 Starting timer [soft] 160 bytes per 20ms
  355. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:8875 sofia/default/692078506 Set 2833 dtmf send payload to 101
  356. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:8882 sofia/default/692078506 Set 2833 dtmf receive payload to 101
  357. 2019-08-05 15:15:52.493763 [DEBUG] switch_core_media.c:8905 sofia/default/692078506 Set rtp dtmf delay to 40
  358. 2019-08-05 15:15:52.493763 [NOTICE] sofia.c:8461 Channel [sofia/default/692078506] has been answered
  359. 2019-08-05 15:15:52.493763 [DEBUG] switch_channel.c:3825 (sofia/default/692078506) Callstate Change EARLY -> ACTIVE
  360. 2019-08-05 15:15:52.513787 [DEBUG] switch_core_media.c:8568 AUDIO RTP [sofia/default/34540000@billing.voipalbania.com] 192.168.0.9 port 21412 -> 117.247.91.162 port 8000 codec: 8 ms: 20
  361. 2019-08-05 15:15:52.513787 [DEBUG] switch_rtp.c:4349 Starting timer [soft] 160 bytes per 20ms
  362. 2019-08-05 15:15:52.513787 [DEBUG] switch_core_media.c:8875 sofia/default/34540000@billing.voipalbania.com Set 2833 dtmf send payload to 101
  363. 2019-08-05 15:15:52.513787 [DEBUG] switch_core_media.c:8882 sofia/default/34540000@billing.voipalbania.com Set 2833 dtmf receive payload to 101
  364. 2019-08-05 15:15:52.513787 [DEBUG] switch_core_media.c:8905 sofia/default/34540000@billing.voipalbania.com Set rtp dtmf delay to 40
  365. 2019-08-05 15:15:52.513787 [DEBUG] mod_sofia.c:893 Local SDP sofia/default/34540000@billing.voipalbania.com:
  366. v=0
  367. o=FreeSWITCH 1564989540 1564989541 IN IP4 77.247.95.9
  368. s=FreeSWITCH
  369. c=IN IP4 77.247.95.9
  370. t=0 0
  371. m=audio 21412 RTP/AVP 8 101
  372. a=rtpmap:8 PCMA/8000
  373. a=rtpmap:101 telephone-event/8000
  374. a=fmtp:101 0-16
  375. a=ptime:20
  376. a=sendrecv
  377.  
  378. 2019-08-05 15:15:52.513787 [NOTICE] switch_ivr_originate.c:3745 Channel [sofia/default/34540000@billing.voipalbania.com] has been answered
  379. 2019-08-05 15:15:52.513787 [DEBUG] switch_channel.c:3825 (sofia/default/34540000@billing.voipalbania.com) Callstate Change RINGING -> ACTIVE
  380. 2019-08-05 15:15:52.513787 [DEBUG] sofia.c:7323 Channel sofia/default/34540000@billing.voipalbania.com entering state [completed][200]
  381. 2019-08-05 15:15:52.513787 [DEBUG] switch_ivr_originate.c:3803 Originate Resulted in Success: [sofia/default/692078506]
  382. 2019-08-05 15:15:52.513787 [DEBUG] switch_ivr_bridge.c:1795 (sofia/default/692078506) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  383. 2019-08-05 15:15:52.513787 [DEBUG] switch_core_state_machine.c:584 (sofia/default/692078506) Running State Change CS_EXCHANGE_MEDIA (Cur 4 Tot 17062)
  384. 2019-08-05 15:15:52.513787 [DEBUG] switch_core_state_machine.c:653 (sofia/default/692078506) State EXCHANGE_MEDIA
  385. 2019-08-05 15:15:52.513787 [DEBUG] mod_sofia.c:657 SOFIA EXCHANGE_MEDIA
  386. 2019-08-05 15:15:52.513787 [NOTICE] switch_channel.c:1114 New Channel sofia/default/12093@77.247.95.9 [36d96c91-ca0a-4d5f-898e-1dd1bbd5f7a2]
  387. 2019-08-05 15:15:52.513787 [DEBUG] switch_core_state_machine.c:584 (sofia/default/12093@77.247.95.9) Running State Change CS_NEW (Cur 5 Tot 17063)
  388. 2019-08-05 15:15:52.513787 [DEBUG] sofia.c:10164 sofia/default/12093@77.247.95.9 receiving invite from 51.83.3.86:56307 version: 1.8.7 -8-6047ebddfc 64bit
  389. 2019-08-05 15:15:52.513787 [DEBUG] sofia.c:10260 verifying acl "default" for ip/port 51.83.3.86:0.
  390. 2019-08-05 15:15:52.513787 [WARNING] sofia_reg.c:1798 SIP auth challenge (INVITE) on sofia profile 'default' for [800441519470705@77.247.95.9] from ip 51.83.3.86
  391. 2019-08-05 15:15:52.513787 [DEBUG] switch_core_state_machine.c:603 (sofia/default/12093@77.247.95.9) State NEW
  392. 2019-08-05 15:15:52.513787 [DEBUG] sofia.c:2413 detaching session 36d96c91-ca0a-4d5f-898e-1dd1bbd5f7a2
  393. 2019-08-05 15:15:52.693858 [DEBUG] switch_ivr_bridge.c:659 sofia/default/692078506 Bridge execute app sched_hangup(+528.46898529939 normal_clearing)
  394. 2019-08-05 15:15:52.713840 [DEBUG] switch_ivr.c:626 sofia/default/692078506 Command Execute [depth=0] sched_hangup(+528.46898529939 normal_clearing)
  395. EXECUTE [depth=0] sofia/default/692078506 sched_hangup(+528.46898529939 normal_clearing)
  396. 2019-08-05 15:15:52.713840 [DEBUG] switch_scheduler.c:249 Added task 6 switch_ivr_schedule_hangup (7951e07f-e073-4ec2-a002-6d10dd25c8f0) to run at 1565011480
  397. 2019-08-05 15:15:52.773834 [DEBUG] sofia.c:7323 Channel sofia/default/34540000@billing.voipalbania.com entering state [ready][200]
  398. 2019-08-05 15:15:52.813855 [DEBUG] switch_rtp.c:7604 Correct audio ip/port confirmed.
  399. 2019-08-05 15:15:52.873822 [DEBUG] switch_rtp.c:7604 Correct audio ip/port confirmed.
  400. 2019-08-05 15:15:55.853928 [WARNING] switch_core_state_machine.c:687 99cb2d6b-e82e-47a0-b9cd-d29bbfa730ea sofia/default/730005@77.247.95.9 Abandoned
  401. 2019-08-05 15:15:55.853928 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/default/730005@77.247.95.9 [CS_NEW] [WRONG_CALL_STATE]
  402. 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:584 (sofia/default/730005@77.247.95.9) Running State Change CS_HANGUP (Cur 5 Tot 17063)
  403. 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:847 (sofia/default/730005@77.247.95.9) Callstate Change DOWN -> HANGUP
  404. 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:849 (sofia/default/730005@77.247.95.9) State HANGUP
  405. 2019-08-05 15:15:55.853928 [DEBUG] mod_sofia.c:460 Channel sofia/default/730005@77.247.95.9 hanging up, cause: WRONG_CALL_STATE
  406. 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:60 sofia/default/730005@77.247.95.9 Standard HANGUP, cause: WRONG_CALL_STATE
  407. 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:849 (sofia/default/730005@77.247.95.9) State HANGUP going to sleep
  408. 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:619 (sofia/default/730005@77.247.95.9) State Change CS_HANGUP -> CS_REPORTING
  409. 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:584 (sofia/default/730005@77.247.95.9) Running State Change CS_REPORTING (Cur 5 Tot 17063)
  410. 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:935 (sofia/default/730005@77.247.95.9) State REPORTING
  411. 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:174 sofia/default/730005@77.247.95.9 Standard REPORTING, cause: WRONG_CALL_STATE
  412. 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:935 (sofia/default/730005@77.247.95.9) State REPORTING going to sleep
  413. 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:610 (sofia/default/730005@77.247.95.9) State Change CS_REPORTING -> CS_DESTROY
  414. 2019-08-05 15:15:55.853928 [DEBUG] switch_core_session.c:1726 Session 17059 (sofia/default/730005@77.247.95.9) Locked, Waiting on external entities
  415. 2019-08-05 15:15:55.853928 [NOTICE] switch_core_session.c:1744 Session 17059 (sofia/default/730005@77.247.95.9) Ended
  416. 2019-08-05 15:15:55.853928 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/730005@77.247.95.9 [CS_DESTROY]
  417. 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:738 (sofia/default/730005@77.247.95.9) Running State Change CS_DESTROY (Cur 4 Tot 17063)
  418. 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:748 (sofia/default/730005@77.247.95.9) State DESTROY
  419. 2019-08-05 15:15:55.853928 [DEBUG] mod_sofia.c:365 sofia/default/730005@77.247.95.9 SOFIA DESTROY
  420. 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:181 sofia/default/730005@77.247.95.9 Standard DESTROY
  421. 2019-08-05 15:15:55.853928 [DEBUG] switch_core_state_machine.c:748 (sofia/default/730005@77.247.95.9) State DESTROY going to sleep
  422. 2019-08-05 15:15:56.653869 [WARNING] switch_core_state_machine.c:687 64afe17c-da39-4e2f-91d8-ebaf634c373c sofia/default/100@77.247.95.9 Abandoned
  423. 2019-08-05 15:15:56.653869 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/default/100@77.247.95.9 [CS_NEW] [WRONG_CALL_STATE]
  424. 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:584 (sofia/default/100@77.247.95.9) Running State Change CS_HANGUP (Cur 4 Tot 17063)
  425. 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:847 (sofia/default/100@77.247.95.9) Callstate Change DOWN -> HANGUP
  426. 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:849 (sofia/default/100@77.247.95.9) State HANGUP
  427. 2019-08-05 15:15:56.653869 [DEBUG] mod_sofia.c:460 Channel sofia/default/100@77.247.95.9 hanging up, cause: WRONG_CALL_STATE
  428. 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:60 sofia/default/100@77.247.95.9 Standard HANGUP, cause: WRONG_CALL_STATE
  429. 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:849 (sofia/default/100@77.247.95.9) State HANGUP going to sleep
  430. 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:619 (sofia/default/100@77.247.95.9) State Change CS_HANGUP -> CS_REPORTING
  431. 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:584 (sofia/default/100@77.247.95.9) Running State Change CS_REPORTING (Cur 4 Tot 17063)
  432. 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:935 (sofia/default/100@77.247.95.9) State REPORTING
  433. 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:174 sofia/default/100@77.247.95.9 Standard REPORTING, cause: WRONG_CALL_STATE
  434. 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:935 (sofia/default/100@77.247.95.9) State REPORTING going to sleep
  435. 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:610 (sofia/default/100@77.247.95.9) State Change CS_REPORTING -> CS_DESTROY
  436. 2019-08-05 15:15:56.653869 [DEBUG] switch_core_session.c:1726 Session 17060 (sofia/default/100@77.247.95.9) Locked, Waiting on external entities
  437. 2019-08-05 15:15:56.653869 [NOTICE] switch_core_session.c:1744 Session 17060 (sofia/default/100@77.247.95.9) Ended
  438. 2019-08-05 15:15:56.653869 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/100@77.247.95.9 [CS_DESTROY]
  439. 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:738 (sofia/default/100@77.247.95.9) Running State Change CS_DESTROY (Cur 3 Tot 17063)
  440. 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:748 (sofia/default/100@77.247.95.9) State DESTROY
  441. 2019-08-05 15:15:56.653869 [DEBUG] mod_sofia.c:365 sofia/default/100@77.247.95.9 SOFIA DESTROY
  442. 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:181 sofia/default/100@77.247.95.9 Standard DESTROY
  443. 2019-08-05 15:15:56.653869 [DEBUG] switch_core_state_machine.c:748 (sofia/default/100@77.247.95.9) State DESTROY going to sleep
  444. 2019-08-05 15:16:02.573877 [WARNING] switch_core_state_machine.c:687 36d96c91-ca0a-4d5f-898e-1dd1bbd5f7a2 sofia/default/12093@77.247.95.9 Abandoned
  445. 2019-08-05 15:16:02.573877 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/default/12093@77.247.95.9 [CS_NEW] [WRONG_CALL_STATE]
  446. 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:584 (sofia/default/12093@77.247.95.9) Running State Change CS_HANGUP (Cur 3 Tot 17063)
  447. 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:847 (sofia/default/12093@77.247.95.9) Callstate Change DOWN -> HANGUP
  448. 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:849 (sofia/default/12093@77.247.95.9) State HANGUP
  449. 2019-08-05 15:16:02.573877 [DEBUG] mod_sofia.c:460 Channel sofia/default/12093@77.247.95.9 hanging up, cause: WRONG_CALL_STATE
  450. 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:60 sofia/default/12093@77.247.95.9 Standard HANGUP, cause: WRONG_CALL_STATE
  451. 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:849 (sofia/default/12093@77.247.95.9) State HANGUP going to sleep
  452. 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:619 (sofia/default/12093@77.247.95.9) State Change CS_HANGUP -> CS_REPORTING
  453. 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:584 (sofia/default/12093@77.247.95.9) Running State Change CS_REPORTING (Cur 3 Tot 17063)
  454. 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:935 (sofia/default/12093@77.247.95.9) State REPORTING
  455. 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:174 sofia/default/12093@77.247.95.9 Standard REPORTING, cause: WRONG_CALL_STATE
  456. 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:935 (sofia/default/12093@77.247.95.9) State REPORTING going to sleep
  457. 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:610 (sofia/default/12093@77.247.95.9) State Change CS_REPORTING -> CS_DESTROY
  458. 2019-08-05 15:16:02.573877 [DEBUG] switch_core_session.c:1726 Session 17063 (sofia/default/12093@77.247.95.9) Locked, Waiting on external entities
  459. 2019-08-05 15:16:02.573877 [NOTICE] switch_core_session.c:1744 Session 17063 (sofia/default/12093@77.247.95.9) Ended
  460. 2019-08-05 15:16:02.573877 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/12093@77.247.95.9 [CS_DESTROY]
  461. 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:738 (sofia/default/12093@77.247.95.9) Running State Change CS_DESTROY (Cur 2 Tot 17063)
  462. 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:748 (sofia/default/12093@77.247.95.9) State DESTROY
  463. 2019-08-05 15:16:02.573877 [DEBUG] mod_sofia.c:365 sofia/default/12093@77.247.95.9 SOFIA DESTROY
  464. 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:181 sofia/default/12093@77.247.95.9 Standard DESTROY
  465. 2019-08-05 15:16:02.573877 [DEBUG] switch_core_state_machine.c:748 (sofia/default/12093@77.247.95.9) State DESTROY going to sleep
  466. 2019-08-05 15:16:03.433883 [NOTICE] switch_channel.c:1114 New Channel sofia/default/922@77.247.95.9 [9fc0f2b1-0aad-47df-8d3a-488c8f33ca24]
  467. 2019-08-05 15:16:03.433883 [DEBUG] switch_core_state_machine.c:584 (sofia/default/922@77.247.95.9) Running State Change CS_NEW (Cur 3 Tot 17064)
  468. 2019-08-05 15:16:03.433883 [DEBUG] sofia.c:10164 sofia/default/922@77.247.95.9 receiving invite from 62.210.91.74:59158 version: 1.8.7 -8-6047ebddfc 64bit
  469. 2019-08-05 15:16:03.433883 [DEBUG] sofia.c:10260 verifying acl "default" for ip/port 62.210.91.74:0.
  470. 2019-08-05 15:16:03.433883 [WARNING] sofia_reg.c:1798 SIP auth challenge (INVITE) on sofia profile 'default' for [00441904911322@77.247.95.9] from ip 62.210.91.74
  471. 2019-08-05 15:16:03.433883 [DEBUG] switch_core_state_machine.c:603 (sofia/default/922@77.247.95.9) State NEW
  472. 2019-08-05 15:16:03.433883 [DEBUG] sofia.c:2413 detaching session 9fc0f2b1-0aad-47df-8d3a-488c8f33ca24
  473. 2019-08-05 15:16:04.953816 [NOTICE] sofia.c:1079 Hangup sofia/default/692078506 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  474. 2019-08-05 15:16:04.953816 [DEBUG] switch_ivr_bridge.c:917 BRIDGE THREAD DONE [sofia/default/692078506]
  475. 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:653 (sofia/default/692078506) State EXCHANGE_MEDIA going to sleep
  476. 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:584 (sofia/default/692078506) Running State Change CS_HANGUP (Cur 3 Tot 17064)
  477. 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:847 (sofia/default/692078506) Callstate Change ACTIVE -> HANGUP
  478. 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:849 (sofia/default/692078506) State HANGUP
  479. 2019-08-05 15:16:04.953816 [DEBUG] mod_sofia.c:460 Channel sofia/default/692078506 hanging up, cause: NORMAL_CLEARING
  480. 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:60 sofia/default/692078506 Standard HANGUP, cause: NORMAL_CLEARING
  481. 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:849 (sofia/default/692078506) State HANGUP going to sleep
  482. 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:619 (sofia/default/692078506) State Change CS_HANGUP -> CS_REPORTING
  483. 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:584 (sofia/default/692078506) Running State Change CS_REPORTING (Cur 3 Tot 17064)
  484. 2019-08-05 15:16:04.953816 [DEBUG] switch_core_state_machine.c:935 (sofia/default/692078506) State REPORTING
  485. 2019-08-05 15:16:04.953816 [INFO] mod_json_cdr.c:271 Process [7951e07f-e073-4ec2-a002-6d10dd25c8f0.cdr.json]
  486. 2019-08-05 15:16:04.973848 [DEBUG] switch_ivr_bridge.c:825 sofia/default/692078506 ending bridge by request from write function
  487. 2019-08-05 15:16:04.973848 [DEBUG] switch_ivr_bridge.c:917 BRIDGE THREAD DONE [sofia/default/34540000@billing.voipalbania.com]
  488. 2019-08-05 15:16:04.973848 [DEBUG] switch_ivr_bridge.c:1894 sofia/default/692078506 skip receive message [UNBRIDGE] (channel is hungup already)
  489. 2019-08-05 15:16:04.973848 [NOTICE] switch_ivr_bridge.c:1946 Hangup sofia/default/34540000@billing.voipalbania.com [CS_EXECUTE] [NORMAL_CLEARING]
  490. 2019-08-05 15:16:04.973848 [DEBUG] switch_core_session.c:2905 sofia/default/34540000@billing.voipalbania.com skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  491. 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:650 (sofia/default/34540000@billing.voipalbania.com) State EXECUTE going to sleep
  492. 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:584 (sofia/default/34540000@billing.voipalbania.com) Running State Change CS_HANGUP (Cur 3 Tot 17064)
  493. 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:847 (sofia/default/34540000@billing.voipalbania.com) Callstate Change ACTIVE -> HANGUP
  494. 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:849 (sofia/default/34540000@billing.voipalbania.com) State HANGUP
  495. 2019-08-05 15:16:04.973848 [DEBUG] mod_sofia.c:454 sofia/default/34540000@billing.voipalbania.com Overriding SIP cause 480 with 200 from the other leg
  496. 2019-08-05 15:16:04.973848 [DEBUG] mod_sofia.c:460 Channel sofia/default/34540000@billing.voipalbania.com hanging up, cause: NORMAL_CLEARING
  497. 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:174 sofia/default/692078506 Standard REPORTING, cause: NORMAL_CLEARING
  498. 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:935 (sofia/default/692078506) State REPORTING going to sleep
  499. 2019-08-05 15:16:04.973848 [DEBUG] mod_sofia.c:513 Sending BYE to sofia/default/34540000@billing.voipalbania.com
  500. 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:60 sofia/default/34540000@billing.voipalbania.com Standard HANGUP, cause: NORMAL_CLEARING
  501. 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:849 (sofia/default/34540000@billing.voipalbania.com) State HANGUP going to sleep
  502. 2019-08-05 15:16:04.973848 [DEBUG] switch_core_state_machine.c:619 (sofia/default/34540000@billing.voipalbania.com) State Change CS_HANGUP -> CS_REPORTING