From Univasa, 1 Year ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and univasa failover
  1. span style="color: cornflowerblue; font-weight: bold;"> 2023-10-12 11:00:52.249414 93.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/917041337569@3.111.188.40 [debe51db-5efa-4362-b9cf-4b76de0e82d0]
  2. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/917041337569@3.111.188.40) Running State Change CS_NEW (Cur 1 Tot 10419)
  3. 2023-10-12 11:00:52.249414 93.73% [INFO] sofia.c:10453 sofia/default/917041337569@3.111.188.40 receiving invite from 3.111.188.40:7777 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: 72f82a2d-e391-123c-979d-02ce746a50f4
  4. 2023-10-12 11:00:52.249414 93.73% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 3.111.188.40:0.
  5. 2023-10-12 11:00:52.249414 93.73% [DEBUG] sofia.c:10576 IP 3.111.188.40 Approved by acl "default[]". Access Granted.
  6. 2023-10-12 11:00:52.249414 93.73% [DEBUG] sofia.c:7487 Channel sofia/default/917041337569@3.111.188.40 entering state [received][100]
  7. 2023-10-12 11:00:52.249414 93.73% [DEBUG] sofia.c:7497 Remote SDP:
  8. v=0
  9. o=FreeSWITCH 1697084371 1697084372 IN IP4 3.111.188.40
  10. s=FreeSWITCH
  11. c=IN IP4 3.111.188.40
  12. t=0 0
  13. m=audio 24080 RTP/AVP 8 101
  14. a=rtpmap:8 PCMA/8000
  15. a=rtpmap:101 telephone-event/8000
  16. a=fmtp:101 0-15
  17. a=ptime:20
  18.  
  19. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  20. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  21. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  22. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  23. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  24. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/917041337569@3.111.188.40 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  25. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_codec.c:111 sofia/default/917041337569@3.111.188.40 Original read codec set to PCMA:8
  26. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  27. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_media.c:5850 sofia/default/917041337569@3.111.188.40 Set 2833 dtmf send payload to 101 recv payload to 101
  28. 2023-10-12 11:00:52.249414 93.73% [DEBUG] sofia.c:7921 (sofia/default/917041337569@3.111.188.40) State Change CS_NEW -> CS_INIT
  29. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_state_machine.c:600 (sofia/default/917041337569@3.111.188.40) State NEW
  30. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/917041337569@3.111.188.40) Running State Change CS_INIT (Cur 1 Tot 10419)
  31. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/917041337569@3.111.188.40) State INIT
  32. 2023-10-12 11:00:52.249414 93.73% [DEBUG] mod_sofia.c:97 sofia/default/917041337569@3.111.188.40 SOFIA INIT
  33. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/917041337569@3.111.188.40 Standard INIT
  34. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/917041337569@3.111.188.40) State Change CS_INIT -> CS_ROUTING
  35. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/917041337569@3.111.188.40) State INIT going to sleep
  36. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/917041337569@3.111.188.40) Running State Change CS_ROUTING (Cur 1 Tot 10419)
  37. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_channel.c:2380 (sofia/default/917041337569@3.111.188.40) Callstate Change DOWN -> RINGING
  38. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/917041337569@3.111.188.40) State ROUTING
  39. 2023-10-12 11:00:52.249414 93.73% [DEBUG] mod_sofia.c:158 sofia/default/917041337569@3.111.188.40 SOFIA ROUTING
  40. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_core_state_machine.c:230 sofia/default/917041337569@3.111.188.40 Standard ROUTING
  41. 2023-10-12 11:00:52.249414 93.73% [INFO] mod_dialplan_xml.c:639 Processing 917041337569 <917041337569>->018887074 in context default
  42. 2023-10-12 11:00:52.249414 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  43. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  44. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  45. 2023-10-12 11:00:52.249414 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  46. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  47. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 018887074
  48. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '018887074' limit 1
  49. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  50. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '018887074' and status=0 LIMIT 1
  51. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+voice
  52. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  53. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'voice.univasa.com' limit 1
  54. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 074
  55. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 018887 AND status=0 limit 1
  56. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  57. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  58. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  59. 2023-10-12 11:00:52.269423 93.73% [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 ="018887074" LIMIT 1
  60. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  62. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ANKIT CHANGES
  63. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ANKIT CHANGES DONE
  64. 2023-10-12 11:00:52.269423 93.73% [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.111.188.40") 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 "018887074"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  65. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1260665586]
  66. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "1260665586" OR id = "1260665586") AND deleted = 0 limit 1
  67. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  68. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  69. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  70. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  71. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  72. 2023-10-12 11:00:52.269423 93.73% [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 = '^018887074.*' OR patterns = '^01888707.*' OR patterns = '^0188870.*' OR patterns = '^018887.*' OR patterns = '^01888.*' OR patterns = '^0188.*' OR patterns = '^018.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  73. 2023-10-12 11:00:52.269423 93.73% [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 ="018887074" AND A.accountid = '8' limit 1
  74. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 018887074
  75. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  76. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  77. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  78. 2023-10-12 11:00:52.269423 93.73% [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 ="018887074" LIMIT 1
  79. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  80. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  81. 2023-10-12 11:00:52.269423 93.73% [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 = '018887074' OR number = '01888707' OR number = '0188870' OR number = '018887' OR number = '01888' OR number = '0188' OR number = '018' OR number = '01' OR number = '0' OR number ='--') OR (number = '018887074*' OR number = '01888707*' OR number = '0188870*' OR number = '018887*' OR number = '01888*' OR number = '0188*' OR number = '018*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '917041337569' OR number = '91704133756' OR number = '9170413375' OR number = '917041337' OR number = '91704133' OR number = '9170413' OR number = '917041' OR number = '91704' OR number = '9170' OR number = '917' OR number = '91' OR number = '9' OR number ='--') OR (number = '917041337569*' OR number = '91704133756*' OR number = '9170413375*' OR number = '917041337*' OR number = '91704133*' OR number = '9170413*' OR number = '917041*' OR number = '91704*' OR number = '9170*' OR number = '917*' OR number = '91*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  82. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  83. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '018887074' OR routing_prefix = '01888707' OR routing_prefix = '0188870' OR routing_prefix = '018887' OR routing_prefix = '01888' OR routing_prefix = '0188' OR routing_prefix = '018' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  84. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  85. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  86. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1260665586
  87. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  88. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 530.6178
  89. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  90. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  91. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  92. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  93. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  94. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::2
  95. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  96. 2023-10-12 11:00:52.269423 93.73% [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 ="018887074" LIMIT 1
  97. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  98. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  99. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  100. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  101. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  102. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  103. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  104. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 018887074
  105. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 141
  106. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  107. 2023-10-12 11:00:52.269423 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  108. 2023-10-12 11:00:52.269423 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  109. 2023-10-12 11:00:52.289413 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your530.6178 balance Accountid 8 !!!
  110. 2023-10-12 11:00:52.289413 93.73% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  111. 2023-10-12 11:00:52.289413 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  112. 2023-10-12 11:00:52.289413 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  113. 2023-10-12 11:00:52.289413 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  114. 2023-10-12 11:00:52.289413 93.73% [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 = 8 AND status=0 LIMIT 1
  115. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "7" OR number = "7") AND deleted = 0 limit 1
  116. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  117. 2023-10-12 11:00:52.289413 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:8
  118. 2023-10-12 11:00:52.289413 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:8
  119. 2023-10-12 11:00:52.289413 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 8
  120. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  121. 2023-10-12 11:00:52.289413 93.73% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : hq.voice.univasa.com
  122. 2023-10-12 11:00:52.289413 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  123. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+voice' and status = 0 limit 1
  124. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  125. 2023-10-12 11:00:52.289413 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  126. 2023-10-12 11:00:52.289413 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  127. 2023-10-12 11:00:52.289413 93.73% [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 = "2" AND accounts.status = 0
  128. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  129. 2023-10-12 11:00:52.289413 93.73% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : hq.voice.univasa.com
  130. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_10
  131. 2023-10-12 11:00:52.289413 93.73% [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 = 7 or id = 7 ) and status = 0 limit 1
  132. 2023-10-12 11:00:52.289413 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 10
  133. 2023-10-12 11:00:52.289413 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : IVR
  134. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 2 and status=0 LIMIT 1
  135. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '${ca-ring}' LIMIT 1
  136. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  137. <document type="freeswitch/xml">
  138. <section name="dialplan" description="ASTPP Dialplan">
  139. <context name="default">
  140. <extension name="018887074">
  141. <condition field="destination_number" expression="018887074">
  142. <action application="set" data="effective_destination_number=018887074"/>
  143. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  144. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  145. <action application="set" data="notify_flag=0"/>
  146. <action application="set" data="notify_credit_limit=5.00000"/>
  147. <action application="set" data="type=0"/>
  148. <action application="set" data="callstart=2023-10-12 11:00:52"/>
  149. <action application="set" data="hangup_after_bridge=true"/>
  150. <action application="set" data="continue_on_fail=TRUE"/>
  151. <action application="set" data="account_id=8"/>
  152. <action application="set" data="parent_id=0"/>
  153. <action application="set" data="entity_id=0"/>
  154. <action application="set" data="call_processed=internal"/>
  155. <action application="set" data="call_direction=inbound"/>
  156. <action application="set" data="accountname=Adesh"/>
  157. <action application="set" data="origination_rates_did=ID:2|CODE:^018887074.*|DESTINATION:018887074|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:7"/>
  158. <action application="set" data="origination_rates=0"/>
  159. <action application="set" data="original_caller_id_name=917041337569"/>
  160. <action application="set" data="original_caller_id_number=917041337569"/>
  161. <action application="export" data="is_recording=1"/>
  162. <action application="export" data="media_bug_answer_req=true"/>
  163. <action application="export" data="RECORD_STEREO=true"/>
  164. <action application="export" data="record_sample_rate=8000"/>
  165. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  166. <action application="set" data="effective_caller_id_name=917041337569"/>
  167. <action application="set" data="effective_caller_id_number=917041337569"/>
  168. <action application="set" data="receiver_accid=7"/>
  169. <action application="export" data="domain_name=hq.voice.univasa.com"/>
  170. <action application="export" data="sip_to_host=hq.voice.univasa.com"/>
  171. <action application="export" data="presence_data=x|||Grace(1260665586)|||^018887074.* // 018887074 // 0.00000|||||||||DID|||3.111.188.40"/>
  172. <action application="export" data="call_type=10"/>
  173. <action application="set" data="did_calltype=10"/>
  174. <action application="set" data="did_extensions=2"/>
  175. <action application="set" data="daily_call_credit_limit=0.00000"/>
  176. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  177. <action application="set" data="daily_call_used_limit=0.00000"/>
  178. <action application="set" data="monthly_call_used_limit=0.00000"/>
  179. <action application="export" data="is_recording=1"/>
  180. <action application="export" data="media_bug_answer_req=true"/>
  181. <action application="export" data="RECORD_STEREO=true"/>
  182. <action application="export" data="record_sample_rate=8000"/>
  183. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  184. <action application="set" data="ringback=${ca-ring}"/>
  185. <action application="set" data="module_name=pbx"/>
  186. <action application="set" data="sip_h_P-call_type=custom_forward"/>
  187. <action application="set" data="sip_h_P-Accountcode=7"/>
  188. <action application="set" data="no_answer_number=2"/>
  189. <action application="export" data="no_answer_number=2"/>
  190. <action application="set" data="no_answer_did_number=018887074" inline="true"/>
  191. <action application="set" data="no_answer_call_type=ringgroup"/>
  192. <action application="set" data="no_answer_call_type_value=2"/>
  193. <action application="set" data="opensips_flag=1"/>
  194. <action application="set" data="originate_disposition=no_key_press"/>
  195. <action application="set" data="variable_sip_to_host=hq.voice.univasa.com"/>
  196. <action application="set" data="userinfo_id=8"/>
  197. <action application="set" data="variable_sip_to_host=hq.voice.univasa.com"/>
  198. <action application="set" data="original_did_number=018887074"/>
  199.     <action application="answer"/>
  200. <action application="ivr" data="General0"/>
  201. <action application="lua" data="astpp/lib/pbx/astpp-failover_ivr_destination.lua"/>
  202. </condition>
  203. </extension>
  204. </context>
  205. </section>
  206. </document>
  207. Dialplan: sofia/default/917041337569@3.111.188.40 parsing [default->018887074] continue=false
  208. Dialplan: sofia/default/917041337569@3.111.188.40 Regex (PASS) [018887074] destination_number(018887074) =~ /018887074/ break=on-false
  209. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(effective_destination_number=018887074)
  210. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  211. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  212. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(notify_flag=0)
  213. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(notify_credit_limit=5.00000)
  214. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(type=0)
  215. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(callstart=2023-10-12 11:00:52)
  216. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(hangup_after_bridge=true)
  217. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(continue_on_fail=TRUE)
  218. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(account_id=8)
  219. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(parent_id=0)
  220. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(entity_id=0)
  221. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(call_processed=internal)
  222. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(call_direction=inbound)
  223. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(accountname=Adesh)
  224. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(origination_rates_did=ID:2|CODE:^018887074.*|DESTINATION:018887074|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:7)
  225. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(origination_rates=0)
  226. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(original_caller_id_name=917041337569)
  227. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(original_caller_id_number=917041337569)
  228. Dialplan: sofia/default/917041337569@3.111.188.40 Action export(is_recording=1)
  229. Dialplan: sofia/default/917041337569@3.111.188.40 Action export(media_bug_answer_req=true)
  230. Dialplan: sofia/default/917041337569@3.111.188.40 Action export(RECORD_STEREO=true)
  231. Dialplan: sofia/default/917041337569@3.111.188.40 Action export(record_sample_rate=8000)
  232. Dialplan: sofia/default/917041337569@3.111.188.40 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  233. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(effective_caller_id_name=917041337569)
  234. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(effective_caller_id_number=917041337569)
  235. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(receiver_accid=7)
  236. Dialplan: sofia/default/917041337569@3.111.188.40 Action export(domain_name=hq.voice.univasa.com)
  237. Dialplan: sofia/default/917041337569@3.111.188.40 Action export(sip_to_host=hq.voice.univasa.com)
  238. Dialplan: sofia/default/917041337569@3.111.188.40 Action export(presence_data=x|||Grace(1260665586)|||^018887074.* // 018887074 // 0.00000|||||||||DID|||3.111.188.40)
  239. Dialplan: sofia/default/917041337569@3.111.188.40 Action export(call_type=10)
  240. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(did_calltype=10)
  241. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(did_extensions=2)
  242. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(daily_call_credit_limit=0.00000)
  243. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(monthly_call_credit_limit=0.00000)
  244. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(daily_call_used_limit=0.00000)
  245. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(monthly_call_used_limit=0.00000)
  246. Dialplan: sofia/default/917041337569@3.111.188.40 Action export(is_recording=1)
  247. Dialplan: sofia/default/917041337569@3.111.188.40 Action export(media_bug_answer_req=true)
  248. Dialplan: sofia/default/917041337569@3.111.188.40 Action export(RECORD_STEREO=true)
  249. Dialplan: sofia/default/917041337569@3.111.188.40 Action export(record_sample_rate=8000)
  250. Dialplan: sofia/default/917041337569@3.111.188.40 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  251. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(ringback=${ca-ring})
  252. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(module_name=pbx)
  253. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(sip_h_P-call_type=custom_forward)
  254. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(sip_h_P-Accountcode=7)
  255. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(no_answer_number=2)
  256. Dialplan: sofia/default/917041337569@3.111.188.40 Action export(no_answer_number=2)
  257. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(no_answer_did_number=018887074) INLINE
  258. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(no_answer_did_number=018887074)
  259. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [no_answer_did_number]=[018887074]
  260. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(no_answer_call_type=ringgroup)
  261. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(no_answer_call_type_value=2)
  262. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(opensips_flag=1)
  263. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(originate_disposition=no_key_press)
  264. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(variable_sip_to_host=hq.voice.univasa.com)
  265. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(userinfo_id=8)
  266. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(variable_sip_to_host=hq.voice.univasa.com)
  267. Dialplan: sofia/default/917041337569@3.111.188.40 Action set(original_did_number=018887074)
  268. Dialplan: sofia/default/917041337569@3.111.188.40 Action answer()
  269. Dialplan: sofia/default/917041337569@3.111.188.40 Action ivr(General0)
  270. Dialplan: sofia/default/917041337569@3.111.188.40 Action lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua)
  271. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_core_state_machine.c:281 (sofia/default/917041337569@3.111.188.40) State Change CS_ROUTING -> CS_EXECUTE
  272. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/917041337569@3.111.188.40) State ROUTING going to sleep
  273. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/917041337569@3.111.188.40) Running State Change CS_EXECUTE (Cur 1 Tot 10419)
  274. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/917041337569@3.111.188.40) State EXECUTE
  275. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_sofia.c:213 sofia/default/917041337569@3.111.188.40 SOFIA EXECUTE
  276. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_core_state_machine.c:323 sofia/default/917041337569@3.111.188.40 Standard EXECUTE
  277. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(effective_destination_number=018887074)
  278. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [effective_destination_number]=[018887074]
  279. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(bridge_pre_execute_bleg_app=sched_hangup)
  280. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [bridge_pre_execute_bleg_app]=[sched_hangup]
  281. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  282. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  283. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(notify_flag=0)
  284. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [notify_flag]=[0]
  285. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(notify_credit_limit=5.00000)
  286. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [notify_credit_limit]=[5.00000]
  287. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(type=0)
  288. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [type]=[0]
  289. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(callstart=2023-10-12 11:00:52)
  290. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [callstart]=[2023-10-12 11:00:52]
  291. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(hangup_after_bridge=true)
  292. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [hangup_after_bridge]=[true]
  293. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(continue_on_fail=TRUE)
  294. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [continue_on_fail]=[TRUE]
  295. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(account_id=8)
  296. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [account_id]=[8]
  297. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(parent_id=0)
  298. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [parent_id]=[0]
  299. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(entity_id=0)
  300. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [entity_id]=[0]
  301. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(call_processed=internal)
  302. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [call_processed]=[internal]
  303. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(call_direction=inbound)
  304. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [call_direction]=[inbound]
  305. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(accountname=Adesh)
  306. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [accountname]=[Adesh]
  307. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(origination_rates_did=ID:2|CODE:^018887074.*|DESTINATION:018887074|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:7)
  308. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [origination_rates_did]=[ID:2|CODE:^018887074.*|DESTINATION:018887074|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:7]
  309. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(origination_rates=0)
  310. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [origination_rates]=[0]
  311. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(original_caller_id_name=917041337569)
  312. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [original_caller_id_name]=[917041337569]
  313. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(original_caller_id_number=917041337569)
  314. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [original_caller_id_number]=[917041337569]
  315. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 export(is_recording=1)
  316. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  317. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 export(media_bug_answer_req=true)
  318. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  319. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 export(RECORD_STEREO=true)
  320. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  321. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 export(record_sample_rate=8000)
  322. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  323. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/debe51db-5efa-4362-b9cf-4b76de0e82d0.wav)
  324. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/debe51db-5efa-4362-b9cf-4b76de0e82d0.wav]
  325. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(effective_caller_id_name=917041337569)
  326. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [effective_caller_id_name]=[917041337569]
  327. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(effective_caller_id_number=917041337569)
  328. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [effective_caller_id_number]=[917041337569]
  329. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(receiver_accid=7)
  330. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [receiver_accid]=[7]
  331. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 export(domain_name=hq.voice.univasa.com)
  332. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[hq.voice.univasa.com]
  333. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 export(sip_to_host=hq.voice.univasa.com)
  334. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[hq.voice.univasa.com]
  335. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 export(presence_data=x|||Grace(1260665586)|||^018887074.* // 018887074 // 0.00000|||||||||DID|||3.111.188.40)
  336. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Grace(1260665586)|||^018887074.* // 018887074 // 0.00000|||||||||DID|||3.111.188.40]
  337. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 export(call_type=10)
  338. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[10]
  339. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(did_calltype=10)
  340. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [did_calltype]=[10]
  341. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(did_extensions=2)
  342. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [did_extensions]=[2]
  343. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(daily_call_credit_limit=0.00000)
  344. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [daily_call_credit_limit]=[0.00000]
  345. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(monthly_call_credit_limit=0.00000)
  346. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [monthly_call_credit_limit]=[0.00000]
  347. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(daily_call_used_limit=0.00000)
  348. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [daily_call_used_limit]=[0.00000]
  349. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(monthly_call_used_limit=0.00000)
  350. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [monthly_call_used_limit]=[0.00000]
  351. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 export(is_recording=1)
  352. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  353. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 export(media_bug_answer_req=true)
  354. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  355. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 export(RECORD_STEREO=true)
  356. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  357. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 export(record_sample_rate=8000)
  358. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  359. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/debe51db-5efa-4362-b9cf-4b76de0e82d0.wav)
  360. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/debe51db-5efa-4362-b9cf-4b76de0e82d0.wav]
  361. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(ringback=%(2000,4000,440,480))
  362. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [ringback]=[%(2000,4000,440,480)]
  363. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(module_name=pbx)
  364. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [module_name]=[pbx]
  365. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(sip_h_P-call_type=custom_forward)
  366. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [sip_h_P-call_type]=[custom_forward]
  367. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(sip_h_P-Accountcode=7)
  368. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [sip_h_P-Accountcode]=[7]
  369. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(no_answer_number=2)
  370. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [no_answer_number]=[2]
  371. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 export(no_answer_number=2)
  372. 2023-10-12 11:00:52.289413 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [no_answer_number]=[2]
  373. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(no_answer_call_type=ringgroup)
  374. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [no_answer_call_type]=[ringgroup]
  375. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(no_answer_call_type_value=2)
  376. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [no_answer_call_type_value]=[2]
  377. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(opensips_flag=1)
  378. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [opensips_flag]=[1]
  379. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(originate_disposition=no_key_press)
  380. 2023-10-12 11:00:52.289413 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [originate_disposition]=[no_key_press]
  381. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(variable_sip_to_host=hq.voice.univasa.com)
  382. 2023-10-12 11:00:52.309417 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [variable_sip_to_host]=[hq.voice.univasa.com]
  383. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(userinfo_id=8)
  384. 2023-10-12 11:00:52.309417 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [userinfo_id]=[8]
  385. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(variable_sip_to_host=hq.voice.univasa.com)
  386. 2023-10-12 11:00:52.309417 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [variable_sip_to_host]=[hq.voice.univasa.com]
  387. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 set(original_did_number=018887074)
  388. 2023-10-12 11:00:52.309417 93.73% [DEBUG] mod_dptools.c:1673 SET sofia/default/917041337569@3.111.188.40 [original_did_number]=[018887074]
  389. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 answer()
  390. 2023-10-12 11:00:52.309417 93.73% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/917041337569@3.111.188.40] 116.203.52.230 port 19336 -> 3.111.188.40 port 24080 codec: 8 ms: 20
  391. 2023-10-12 11:00:52.309417 93.73% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  392. 2023-10-12 11:00:52.309417 93.73% [DEBUG] switch_core_media.c:8963 sofia/default/917041337569@3.111.188.40 Set 2833 dtmf send payload to 101
  393. 2023-10-12 11:00:52.309417 93.73% [DEBUG] switch_core_media.c:8970 sofia/default/917041337569@3.111.188.40 Set 2833 dtmf receive payload to 101
  394. 2023-10-12 11:00:52.309417 93.73% [DEBUG] switch_core_media.c:8993 sofia/default/917041337569@3.111.188.40 Set rtp dtmf delay to 40
  395. 2023-10-12 11:00:52.309417 93.73% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/917041337569@3.111.188.40:
  396. v=0
  397. o=FreeSWITCH 1697089116 1697089117 IN IP4 116.203.52.230
  398. s=FreeSWITCH
  399. c=IN IP4 116.203.52.230
  400. t=0 0
  401. m=audio 19336 RTP/AVP 8 101
  402. a=rtpmap:8 PCMA/8000
  403. a=rtpmap:101 telephone-event/8000
  404. a=fmtp:101 0-15
  405. a=ptime:20
  406. a=sendrecv
  407.  
  408. 2023-10-12 11:00:52.309417 93.73% [NOTICE] mod_dptools.c:1408 Channel [sofia/default/917041337569@3.111.188.40] has been answered
  409. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 record_session(/usr/local/freeswitch/recordings/debe51db-5efa-4362-b9cf-4b76de0e82d0.wav)
  410. 2023-10-12 11:00:52.309417 93.73% [DEBUG] sofia.c:7487 Channel sofia/default/917041337569@3.111.188.40 entering state [completed][200]
  411. 2023-10-12 11:00:52.309417 93.73% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  412. 2023-10-12 11:00:52.309417 93.73% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/917041337569@3.111.188.40
  413. 2023-10-12 11:00:52.309417 93.73% [DEBUG] switch_channel.c:3893 (sofia/default/917041337569@3.111.188.40) Callstate Change RINGING -> ACTIVE
  414. EXECUTE [depth=0] sofia/default/917041337569@3.111.188.40 ivr(General0)
  415. 2023-10-12 11:00:52.329419 93.73% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exit'
  416. 2023-10-12 11:00:52.329419 93.73% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-sub'
  417. 2023-10-12 11:00:52.329419 93.73% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
  418. 2023-10-12 11:00:52.329419 93.73% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
  419. 2023-10-12 11:00:52.329419 93.73% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-back'
  420. 2023-10-12 11:00:52.329419 93.73% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-top'
  421. 2023-10-12 11:00:52.329419 93.73% [DEBUG] switch_ivr_menu.c:883 building menu 'General0'
  422. 2023-10-12 11:00:52.329419 93.73% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '1'
  423. 2023-10-12 11:00:52.329419 93.73% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '2'
  424. 2023-10-12 11:00:52.329419 93.73% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '3'
  425. 2023-10-12 11:00:52.329419 93.73% [DEBUG] switch_ivr_menu.c:486 Executing IVR menu General0
  426. 2023-10-12 11:00:52.329419 93.73% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp/upload/pbx/univasa_ivr_20231011153703.wav sample rate 24000 doesn't match requested rate 8000
  427. 2023-10-12 11:00:52.329419 93.73% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  428. 2023-10-12 11:00:52.329419 93.73% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  429. 2023-10-12 11:00:52.449426 93.73% [DEBUG] sofia.c:7487 Channel sofia/default/917041337569@3.111.188.40 entering state [ready][200]
  430. 2023-10-12 11:00:52.909443 93.73% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  431. 2023-10-12 11:00:52.909443 93.73% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  432. 2023-10-12 11:01:27.489433 93.33% [DEBUG] switch_ivr_play_say.c:2015 done playing file /var/www/html/astpp/upload/pbx/univasa_ivr_20231011153703.wav
  433. 2023-10-12 11:01:27.489433 93.33% [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000
  434. 2023-10-12 11:01:32.489441 93.37% [DEBUG] switch_ivr_menu.c:425 digits ''
  435. 2023-10-12 11:01:32.489441 93.37% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp/upload/pbx/univasa_ivr_20231011153703.wav sample rate 24000 doesn't match requested rate 8000
  436. 2023-10-12 11:01:32.489441 93.37% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  437. 2023-10-12 11:01:58.469431 93.80% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [101@ubx.univasa.com] from ip 45.222.101.176
  438. 2023-10-12 11:01:58.689447 93.80% [WARNING] sofia_reg.c:3211 Can't find user [101@ubx.univasa.com] from 45.222.101.176
  439. You must define a domain called 'ubx.univasa.com' in your directory and add a user with the id="101" attribute
  440. and you must configure your device to use the proper domain in its authentication credentials.
  441. 2023-10-12 11:01:58.689447 93.80% [WARNING] sofia_reg.c:1791 SIP auth failure (REGISTER) on sofia profile 'default' for [101@ubx.univasa.com] from ip 45.222.101.176
  442. 2023-10-12 11:02:07.669430 92.73% [DEBUG] switch_ivr_play_say.c:2015 done playing file /var/www/html/astpp/upload/pbx/univasa_ivr_20231011153703.wav
  443. 2023-10-12 11:02:07.669430 92.73% [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000
  444. 2023-10-12 11:02:12.689425 92.60% [DEBUG] switch_ivr_menu.c:425 digits ''
  445. 2023-10-12 11:02:12.689425 92.60% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp/upload/pbx/univasa_ivr_20231011153703.wav sample rate 24000 doesn't match requested rate 8000
  446. 2023-10-12 11:02:12.689425 92.60% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  447. 2023-10-12 11:02:24.949428 92.63% [NOTICE] sofia.c:1065 Hangup sofia/default/917041337569@3.111.188.40 [CS_EXECUTE] [NORMAL_CLEARING]
  448. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_ivr_play_say.c:2015 done playing file /var/www/html/astpp/upload/pbx/univasa_ivr_20231011153703.wav
  449. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000
  450. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_ivr_menu.c:425 digits ''
  451. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_ivr_menu.c:664 IVR menu 'General0' no input detected
  452. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_ivr_menu.c:676 exit-sound '(null)'
  453. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_core_session.c:2973 sofia/default/917041337569@3.111.188.40 skip receive message [PHONE_EVENT] (channel is hungup already)
  454. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/917041337569@3.111.188.40) State EXECUTE going to sleep
  455. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/917041337569@3.111.188.40) Running State Change CS_HANGUP (Cur 1 Tot 10419)
  456. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/debe51db-5efa-4362-b9cf-4b76de0e82d0.wav
  457. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  458. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_core_media_bug.c:1326 Removing BUG from sofia/default/917041337569@3.111.188.40
  459. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_core_state_machine.c:844 (sofia/default/917041337569@3.111.188.40) Callstate Change ACTIVE -> HANGUP
  460. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/917041337569@3.111.188.40) State HANGUP
  461. 2023-10-12 11:02:24.949428 92.63% [DEBUG] mod_sofia.c:468 Channel sofia/default/917041337569@3.111.188.40 hanging up, cause: NORMAL_CLEARING
  462. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_core_state_machine.c:59 sofia/default/917041337569@3.111.188.40 Standard HANGUP, cause: NORMAL_CLEARING
  463. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/917041337569@3.111.188.40) State HANGUP going to sleep
  464. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/917041337569@3.111.188.40) State Change CS_HANGUP -> CS_REPORTING
  465. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/917041337569@3.111.188.40) Running State Change CS_REPORTING (Cur 1 Tot 10419)
  466. 2023-10-12 11:02:24.949428 92.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/917041337569@3.111.188.40) State REPORTING
  467. 2023-10-12 11:02:24.949428 92.63% [INFO] mod_json_cdr.c:272 Process [debe51db-5efa-4362-b9cf-4b76de0e82d0.cdr.json]
  468. 2023-10-12 11:02:24.969416 92.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/917041337569@3.111.188.40 Standar