From Call after the low balance, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: green; font-weight: bold;"> 2023-06-30 07:11:40.540407 92.50% [INFO] sofia.c:10453 sofia/default/101@supportv6.astppbilling.org receiving invite from 103.240.35.46:42302 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: OTAzYTc3NzU4ZWJhZWU4NGQ5MWEyYTQyYWM1YTkxY2I.
  2. 2023-06-30 07:11:40.540407 92.50% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 103.240.35.46:0.
  3. 2023-06-30 07:11:40.540407 92.50% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [123434234@supportv6.astppbilling.org] from ip 103.240.35.46
  4. 2023-06-30 07:11:40.540407 92.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/101@supportv6.astppbilling.org) State NEW
  5. 2023-06-30 07:11:40.540407 92.50% [DEBUG] sofia.c:2419 detaching session 874acc8c-4939-459e-bb9d-490e7962581f
  6. 2023-06-30 07:11:40.960437 92.50% [DEBUG] sofia.c:2532 Re-attaching to session 874acc8c-4939-459e-bb9d-490e7962581f
  7. 2023-06-30 07:11:40.960437 92.50% [INFO] sofia.c:10453 sofia/default/101@supportv6.astppbilling.org receiving invite from 103.240.35.46:42302 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: OTAzYTc3NzU4ZWJhZWU4NGQ5MWEyYTQyYWM1YTkxY2I.
  8. 2023-06-30 07:11:40.960437 92.50% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 103.240.35.46:0.
  9. 2023-06-30 07:11:40.980385 92.50% [DEBUG] sofia.c:11668 Setting NAT mode based on via received
  10. 2023-06-30 07:11:40.980385 92.50% [DEBUG] sofia.c:7487 Channel sofia/default/101@supportv6.astppbilling.org entering state [received][100]
  11. 2023-06-30 07:11:40.980385 92.50% [DEBUG] sofia.c:7497 Remote SDP:
  12. v=0
  13. o=Z 0 0 IN IP4 103.240.35.46
  14. s=Z
  15. c=IN IP4 103.240.35.46
  16. t=0 0
  17. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  18. a=rtpmap:110 speex/8000
  19. a=rtpmap:98 iLBC/8000
  20. a=fmtp:98 mode=20
  21. a=rtpmap:101 telephone-event/8000
  22. a=fmtp:101 0-15
  23.  
  24. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  25. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  26. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  27. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  28. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  29. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  30. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  31. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  34. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  35. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  36. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  37. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/101@supportv6.astppbilling.org PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  38. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_codec.c:111 sofia/default/101@supportv6.astppbilling.org Original read codec set to PCMA:8
  39. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  40. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_media.c:5850 sofia/default/101@supportv6.astppbilling.org Set 2833 dtmf send payload to 101 recv payload to 101
  41. 2023-06-30 07:11:40.980385 92.50% [DEBUG] sofia.c:7921 (sofia/default/101@supportv6.astppbilling.org) State Change CS_NEW -> CS_INIT
  42. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@supportv6.astppbilling.org) Running State Change CS_INIT (Cur 1 Tot 10478)
  43. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/101@supportv6.astppbilling.org) State INIT
  44. 2023-06-30 07:11:40.980385 92.50% [DEBUG] mod_sofia.c:97 sofia/default/101@supportv6.astppbilling.org SOFIA INIT
  45. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/101@supportv6.astppbilling.org Standard INIT
  46. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/101@supportv6.astppbilling.org) State Change CS_INIT -> CS_ROUTING
  47. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/101@supportv6.astppbilling.org) State INIT going to sleep
  48. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@supportv6.astppbilling.org) Running State Change CS_ROUTING (Cur 1 Tot 10478)
  49. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_channel.c:2380 (sofia/default/101@supportv6.astppbilling.org) Callstate Change DOWN -> RINGING
  50. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/101@supportv6.astppbilling.org) State ROUTING
  51. 2023-06-30 07:11:40.980385 92.50% [DEBUG] mod_sofia.c:158 sofia/default/101@supportv6.astppbilling.org SOFIA ROUTING
  52. 2023-06-30 07:11:40.980385 92.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/101@supportv6.astppbilling.org Standard ROUTING
  53. 2023-06-30 07:11:40.980385 92.50% [INFO] mod_dialplan_xml.c:639 Processing 101 <101>->123434234 in context default
  54. 2023-06-30 07:11:41.140372 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  55. 2023-06-30 07:11:41.140372 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code','stir_shaken')
  56. 2023-06-30 07:11:41.140372 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  57. 2023-06-30 07:11:41.160362 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 123434234
  58. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '123434234' AND status=0 limit 1
  59. 2023-06-30 07:11:41.160362 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER101
  60. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '123434234' limit 1
  62. 2023-06-30 07:11:41.160362 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Tinku / 443300431567
  63. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="123434234" LIMIT 1
  64. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  65. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [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,sip_devices.codec as sip_codec 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="123434234" limit 1
  66. 2023-06-30 07:11:41.160362 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  67. 2023-06-30 07:11:41.160362 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
  68. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4727985745" AND deleted = 0 limit 1
  69. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^123434234.*' OR blocked_patterns = '^12343423.*' OR blocked_patterns = '^1234342.*' OR blocked_patterns = '^123434.*' OR blocked_patterns = '^12343.*' OR blocked_patterns = '^1234.*' OR blocked_patterns = '^123.*' OR blocked_patterns = '^12.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 2 limit 1
  70. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="123434234" AND (accountid = 0 OR status = 1) LIMIT 1
  71. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [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 P.is_terminated = 0 AND (patterns = '^123434234.*' OR patterns = '^12343423.*' OR patterns = '^1234342.*' OR patterns = '^123434.*' OR patterns = '^12343.*' OR patterns = '^1234.*' OR patterns = '^123.*' OR patterns = '^12.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  72. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [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 ="123434234" AND A.accountid = '2' limit 1
  73. 2023-06-30 07:11:41.160362 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 123434234
  74. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="123434234" LIMIT 1
  75. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  76. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [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,sip_devices.codec as sip_codec 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="123434234" limit 1
  77. 2023-06-30 07:11:41.160362 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  78. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '123434234' OR number = '12343423' OR number = '1234342' OR number = '123434' OR number = '12343' OR number = '1234' OR number = '123' OR number = '12' OR number = '1' OR number ='--') OR (number = '123434234*' OR number = '12343423*' OR number = '1234342*' OR number = '123434*' OR number = '12343*' OR number = '1234*' OR number = '123*' OR number = '12*' OR number = '1*' OR number ='--') OR (number = '443300431567' OR number = '44330043156' OR number = '4433004315' OR number = '443300431' OR number = '44330043' OR number = '4433004' OR number = '443300' OR number = '44330' OR number = '4433' OR number = '443' OR number = '44' OR number = '4' OR number ='--') OR (number = '443300431567*' OR number = '44330043156*' OR number = '4433004315*' OR number = '443300431*' OR number = '44330043*' OR number = '4433004*' OR number = '443300*' OR number = '44330*' OR number = '4433*' OR number = '443*' OR number = '44*' OR number = '4*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  79. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  80. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '123434234' OR routing_prefix = '12343423' OR routing_prefix = '1234342' OR routing_prefix = '123434' OR routing_prefix = '12343' OR routing_prefix = '1234' OR routing_prefix = '123' OR routing_prefix = '12' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  81. 2023-06-30 07:11:41.160362 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  82. 2023-06-30 07:11:41.160362 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
  83. 2023-06-30 07:11:41.160362 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
  84. 2023-06-30 07:11:41.160362 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 7.2257
  85. 2023-06-30 07:11:41.160362 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  86. 2023-06-30 07:11:41.160362 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  87. 2023-06-30 07:11:41.160362 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  88. 2023-06-30 07:11:41.160362 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  89. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  90. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  91. 2023-06-30 07:11:41.160362 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  92. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^123434234.*' OR pattern = '^12343423.*' OR pattern = '^1234342.*' OR pattern = '^123434.*' OR pattern = '^12343.*' OR pattern = '^1234.*' OR pattern = '^123.*' OR pattern = '^12.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^443300431567.*' OR caller_id_pattern = '^44330043156.*' OR caller_id_pattern = '^4433004315.*' OR caller_id_pattern = '^443300431.*' OR caller_id_pattern = '^44330043.*' OR caller_id_pattern = '^4433004.*' OR caller_id_pattern = '^443300.*' OR caller_id_pattern = '^44330.*' OR caller_id_pattern = '^4433.*' OR caller_id_pattern = '^443.*' OR caller_id_pattern = '^44.*' OR caller_id_pattern = '^4.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 2 OR accountid=2)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  93. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  94. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  95. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:1.00000
  96. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:2
  97. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '2' and status=0
  98. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  99. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Query :SELECT gmttime from timezone where id = '118'
  100. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Data :GMT+00:00
  101. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Plus timezone
  102. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -05:00 :
  103. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_date:30
  104. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_month:Jun
  105. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :30-6
  106. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :3
  107. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  108. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT gmttime from timezone where id = '118'
  109. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Data :GMT+00:00
  110. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Plus timezone
  111. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If timezone like = +05:00 :
  112. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted current_time: 07.11
  113. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] BEFORE current_wday :Fri
  114. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -00:00 :
  115. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted DAY current_wday:Fri
  116. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] AFTER current_wday :Fri
  117. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Current Day Number6
  118. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match emand_based_condition_value['wday'][1] :1-7
  119. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :1
  120. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.01
  121. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  122. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  123. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  124. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  125. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.01
  126. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : United states
  127. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  128. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
  129. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  130. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  131. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  132. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your7.2257 balance Accountid 2 !!!
  133. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 2
  134. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 1.01
  135. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000
  136. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 1
  137. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 1
  138. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 7.1541584158416 minutes
  139. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  140. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=2 ORDER by id asc
  141. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,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 = '^123434234.*' OR pattern = '^12343423.*' OR pattern = '^1234342.*' OR pattern = '^123434.*' OR pattern = '^12343.*' OR pattern = '^1234.*' OR pattern = '^123.*' OR pattern = '^12.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  142. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  143. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  144. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  145. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  146. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  147. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  148. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  149. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  150. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  151. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  152. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  153. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  154. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  155. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  156. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  157. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : YourTrunk
  158. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  159. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [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
  160. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 7.1541584158416
  161. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  162. 2023-06-30 07:11:41.180359 92.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  163. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  164. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [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
  165. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [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 = 1) AND status=0 limit 1
  166. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="123434234" LIMIT 1
  167. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  168. 2023-06-30 07:11:41.180359 92.30% [WARNING] switch_cpp.cpp:1465 [ASTPP] User applicable_on_outbound_calls : 0
  169. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] Query :Select count(*) as count from dids where number='443300431567' and status=0 and accountid =2
  170. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COUNT: 0
  171. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [outbound_call_prefixes]: 917
  172. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [tmp_value]: 917
  173. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [first_prefix]: 123
  174. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [match_prefix]:
  175. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [return_flag_outbound_attestation]: C
  176. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] channel_bridge_var{sip_cid_type=none,sip_stir_shaken_attest=C}
  177. 2023-06-30 07:11:41.180359 92.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  178. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  179. <document type="freeswitch/xml">
  180. <section name="dialplan" description="ASTPP Dialplan">
  181. <context name="default">
  182. <extension name="123434234">
  183. <condition field="destination_number" expression="123434234">
  184. <action application="set" data="effective_destination_number=123434234"/>
  185. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  186. <action application="set" data="bridge_pre_execute_bleg_data=+429.2495049505 normal_clearing"/>
  187. <action application="set" data="nibble_account=2"/>
  188. <action application="set" data="nibble_rate=1.01"/>
  189. <action application="set" data="nibble_minimum=0.00000"/>
  190. <action application="set" data="nibble_increment=10"/>
  191. <action application="nibblebill" data="heartbeat 10"/>
  192. <action application="set" data="callstart=2023-06-30 07:11:41"/>
  193. <action application="set" data="hangup_after_bridge=true"/>
  194. <action application="set" data="continue_on_fail=TRUE"/>
  195. <action application="set" data="account_id=2"/>
  196. <action application="set" data="parent_id=0"/>
  197. <action application="set" data="entity_id=0"/>
  198. <action application="set" data="call_processed=internal"/>
  199. <action application="set" data="call_direction=outbound"/>
  200. <action application="set" data="accountname=default"/>
  201. <action application="set" data="origination_rates=ID:2|CODE:^1.*|DESTINATION:United states|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.01|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:2"/>
  202. <action application="set" data="original_caller_id_name=Tinku"/>
  203. <action application="set" data="original_caller_id_number=443300431567"/>
  204. <action application="limit" data="db 4727985745 user_4727985745 1 "/>
  205.  
  206. <action application="export" data="is_recording=1"/>
  207. <action application="export" data="media_bug_answer_req=true"/>
  208. <action application="export" data="record_sample_rate=8000"/>
  209. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  210. <action application="set" data="effective_caller_id_name=Tinku"/>
  211. <action application="set" data="effective_caller_id_number=443300431567"/>
  212. <action application="set" data="calltype=STANDARD"/>
  213. <action application="set" data="termination_rates=ID:2|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3"/>
  214. <action application="set" data="trunk_id=1"/>
  215. <action application="set" data="provider_id=3"/>
  216. <action application="set" data="rate_flag=0"/>
  217. <action application="set" data="force_trunk_flag=0"/>
  218. <action application="export" data="presence_data=trunk_id=1"/>
  219. <action application="set" data="intcall=0"/>
  220. <action application="export" data="presence_id=123434234"/>
  221. <action application="export" data="presence_data=x|||default(4727985745)|||^1.* // United states // 1.01 |||YourTrunk // ^1.* //  // 0.00000 // trunk_id=1|||STD|||103.240.35.46"/>
  222. <action application="set" data="sip_h_X-ASTPP-Stir-Verification=Not Verified"/>
  223. <action application="export" data="sip_h_X-ASTPP-Stir-Verification=Not Verified"/>
  224. <action application="set" data="stir_status=2"/>
  225. <action application="bridge" data="{sip_cid_type=none,sip_stir_shaken_attest=C}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/YourProvider/123434234"/>
  226. </condition>
  227. </extension>
  228. </context>
  229. </section>
  230. </document>
  231. Dialplan: sofia/default/101@supportv6.astppbilling.org parsing [default->123434234] continue=false
  232. Dialplan: sofia/default/101@supportv6.astppbilling.org Regex (PASS) [123434234] destination_number(123434234) =~ /123434234/ break=on-false
  233. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(effective_destination_number=123434234)
  234. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(bridge_pre_execute_bleg_app=sched_hangup)
  235. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(bridge_pre_execute_bleg_data=+429.2495049505 normal_clearing)
  236. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(nibble_account=2)
  237. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(nibble_rate=1.01)
  238. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(nibble_minimum=0.00000)
  239. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(nibble_increment=10)
  240. Dialplan: sofia/default/101@supportv6.astppbilling.org Action nibblebill(heartbeat 10)
  241. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(callstart=2023-06-30 07:11:41)
  242. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(hangup_after_bridge=true)
  243. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(continue_on_fail=TRUE)
  244. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(account_id=2)
  245. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(parent_id=0)
  246. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(entity_id=0)
  247. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(call_processed=internal)
  248. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(call_direction=outbound)
  249. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(accountname=default)
  250. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(origination_rates=ID:2|CODE:^1.*|DESTINATION:United states|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.01|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:2)
  251. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(original_caller_id_name=Tinku)
  252. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(original_caller_id_number=443300431567)
  253. Dialplan: sofia/default/101@supportv6.astppbilling.org Action limit(db 4727985745 user_4727985745 1 )
  254. Dialplan: sofia/default/101@supportv6.astppbilling.org Action export(is_recording=1)
  255. Dialplan: sofia/default/101@supportv6.astppbilling.org Action export(media_bug_answer_req=true)
  256. Dialplan: sofia/default/101@supportv6.astppbilling.org Action export(record_sample_rate=8000)
  257. Dialplan: sofia/default/101@supportv6.astppbilling.org Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  258. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(effective_caller_id_name=Tinku)
  259. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(effective_caller_id_number=443300431567)
  260. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(calltype=STANDARD)
  261. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(termination_rates=ID:2|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3)
  262. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(trunk_id=1)
  263. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(provider_id=3)
  264. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(rate_flag=0)
  265. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(force_trunk_flag=0)
  266. Dialplan: sofia/default/101@supportv6.astppbilling.org Action export(presence_data=trunk_id=1)
  267. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(intcall=0)
  268. Dialplan: sofia/default/101@supportv6.astppbilling.org Action export(presence_id=123434234)
  269. Dialplan: sofia/default/101@supportv6.astppbilling.org Action export(presence_data=x|||default(4727985745)|||^1.* // United states // 1.01 |||YourTrunk // ^1.* //  // 0.00000 // trunk_id=1|||STD|||103.240.35.46)
  270. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(sip_h_X-ASTPP-Stir-Verification=Not Verified)
  271. Dialplan: sofia/default/101@supportv6.astppbilling.org Action export(sip_h_X-ASTPP-Stir-Verification=Not Verified)
  272. Dialplan: sofia/default/101@supportv6.astppbilling.org Action set(stir_status=2)
  273. Dialplan: sofia/default/101@supportv6.astppbilling.org Action bridge({sip_cid_type=none,sip_stir_shaken_attest=C}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/YourProvider/123434234)
  274. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_core_state_machine.c:281 (sofia/default/101@supportv6.astppbilling.org) State Change CS_ROUTING -> CS_EXECUTE
  275. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/101@supportv6.astppbilling.org) State ROUTING going to sleep
  276. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@supportv6.astppbilling.org) Running State Change CS_EXECUTE (Cur 1 Tot 10478)
  277. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_core_state_machine.c:647 (sofia/default/101@supportv6.astppbilling.org) State EXECUTE
  278. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_sofia.c:213 sofia/default/101@supportv6.astppbilling.org SOFIA EXECUTE
  279. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_core_state_machine.c:323 sofia/default/101@supportv6.astppbilling.org Standard EXECUTE
  280. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(effective_destination_number=123434234)
  281. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [effective_destination_number]=[123434234]
  282. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(bridge_pre_execute_bleg_app=sched_hangup)
  283. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [bridge_pre_execute_bleg_app]=[sched_hangup]
  284. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(bridge_pre_execute_bleg_data=+429.2495049505 normal_clearing)
  285. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [bridge_pre_execute_bleg_data]=[+429.2495049505 normal_clearing]
  286. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(nibble_account=2)
  287. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [nibble_account]=[2]
  288. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(nibble_rate=1.01)
  289. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [nibble_rate]=[1.01]
  290. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(nibble_minimum=0.00000)
  291. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [nibble_minimum]=[0.00000]
  292. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(nibble_increment=10)
  293. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [nibble_increment]=[10]
  294. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org nibblebill(heartbeat 10)
  295. 2023-06-30 07:11:41.200366 92.30% [WARNING] switch_core_session.c:1683 sofia/default/101@supportv6.astppbilling.org using scheduler due to bypass media or media is not established.
  296. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_scheduler.c:263 Added task 27 switch_core_session_sched_heartbeat (874acc8c-4939-459e-bb9d-490e7962581f) to run at 1688109111
  297. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(callstart=2023-06-30 07:11:41)
  298. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [callstart]=[2023-06-30 07:11:41]
  299. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(hangup_after_bridge=true)
  300. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [hangup_after_bridge]=[true]
  301. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(continue_on_fail=TRUE)
  302. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [continue_on_fail]=[TRUE]
  303. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(account_id=2)
  304. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [account_id]=[2]
  305. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(parent_id=0)
  306. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [parent_id]=[0]
  307. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(entity_id=0)
  308. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [entity_id]=[0]
  309. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(call_processed=internal)
  310. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [call_processed]=[internal]
  311. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(call_direction=outbound)
  312. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [call_direction]=[outbound]
  313. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(accountname=default)
  314. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [accountname]=[default]
  315. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(origination_rates=ID:2|CODE:^1.*|DESTINATION:United states|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.01|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:2)
  316. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [origination_rates]=[ID:2|CODE:^1.*|DESTINATION:United states|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.01|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:2]
  317. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(original_caller_id_name=Tinku)
  318. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [original_caller_id_name]=[Tinku]
  319. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(original_caller_id_number=443300431567)
  320. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [original_caller_id_number]=[443300431567]
  321. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org limit(db 4727985745 user_4727985745 1 )
  322. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_limit.c:124 incr called: 4727985745_user_4727985745 max:1, interval:0
  323. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 1/1
  324. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org export(is_recording=1)
  325. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  326. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org export(media_bug_answer_req=true)
  327. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  328. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org export(record_sample_rate=8000)
  329. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  330. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org export(execute_on_answer=record_session /usr/local/freeswitch/recordings/874acc8c-4939-459e-bb9d-490e7962581f.wav)
  331. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/874acc8c-4939-459e-bb9d-490e7962581f.wav]
  332. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(effective_caller_id_name=Tinku)
  333. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [effective_caller_id_name]=[Tinku]
  334. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(effective_caller_id_number=443300431567)
  335. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [effective_caller_id_number]=[443300431567]
  336. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(calltype=STANDARD)
  337. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [calltype]=[STANDARD]
  338. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(termination_rates=ID:2|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3)
  339. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [termination_rates]=[ID:2|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3]
  340. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(trunk_id=1)
  341. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [trunk_id]=[1]
  342. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(provider_id=3)
  343. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [provider_id]=[3]
  344. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(rate_flag=0)
  345. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [rate_flag]=[0]
  346. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(force_trunk_flag=0)
  347. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [force_trunk_flag]=[0]
  348. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org export(presence_data=trunk_id=1)
  349. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  350. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(intcall=0)
  351. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [intcall]=[0]
  352. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org export(presence_id=123434234)
  353. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[123434234]
  354. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org export(presence_data=x|||default(4727985745)|||^1.* // United states // 1.01 |||YourTrunk // ^1.* //  // 0.00000 // trunk_id=1|||STD|||103.240.35.46)
  355. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||default(4727985745)|||^1.* // United states // 1.01 |||YourTrunk // ^1.* //  // 0.00000 // trunk_id=1|||STD|||103.240.35.46]
  356. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(sip_h_X-ASTPP-Stir-Verification=Not Verified)
  357. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [sip_h_X-ASTPP-Stir-Verification]=[Not Verified]
  358. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org export(sip_h_X-ASTPP-Stir-Verification=Not Verified)
  359. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_h_X-ASTPP-Stir-Verification]=[Not Verified]
  360. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org set(stir_status=2)
  361. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@supportv6.astppbilling.org [stir_status]=[2]
  362. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org bridge({sip_cid_type=none,sip_stir_shaken_attest=C}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/YourProvider/123434234)
  363. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_channel.c:1269 sofia/default/101@supportv6.astppbilling.org EXPORTING[export_vars] [is_recording]=[1] to event
  364. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_channel.c:1269 sofia/default/101@supportv6.astppbilling.org EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  365. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_channel.c:1269 sofia/default/101@supportv6.astppbilling.org EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  366. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_channel.c:1269 sofia/default/101@supportv6.astppbilling.org EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/874acc8c-4939-459e-bb9d-490e7962581f.wav] to event
  367. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_channel.c:1269 sofia/default/101@supportv6.astppbilling.org EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // United states // 1.01 |||YourTrunk // ^1.* //  // 0.00000 // trunk_id=1|||STD|||103.240.35.46] to event
  368. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_channel.c:1269 sofia/default/101@supportv6.astppbilling.org EXPORTING[export_vars] [presence_id]=[123434234] to event
  369. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_channel.c:1269 sofia/default/101@supportv6.astppbilling.org EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // United states // 1.01 |||YourTrunk // ^1.* //  // 0.00000 // trunk_id=1|||STD|||103.240.35.46] to event
  370. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_channel.c:1269 sofia/default/101@supportv6.astppbilling.org EXPORTING[export_vars] [sip_h_X-ASTPP-Stir-Verification]=[Not Verified] to event
  371. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
  372. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
  373. 2023-06-30 07:11:41.200366 92.30% [NOTICE] switch_channel.c:1123 New Channel sofia/default/123434234 [ed36abbe-3504-4d08-9835-6de85769815b]
  374. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_sofia.c:5117 (sofia/default/123434234) State Change CS_NEW -> CS_INIT
  375. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_ivr_originate.c:3161 sofia/default/123434234 Setting leg timeout to 30
  376. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/123434234) Running State Change CS_INIT (Cur 2 Tot 10479)
  377. 2023-06-30 07:11:41.200366 92.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/123434234) State INIT
  378. 2023-06-30 07:11:41.200366 92.30% [DEBUG] mod_sofia.c:97 sofia/default/123434234 SOFIA INIT
  379. 2023-06-30 07:11:41.200366 92.30% [INFO] sofia_glue.c:1654 sofia/default/123434234 sending invite call-id: (null)
  380. 2023-06-30 07:11:41.200366 92.30% [DEBUG] sofia_glue.c:1657 sofia/default/123434234 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit
  381. Local SDP:
  382. v=0
  383. o=FreeSWITCH 1688084325 1688084326 IN IP4 65.109.0.34
  384. s=FreeSWITCH
  385. c=IN IP4 65.109.0.34
  386. t=0 0
  387. m=audio 24776 RTP/AVP 8 0 18 101
  388. a=rtpmap:8 PCMA/8000
  389. a=rtpmap:0 PCMU/8000
  390. a=rtpmap:18 G729/8000
  391. a=rtpmap:101 telephone-event/8000
  392. a=fmtp:101 0-15
  393. a=ptime:20
  394. a=sendrecv
  395.  
  396. 2023-06-30 07:11:41.220365 92.30% [DEBUG] switch_core_state_machine.c:40 sofia/default/123434234 Standard INIT
  397. 2023-06-30 07:11:41.220365 92.30% [DEBUG] switch_core_state_machine.c:48 (sofia/default/123434234) State Change CS_INIT -> CS_ROUTING
  398. 2023-06-30 07:11:41.220365 92.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/123434234) State INIT going to sleep
  399. 2023-06-30 07:11:41.220365 92.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/123434234) Running State Change CS_ROUTING (Cur 2 Tot 10479)
  400. 2023-06-30 07:11:41.220365 92.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/123434234) State ROUTING
  401. 2023-06-30 07:11:41.220365 92.30% [DEBUG] mod_sofia.c:158 sofia/default/123434234 SOFIA ROUTING
  402. 2023-06-30 07:11:41.220365 92.30% [DEBUG] switch_ivr_originate.c:67 (sofia/default/123434234) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  403. 2023-06-30 07:11:41.220365 92.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/123434234) State ROUTING going to sleep
  404. 2023-06-30 07:11:41.220365 92.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/123434234) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 10479)
  405. 2023-06-30 07:11:41.220365 92.30% [DEBUG] sofia.c:7487 Channel sofia/default/123434234 entering state [calling][0]
  406. 2023-06-30 07:11:41.220365 92.30% [DEBUG] switch_core_state_machine.c:659 (sofia/default/123434234) State CONSUME_MEDIA
  407. 2023-06-30 07:11:41.220365 92.30% [DEBUG] switch_core_state_machine.c:659 (sofia/default/123434234) State CONSUME_MEDIA going to sleep
  408. 2023-06-30 07:11:41.320435 92.30% [DEBUG] sofia.c:7487 Channel sofia/default/123434234 entering state [completing][200]
  409. 2023-06-30 07:11:41.320435 92.30% [DEBUG] sofia.c:7497 Remote SDP:
  410. v=0
  411. o=root 1532210095 1532210095 IN IP4 159.203.131.36
  412. s=Asterisk PBX 16.4.0
  413. c=IN IP4 159.203.131.36
  414. t=0 0
  415. m=audio 13816 RTP/AVP 0 8 101
  416. a=rtpmap:0 PCMU/8000
  417. a=rtpmap:8 PCMA/8000
  418. a=rtpmap:101 telephone-event/8000
  419. a=fmtp:101 0-16
  420. a=maxptime:150
  421.  
  422. 2023-06-30 07:11:41.320435 92.30% [DEBUG] sofia.c:7487 Channel sofia/default/123434234 entering state [ready][200]
  423. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  424. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[PCMU:0:8000:20:64000:1]
  425. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  426. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  427. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  428. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  429. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMU:0:8000:20:64000:1]
  430. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  431. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  432. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/123434234 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  433. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_core_codec.c:111 sofia/default/123434234 Original read codec set to PCMU:0
  434. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  435. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_core_media.c:5850 sofia/default/123434234 Set 2833 dtmf send payload to 101 recv payload to 101
  436. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/123434234] 65.109.0.34 port 24776 -> 159.203.131.36 port 13816 codec: 0 ms: 20
  437. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  438. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_core_media.c:8963 sofia/default/123434234 Set 2833 dtmf send payload to 101
  439. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_core_media.c:8970 sofia/default/123434234 Set 2833 dtmf receive payload to 101
  440. 2023-06-30 07:11:41.320435 92.30% [DEBUG] switch_core_media.c:8993 sofia/default/123434234 Set rtp dtmf delay to 40
  441. 2023-06-30 07:11:41.320435 92.30% [NOTICE] sofia.c:8674 Channel [sofia/default/123434234] has been answered
  442. EXECUTE [depth=1] sofia/default/123434234 record_session(/usr/local/freeswitch/recordings/874acc8c-4939-459e-bb9d-490e7962581f.wav)
  443. 2023-06-30 07:11:41.340391 92.30% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/101@supportv6.astppbilling.org] 65.109.0.34 port 17006 -> 103.240.35.46 port 8000 codec: 8 ms: 20
  444. 2023-06-30 07:11:41.340391 92.30% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  445. 2023-06-30 07:11:41.340391 92.30% [DEBUG] switch_core_media.c:8963 sofia/default/101@supportv6.astppbilling.org Set 2833 dtmf send payload to 101
  446. 2023-06-30 07:11:41.340391 92.30% [DEBUG] switch_core_media.c:8970 sofia/default/101@supportv6.astppbilling.org Set 2833 dtmf receive payload to 101
  447. 2023-06-30 07:11:41.340391 92.30% [DEBUG] switch_core_media.c:8993 sofia/default/101@supportv6.astppbilling.org Set rtp dtmf delay to 40
  448. 2023-06-30 07:11:41.340391 92.30% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/101@supportv6.astppbilling.org:
  449. v=0
  450. o=FreeSWITCH 1688092095 1688092096 IN IP4 65.109.0.34
  451. s=FreeSWITCH
  452. c=IN IP4 65.109.0.34
  453. t=0 0
  454. m=audio 17006 RTP/AVP 8 101
  455. a=rtpmap:8 PCMA/8000
  456. a=rtpmap:101 telephone-event/8000
  457. a=fmtp:101 0-15
  458. a=ptime:20
  459. a=sendrecv
  460.  
  461. 2023-06-30 07:11:41.340391 92.30% [NOTICE] switch_ivr_originate.c:3844 Channel [sofia/default/101@supportv6.astppbilling.org] has been answered
  462. 2023-06-30 07:11:41.340391 92.30% [DEBUG] sofia.c:7487 Channel sofia/default/101@supportv6.astppbilling.org entering state [completed][200]
  463. EXECUTE [depth=0] sofia/default/101@supportv6.astppbilling.org record_session(/usr/local/freeswitch/recordings/874acc8c-4939-459e-bb9d-490e7962581f.wav)
  464. 2023-06-30 07:11:41.340391 92.30% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  465. 2023-06-30 07:11:41.340391 92.30% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/123434234
  466. 2023-06-30 07:11:41.340391 92.30% [DEBUG] switch_channel.c:3893 (sofia/default/123434234) Callstate Change DOWN -> ACTIVE
  467. 2023-06-30 07:11:41.340391 92.30% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  468. 2023-06-30 07:11:41.340391 92.30% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/101@supportv6.astppbilling.org
  469. 2023-06-30 07:11:41.340391 92.30% [DEBUG] switch_channel.c:3893 (sofia/default/101@supportv6.astppbilling.org) Callstate Change RINGING -> ACTIVE
  470. 2023-06-30 07:11:41.340391 92.30% [DEBUG] switch_ivr_originate.c:3902 Originate Resulted in Success: [sofia/default/123434234] Peer UUID: ed36abbe-3504-4d08-9835-6de85769815b
  471. 2023-06-30 07:11:41.340391 92.30% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/123434234) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  472. 2023-06-30 07:11:41.340391 92.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/123434234) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 10479)
  473. 2023-06-30 07:11:41.340391 92.30% [DEBUG] switch_core_state_machine.c:650 (sofia/default/123434234) State EXCHANGE_MEDIA
  474. 2023-06-30 07:11:41.340391 92.30% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  475. 2023-06-30 07:11:41.340391 92.30% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  476. 2023-06-30 07:11:41.360377 92.30% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  477. 2023-06-30 07:11:41.501189 92.30% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [101@supportv6.astppbilling.org] from ip 103.240.35.46
  478. 2023-06-30 07:11:41.520658 92.30% [DEBUG] switch_ivr_bridge.c:654 sofia/default/123434234 Bridge execute app sched_hangup(+429.2495049505 normal_clearing)
  479. 2023-06-30 07:11:41.540383 92.30% [DEBUG] switch_ivr.c:632 sofia/default/123434234 Command Execute [depth=0] sched_hangup(+429.2495049505 normal_clearing)
  480. EXECUTE [depth=0] sofia/default/123434234 sched_hangup(+429.2495049505 normal_clearing)
  481. 2023-06-30 07:11:41.540383 92.30% [DEBUG] switch_scheduler.c:263 Added task 28 switch_ivr_schedule_hangup (ed36abbe-3504-4d08-9835-6de85769815b) to run at 1688109530
  482. 2023-06-30 07:11:41.760389 92.30% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  483. 2023-06-30 07:11:41.760389 92.30% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  484. 2023-06-30 07:11:41.800388 92.30% [DEBUG] sofia.c:7487 Channel sofia/default/101@supportv6.astppbilling.org entering state [ready][200]
  485. 2023-06-30 07:11:41.860470 92.30% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  486. 2023-06-30 07:11:41.860470 92.30% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMU:0
  487. 2023-06-30 07:11:42.520387 91.77% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [123434234@supportv6.astppbilling.org] from ip 103.240.35.46
  488. 2023-06-30 07:11:42.800379 91.77% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [101@supportv6.astppbilling.org] from ip 103.240.35.46
  489. 2023-06-30 07:11:44.520369 91.70% [NOTICE] sofia.c:1065 Hangup sofia/default/101@supportv6.astppbilling.org [CS_EXECUTE] [NORMAL_CLEARING]
  490. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/101@supportv6.astppbilling.org]
  491. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_ivr_bridge.c:819 sofia/default/101@supportv6.astppbilling.org ending bridge by request from write function
  492. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/123434234]
  493. 2023-06-30 07:11:44.520369 91.70% [NOTICE] switch_ivr_bridge.c:1027 Hangup sofia/default/123434234 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  494. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_core_state_machine.c:650 (sofia/default/123434234) State EXCHANGE_MEDIA going to sleep
  495. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/123434234) Running State Change CS_HANGUP (Cur 2 Tot 10479)
  496. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/874acc8c-4939-459e-bb9d-490e7962581f.wav
  497. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/123434234 skip receive message [UNBRIDGE] (channel is hungup already)
  498. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_ivr_bridge.c:1893 sofia/default/101@supportv6.astppbilling.org skip receive message [UNBRIDGE] (channel is hungup already)
  499. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_core_session.c:2973 sofia/default/101@supportv6.astppbilling.org skip receive message [PHONE_EVENT] (channel is hungup already)
  500. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/101@supportv6.astppbilling.org) State EXECUTE going to sleep
  501. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@supportv6.astppbilling.org) Running State Change CS_HANGUP (Cur 2 Tot 10479)
  502. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/874acc8c-4939-459e-bb9d-490e7962581f.wav
  503. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  504. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  505. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_core_media_bug.c:1326 Removing BUG from sofia/default/101@supportv6.astppbilling.org
  506. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_core_state_machine.c:844 (sofia/default/101@supportv6.astppbilling.org) Callstate Change ACTIVE -> HANGUP
  507. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_core_media_bug.c:1326 Removing BUG from sofia/default/123434234
  508. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/101@supportv6.astppbilling.org) State HANGUP
  509. 2023-06-30 07:11:44.520369 91.70% [DEBUG] mod_sofia.c:468 Channel sofia/default/101@supportv6.astppbilling.org hanging up, cause: NORMAL_CLEARING
  510. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_core_state_machine.c:844 (sofia/default/123434234) Callstate Change ACTIVE -> HANGUP
  511. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/123434234) State HANGUP
  512. 2023-06-30 07:11:44.520369 91.70% [DEBUG] mod_sofia.c:462 sofia/default/123434234 Overriding SIP cause 480 with 200 from the other leg
  513. 2023-06-30 07:11:44.520369 91.70% [DEBUG] mod_sofia.c:468 Channel sofia/default/123434234 hanging up, cause: NORMAL_CLEARING
  514. 2023-06-30 07:11:44.520369 91.70% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $1.01 per minute to account 2
  515. 2023-06-30 07:11:44.520369 91.70% [INFO] mod_nibblebill.c:565 Beginning new billing on 874acc8c-4939-459e-bb9d-490e7962581f
  516. 2023-06-30 07:11:44.520369 91.70% [DEBUG] mod_nibblebill.c:573 3 seconds passed since last bill time of 2023-06-30 07:11:41
  517. 2023-06-30 07:11:44.520369 91.70% [DEBUG] mod_nibblebill.c:590 Billing $0.168333 to 2 (Call: 874acc8c-4939-459e-bb9d-490e7962581f / 0.000000 so far)
  518. 2023-06-30 07:11:44.520369 91.70% [DEBUG] mod_nibblebill.c:395 Doing update query
  519. [Update accounts SET balance=IF(posttoexternal=1,balance+0.168333,balance-0.168333) WHERE id='2']
  520. 2023-06-30 07:11:44.520369 91.70% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/123434234
  521. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_core_state_machine.c:59 sofia/default/123434234 Standard HANGUP, cause: NORMAL_CLEARING
  522. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/123434234) State HANGUP going to sleep
  523. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_core_state_machine.c:616 (sofia/default/123434234) State Change CS_HANGUP -> CS_REPORTING
  524. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/123434234) Running State Change CS_REPORTING (Cur 2 Tot 10479)
  525. 2023-06-30 07:11:44.520369 91.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/123434234) State REPORTING
  526. 2023-06-30 07:11:44.520369 91.70% [INFO] mod_json_cdr.c:272 Process [ed36abbe-3504-4d08-9835-6de85769815b.cdr.json]
  527. 2023-06-30 07:11:44.520369 91.70% [DEBUG] mod_nibblebill.c:395 Doing update query
  528. [Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='2']
  529. 2023-06-30 07:11:44.540369 91.70% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  530. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='2']
  531. 2023-06-30 07:11:44.540369 91.70% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 2 (balance = 7.057370)
  532. 2023-06-30 07:11:44.540369 91.70% [DEBUG] switch_core_state_machine.c:59 sofia/default/101@supportv6.astppbilling.org Standard HANGUP, cause: NORMAL_CLEARING
  533. 2023-06-30 07:11:44.540369 91.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/101@supportv6.astppbilling.org) State HANGUP going to sleep
  534. 2023-06-30 07:11:44.540369 91.70% [DEBUG] switch_core_state_machine.c:616 (sofia/default/101@supportv6.astppbilling.org) State Change CS_HANGUP -> CS_REPORTING
  535. 2023-06-30 07:11:44.540369 91.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@supportv6.astppbilling.org) Running State Change CS_REPORTING (Cur 2 Tot 10479)
  536. 2023-06-30 07:11:44.540369 91.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/101@supportv6.astppbilling.org) State REPORTING
  537. 2023-06-30 07:11:44.540369 91.70% [INFO] mod_json_cdr.c:272 Process [874acc8c-4939-459e-bb9d-490e7962581f.cdr.json]
  538. 2023-06-30 07:11:44.540369 91.70% [DEBUG] switch_core_state_machine.c:168 sofia/default/123434234 Standard REPORTING, cause: NORMAL_CLEARING
  539. 2023-06-30 07:11:44.540369 91.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/123434234) State REPORTING going to sleep
  540. 2023-06-30 07:11:44.540369 91.70% [DEBUG] switch_core_state_machine.c:607 (sofia/default/123434234) State Change CS_REPORTING -> CS_DESTROY
  541. 2023-06-30 07:11:44.540369 91.70% [DEBUG] switch_core_session.c:1743 Session 10479 (sofia/default/123434234) Locked, Waiting on external entities
  542. 2023-06-30 07:11:44.540369 91.70% [NOTICE] switch_core_session.c:1761 Session 10479 (sofia/default/123434234) Ended
  543. 2023-06-30 07:11:44.540369 91.70% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/123434234 [CS_DESTROY]
  544. 2023-06-30 07:11:44.540369 91.70% [DEBUG] switch_core_state_machine.c:735 (sofia/default/123434234) Running State Change CS_DESTROY (Cur 1 Tot 10479)
  545. 2023-06-30 07:11:44.540369 91.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/123434234) State DESTROY
  546. 2023-06-30 07:11:44.540369 91.70% [DEBUG] mod_sofia.c:379 sofia/default/123434234 SOFIA DESTROY
  547. 2023-06-30 07:11:44.540369 91.70% [DEBUG] switch_core_state_machine.c:175 sofia/default/123434234 Standard DESTROY
  548. 2023-06-30 07:11:44.540369 91.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/123434234) State DESTROY going to sleep
  549. 2023-06-30 07:11:44.560374 91.70% [DEBUG] switch_core_state_machine.c:168 sofia/default/101@supportv6.astppbilling.org Standard REPORTING, cause: NORMAL_CLEARING
  550. 2023-06-30 07:11:44.560374 91.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/101@supportv6.astppbilling.org) State REPORTING going to sleep
  551. 2023-06-30 07:11:44.560374 91.70% [DEBUG] switch_core_state_machine.c:607 (sofia/default/101@supportv6.astppbilling.org) State Change CS_REPORTING -> CS_DESTROY
  552. 2023-06-30 07:11:44.560374 91.70% [DEBUG] switch_core_session.c:1743 Session 10478 (sofia/default/101@supportv6.astppbilling.org) Locked, Waiting on external entities
  553. 2023-06-30 07:11:44.560374 91.70% [NOTICE] switch_core_session.c:1761 Session 10478 (sofia/default/101@supportv6.astppbilling.org) Ended
  554. 2023-06-30 07:11:44.560374 91.70% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/101@supportv6.astppbilling.org [CS_DESTROY]
  555. 2023-06-30 07:11:44.560374 91.70% [DEBUG] switch_core_state_machine.c:735 (sofia/default/101@supportv6.astppbilling.org) Running State Change CS_DESTROY (Cur 0 Tot 10479)
  556. 2023-06-30 07:11:44.560374 91.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/101@supportv6.astppbilling.org) State DESTROY
  557. 2023-06-30 07:11:44.560374 91.70% [DEBUG] mod_sofia.c:379 sofia/default/101@supportv6.astppbilling.org SOFIA DESTROY
  558. 2023-06-30 07:11:44.560374 91.70% [DEBUG] switch_core_state_machine.c:175 sofia/default/101@supportv6.astppbilling.org Standard DESTROY
  559. 2023-06-30 07:11:44.560374 91.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/101@supportv6.astppbilling.org) State DESTROY going to sleep
  560. 2023-06-30 07:11:45.040418 91.57% [DEBUG] switch_scheduler.c:147 Deleting task 27 switch_core_session_sched_heartbeat (874acc8c-4939-459e-bb9d-490e7962581f)
  561. 2023-06-30 07:11:45.040418 91.57% [DEBUG] switch_scheduler.c:147 Deleting task 28 switch_ivr_schedule_hangup (ed36abbe-3504-4d08-9835-6de85769815b)
  562.