From Prashant Kumar, 9 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@ip-172-31-42-21>
  2. 2024-03-03 11:19:02.426511 94.53% [NOTICE] switch_channel.c:1142 New Channel sofia/default/3762381270@3.110.187.230 [7a030995-c07b-477b-9d1e-bbaa6f8fc99e]
  3. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3762381270@3.110.187.230) Running State Change CS_NEW (Cur 1 Tot 12493)
  4. 2024-03-03 11:19:02.426511 94.53% [INFO] sofia.c:10459 sofia/default/3762381270@3.110.187.230 receiving invite from 3.110.187.230:5077 version: 1.10.10-release  64bit call-id: ae28e30b-53f2-123d-67ad-021eb38071a8
  5. 2024-03-03 11:19:02.426511 94.53% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 3.110.187.230:0.
  6. 2024-03-03 11:19:02.426511 94.53% [DEBUG] sofia.c:10582 IP 3.110.187.230 Approved by acl "default[]". Access Granted.
  7. 2024-03-03 11:19:02.426511 94.53% [DEBUG] sofia.c:7493 Channel sofia/default/3762381270@3.110.187.230 entering state [received][100]
  8. 2024-03-03 11:19:02.426511 94.53% [DEBUG] sofia.c:7503 Remote SDP:
  9. v=0
  10. o=FreeSWITCH 1709442662 1709442663 IN IP4 3.110.187.230
  11. s=FreeSWITCH
  12. c=IN IP4 3.110.187.230
  13. t=0 0
  14. m=audio 22080 RTP/AVP 8 18 101
  15. a=rtpmap:8 PCMA/8000
  16. a=rtpmap:18 G729/8000
  17. a=rtpmap:101 telephone-event/8000
  18. a=fmtp:101 0-15
  19. a=ptime:20
  20.  
  21. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  22. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  23. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  24. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  25. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  26. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  27. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/3762381270@3.110.187.230 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  28. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_codec.c:111 sofia/default/3762381270@3.110.187.230 Original read codec set to PCMA:8
  29. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  30. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_media.c:5856 sofia/default/3762381270@3.110.187.230 Set 2833 dtmf send payload to 101 recv payload to 101
  31. 2024-03-03 11:19:02.426511 94.53% [DEBUG] sofia.c:7927 (sofia/default/3762381270@3.110.187.230) State Change CS_NEW -> CS_INIT
  32. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_state_machine.c:600 (sofia/default/3762381270@3.110.187.230) State NEW
  33. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3762381270@3.110.187.230) Running State Change CS_INIT (Cur 1 Tot 12493)
  34. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3762381270@3.110.187.230) State INIT
  35. 2024-03-03 11:19:02.426511 94.53% [DEBUG] mod_sofia.c:97 sofia/default/3762381270@3.110.187.230 SOFIA INIT
  36. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/3762381270@3.110.187.230 Standard INIT
  37. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/3762381270@3.110.187.230) State Change CS_INIT -> CS_ROUTING
  38. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3762381270@3.110.187.230) State INIT going to sleep
  39. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3762381270@3.110.187.230) Running State Change CS_ROUTING (Cur 1 Tot 12493)
  40. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_channel.c:2399 (sofia/default/3762381270@3.110.187.230) Callstate Change DOWN -> RINGING
  41. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3762381270@3.110.187.230) State ROUTING
  42. 2024-03-03 11:19:02.426511 94.53% [DEBUG] mod_sofia.c:158 sofia/default/3762381270@3.110.187.230 SOFIA ROUTING
  43. 2024-03-03 11:19:02.426511 94.53% [DEBUG] switch_core_state_machine.c:230 sofia/default/3762381270@3.110.187.230 Standard ROUTING
  44. 2024-03-03 11:19:02.426511 94.53% [INFO] mod_dialplan_xml.c:639 Processing 3762381270 <3762381270>->120400 in context default
  45. 2024-03-03 11:19:02.446539 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  46. 2024-03-03 11:19:02.446539 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  47. 2024-03-03 11:19:02.446539 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  48. 2024-03-03 11:19:02.446539 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  49. 2024-03-03 11:19:02.446539 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  50. 2024-03-03 11:19:02.446539 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  51. 2024-03-03 11:19:02.446539 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 120400
  52. 2024-03-03 11:19:02.446539 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '120400' limit 1
  53. 2024-03-03 11:19:02.446539 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  54. 2024-03-03 11:19:02.446539 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '120400' and status=0 LIMIT 1
  55. 2024-03-03 11:19:02.466534 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+PKServerMaster
  56. 2024-03-03 11:19:02.466534 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  57. 2024-03-03 11:19:02.466534 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '35.154.93.145' limit 1
  58. 2024-03-03 11:19:02.466534 94.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  59. 2024-03-03 11:19:02.466534 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 3762381270 / 3762381270
  60. 2024-03-03 11:19:02.466534 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  61. 2024-03-03 11:19:02.466534 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  62. 2024-03-03 11:19:02.466534 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  63. 2024-03-03 11:19:02.466534 94.53% [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,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="120400" LIMIT 1
  64. 2024-03-03 11:19:02.466534 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  65. 2024-03-03 11:19:02.466534 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  66. 2024-03-03 11:19:02.466534 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("3.110.187.230") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "120400"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  67. 2024-03-03 11:19:02.466534 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3673942894]
  68. 2024-03-03 11:19:02.466534 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3673942894" OR id = "3673942894") AND deleted = 0 limit 1
  69. 2024-03-03 11:19:02.686525 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  70. 2024-03-03 11:19:02.686525 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  71. 2024-03-03 11:19:02.686525 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  72. 2024-03-03 11:19:02.686525 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  73. 2024-03-03 11:19:02.686525 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 6
  74. 2024-03-03 11:19:02.686525 94.53% [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 = '^120400.*' OR patterns = '^12040.*' OR patterns = '^1204.*' OR patterns = '^120.*' OR patterns = '^12.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 6 ORDER BY LENGTH(PKGPTR.patterns) DESC
  75. 2024-03-03 11:19:02.706513 94.53% [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 ="120400" AND A.accountid = '3' limit 1
  76. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 120400
  77. 2024-03-03 11:19:02.706513 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  78. 2024-03-03 11:19:02.706513 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  79. 2024-03-03 11:19:02.706513 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  80. 2024-03-03 11:19:02.706513 94.53% [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,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="120400" LIMIT 1
  81. 2024-03-03 11:19:02.706513 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  82. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  83. 2024-03-03 11:19:02.706513 94.53% [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 = '120400' OR number = '12040' OR number = '1204' OR number = '120' OR number = '12' OR number = '1' OR number ='--') OR (number = '120400*' OR number = '12040*' OR number = '1204*' OR number = '120*' OR number = '12*' OR number = '1*' OR number ='--') OR (number = '3762381270' OR number = '376238127' OR number = '37623812' OR number = '3762381' OR number = '376238' OR number = '37623' OR number = '3762' OR number = '376' OR number = '37' OR number = '3' OR number ='--') OR (number = '3762381270*' OR number = '376238127*' OR number = '37623812*' OR number = '3762381*' OR number = '376238*' OR number = '37623*' OR number = '3762*' OR number = '376*' OR number = '37*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  84. 2024-03-03 11:19:02.706513 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  85. 2024-03-03 11:19:02.706513 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '120400' OR routing_prefix = '12040' OR routing_prefix = '1204' OR routing_prefix = '120' OR routing_prefix = '12' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  86. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  87. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 3
  88. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3673942894
  89. 2024-03-03 11:19:02.706513 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  90. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49967.13
  91. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  92. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  93. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  94. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  95. 2024-03-03 11:19:02.706513 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  96. 2024-03-03 11:19:02.706513 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  97. 2024-03-03 11:19:02.706513 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  98. 2024-03-03 11:19:02.706513 94.53% [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,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="120400" LIMIT 1
  99. 2024-03-03 11:19:02.706513 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  100. 2024-03-03 11:19:02.706513 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 6  and status = 0 limit 1
  101. 2024-03-03 11:19:02.706513 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0.....120400
  102. 2024-03-03 11:19:02.706513 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_RESELLER] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.connectcost,A.includedseconds,A.cost,C.reseller_cost as reseller_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,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination,D.id as product_id FROM dids AS A,accounts AS B, reseller_products AS C, products AS D WHERE B.status=0 AND B.deleted=0 AND A.product_id=C.product_id AND A.parent_id=C.account_id AND B.id=A.accountid AND A.number ="120400" LIMIT 1
  103. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  104. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  105. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  106. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  107. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  108. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.99000
  109. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 120400
  110. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 129
  111. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 3
  112. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  113. 2024-03-03 11:19:02.706513 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  114. 2024-03-03 11:19:02.706513 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49967.13 balance Accountid 3 !!!
  115. 2024-03-03 11:19:02.706513 94.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  116. 2024-03-03 11:19:02.706513 94.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 5
  117. 2024-03-03 11:19:02.706513 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "5" OR number = "5") AND deleted = 0 limit 1
  118. 2024-03-03 11:19:02.746521 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  119. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  120. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 5
  121. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9516041852
  122. 2024-03-03 11:19:02.746521 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  123. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49967.13
  124. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  125. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  126. 2024-03-03 11:19:02.746521 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  127. 2024-03-03 11:19:02.746521 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::2
  128. 2024-03-03 11:19:02.746521 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  129. 2024-03-03 11:19:02.746521 94.53% [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,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="120400" LIMIT 1
  130. 2024-03-03 11:19:02.746521 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  131. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  132. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  133. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  134. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  135. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  136. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.99000
  137. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 120400
  138. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 129
  139. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 5
  140. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  141. 2024-03-03 11:19:02.746521 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  142. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49967.13 balance Accountid 5 !!!
  143. 2024-03-03 11:19:02.746521 94.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  144. 2024-03-03 11:19:02.746521 94.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  145. 2024-03-03 11:19:02.746521 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : 100
  146. 2024-03-03 11:19:02.746521 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates  
  147. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:1|CODE:^120400.*|DESTINATION:120400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:DID-LOCAL|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:129|ACCID:6||ID:1|CODE:^120400.*|DESTINATION:120400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:DID-LOCAL|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:129|ACCID:5
  148. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  149. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  150. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  151. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  152. 2024-03-03 11:19:02.746521 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  153. 2024-03-03 11:19:02.746521 94.53% [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 = 3 AND status=0 LIMIT 1
  154. 2024-03-03 11:19:02.746521 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "6" OR number = "6") AND deleted = 0 limit 1
  155. 2024-03-03 11:19:02.746521 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  156. 2024-03-03 11:19:02.766563 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  157. 2024-03-03 11:19:02.766563 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:3
  158. 2024-03-03 11:19:02.766563 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  159. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 6 limit 1
  160. 2024-03-03 11:19:02.766563 94.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : pk1betav602.astppbilling.org
  161. 2024-03-03 11:19:02.766563 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  162. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  163. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  164. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+PKServerMaster' and status = 0 limit 1
  165. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  166. 2024-03-03 11:19:02.766563 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  167. 2024-03-03 11:19:02.766563 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  168. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "7121256290" AND accounts.status = 0
  169. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :120400
  170. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :120400
  171. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 6 limit 1
  172. 2024-03-03 11:19:02.766563 94.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : pk1betav602.astppbilling.org
  173. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_DID_LOCAL
  174. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 6 or id = 6 ) and status = 0 limit 1
  175. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold_type FROM sip_devices WHERE username = '7121256290' and accountid = '6'LIMIT 1
  176. 2024-03-03 11:19:02.766563 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 7121256290
  177. 2024-03-03 11:19:02.766563 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] moh_name : 0
  178. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold,music_on_hold_type FROM sip_devices WHERE username = '7121256290' and accountid = '6'LIMIT 1
  179. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :4
  180. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  181. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH for global Query :SELECT name FROM pbx_music_on_hold WHERE id = '4' LIMIT 1
  182. 2024-03-03 11:19:02.766563 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] music on hold name :- kamesh
  183. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="7121256290"  AND domains.domain="pk1betav602.astppbilling.org" limit 1
  184. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 4 limit 1
  185. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  186. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  187. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_park_in' limit 1
  188. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  189. 2024-03-03 11:19:02.766563 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC10]
  190. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="7121256290"  AND domains.domain="pk1betav602.astppbilling.org" limit 1
  191. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="7121256290"  AND domains.domain="pk1betav602.astppbilling.org" limit 1
  192. 2024-03-03 11:19:02.766563 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 4
  193. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 4 limit 1
  194. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  195. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  196. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_park_in' limit 1
  197. 2024-03-03 11:19:02.766563 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  198. 2024-03-03 11:19:02.766563 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  199. 2024-03-03 11:19:02.766563 94.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC8]
  200. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="7121256290"  AND domains.domain="pk1betav602.astppbilling.org" limit 1
  201. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  202. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="7121256290"  AND domains.domain="pk1betav602.astppbilling.org" limit 1
  203. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 4 limit 1
  204. 2024-03-03 11:19:02.766563 94.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  205. <document type="freeswitch/xml">
  206. <section name="dialplan" description="ASTPP Dialplan">
  207. <context name="default">
  208. <extension name="120400">
  209. <condition field="destination_number" expression="120400">
  210. <action application="set" data="effective_destination_number=120400"/>
  211. <action application="set" data="execute_on_answer_1=sched_hangup +6000 normal_clearing"/>
  212. <action application="set" data="notify_flag=0"/>
  213. <action application="set" data="notify_credit_limit=0.00000"/>
  214. <action application="set" data="type=3"/>
  215. <action application="set" data="callstart=2024-03-03 11:19:02"/>
  216. <action application="set" data="hangup_after_bridge=true"/>
  217. <action application="set" data="continue_on_fail=TRUE"/>
  218. <action application="set" data="account_id=3"/>
  219. <action application="set" data="parent_id=5"/>
  220. <action application="set" data="entity_id=3"/>
  221. <action application="set" data="call_processed=internal"/>
  222. <action application="set" data="call_direction=inbound"/>
  223. <action application="set" data="accountname=Cumminity"/>
  224. <action application="set" data="dialed_extension=transfer_call"/>
  225. <action application="export" data="dialed_extension=transfer_call"/>
  226. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  227. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  228. <action application="set" data="filename1=astpp.pbx.lua"/>
  229. <action application="set" data="origination_rates_did=ID:1|CODE:^120400.*|DESTINATION:120400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:DID-LOCAL|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:129|ACCID:6||ID:1|CODE:^120400.*|DESTINATION:120400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:DID-LOCAL|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:129|ACCID:5"/>
  230. <action application="set" data="origination_rates=0"/>
  231. <action application="set" data="original_caller_id_name=3762381270"/>
  232. <action application="set" data="original_caller_id_number=3762381270"/>
  233. <action application="export" data="is_recording=1"/>
  234. <action application="export" data="media_bug_answer_req=true"/>
  235. <action application="export" data="RECORD_STEREO=true"/>
  236. <action application="export" data="record_sample_rate=8000"/>
  237. <action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav"/>
  238. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  239. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  240. <action application="set" data="effective_caller_id_name=3762381270"/>
  241. <action application="set" data="effective_caller_id_number=3762381270"/>
  242. <action application="set" data="receiver_accid=6"/>
  243. <action application="export" data="domain_name=pk1betav602.astppbilling.org"/>
  244. <action application="export" data="sip_to_host=pk1betav602.astppbilling.org"/>
  245. <action application="export" data="presence_data=x//5|||default(3673942894)|||^120400.* // 120400 // 0.99000|||||||||DID|||3.110.187.230"/>
  246. <action application="export" data="call_type=DID-LOCAL"/>
  247. <action application="set" data="calltype=DID-LOCAL"/>
  248. <action application="set" data="daily_call_credit_limit=6000.00000"/>
  249. <action application="set" data="monthly_call_credit_limit=8000.00000"/>
  250. <action application="set" data="daily_call_used_limit=13.08000"/>
  251. <action application="set" data="monthly_call_used_limit=13.68000"/>
  252. <action application="hash" data="insert/${domain_name}-call_return/7121256290/${caller_id_number}"/>
  253. <action application="bridge_export" data="hold_music=local_stream://kamesh"/>
  254. <action application="db" data="insert/pickup_any_group_${callgroup}/7121256290/${uuid}"/>
  255. <action application="set" data="dialed_extension=transfer_call"/>
  256. <action application="export" data="dialed_extension=transfer_call"/>
  257. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  258. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  259. <action application="bind_meta_app" data="8 b s execute_extension::transfer_call_8 XML default"/>
  260. <action application="set" data="hangup_after_bridge=true"/>
  261. <action application="export" data="did_user_domain=pk1betav602.astppbilling.org"/>
  262. <action application="db" data="insert/pickup_any_group_${callgroup}/7121256290/${uuid}"/>
  263. <action application="set" data="dialed_extension=transfer_call"/>
  264. <action application="export" data="dialed_extension=transfer_call"/>
  265. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  266. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  267. <action application="bind_meta_app" data="8 b s execute_extension::transfer_call_8 XML default"/>
  268. <action application="set" data="hangup_after_bridge=true"/>
  269. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=6}[leg_timeout=0 ] user/7121256290@pk1betav602.astppbilling.org"/>
  270. <action application="set" data="on_busy_flag=1"/>
  271. <action application="set" data="on_busy_destination="/>
  272. <action application="set" data="no_answer_flag=1"/>
  273. <action application="set" data="no_answer_destination="/>
  274. <action application="set" data="not_register_flag=1"/>
  275. <action application="set" data="not_register_destination="/>
  276. <action application="set" data="opensips_flag=1"/>
  277. <action application="set" data="variable_sip_to_host=pk1betav602.astppbilling.org"/>
  278. <action application="set" data="variable_sip_network_port=5077"/>
  279. <action application="set" data="opensips_domain=127.0.0.1"/>
  280. <action application="set" data="leg_timeout=0"/>
  281. <action application="set" data="userinfo_id=6"/>
  282. <action application="set" data="sip_destination_number=7121256290"/>
  283. <action application="set" data="did_number=7121256290"/>
  284. <action application="set" data="user_domain=pk1betav602.astppbilling.org"/>
  285. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  286. <action application="set" data="on_busy_flag=1"/>
  287. <action application="set" data="on_busy_destination="/>
  288. <action application="set" data="no_answer_flag=1"/>
  289. <action application="set" data="no_answer_destination="/>
  290. <action application="set" data="not_register_flag=1"/>
  291. <action application="set" data="not_register_destination="/>
  292. <action application="set" data="opensips_flag=1"/>
  293. <action application="set" data="variable_sip_to_host=pk1betav602.astppbilling.org"/>
  294. <action application="set" data="variable_sip_network_port=5077"/>
  295. <action application="set" data="opensips_domain=127.0.0.1"/>
  296. <action application="set" data="leg_timeout=0"/>
  297. <action application="set" data="userinfo_id=6"/>
  298. <action application="set" data="sip_destination_number=7121256290"/>
  299. <action application="set" data="destination_number=7121256290"/>
  300. <action application="set" data="did_number=120400"/>
  301. <action application="set" data="user_domain=pk1betav602.astppbilling.org"/>
  302. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  303. <condition field="${cond(${user_data 7121256290@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  304. <action application="answer"/>
  305. <action application="export" data="voicemail_alternate_greet_id=7121256290"/>
  306. <action application="voicemail" data="default $${domain_name} 7121256290"/>
  307. <anti-action application="hangup" data="${originate_disposition}"/>
  308. </condition>
  309. </condition>
  310. </extension>
  311. </context>
  312. </section>
  313. </document>
  314. Dialplan: sofia/default/3762381270@3.110.187.230 parsing [default->120400] continue=false
  315. Dialplan: sofia/default/3762381270@3.110.187.230 Regex (PASS) [120400] destination_number(120400) =~ /120400/ break=on-false
  316. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(effective_destination_number=120400)
  317. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  318. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(notify_flag=0)
  319. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(notify_credit_limit=0.00000)
  320. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(type=3)
  321. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(callstart=2024-03-03 11:19:02)
  322. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(hangup_after_bridge=true)
  323. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(continue_on_fail=TRUE)
  324. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(account_id=3)
  325. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(parent_id=5)
  326. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(entity_id=3)
  327. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(call_processed=internal)
  328. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(call_direction=inbound)
  329. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(accountname=Cumminity)
  330. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(dialed_extension=transfer_call)
  331. Dialplan: sofia/default/3762381270@3.110.187.230 Action export(dialed_extension=transfer_call)
  332. Dialplan: sofia/default/3762381270@3.110.187.230 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  333. Dialplan: sofia/default/3762381270@3.110.187.230 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  334. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(filename1=astpp.pbx.lua)
  335. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(origination_rates_did=ID:1|CODE:^120400.*|DESTINATION:120400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:DID-LOCAL|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:129|ACCID:6||ID:1|CODE:^120400.*|DESTINATION:120400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:DID-LOCAL|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:129|ACCID:5)
  336. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(origination_rates=0)
  337. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(original_caller_id_name=3762381270)
  338. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(original_caller_id_number=3762381270)
  339. Dialplan: sofia/default/3762381270@3.110.187.230 Action export(is_recording=1)
  340. Dialplan: sofia/default/3762381270@3.110.187.230 Action export(media_bug_answer_req=true)
  341. Dialplan: sofia/default/3762381270@3.110.187.230 Action export(RECORD_STEREO=true)
  342. Dialplan: sofia/default/3762381270@3.110.187.230 Action export(record_sample_rate=8000)
  343. Dialplan: sofia/default/3762381270@3.110.187.230 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav)
  344. Dialplan: sofia/default/3762381270@3.110.187.230 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
  345. Dialplan: sofia/default/3762381270@3.110.187.230 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number})
  346. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(effective_caller_id_name=3762381270)
  347. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(effective_caller_id_number=3762381270)
  348. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(receiver_accid=6)
  349. Dialplan: sofia/default/3762381270@3.110.187.230 Action export(domain_name=pk1betav602.astppbilling.org)
  350. Dialplan: sofia/default/3762381270@3.110.187.230 Action export(sip_to_host=pk1betav602.astppbilling.org)
  351. Dialplan: sofia/default/3762381270@3.110.187.230 Action export(presence_data=x//5|||default(3673942894)|||^120400.* // 120400 // 0.99000|||||||||DID|||3.110.187.230)
  352. Dialplan: sofia/default/3762381270@3.110.187.230 Action export(call_type=DID-LOCAL)
  353. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(calltype=DID-LOCAL)
  354. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(daily_call_credit_limit=6000.00000)
  355. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(monthly_call_credit_limit=8000.00000)
  356. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(daily_call_used_limit=13.08000)
  357. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(monthly_call_used_limit=13.68000)
  358. Dialplan: sofia/default/3762381270@3.110.187.230 Action hash(insert/${domain_name}-call_return/7121256290/${caller_id_number})
  359. Dialplan: sofia/default/3762381270@3.110.187.230 Action bridge_export(hold_music=local_stream://kamesh)
  360. Dialplan: sofia/default/3762381270@3.110.187.230 Action db(insert/pickup_any_group_${callgroup}/7121256290/${uuid})
  361. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(dialed_extension=transfer_call)
  362. Dialplan: sofia/default/3762381270@3.110.187.230 Action export(dialed_extension=transfer_call)
  363. Dialplan: sofia/default/3762381270@3.110.187.230 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  364. Dialplan: sofia/default/3762381270@3.110.187.230 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  365. Dialplan: sofia/default/3762381270@3.110.187.230 Action bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  366. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(hangup_after_bridge=true)
  367. Dialplan: sofia/default/3762381270@3.110.187.230 Action export(did_user_domain=pk1betav602.astppbilling.org)
  368. Dialplan: sofia/default/3762381270@3.110.187.230 Action db(insert/pickup_any_group_${callgroup}/7121256290/${uuid})
  369. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(dialed_extension=transfer_call)
  370. Dialplan: sofia/default/3762381270@3.110.187.230 Action export(dialed_extension=transfer_call)
  371. Dialplan: sofia/default/3762381270@3.110.187.230 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  372. Dialplan: sofia/default/3762381270@3.110.187.230 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  373. Dialplan: sofia/default/3762381270@3.110.187.230 Action bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  374. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(hangup_after_bridge=true)
  375. Dialplan: sofia/default/3762381270@3.110.187.230 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=6}[leg_timeout=0 ] user/7121256290@pk1betav602.astppbilling.org)
  376. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(on_busy_flag=1)
  377. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(on_busy_destination=)
  378. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(no_answer_flag=1)
  379. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(no_answer_destination=)
  380. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(not_register_flag=1)
  381. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(not_register_destination=)
  382. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(opensips_flag=1)
  383. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(variable_sip_to_host=pk1betav602.astppbilling.org)
  384. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(variable_sip_network_port=5077)
  385. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(opensips_domain=127.0.0.1)
  386. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(leg_timeout=0)
  387. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(userinfo_id=6)
  388. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(sip_destination_number=7121256290)
  389. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(did_number=7121256290)
  390. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(user_domain=pk1betav602.astppbilling.org)
  391. Dialplan: sofia/default/3762381270@3.110.187.230 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  392. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(on_busy_flag=1)
  393. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(on_busy_destination=)
  394. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(no_answer_flag=1)
  395. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(no_answer_destination=)
  396. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(not_register_flag=1)
  397. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(not_register_destination=)
  398. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(opensips_flag=1)
  399. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(variable_sip_to_host=pk1betav602.astppbilling.org)
  400. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(variable_sip_network_port=5077)
  401. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(opensips_domain=127.0.0.1)
  402. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(leg_timeout=0)
  403. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(userinfo_id=6)
  404. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(sip_destination_number=7121256290)
  405. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(destination_number=7121256290)
  406. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(did_number=120400)
  407. Dialplan: sofia/default/3762381270@3.110.187.230 Action set(user_domain=pk1betav602.astppbilling.org)
  408. Dialplan: sofia/default/3762381270@3.110.187.230 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  409. |--- Dialplan: Processing recursive conditions level:1 [120400_recur_1] require-nested=TRUE
  410. |--- Dialplan: sofia/default/3762381270@3.110.187.230 Regex (FAIL) [120400_recur_1] ${cond(${user_data 7121256290@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  411. |--- Dialplan: sofia/default/3762381270@3.110.187.230 ANTI-Action hangup(${originate_disposition})
  412. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_core_state_machine.c:281 (sofia/default/3762381270@3.110.187.230) State Change CS_ROUTING -> CS_EXECUTE
  413. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3762381270@3.110.187.230) State ROUTING going to sleep
  414. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3762381270@3.110.187.230) Running State Change CS_EXECUTE (Cur 1 Tot 12493)
  415. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3762381270@3.110.187.230) State EXECUTE
  416. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_sofia.c:213 sofia/default/3762381270@3.110.187.230 SOFIA EXECUTE
  417. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_core_state_machine.c:323 sofia/default/3762381270@3.110.187.230 Standard EXECUTE
  418. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(effective_destination_number=120400)
  419. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [effective_destination_number]=[120400]
  420. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  421. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [execute_on_answer_1]=[sched_hangup +6000 normal_clearing]
  422. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(notify_flag=0)
  423. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [notify_flag]=[0]
  424. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(notify_credit_limit=0.00000)
  425. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [notify_credit_limit]=[0.00000]
  426. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(type=3)
  427. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [type]=[3]
  428. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(callstart=2024-03-03 11:19:02)
  429. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [callstart]=[2024-03-03 11:19:02]
  430. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(hangup_after_bridge=true)
  431. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [hangup_after_bridge]=[true]
  432. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(continue_on_fail=TRUE)
  433. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [continue_on_fail]=[TRUE]
  434. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(account_id=3)
  435. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [account_id]=[3]
  436. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(parent_id=5)
  437. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [parent_id]=[5]
  438. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(entity_id=3)
  439. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [entity_id]=[3]
  440. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(call_processed=internal)
  441. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [call_processed]=[internal]
  442. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(call_direction=inbound)
  443. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [call_direction]=[inbound]
  444. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(accountname=Cumminity)
  445. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [accountname]=[Cumminity]
  446. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(dialed_extension=transfer_call)
  447. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [dialed_extension]=[transfer_call]
  448. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 export(dialed_extension=transfer_call)
  449. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  450. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  451. 2024-03-03 11:19:02.786515 94.53% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  452. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  453. 2024-03-03 11:19:02.786515 94.53% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  454. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(filename1=astpp.pbx.lua)
  455. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [filename1]=[astpp.pbx.lua]
  456. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(origination_rates_did=ID:1|CODE:^120400.*|DESTINATION:120400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:DID-LOCAL|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:129|ACCID:6||ID:1|CODE:^120400.*|DESTINATION:120400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:DID-LOCAL|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:129|ACCID:5)
  457. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [origination_rates_did]=[ID:1|CODE:^120400.*|DESTINATION:120400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:DID-LOCAL|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:129|ACCID:6||ID:1|CODE:^120400.*|DESTINATION:120400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:DID-LOCAL|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:129|ACCID:5]
  458. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(origination_rates=0)
  459. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [origination_rates]=[0]
  460. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(original_caller_id_name=3762381270)
  461. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [original_caller_id_name]=[3762381270]
  462. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(original_caller_id_number=3762381270)
  463. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [original_caller_id_number]=[3762381270]
  464. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 export(is_recording=1)
  465. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [is_recording]=[1]
  466. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 export(media_bug_answer_req=true)
  467. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [media_bug_answer_req]=[true]
  468. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 export(RECORD_STEREO=true)
  469. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [RECORD_STEREO]=[true]
  470. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 export(record_sample_rate=8000)
  471. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [record_sample_rate]=[8000]
  472. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/7a030995-c07b-477b-9d1e-bbaa6f8fc99e.wav)
  473. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/7a030995-c07b-477b-9d1e-bbaa6f8fc99e.wav]
  474. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 hash(insert/172.31.42.21-last_dial/3762381270/120400)
  475. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 hash(insert/172.31.42.21-call_return/120400/3762381270)
  476. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(effective_caller_id_name=3762381270)
  477. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [effective_caller_id_name]=[3762381270]
  478. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(effective_caller_id_number=3762381270)
  479. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [effective_caller_id_number]=[3762381270]
  480. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(receiver_accid=6)
  481. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [receiver_accid]=[6]
  482. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 export(domain_name=pk1betav602.astppbilling.org)
  483. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[pk1betav602.astppbilling.org]
  484. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 export(sip_to_host=pk1betav602.astppbilling.org)
  485. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[pk1betav602.astppbilling.org]
  486. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 export(presence_data=x//5|||default(3673942894)|||^120400.* // 120400 // 0.99000|||||||||DID|||3.110.187.230)
  487. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x//5|||default(3673942894)|||^120400.* // 120400 // 0.99000|||||||||DID|||3.110.187.230]
  488. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 export(call_type=DID-LOCAL)
  489. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_type]=[DID-LOCAL]
  490. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(calltype=DID-LOCAL)
  491. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [calltype]=[DID-LOCAL]
  492. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(daily_call_credit_limit=6000.00000)
  493. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [daily_call_credit_limit]=[6000.00000]
  494. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(monthly_call_credit_limit=8000.00000)
  495. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [monthly_call_credit_limit]=[8000.00000]
  496. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(daily_call_used_limit=13.08000)
  497. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [daily_call_used_limit]=[13.08000]
  498. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(monthly_call_used_limit=13.68000)
  499. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [monthly_call_used_limit]=[13.68000]
  500. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 hash(insert/pk1betav602.astppbilling.org-call_return/7121256290/3762381270)
  501. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 bridge_export(hold_music=local_stream://kamesh)
  502. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1334 EXPORT (bridge_export_vars) [hold_music]=[local_stream://kamesh]
  503. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 db(insert/pickup_any_group_/7121256290/7a030995-c07b-477b-9d1e-bbaa6f8fc99e)
  504. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(dialed_extension=transfer_call)
  505. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [dialed_extension]=[transfer_call]
  506. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 export(dialed_extension=transfer_call)
  507. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  508. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  509. 2024-03-03 11:19:02.786515 94.53% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  510. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  511. 2024-03-03 11:19:02.786515 94.53% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  512. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  513. 2024-03-03 11:19:02.786515 94.53% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *8 execute_extension::transfer_call_8 XML default
  514. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(hangup_after_bridge=true)
  515. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [hangup_after_bridge]=[true]
  516. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 export(did_user_domain=pk1betav602.astppbilling.org)
  517. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [did_user_domain]=[pk1betav602.astppbilling.org]
  518. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 db(insert/pickup_any_group_/7121256290/7a030995-c07b-477b-9d1e-bbaa6f8fc99e)
  519. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(dialed_extension=transfer_call)
  520. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [dialed_extension]=[transfer_call]
  521. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 export(dialed_extension=transfer_call)
  522. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  523. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  524. 2024-03-03 11:19:02.786515 94.53% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  525. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  526. 2024-03-03 11:19:02.786515 94.53% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  527. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  528. 2024-03-03 11:19:02.786515 94.53% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *8 execute_extension::transfer_call_8 XML default
  529. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 set(hangup_after_bridge=true)
  530. 2024-03-03 11:19:02.786515 94.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/3762381270@3.110.187.230 [hangup_after_bridge]=[true]
  531. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=6}[leg_timeout=0 ] user/7121256290@pk1betav602.astppbilling.org)
  532. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  533. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [is_recording]=[1] to event
  534. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  535. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  536. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  537. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/7a030995-c07b-477b-9d1e-bbaa6f8fc99e.wav] to event
  538. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [domain_name]=[pk1betav602.astppbilling.org] to event
  539. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [sip_to_host]=[pk1betav602.astppbilling.org] to event
  540. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [presence_data]=[x//5|||default(3673942894)|||^120400.* // 120400 // 0.99000|||||||||DID|||3.110.187.230] to event
  541. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [call_type]=[DID-LOCAL] to event
  542. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  543. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [did_user_domain]=[pk1betav602.astppbilling.org] to event
  544. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  545. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  546. 2024-03-03 11:19:02.786515 94.53% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  547. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  548. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [is_recording]=[1] to event
  549. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  550. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  551. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  552. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/7a030995-c07b-477b-9d1e-bbaa6f8fc99e.wav] to event
  553. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [domain_name]=[pk1betav602.astppbilling.org] to event
  554. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [sip_to_host]=[pk1betav602.astppbilling.org] to event
  555. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [presence_data]=[x//5|||default(3673942894)|||^120400.* // 120400 // 0.99000|||||||||DID|||3.110.187.230] to event
  556. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [call_type]=[DID-LOCAL] to event
  557. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  558. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [did_user_domain]=[pk1betav602.astppbilling.org] to event
  559. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_channel.c:1288 sofia/default/3762381270@3.110.187.230 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  560. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  561. 2024-03-03 11:19:02.806524 94.53% [NOTICE] switch_channel.c:1142 New Channel sofia/default/7121256290@152.58.188.161:40292 [754c88d4-a6e1-4880-aed6-8eda886ec078]
  562. 2024-03-03 11:19:02.806524 94.53% [DEBUG] mod_sofia.c:5110 (sofia/default/7121256290@152.58.188.161:40292) State Change CS_NEW -> CS_INIT
  563. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7121256290@152.58.188.161:40292) Running State Change CS_INIT (Cur 2 Tot 12494)
  564. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/7121256290@152.58.188.161:40292) State INIT
  565. 2024-03-03 11:19:02.806524 94.53% [DEBUG] mod_sofia.c:97 sofia/default/7121256290@152.58.188.161:40292 SOFIA INIT
  566. 2024-03-03 11:19:02.806524 94.53% [DEBUG] sofia_glue.c:1628 sip:7121256290@152.58.188.161:40292;transport=tcp Setting proxy route to sofia/default/7121256290@152.58.188.161:40292
  567. 2024-03-03 11:19:02.806524 94.53% [INFO] sofia_glue.c:1659 sofia/default/7121256290@152.58.188.161:40292 sending invite call-id: (null)
  568. 2024-03-03 11:19:02.806524 94.53% [DEBUG] sofia_glue.c:1662 sofia/default/7121256290@152.58.188.161:40292 sending invite version: 1.10.10-release  64bit
  569. Local SDP:
  570. v=0
  571. o=FreeSWITCH 1709437162 1709437163 IN IP4 35.154.93.145
  572. s=FreeSWITCH
  573. c=IN IP4 35.154.93.145
  574. t=0 0
  575. m=audio 27580 RTP/AVP 8 101
  576. a=rtpmap:8 PCMA/8000
  577. a=rtpmap:101 telephone-event/8000
  578. a=fmtp:101 0-15
  579. a=ptime:20
  580. a=sendrecv
  581.  
  582. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/7121256290@152.58.188.161:40292 Standard INIT
  583. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/7121256290@152.58.188.161:40292) State Change CS_INIT -> CS_ROUTING
  584. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/7121256290@152.58.188.161:40292) State INIT going to sleep
  585. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7121256290@152.58.188.161:40292) Running State Change CS_ROUTING (Cur 2 Tot 12494)
  586. 2024-03-03 11:19:02.806524 94.53% [DEBUG] sofia.c:7493 Channel sofia/default/7121256290@152.58.188.161:40292 entering state [calling][0]
  587. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/7121256290@152.58.188.161:40292) State ROUTING
  588. 2024-03-03 11:19:02.806524 94.53% [DEBUG] mod_sofia.c:158 sofia/default/7121256290@152.58.188.161:40292 SOFIA ROUTING
  589. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_ivr_originate.c:67 (sofia/default/7121256290@152.58.188.161:40292) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  590. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/7121256290@152.58.188.161:40292) State ROUTING going to sleep
  591. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7121256290@152.58.188.161:40292) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 12494)
  592. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/7121256290@152.58.188.161:40292) State CONSUME_MEDIA
  593. 2024-03-03 11:19:02.806524 94.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/7121256290@152.58.188.161:40292) State CONSUME_MEDIA going to sleep
  594. 2024-03-03 11:19:03.386552 94.53% [DEBUG] sofia.c:7493 Channel sofia/default/7121256290@152.58.188.161:40292 entering state [proceeding][180]
  595. 2024-03-03 11:19:03.386552 94.53% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/7121256290@152.58.188.161:40292!
  596. 2024-03-03 11:19:03.386552 94.53% [DEBUG] switch_channel.c:3513 (sofia/default/7121256290@152.58.188.161:40292) Callstate Change DOWN -> RINGING
  597. 2024-03-03 11:19:03.406554 94.53% [NOTICE] mod_sofia.c:2514 Ring-Ready sofia/default/3762381270@3.110.187.230!
  598. 2024-03-03 11:19:03.406554 94.53% [DEBUG] sofia.c:7493 Channel sofia/default/3762381270@3.110.187.230 entering state [early][180]
  599. 2024-03-03 11:19:03.406554 94.53% [NOTICE] switch_ivr_originate.c:568 Ring Ready sofia/default/3762381270@3.110.187.230!
  600. 2024-03-03 11:19:05.826545 93.00% [DEBUG] sofia.c:7493 Channel sofia/default/7121256290@152.58.188.161:40292 entering state [completing][200]
  601. 2024-03-03 11:19:05.826545 93.00% [DEBUG] sofia.c:7503 Remote SDP:
  602. v=0
  603. o=7121256290 720 463 IN IP6 2409:40e4:2b:2c75:2843:c1ff:fe07:cf47
  604. s=Talk
  605. c=IN IP6 2409:40e4:2b:2c75:2843:c1ff:fe07:cf47
  606. t=0 0
  607. m=audio 42633 RTP/AVP 8 101
  608. a=rtpmap:101 telephone-event/8000
  609. a=rtcp:41536
  610.  
  611. 2024-03-03 11:19:05.826545 93.00% [DEBUG] sofia.c:7493 Channel sofia/default/7121256290@152.58.188.161:40292 entering state [ready][200]
  612. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  613. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  614. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  615. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/7121256290@152.58.188.161:40292 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  616. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_core_codec.c:111 sofia/default/7121256290@152.58.188.161:40292 Original read codec set to PCMA:8
  617. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  618. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_core_media.c:5856 sofia/default/7121256290@152.58.188.161:40292 Set 2833 dtmf send payload to 101 recv payload to 101
  619. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/7121256290@152.58.188.161:40292] 172.31.42.21 port 27580 -> 2409:40e4:2b:2c75:2843:c1ff:fe07:cf47 port 42633 codec: 8 ms: 20
  620. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  621. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_core_media.c:8880 Activating RTCP PORT 41536
  622. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_rtp.c:4705 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 41536
  623. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_rtp.c:2533 Setting RTCP remote addr to 2409:40e4:2b:2c75:2843:c1ff:fe07:cf47:41536 10
  624. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_core_media.c:8972 sofia/default/7121256290@152.58.188.161:40292 Set 2833 dtmf send payload to 101
  625. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_core_media.c:8979 sofia/default/7121256290@152.58.188.161:40292 Set 2833 dtmf receive payload to 101
  626. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_core_media.c:9002 sofia/default/7121256290@152.58.188.161:40292 Set rtp dtmf delay to 40
  627. 2024-03-03 11:19:05.826545 93.00% [NOTICE] sofia.c:8680 Channel [sofia/default/7121256290@152.58.188.161:40292] has been answered
  628. EXECUTE [depth=1] sofia/default/7121256290@152.58.188.161:40292 record_session(/usr/local/freeswitch/recordings/7a030995-c07b-477b-9d1e-bbaa6f8fc99e.wav)
  629. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/3762381270@3.110.187.230] 172.31.42.21 port 17280 -> 3.110.187.230 port 22080 codec: 8 ms: 20
  630. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  631. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_core_media.c:8972 sofia/default/3762381270@3.110.187.230 Set 2833 dtmf send payload to 101
  632. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_core_media.c:8979 sofia/default/3762381270@3.110.187.230 Set 2833 dtmf receive payload to 101
  633. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_core_media.c:9002 sofia/default/3762381270@3.110.187.230 Set rtp dtmf delay to 40
  634. 2024-03-03 11:19:05.826545 93.00% [DEBUG] mod_sofia.c:914 Local SDP sofia/default/3762381270@3.110.187.230:
  635. v=0
  636. o=FreeSWITCH 1709447465 1709447466 IN IP4 35.154.93.145
  637. s=FreeSWITCH
  638. c=IN IP4 35.154.93.145
  639. t=0 0
  640. m=audio 17280 RTP/AVP 8 101
  641. a=rtpmap:8 PCMA/8000
  642. a=rtpmap:101 telephone-event/8000
  643. a=fmtp:101 0-15
  644. a=ptime:20
  645. a=sendrecv
  646.  
  647. 2024-03-03 11:19:05.826545 93.00% [DEBUG] sofia.c:7493 Channel sofia/default/3762381270@3.110.187.230 entering state [completed][200]
  648. 2024-03-03 11:19:05.826545 93.00% [NOTICE] switch_ivr_originate.c:3851 Channel [sofia/default/3762381270@3.110.187.230] has been answered
  649. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 sched_hangup(+6000 normal_clearing)
  650. 2024-03-03 11:19:05.826545 93.00% [DEBUG] switch_scheduler.c:263 Added task 24 switch_ivr_schedule_hangup (7a030995-c07b-477b-9d1e-bbaa6f8fc99e) to run at 1709470745
  651. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 record_session(/usr/local/freeswitch/recordings/7a030995-c07b-477b-9d1e-bbaa6f8fc99e.wav)
  652. 2024-03-03 11:19:05.846465 93.00% [DEBUG] switch_ivr_async.c:1504 Record session sample rate: 8000 -> 8000
  653. 2024-03-03 11:19:05.846465 93.00% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/7121256290@152.58.188.161:40292
  654. 2024-03-03 11:19:05.846465 93.00% [DEBUG] switch_channel.c:3912 (sofia/default/7121256290@152.58.188.161:40292) Callstate Change RINGING -> ACTIVE
  655. 2024-03-03 11:19:05.846465 93.00% [DEBUG] switch_ivr_async.c:1504 Record session sample rate: 8000 -> 8000
  656. 2024-03-03 11:19:05.846465 93.00% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/3762381270@3.110.187.230
  657. 2024-03-03 11:19:05.846465 93.00% [DEBUG] sofia.c:7493 Channel sofia/default/3762381270@3.110.187.230 entering state [ready][200]
  658. 2024-03-03 11:19:05.846465 93.00% [DEBUG] switch_channel.c:3912 (sofia/default/3762381270@3.110.187.230) Callstate Change RINGING -> ACTIVE
  659. 2024-03-03 11:19:05.846465 93.00% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/7121256290@152.58.188.161:40292] Peer UUID: 754c88d4-a6e1-4880-aed6-8eda886ec078
  660. 2024-03-03 11:19:05.846465 93.00% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/7121256290@152.58.188.161:40292] Peer UUID: 754c88d4-a6e1-4880-aed6-8eda886ec078
  661. 2024-03-03 11:19:05.846465 93.00% [DEBUG] switch_channel.c:1295 sofia/default/3762381270@3.110.187.230 EXPORTING[bridge_export_vars] [hold_music]=[local_stream://kamesh] to sofia/default/7121256290@152.58.188.161:40292
  662. 2024-03-03 11:19:05.846465 93.00% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/7121256290@152.58.188.161:40292) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  663. 2024-03-03 11:19:05.846465 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7121256290@152.58.188.161:40292) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 12494)
  664. 2024-03-03 11:19:05.846465 93.00% [DEBUG] switch_core_state_machine.c:650 (sofia/default/7121256290@152.58.188.161:40292) State EXCHANGE_MEDIA
  665. 2024-03-03 11:19:05.846465 93.00% [DEBUG] mod_sofia.c:672 SOFIA EXCHANGE_MEDIA
  666. 2024-03-03 11:19:05.846465 93.00% [DEBUG] switch_ivr_async.c:1778 No silence detection configured; assuming start of speech
  667. 2024-03-03 11:19:05.846465 93.00% [DEBUG] switch_ivr_async.c:1778 No silence detection configured; assuming start of speech
  668. 2024-03-03 11:19:05.986540 93.00% [INFO] switch_rtp.c:6912 Auto Changing audio RTCP port from 2409:40e4:2b:2c75:2843:c1ff:fe07:cf47:41536 to 152.58.187.182:41536
  669. 2024-03-03 11:19:05.986540 93.00% [DEBUG] switch_rtp.c:2533 Setting RTCP remote addr to 152.58.187.182:41536 2
  670. 2024-03-03 11:19:06.706527 92.87% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
  671. 2024-03-03 11:19:06.706527 92.87% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  672. 2024-03-03 11:19:06.826515 92.87% [DEBUG] switch_rtp.c:1774 rtcp_stats_init: audio ssrc[3500576302] base_seq[0]
  673. 2024-03-03 11:19:06.826515 92.87% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  674. 2024-03-03 11:19:07.006544 92.87% [INFO] switch_rtp.c:7463 Auto Changing audio port from 2409:40e4:2b:2c75:2843:c1ff:fe07:cf47:42633 to 152.58.187.182:42633
  675. 2024-03-03 11:19:12.326538 93.57% [DEBUG] sofia.c:7493 Channel sofia/default/7121256290@152.58.188.161:40292 entering state [received][100]
  676. 2024-03-03 11:19:12.326538 93.57% [DEBUG] sofia.c:7503 Remote SDP:
  677. v=0
  678. o=7121256290 720 464 IN IP6 2409:40e4:2b:2c75:2843:c1ff:fe07:cf47
  679. s=Talk
  680. c=IN IP6 2409:40e4:2b:2c75:2843:c1ff:fe07:cf47
  681. t=0 0
  682. a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
  683. a=record:off
  684. m=audio 42633 RTP/AVP 96 97 98 0 8 18 101 99 100
  685. a=rtpmap:96 opus/48000/2
  686. a=fmtp:96 useinbandfec=1
  687. a=rtpmap:97 speex/16000
  688. a=fmtp:97 vbr=on
  689. a=rtpmap:98 speex/8000
  690. a=fmtp:98 vbr=on
  691. a=fmtp:18 annexb=yes
  692. a=rtpmap:101 telephone-event/48000
  693. a=rtpmap:99 telephone-event/16000
  694. a=rtpmap:100 telephone-event/8000
  695. a=sendonly
  696. a=rtcp:41536
  697. a=rtcp-fb:* trr-int 1000
  698. a=rtcp-fb:* ccm tmmbr
  699.  
  700. 2024-03-03 11:19:12.326538 93.57% [DEBUG] switch_channel.c:1994 (sofia/default/7121256290@152.58.188.161:40292) Callstate Change ACTIVE -> HELD
  701. 2024-03-03 11:19:12.466544 93.93% [DEBUG] switch_ivr.c:632 sofia/default/3762381270@3.110.187.230 Command Execute [depth=0] playback(local_stream://kamesh)
  702. EXECUTE [depth=0] sofia/default/3762381270@3.110.187.230 playback(local_stream://kamesh)
  703. 2024-03-03 11:19:12.466544 93.93% [WARNING] mod_local_stream.c:875 Unknown source kamesh, trying 'default'
  704. 2024-03-03 11:19:12.466544 93.93% [DEBUG] mod_local_stream.c:912 Opening Stream [default] 8000hz
  705. 2024-03-03 11:19:12.466544 93.93% [DEBUG] switch_ivr_play_say.c:1561 Codec Activated L16@8000hz 1 channels 20ms
  706. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  707. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
  708. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  709. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  710. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  711. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  712. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  713. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  714. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  715. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  716. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  717. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  718. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  719. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  720. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@48000
  721. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 100@8000
  722. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 100@8000
  723. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:5856 sofia/default/7121256290@152.58.188.161:40292 Set 2833 dtmf send payload to 100 recv payload to 100
  724. 2024-03-03 11:19:12.566542 93.93% [DEBUG] switch_core_media.c:8641 Audio params are unchanged for sofia/default/7121256290@152.58.188.161:40292.
  725. 2024-03-03 11:19:12.566542 93.93% [DEBUG] sofia.c:8448 Processing updated SDP
  726. 2024-03-03 11:19:12.586534 93.93% [DEBUG] sofia.c:7493 Channel sofia/default/7121256290@152.58.188.161:40292 entering state [completed][200]
  727. 2024-03-03 11:19:12.746583 93.93% [DEBUG] sofia.c:7493 Channel sofia/default/7121256290@152.58.188.161:40292 entering state [ready][200]
  728. freeswitch@ip-172-31-42-21>
  729. 2024-03-03 11:19:39.306541 96.97% [NOTICE] sofia.c:1065 Hangup sofia/default/3762381270@3.110.187.230 [CS_EXECUTE] [NORMAL_CLEARING]
  730. 2024-03-03 11:19:39.306541 96.97% [DEBUG] switch_ivr_play_say.c:2010 done playing file local_stream://kamesh
  731. 2024-03-03 11:19:39.306541 96.97% [DEBUG] switch_core_session.c:2979 sofia/default/3762381270@3.110.187.230 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  732. 2024-03-03 11:19:39.306541 96.97% [DEBUG] switch_ivr_bridge.c:567 sofia/default/3762381270@3.110.187.230 skip receive message [BRIDGE] (channel is hungup already)
  733. 2024-03-03 11:19:39.306541 96.97% [DEBUG] switch_ivr.c:679 sofia/default/3762381270@3.110.187.230 skip receive message [AUDIO_SYNC] (channel is hungup already)
  734. 2024-03-03 11:19:39.306541 96.97% [DEBUG] switch_ivr_bridge.c:825 sofia/default/3762381270@3.110.187.230 ending bridge by request from read function
  735. 2024-03-03 11:19:39.306541 96.97% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/3762381270@3.110.187.230]
  736. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/7121256290@152.58.188.161:40292]
  737. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_channel.c:2179 (sofia/default/7121256290@152.58.188.161:40292) Callstate Change HELD -> UNHELD
  738. 2024-03-03 11:19:39.326541 96.97% [NOTICE] switch_ivr_bridge.c:1027 Hangup sofia/default/7121256290@152.58.188.161:40292 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  739. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_core_state_machine.c:650 (sofia/default/7121256290@152.58.188.161:40292) State EXCHANGE_MEDIA going to sleep
  740. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7121256290@152.58.188.161:40292) Running State Change CS_HANGUP (Cur 2 Tot 12494)
  741. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_ivr_async.c:1597 Stop recording file /usr/local/freeswitch/recordings/7a030995-c07b-477b-9d1e-bbaa6f8fc99e.wav
  742. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/7121256290@152.58.188.161:40292 skip receive message [UNBRIDGE] (channel is hungup already)
  743. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_ivr_bridge.c:1893 sofia/default/3762381270@3.110.187.230 skip receive message [UNBRIDGE] (channel is hungup already)
  744. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_core_session.c:2979 sofia/default/3762381270@3.110.187.230 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  745. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3762381270@3.110.187.230) State EXECUTE going to sleep
  746. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3762381270@3.110.187.230) Running State Change CS_HANGUP (Cur 2 Tot 12494)
  747. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_ivr_async.c:1597 Stop recording file /usr/local/freeswitch/recordings/7a030995-c07b-477b-9d1e-bbaa6f8fc99e.wav
  748. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_ivr_async.c:1678 Channel is hung up
  749. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_core_media_bug.c:1326 Removing BUG from sofia/default/3762381270@3.110.187.230
  750. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_core_state_machine.c:844 (sofia/default/3762381270@3.110.187.230) Callstate Change ACTIVE -> HANGUP
  751. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3762381270@3.110.187.230) State HANGUP
  752. 2024-03-03 11:19:39.326541 96.97% [DEBUG] mod_sofia.c:469 Channel sofia/default/3762381270@3.110.187.230 hanging up, cause: NORMAL_CLEARING
  753. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_core_state_machine.c:59 sofia/default/3762381270@3.110.187.230 Standard HANGUP, cause: NORMAL_CLEARING
  754. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3762381270@3.110.187.230) State HANGUP going to sleep
  755. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_core_state_machine.c:616 (sofia/default/3762381270@3.110.187.230) State Change CS_HANGUP -> CS_REPORTING
  756. 2024-03-03 11:19:39.326541 96.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3762381270@3.110.187.230) Running State Change CS_REPORTING (Cur 2 Tot 12494)
  757. root@ip-172-31-42-21:/usr/local/freeswitch#