From PRASHANT KUMAR, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@gibfibre>
  2. freeswitch@gibfibre>
  3. 2021-07-24 13:12:25.712304 [NOTICE] switch_channel.c:1118 New Channel sofia/default/9101484389@entdemo.astppbilling.org:5077 [afcb6577-cec7-4531-a0a2-c128fab9defd]
  4. 2021-07-24 13:12:25.712304 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9101484389@entdemo.astppbilling.org:5077) Running State Change CS_NEW (Cur 1 Tot 15304)
  5. 2021-07-24 13:12:25.712304 [DEBUG] sofia.c:10280 sofia/default/9101484389@entdemo.astppbilling.org:5077 receiving invite from 43.250.157.191:16989 version: 1.10.5 -release-17-25569c1631 64bit
  6. 2021-07-24 13:12:25.712304 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 43.250.157.191:0.
  7. 2021-07-24 13:12:25.712304 [DEBUG] sofia.c:2434 detaching session afcb6577-cec7-4531-a0a2-c128fab9defd
  8. 2021-07-24 13:12:25.712304 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [8101122@entdemo.astppbilling.org] from ip 43.250.157.191
  9. 2021-07-24 13:12:25.712304 [DEBUG] switch_core_state_machine.c:604 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State NEW
  10. 2021-07-24 13:12:26.092309 [DEBUG] sofia.c:2544 Re-attaching to session afcb6577-cec7-4531-a0a2-c128fab9defd
  11. 2021-07-24 13:12:26.112298 [DEBUG] sofia.c:10280 sofia/default/9101484389@entdemo.astppbilling.org:5077 receiving invite from 43.250.157.191:16989 version: 1.10.5 -release-17-25569c1631 64bit
  12. 2021-07-24 13:12:26.112298 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 43.250.157.191:0.
  13. 2021-07-24 13:12:26.112298 [DEBUG] sofia.c:11477 Setting NAT mode based on via received
  14. 2021-07-24 13:12:26.112298 [DEBUG] sofia.c:7326 Channel sofia/default/9101484389@entdemo.astppbilling.org:5077 entering state [received][100]
  15. 2021-07-24 13:12:26.112298 [DEBUG] sofia.c:7336 Remote SDP:
  16. v=0
  17. o=Zoiper 1627132345433 1 IN IP4 43.250.157.191
  18. s=Z
  19. c=IN IP4 43.250.157.191
  20. t=0 0
  21. m=audio 15660 RTP/AVP 0 101 8 3
  22. a=rtpmap:101 telephone-event/8000
  23. a=fmtp:101 0-16
  24.  
  25. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  26. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  27. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  28. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  29. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  30. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  31. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  32. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  33. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  34. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/9101484389@entdemo.astppbilling.org:5077 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  35. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_codec.c:111 sofia/default/9101484389@entdemo.astppbilling.org:5077 Original read codec set to PCMU:0
  36. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  37. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_media.c:5911 sofia/default/9101484389@entdemo.astppbilling.org:5077 Set 2833 dtmf send payload to 101 recv payload to 101
  38. 2021-07-24 13:12:26.112298 [DEBUG] sofia.c:7760 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State Change CS_NEW -> CS_INIT
  39. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9101484389@entdemo.astppbilling.org:5077) Running State Change CS_INIT (Cur 1 Tot 15304)
  40. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_state_machine.c:628 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State INIT
  41. 2021-07-24 13:12:26.112298 [DEBUG] mod_sofia.c:93 sofia/default/9101484389@entdemo.astppbilling.org:5077 SOFIA INIT
  42. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_state_machine.c:40 sofia/default/9101484389@entdemo.astppbilling.org:5077 Standard INIT
  43. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_state_machine.c:48 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State Change CS_INIT -> CS_ROUTING
  44. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_state_machine.c:628 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State INIT going to sleep
  45. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9101484389@entdemo.astppbilling.org:5077) Running State Change CS_ROUTING (Cur 1 Tot 15304)
  46. 2021-07-24 13:12:26.112298 [DEBUG] switch_channel.c:2332 (sofia/default/9101484389@entdemo.astppbilling.org:5077) Callstate Change DOWN -> RINGING
  47. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_state_machine.c:644 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State ROUTING
  48. 2021-07-24 13:12:26.112298 [DEBUG] mod_sofia.c:154 sofia/default/9101484389@entdemo.astppbilling.org:5077 SOFIA ROUTING
  49. 2021-07-24 13:12:26.112298 [DEBUG] switch_core_state_machine.c:236 sofia/default/9101484389@entdemo.astppbilling.org:5077 Standard ROUTING
  50. 2021-07-24 13:12:26.112298 [INFO] mod_dialplan_xml.c:637 Processing 9101484389 <9101484389>->8101122 in context default
  51. 2021-07-24 13:12:26.132270 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  52. 2021-07-24 13:12:26.132270 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  53. 2021-07-24 13:12:26.132270 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 8101122
  54. 2021-07-24 13:12:26.132270 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '8101122' AND status=0 limit 1
  55. 2021-07-24 13:12:26.132270 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
  56. 2021-07-24 13:12:26.132270 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 9101484389 / 9101484389
  57. 2021-07-24 13:12:26.132270 [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 ="8101122" LIMIT 1
  58. 2021-07-24 13:12:26.132270 [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="8101122" limit 1
  59. 2021-07-24 13:12:26.152273 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  60. 2021-07-24 13:12:26.152273 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 5144668937]
  61. 2021-07-24 13:12:26.152273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "5144668937" AND deleted = 0 limit 1
  62. 2021-07-24 13:12:26.152273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^8101122.*' OR blocked_patterns = '^810112.*' OR blocked_patterns = '^81011.*' OR blocked_patterns = '^8101.*' OR blocked_patterns = '^810.*' OR blocked_patterns = '^81.*' OR blocked_patterns = '^8.*' OR blocked_patterns ='--') AND accountid = 10 limit 1
  63. 2021-07-24 13:12:26.152273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="8101122" AND (accountid = 0 OR status = 1) LIMIT 1
  64. 2021-07-24 13:12:26.152273 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
  65. 2021-07-24 13:12:26.152273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  66. 2021-07-24 13:12:26.152273 [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 = '^8101122.*' OR patterns = '^810112.*' OR patterns = '^81011.*' OR patterns = '^8101.*' OR patterns = '^810.*' OR patterns = '^81.*' OR patterns = '^8.*' OR patterns ='--') AND accountid = 10 ORDER BY LENGTH(PKGPTR.patterns) DESC
  67. 2021-07-24 13:12:26.172274 [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 ="8101122" AND A.accountid = '10' limit 1
  68. 2021-07-24 13:12:26.172274 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 8101122
  69. 2021-07-24 13:12:26.172274 [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 ="8101122" LIMIT 1
  70. 2021-07-24 13:12:26.172274 [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="8101122" limit 1
  71. 2021-07-24 13:12:26.172274 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
  72. 2021-07-24 13:12:26.172274 [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 = '8101122' OR number = '810112' OR number = '81011' OR number = '8101' OR number = '810' OR number = '81' OR number = '8' OR number ='--') OR (number = '8101122*' OR number = '810112*' OR number = '81011*' OR number = '8101*' OR number = '810*' OR number = '81*' OR number = '8*' OR number ='--') OR (number = '9101484389' OR number = '910148438' OR number = '91014843' OR number = '9101484' OR number = '910148' OR number = '91014' OR number = '9101' OR number = '910' OR number = '91' OR number = '9' OR number ='--') OR (number = '9101484389*' OR number = '910148438*' OR number = '91014843*' OR number = '9101484*' OR number = '910148*' OR number = '91014*' OR number = '9101*' OR number = '910*' OR number = '91*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  73. 2021-07-24 13:12:26.192278 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  74. 2021-07-24 13:12:26.192278 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '8101122' OR routing_prefix = '810112' OR routing_prefix = '81011' OR routing_prefix = '8101' OR routing_prefix = '810' OR routing_prefix = '81' OR routing_prefix = '8' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  75. 2021-07-24 13:12:26.192278 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [PORTED_NUMBER] Get Destination Number (8101122)!!!!
  76. 2021-07-24 13:12:26.192278 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (8101122)!!!!
  77. 2021-07-24 13:12:26.192278 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  78. 2021-07-24 13:12:26.192278 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 10
  79. 2021-07-24 13:12:26.192278 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 5144668937
  80. 2021-07-24 13:12:26.192278 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 9101.2773
  81. 2021-07-24 13:12:26.192278 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  82. 2021-07-24 13:12:26.192278 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 10
  83. 2021-07-24 13:12:26.192278 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  84. 2021-07-24 13:12:26.192278 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  85. 2021-07-24 13:12:26.192278 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8320/9977".....9101484389
  86. 2021-07-24 13:12:26.192278 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8320/9977".....9101484389
  87. 2021-07-24 13:12:26.192278 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8320/9977".....9101484389
  88. 2021-07-24 13:12:26.192278 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8320/9977".....9101484389
  89. 2021-07-24 13:12:26.192278 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  90. 2021-07-24 13:12:26.192278 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  91. 2021-07-24 13:12:26.192278 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  92. 2021-07-24 13:12:26.192278 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^8101122.*' OR pattern = '^810112.*' OR pattern = '^81011.*' OR pattern = '^8101.*' OR pattern = '^810.*' OR pattern = '^81.*' OR pattern = '^8.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 10 OR accountid=10)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  93. 2021-07-24 13:12:26.212274 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  94. 2021-07-24 13:12:26.212274 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  95. 2021-07-24 13:12:26.212274 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 32
  96. 2021-07-24 13:12:26.212274 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  97. 2021-07-24 13:12:26.212274 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  98. 2021-07-24 13:12:26.212274 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 5.00000
  99. 2021-07-24 13:12:26.212274 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : QATestPenServer
  100. 2021-07-24 13:12:26.212274 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 159
  101. 2021-07-24 13:12:26.212274 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 10
  102. 2021-07-24 13:12:26.212274 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID:
  103. 2021-07-24 13:12:26.212274 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  104. 2021-07-24 13:12:26.212274 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  105. 2021-07-24 13:12:26.212274 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your9101.2773 balance Accountid 10 !!!
  106. 2021-07-24 13:12:26.212274 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  107. 2021-07-24 13:12:26.212274 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
  108. 2021-07-24 13:12:26.212274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :
  109. 2021-07-24 13:12:26.212274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=10 ORDER by id asc
  110. 2021-07-24 13:12:26.212274 [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 = '^8101122.*' OR pattern = '^810112.*' OR pattern = '^81011.*' OR pattern = '^8101.*' OR pattern = '^810.*' OR pattern = '^81.*' OR pattern = '^8.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1,4,5,6,7) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  111. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
  112. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 23
  113. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^81.*
  114. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : QATestPenServer
  115. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  116. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
  117. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^81.*
  118. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
  119. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
  120. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 7
  121. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : qatest1Pen
  122. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
  123. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway :
  124. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 3
  125. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
  126. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : QaTest1PEN
  127. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
  128. 2021-07-24 13:12:26.232270 [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 = 10 AND status=0 LIMIT 1
  129. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP]  Maxlength : 100
  130. 2021-07-24 13:12:26.232270 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  131. 2021-07-24 13:12:26.232270 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
  132. 2021-07-24 13:12:26.232270 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  133. 2021-07-24 13:12:26.232270 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 7) AND status=0 limit 1
  134. 2021-07-24 13:12:26.252274 [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
  135. 2021-07-24 13:12:26.252274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8866/5533".....9101484389
  136. 2021-07-24 13:12:26.252274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8866/5533".....9101484389
  137. 2021-07-24 13:12:26.252274 [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 ="8101122" LIMIT 1
  138. 2021-07-24 13:12:26.252274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
  139. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  140. <document type="freeswitch/xml">
  141. <section name="dialplan" description="ASTPP Dialplan">
  142. <context name="default">
  143. <extension name="8101122">
  144. <condition field="destination_number" expression="8101122">
  145. <action application="set" data="effective_destination_number=8101122"/>
  146. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  147. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  148. <action application="set" data="callstart=2021-07-24 13:12:26"/>
  149. <action application="set" data="hangup_after_bridge=true"/>
  150. <action application="set" data="continue_on_fail=TRUE"/>
  151. <action application="set" data="account_id=10"/>
  152. <action application="set" data="parent_id=0"/>
  153. <action application="set" data="entity_id=0"/>
  154. <action application="set" data="call_processed=internal"/>
  155. <action application="set" data="call_direction=outbound"/>
  156. <action application="set" data="accountname=default"/>
  157. <action application="set" data="filename1=astpp.pbx.lua"/>
  158. <action application="set" data="origination_rates=ID:32|CODE:^81.*|DESTINATION:QATestPenServer|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:5.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:159|ACCID:10"/>
  159. <action application="set" data="original_caller_id_name=9101484389"/>
  160. <action application="set" data="original_caller_id_number=9101484389"/>
  161. <action application="limit" data="db 5144668937 user_5144668937 6 "/>
  162.  
  163. <action application="set" data="effective_caller_id_name=9101484389"/>
  164. <action application="set" data="effective_caller_id_number=9101484389"/>
  165. <action application="set" data="calltype=STANDARD"/>
  166. <action application="set" data="termination_rates=ID:23|CODE:^81.*|DESTINATION:QATestPenServer|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:2.00000|INC:0|INITIALBLOCK:0|TRUNK:7|PROVIDER:3"/>
  167. <action application="set" data="trunk_id=7"/>
  168. <action application="set" data="provider_id=3"/>
  169. <action application="set" data="rate_flag=0"/>
  170. <action application="set" data="force_trunk_flag=0"/>
  171. <action application="export" data="presence_data=trunk_id=7"/>
  172. <action application="set" data="intcall=0"/>
  173. <action application="export" data="presence_id=8101122"/>
  174. <action application="export" data="presence_data=x|||Pk(5144668937)|||^81.* // QATestPenServer // 5.00000 |||QaTest1PEN // ^81.* // QATestPenServer // 2.00000 // trunk_id=7|||STD|||43.250.157.191"/>
  175. <action application="bridge" data="[leg_timeout=0]sofia/gateway/qatest1Pen/8101122"/>
  176. </condition>
  177. </extension>
  178. </context>
  179. </section>
  180. </document>
  181. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 parsing [default->8101122] continue=false
  182. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Regex (PASS) [8101122] destination_number(8101122) =~ /8101122/ break=on-false
  183. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(effective_destination_number=8101122)
  184. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  185. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  186. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(callstart=2021-07-24 13:12:26)
  187. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(hangup_after_bridge=true)
  188. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(continue_on_fail=TRUE)
  189. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(account_id=10)
  190. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(parent_id=0)
  191. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(entity_id=0)
  192. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(call_processed=internal)
  193. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(call_direction=outbound)
  194. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(accountname=default)
  195. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(filename1=astpp.pbx.lua)
  196. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(origination_rates=ID:32|CODE:^81.*|DESTINATION:QATestPenServer|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:5.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:159|ACCID:10)
  197. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(original_caller_id_name=9101484389)
  198. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(original_caller_id_number=9101484389)
  199. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action limit(db 5144668937 user_5144668937 6 )
  200. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(effective_caller_id_name=9101484389)
  201. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(effective_caller_id_number=9101484389)
  202. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(calltype=STANDARD)
  203. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(termination_rates=ID:23|CODE:^81.*|DESTINATION:QATestPenServer|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:2.00000|INC:0|INITIALBLOCK:0|TRUNK:7|PROVIDER:3)
  204. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(trunk_id=7)
  205. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(provider_id=3)
  206. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(rate_flag=0)
  207. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(force_trunk_flag=0)
  208. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action export(presence_data=trunk_id=7)
  209. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action set(intcall=0)
  210. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action export(presence_id=8101122)
  211. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action export(presence_data=x|||Pk(5144668937)|||^81.* // QATestPenServer // 5.00000 |||QaTest1PEN // ^81.* // QATestPenServer // 2.00000 // trunk_id=7|||STD|||43.250.157.191)
  212. Dialplan: sofia/default/9101484389@entdemo.astppbilling.org:5077 Action bridge([leg_timeout=0]sofia/gateway/qatest1Pen/8101122)
  213. 2021-07-24 13:12:26.252274 [DEBUG] switch_core_state_machine.c:287 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State Change CS_ROUTING -> CS_EXECUTE
  214. 2021-07-24 13:12:26.252274 [DEBUG] switch_core_state_machine.c:644 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State ROUTING going to sleep
  215. 2021-07-24 13:12:26.252274 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9101484389@entdemo.astppbilling.org:5077) Running State Change CS_EXECUTE (Cur 1 Tot 15304)
  216. 2021-07-24 13:12:26.252274 [DEBUG] switch_core_state_machine.c:651 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State EXECUTE
  217. 2021-07-24 13:12:26.252274 [DEBUG] mod_sofia.c:209 sofia/default/9101484389@entdemo.astppbilling.org:5077 SOFIA EXECUTE
  218. 2021-07-24 13:12:26.252274 [DEBUG] switch_core_state_machine.c:329 sofia/default/9101484389@entdemo.astppbilling.org:5077 Standard EXECUTE
  219. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(effective_destination_number=8101122)
  220. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [effective_destination_number]=[8101122]
  221. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(bridge_pre_execute_bleg_app=sched_hangup)
  222. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [bridge_pre_execute_bleg_app]=[sched_hangup]
  223. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  224. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  225. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(callstart=2021-07-24 13:12:26)
  226. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [callstart]=[2021-07-24 13:12:26]
  227. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(hangup_after_bridge=true)
  228. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [hangup_after_bridge]=[true]
  229. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(continue_on_fail=TRUE)
  230. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [continue_on_fail]=[TRUE]
  231. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(account_id=10)
  232. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [account_id]=[10]
  233. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(parent_id=0)
  234. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [parent_id]=[0]
  235. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(entity_id=0)
  236. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [entity_id]=[0]
  237. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(call_processed=internal)
  238. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [call_processed]=[internal]
  239. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(call_direction=outbound)
  240. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [call_direction]=[outbound]
  241. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(accountname=default)
  242. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [accountname]=[default]
  243. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(filename1=astpp.pbx.lua)
  244. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [filename1]=[astpp.pbx.lua]
  245. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(origination_rates=ID:32|CODE:^81.*|DESTINATION:QATestPenServer|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:5.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:159|ACCID:10)
  246. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [origination_rates]=[ID:32|CODE:^81.*|DESTINATION:QATestPenServer|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:5.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:159|ACCID:10]
  247. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(original_caller_id_name=9101484389)
  248. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [original_caller_id_name]=[9101484389]
  249. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(original_caller_id_number=9101484389)
  250. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [original_caller_id_number]=[9101484389]
  251. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 limit(db 5144668937 user_5144668937 6 )
  252. 2021-07-24 13:12:26.252274 [DEBUG] switch_limit.c:124 incr called: 5144668937_user_5144668937 max:6, interval:0
  253. 2021-07-24 13:12:26.252274 [DEBUG] mod_db.c:194 Usage for 5144668937_user_5144668937 is now 1/6
  254. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(effective_caller_id_name=9101484389)
  255. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [effective_caller_id_name]=[9101484389]
  256. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(effective_caller_id_number=9101484389)
  257. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [effective_caller_id_number]=[9101484389]
  258. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(calltype=STANDARD)
  259. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [calltype]=[STANDARD]
  260. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(termination_rates=ID:23|CODE:^81.*|DESTINATION:QATestPenServer|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:2.00000|INC:0|INITIALBLOCK:0|TRUNK:7|PROVIDER:3)
  261. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [termination_rates]=[ID:23|CODE:^81.*|DESTINATION:QATestPenServer|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:2.00000|INC:0|INITIALBLOCK:0|TRUNK:7|PROVIDER:3]
  262. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(trunk_id=7)
  263. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [trunk_id]=[7]
  264. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(provider_id=3)
  265. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [provider_id]=[3]
  266. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(rate_flag=0)
  267. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [rate_flag]=[0]
  268. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(force_trunk_flag=0)
  269. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [force_trunk_flag]=[0]
  270. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 export(presence_data=trunk_id=7)
  271. 2021-07-24 13:12:26.252274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=7]
  272. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 set(intcall=0)
  273. 2021-07-24 13:12:26.252274 [DEBUG] mod_dptools.c:1672 SET sofia/default/9101484389@entdemo.astppbilling.org:5077 [intcall]=[0]
  274. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 export(presence_id=8101122)
  275. 2021-07-24 13:12:26.252274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[8101122]
  276. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 export(presence_data=x|||Pk(5144668937)|||^81.* // QATestPenServer // 5.00000 |||QaTest1PEN // ^81.* // QATestPenServer // 2.00000 // trunk_id=7|||STD|||43.250.157.191)
  277. 2021-07-24 13:12:26.252274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Pk(5144668937)|||^81.* // QATestPenServer // 5.00000 |||QaTest1PEN // ^81.* // QATestPenServer // 2.00000 // trunk_id=7|||STD|||43.250.157.191]
  278. EXECUTE [depth=0] sofia/default/9101484389@entdemo.astppbilling.org:5077 bridge([leg_timeout=0]sofia/gateway/qatest1Pen/8101122)
  279. 2021-07-24 13:12:26.252274 [DEBUG] switch_channel.c:1264 sofia/default/9101484389@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [presence_data]=[x|||Pk(5144668937)|||^81.* // QATestPenServer // 5.00000 |||QaTest1PEN // ^81.* // QATestPenServer // 2.00000 // trunk_id=7|||STD|||43.250.157.191] to event
  280. 2021-07-24 13:12:26.252274 [DEBUG] switch_channel.c:1264 sofia/default/9101484389@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [presence_id]=[8101122] to event
  281. 2021-07-24 13:12:26.252274 [DEBUG] switch_channel.c:1264 sofia/default/9101484389@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [presence_data]=[x|||Pk(5144668937)|||^81.* // QATestPenServer // 5.00000 |||QaTest1PEN // ^81.* // QATestPenServer // 2.00000 // trunk_id=7|||STD|||43.250.157.191] to event
  282. 2021-07-24 13:12:26.252274 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  283. 2021-07-24 13:12:26.252274 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  284. 2021-07-24 13:12:26.252274 [NOTICE] switch_channel.c:1118 New Channel sofia/default/8101122 [39877caa-1c46-497b-b798-622547d68aa2]
  285. 2021-07-24 13:12:26.252274 [DEBUG] mod_sofia.c:5089 (sofia/default/8101122) State Change CS_NEW -> CS_INIT
  286. 2021-07-24 13:12:26.252274 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8101122) Running State Change CS_INIT (Cur 2 Tot 15305)
  287. 2021-07-24 13:12:26.252274 [DEBUG] switch_core_state_machine.c:628 (sofia/default/8101122) State INIT
  288. 2021-07-24 13:12:26.252274 [DEBUG] mod_sofia.c:93 sofia/default/8101122 SOFIA INIT
  289. 2021-07-24 13:12:26.252274 [DEBUG] sofia_glue.c:1618 sofia/default/8101122 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  290. Local SDP:
  291. v=0
  292. o=FreeSWITCH 1627106274 1627106275 IN IP4 46.101.114.158
  293. s=FreeSWITCH
  294. c=IN IP4 46.101.114.158
  295. t=0 0
  296. m=audio 26072 RTP/AVP 0 101
  297. a=rtpmap:0 PCMU/8000
  298. a=rtpmap:101 telephone-event/8000
  299. a=fmtp:101 0-16
  300. a=ptime:20
  301. a=sendrecv
  302.  
  303. 2021-07-24 13:12:26.252274 [DEBUG] switch_core_state_machine.c:40 sofia/default/8101122 Standard INIT
  304. 2021-07-24 13:12:26.252274 [DEBUG] switch_core_state_machine.c:48 (sofia/default/8101122) State Change CS_INIT -> CS_ROUTING
  305. 2021-07-24 13:12:26.252274 [DEBUG] switch_core_state_machine.c:628 (sofia/default/8101122) State INIT going to sleep
  306. 2021-07-24 13:12:26.252274 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8101122) Running State Change CS_ROUTING (Cur 2 Tot 15305)
  307. 2021-07-24 13:12:26.252274 [DEBUG] sofia.c:7326 Channel sofia/default/8101122 entering state [calling][0]
  308. 2021-07-24 13:12:26.252274 [DEBUG] switch_core_state_machine.c:644 (sofia/default/8101122) State ROUTING
  309. 2021-07-24 13:12:26.252274 [DEBUG] mod_sofia.c:154 sofia/default/8101122 SOFIA ROUTING
  310. 2021-07-24 13:12:26.252274 [DEBUG] switch_ivr_originate.c:67 (sofia/default/8101122) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  311. 2021-07-24 13:12:26.252274 [DEBUG] switch_core_state_machine.c:644 (sofia/default/8101122) State ROUTING going to sleep
  312. 2021-07-24 13:12:26.252274 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8101122) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 15305)
  313. 2021-07-24 13:12:26.252274 [DEBUG] switch_core_state_machine.c:663 (sofia/default/8101122) State CONSUME_MEDIA
  314. 2021-07-24 13:12:26.252274 [DEBUG] switch_core_state_machine.c:663 (sofia/default/8101122) State CONSUME_MEDIA going to sleep
  315. 2021-07-24 13:12:26.972274 [DEBUG] sofia.c:7326 Channel sofia/default/8101122 entering state [completing][200]
  316. 2021-07-24 13:12:26.972274 [DEBUG] sofia.c:7336 Remote SDP:
  317. v=0
  318. o=FreeSWITCH 1627108441 1627108442 IN IP4 172.31.47.173
  319. s=FreeSWITCH
  320. c=IN IP4 172.31.47.173
  321. t=0 0
  322. m=audio 23906 RTP/AVP 0 101
  323. a=rtpmap:0 PCMU/8000
  324. a=rtpmap:101 telephone-event/8000
  325. a=fmtp:101 0-16
  326. a=ptime:20
  327.  
  328. 2021-07-24 13:12:26.972274 [DEBUG] sofia.c:7326 Channel sofia/default/8101122 entering state [ready][200]
  329. 2021-07-24 13:12:26.972274 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  330. 2021-07-24 13:12:26.972274 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  331. 2021-07-24 13:12:26.972274 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  332. 2021-07-24 13:12:26.972274 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/8101122 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  333. 2021-07-24 13:12:26.972274 [DEBUG] switch_core_codec.c:111 sofia/default/8101122 Original read codec set to PCMU:0
  334. 2021-07-24 13:12:26.972274 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  335. 2021-07-24 13:12:26.972274 [DEBUG] switch_core_media.c:5911 sofia/default/8101122 Set 2833 dtmf send payload to 101 recv payload to 101
  336. 2021-07-24 13:12:26.972274 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/8101122] 46.101.114.158 port 26072 -> 172.31.47.173 port 23906 codec: 0 ms: 20
  337. 2021-07-24 13:12:26.972274 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  338. 2021-07-24 13:12:26.972274 [DEBUG] switch_core_media.c:8977 sofia/default/8101122 Set 2833 dtmf send payload to 101
  339. 2021-07-24 13:12:26.972274 [DEBUG] switch_core_media.c:8984 sofia/default/8101122 Set 2833 dtmf receive payload to 101
  340. 2021-07-24 13:12:26.972274 [DEBUG] switch_core_media.c:9007 sofia/default/8101122 Set rtp dtmf delay to 40
  341. 2021-07-24 13:12:26.972274 [NOTICE] sofia.c:8504 Channel [sofia/default/8101122] has been answered
  342. 2021-07-24 13:12:26.972274 [DEBUG] switch_channel.c:3865 (sofia/default/8101122) Callstate Change DOWN -> ACTIVE
  343. 2021-07-24 13:12:26.992265 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/9101484389@entdemo.astppbilling.org:5077] 46.101.114.158 port 19986 -> 43.250.157.191 port 15660 codec: 0 ms: 20
  344. 2021-07-24 13:12:26.992265 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  345. 2021-07-24 13:12:26.992265 [DEBUG] switch_core_media.c:8977 sofia/default/9101484389@entdemo.astppbilling.org:5077 Set 2833 dtmf send payload to 101
  346. 2021-07-24 13:12:26.992265 [DEBUG] switch_core_media.c:8984 sofia/default/9101484389@entdemo.astppbilling.org:5077 Set 2833 dtmf receive payload to 101
  347. 2021-07-24 13:12:26.992265 [DEBUG] switch_core_media.c:9007 sofia/default/9101484389@entdemo.astppbilling.org:5077 Set rtp dtmf delay to 40
  348. 2021-07-24 13:12:26.992265 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/9101484389@entdemo.astppbilling.org:5077:
  349. v=0
  350. o=FreeSWITCH 1627112360 1627112361 IN IP4 46.101.114.158
  351. s=FreeSWITCH
  352. c=IN IP4 46.101.114.158
  353. t=0 0
  354. m=audio 19986 RTP/AVP 0 101
  355. a=rtpmap:0 PCMU/8000
  356. a=rtpmap:101 telephone-event/8000
  357. a=fmtp:101 0-16
  358. a=ptime:20
  359. a=sendrecv
  360.  
  361. 2021-07-24 13:12:26.992265 [DEBUG] sofia.c:7326 Channel sofia/default/9101484389@entdemo.astppbilling.org:5077 entering state [completed][200]
  362. 2021-07-24 13:12:26.992265 [NOTICE] switch_ivr_originate.c:3794 Channel [sofia/default/9101484389@entdemo.astppbilling.org:5077] has been answered
  363. 2021-07-24 13:12:26.992265 [DEBUG] switch_channel.c:3865 (sofia/default/9101484389@entdemo.astppbilling.org:5077) Callstate Change RINGING -> ACTIVE
  364. 2021-07-24 13:12:26.992265 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/8101122]
  365. 2021-07-24 13:12:26.992265 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/8101122) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  366. 2021-07-24 13:12:26.992265 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8101122) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 15305)
  367. 2021-07-24 13:12:26.992265 [DEBUG] switch_core_state_machine.c:654 (sofia/default/8101122) State EXCHANGE_MEDIA
  368. 2021-07-24 13:12:26.992265 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  369. 2021-07-24 13:12:27.172282 [DEBUG] switch_ivr_bridge.c:655 sofia/default/8101122 Bridge execute app sched_hangup(+6000 normal_clearing)
  370. 2021-07-24 13:12:27.192273 [DEBUG] switch_ivr.c:632 sofia/default/8101122 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  371. EXECUTE [depth=0] sofia/default/8101122 sched_hangup(+6000 normal_clearing)
  372. 2021-07-24 13:12:27.192273 [DEBUG] switch_scheduler.c:252 Added task 64 switch_ivr_schedule_hangup (39877caa-1c46-497b-b798-622547d68aa2) to run at 1627138347
  373. 2021-07-24 13:12:27.212307 [DEBUG] sofia.c:7326 Channel sofia/default/9101484389@entdemo.astppbilling.org:5077 entering state [ready][200]
  374. 2021-07-24 13:12:27.392280 [INFO] switch_rtp.c:7719 Auto Changing audio port from 172.31.47.173:23906 to 65.2.152.209:23906
  375. 2021-07-24 13:12:27.552304 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  376. 2021-07-24 13:12:58.972297 [NOTICE] sofia.c:1089 Hangup sofia/default/8101122 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  377. 2021-07-24 13:12:58.972297 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/8101122]
  378. 2021-07-24 13:12:58.972297 [DEBUG] switch_core_state_machine.c:654 (sofia/default/8101122) State EXCHANGE_MEDIA going to sleep
  379. 2021-07-24 13:12:58.972297 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8101122) Running State Change CS_HANGUP (Cur 2 Tot 15305)
  380. 2021-07-24 13:12:58.972297 [DEBUG] switch_core_state_machine.c:848 (sofia/default/8101122) Callstate Change ACTIVE -> HANGUP
  381. 2021-07-24 13:12:58.972297 [DEBUG] switch_core_state_machine.c:850 (sofia/default/8101122) State HANGUP
  382. 2021-07-24 13:12:58.972297 [DEBUG] mod_sofia.c:453 Channel sofia/default/8101122 hanging up, cause: NORMAL_CLEARING
  383. 2021-07-24 13:12:58.972297 [DEBUG] switch_core_state_machine.c:60 sofia/default/8101122 Standard HANGUP, cause: NORMAL_CLEARING
  384. 2021-07-24 13:12:58.972297 [DEBUG] switch_core_state_machine.c:850 (sofia/default/8101122) State HANGUP going to sleep
  385. 2021-07-24 13:12:58.972297 [DEBUG] switch_core_state_machine.c:620 (sofia/default/8101122) State Change CS_HANGUP -> CS_REPORTING
  386. 2021-07-24 13:12:58.972297 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8101122) Running State Change CS_REPORTING (Cur 2 Tot 15305)
  387. 2021-07-24 13:12:58.972297 [DEBUG] switch_core_state_machine.c:936 (sofia/default/8101122) State REPORTING
  388. 2021-07-24 13:12:58.972297 [INFO] mod_json_cdr.c:271 Process [39877caa-1c46-497b-b798-622547d68aa2.cdr.json]
  389. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_state_machine.c:174 sofia/default/8101122 Standard REPORTING, cause: NORMAL_CLEARING
  390. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_state_machine.c:936 (sofia/default/8101122) State REPORTING going to sleep
  391. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_state_machine.c:611 (sofia/default/8101122) State Change CS_REPORTING -> CS_DESTROY
  392. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_session.c:1726 Session 15305 (sofia/default/8101122) Locked, Waiting on external entities
  393. 2021-07-24 13:12:58.992289 [DEBUG] switch_ivr_bridge.c:820 sofia/default/8101122 ending bridge by request from write function
  394. 2021-07-24 13:12:58.992289 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/9101484389@entdemo.astppbilling.org:5077]
  395. 2021-07-24 13:12:58.992289 [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/9101484389@entdemo.astppbilling.org:5077 [CS_EXECUTE] [NORMAL_CLEARING]
  396. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_session.c:2905 sofia/default/9101484389@entdemo.astppbilling.org:5077 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  397. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_state_machine.c:651 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State EXECUTE going to sleep
  398. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9101484389@entdemo.astppbilling.org:5077) Running State Change CS_HANGUP (Cur 2 Tot 15305)
  399. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_state_machine.c:848 (sofia/default/9101484389@entdemo.astppbilling.org:5077) Callstate Change ACTIVE -> HANGUP
  400. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_state_machine.c:850 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State HANGUP
  401. 2021-07-24 13:12:58.992289 [DEBUG] mod_sofia.c:447 sofia/default/9101484389@entdemo.astppbilling.org:5077 Overriding SIP cause 480 with 200 from the other leg
  402. 2021-07-24 13:12:58.992289 [DEBUG] mod_sofia.c:453 Channel sofia/default/9101484389@entdemo.astppbilling.org:5077 hanging up, cause: NORMAL_CLEARING
  403. 2021-07-24 13:12:58.992289 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/9101484389@entdemo.astppbilling.org:5077
  404. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_state_machine.c:60 sofia/default/9101484389@entdemo.astppbilling.org:5077 Standard HANGUP, cause: NORMAL_CLEARING
  405. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_state_machine.c:850 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State HANGUP going to sleep
  406. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_state_machine.c:620 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State Change CS_HANGUP -> CS_REPORTING
  407. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9101484389@entdemo.astppbilling.org:5077) Running State Change CS_REPORTING (Cur 2 Tot 15305)
  408. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_state_machine.c:936 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State REPORTING
  409. 2021-07-24 13:12:58.992289 [INFO] mod_json_cdr.c:271 Process [afcb6577-cec7-4531-a0a2-c128fab9defd.cdr.json]
  410. 2021-07-24 13:12:58.992289 [NOTICE] switch_core_session.c:1744 Session 15305 (sofia/default/8101122) Ended
  411. 2021-07-24 13:12:58.992289 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/8101122 [CS_DESTROY]
  412. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_state_machine.c:739 (sofia/default/8101122) Running State Change CS_DESTROY (Cur 1 Tot 15305)
  413. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_state_machine.c:749 (sofia/default/8101122) State DESTROY
  414. 2021-07-24 13:12:58.992289 [DEBUG] mod_sofia.c:364 sofia/default/8101122 SOFIA DESTROY
  415. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_state_machine.c:181 sofia/default/8101122 Standard DESTROY
  416. 2021-07-24 13:12:58.992289 [DEBUG] switch_core_state_machine.c:749 (sofia/default/8101122) State DESTROY going to sleep
  417. 2021-07-24 13:12:59.012275 [DEBUG] switch_core_state_machine.c:174 sofia/default/9101484389@entdemo.astppbilling.org:5077 Standard REPORTING, cause: NORMAL_CLEARING
  418. 2021-07-24 13:12:59.012275 [DEBUG] switch_core_state_machine.c:936 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State REPORTING going to sleep
  419. 2021-07-24 13:12:59.012275 [DEBUG] switch_core_state_machine.c:611 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State Change CS_REPORTING -> CS_DESTROY
  420. 2021-07-24 13:12:59.012275 [DEBUG] switch_core_session.c:1726 Session 15304 (sofia/default/9101484389@entdemo.astppbilling.org:5077) Locked, Waiting on external entities
  421. 2021-07-24 13:12:59.012275 [NOTICE] switch_core_session.c:1744 Session 15304 (sofia/default/9101484389@entdemo.astppbilling.org:5077) Ended
  422. 2021-07-24 13:12:59.012275 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/9101484389@entdemo.astppbilling.org:5077 [CS_DESTROY]
  423. 2021-07-24 13:12:59.012275 [DEBUG] switch_core_state_machine.c:739 (sofia/default/9101484389@entdemo.astppbilling.org:5077) Running State Change CS_DESTROY (Cur 0 Tot 15305)
  424. 2021-07-24 13:12:59.012275 [DEBUG] switch_core_state_machine.c:749 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State DESTROY
  425. 2021-07-24 13:12:59.012275 [DEBUG] mod_sofia.c:364 sofia/default/9101484389@entdemo.astppbilling.org:5077 SOFIA DESTROY
  426. 2021-07-24 13:12:59.012275 [DEBUG] switch_core_state_machine.c:181 sofia/default/9101484389@entdemo.astppbilling.org:5077 Standard DESTROY
  427. 2021-07-24 13:12:59.012275 [DEBUG] switch_core_state_machine.c:749 (sofia/default/9101484389@entdemo.astppbilling.org:5077) State DESTROY going to sleep
  428. 2021-07-24 13:12:59.192292 [DEBUG] switch_scheduler.c:147 Deleting task 64 switch_ivr_schedule_hangup (39877caa-1c46-497b-b798-622547d68aa2)
  429.