From Prashant Kumar, 11 Months ago, written in FreeSWITCH.
- view diff
Embed
  1.  
  2. [This app Best viewed at 160x60 or more..]
  3. +OK log level  [7]
  4. 2023-05-27 11:58:14.065587 94.17% [NOTICE] switch_channel.c:1123 New Channel sofia/default/33@alpha4.astppbilling.org:5076 [3b6cc8f2-cf83-49f9-916d-21478e5601a0]
  5. 2023-05-27 11:58:14.065587 94.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/33@alpha4.astppbilling.org:5076) Running State Change CS_NEW (Cur 1 Tot 89)
  6. 2023-05-27 11:58:14.065587 94.17% [INFO] sofia.c:10453 sofia/default/33@alpha4.astppbilling.org:5076 receiving invite from 157.32.84.22:38327 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: QO6-ZriAMokY6RU__IYEng..
  7. 2023-05-27 11:58:14.065587 94.17% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 157.32.84.22:0.
  8. 2023-05-27 11:58:14.065587 94.17% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [10050@alpha4.astppbilling.org] from ip 157.32.84.22
  9. 2023-05-27 11:58:14.065587 94.17% [DEBUG] switch_core_state_machine.c:600 (sofia/default/33@alpha4.astppbilling.org:5076) State NEW
  10. 2023-05-27 11:58:14.065587 94.17% [DEBUG] sofia.c:2419 detaching session 3b6cc8f2-cf83-49f9-916d-21478e5601a0
  11. 2023-05-27 11:58:14.465602 94.13% [DEBUG] sofia.c:2532 Re-attaching to session 3b6cc8f2-cf83-49f9-916d-21478e5601a0
  12. 2023-05-27 11:58:14.465602 94.13% [INFO] sofia.c:10453 sofia/default/33@alpha4.astppbilling.org:5076 receiving invite from 157.32.84.22:38327 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: QO6-ZriAMokY6RU__IYEng..
  13. 2023-05-27 11:58:14.465602 94.13% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 157.32.84.22:0.
  14. 2023-05-27 11:58:14.485587 94.13% [DEBUG] sofia.c:11668 Setting NAT mode based on via received
  15. 2023-05-27 11:58:14.485587 94.13% [DEBUG] sofia.c:7487 Channel sofia/default/33@alpha4.astppbilling.org:5076 entering state [received][100]
  16. 2023-05-27 11:58:14.485587 94.13% [DEBUG] sofia.c:7497 Remote SDP:
  17. v=0
  18. o=Zoiper 0 341154314 IN IP4 157.32.84.22
  19. s=Zoiper
  20. c=IN IP4 157.32.84.22
  21. t=0 0
  22. m=audio 44140 RTP/AVP 106 9 98 101 0 8 3
  23. a=rtpmap:106 opus/48000/2
  24. a=fmtp:106 sprop-maxcapturerate=16000; minptime=20; useinbandfec=1
  25. a=rtpmap:98 telephone-event/48000
  26. a=fmtp:98 0-16
  27. a=rtpmap:101 telephone-event/8000
  28. a=fmtp:101 0-16
  29. a=rtcp-mux
  30.  
  31. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
  32. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  33. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:106:48000:20:0:2]/[SPEEX:99:8000:20:24600:1]
  34. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  36. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G722:9:8000:20:64000:1]/[SPEEX:99:8000:20:24600:1]
  37. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 98@48000
  38. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  39. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  40. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  41. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[SPEEX:99:8000:20:24600:1]
  42. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  43. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  44. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  45. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[SPEEX:99:8000:20:24600:1]
  46. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  47. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  48. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[SPEEX:99:8000:20:24600:1]
  49. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/33@alpha4.astppbilling.org:5076 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  50. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_codec.c:111 sofia/default/33@alpha4.astppbilling.org:5076 Original read codec set to PCMU:0
  51. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  52. 2023-05-27 11:58:14.485587 94.13% [DEBUG] switch_core_media.c:5850 sofia/default/33@alpha4.astppbilling.org:5076 Set 2833 dtmf send payload to 101 recv payload to 101
  53. 2023-05-27 11:58:14.485587 94.13% [DEBUG] sofia.c:7921 (sofia/default/33@alpha4.astppbilling.org:5076) State Change CS_NEW -> CS_INIT
  54. 2023-05-27 11:58:14.505556 94.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/33@alpha4.astppbilling.org:5076) Running State Change CS_INIT (Cur 1 Tot 89)
  55. 2023-05-27 11:58:14.505556 94.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/33@alpha4.astppbilling.org:5076) State INIT
  56. 2023-05-27 11:58:14.505556 94.13% [DEBUG] mod_sofia.c:97 sofia/default/33@alpha4.astppbilling.org:5076 SOFIA INIT
  57. 2023-05-27 11:58:14.505556 94.13% [DEBUG] switch_core_state_machine.c:40 sofia/default/33@alpha4.astppbilling.org:5076 Standard INIT
  58. 2023-05-27 11:58:14.505556 94.13% [DEBUG] switch_core_state_machine.c:48 (sofia/default/33@alpha4.astppbilling.org:5076) State Change CS_INIT -> CS_ROUTING
  59. 2023-05-27 11:58:14.505556 94.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/33@alpha4.astppbilling.org:5076) State INIT going to sleep
  60. 2023-05-27 11:58:14.505556 94.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/33@alpha4.astppbilling.org:5076) Running State Change CS_ROUTING (Cur 1 Tot 89)
  61. 2023-05-27 11:58:14.505556 94.13% [DEBUG] switch_channel.c:2380 (sofia/default/33@alpha4.astppbilling.org:5076) Callstate Change DOWN -> RINGING
  62. 2023-05-27 11:58:14.505556 94.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/33@alpha4.astppbilling.org:5076) State ROUTING
  63. 2023-05-27 11:58:14.505556 94.13% [DEBUG] mod_sofia.c:158 sofia/default/33@alpha4.astppbilling.org:5076 SOFIA ROUTING
  64. 2023-05-27 11:58:14.505556 94.13% [DEBUG] switch_core_state_machine.c:230 sofia/default/33@alpha4.astppbilling.org:5076 Standard ROUTING
  65. 2023-05-27 11:58:14.505556 94.13% [INFO] mod_dialplan_xml.c:639 Processing 33 <33>->10050 in context default
  66. 2023-05-27 11:58:14.505556 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  67. 2023-05-27 11:58:14.525559 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  68. 2023-05-27 11:58:14.525559 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  69. 2023-05-27 11:58:14.525559 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  70. 2023-05-27 11:58:14.525559 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  71. 2023-05-27 11:58:14.525559 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10050
  72. 2023-05-27 11:58:14.525559 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10050' limit 1
  73. 2023-05-27 11:58:14.525559 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  74. 2023-05-27 11:58:14.525559 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '10050' and status=0 LIMIT 1
  75. 2023-05-27 11:58:14.525559 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER33
  76. 2023-05-27 11:58:14.525559 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  77. 2023-05-27 11:58:14.525559 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'alpha4.astppbilling.org' limit 1
  78. 2023-05-27 11:58:14.525559 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '4' and username = '10050' limit 1
  79. 2023-05-27 11:58:14.525559 94.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  80. 2023-05-27 11:58:14.525559 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 33 / 33
  81. 2023-05-27 11:58:14.525559 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  82. 2023-05-27 11:58:14.525559 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 10050 AND status=0 limit 1
  83. 2023-05-27 11:58:14.525559 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  84. 2023-05-27 11:58:14.525559 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  85. 2023-05-27 11:58:14.525559 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  86. 2023-05-27 11:58:14.525559 94.13% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
  87. 2023-05-27 11:58:14.525559 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  88. 2023-05-27 11:58:14.525559 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  89. 2023-05-27 11:58:14.525559 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 6415082141]
  90. 2023-05-27 11:58:14.525559 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "6415082141" AND deleted = 0 limit 1
  91. 2023-05-27 11:58:14.545565 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  92. 2023-05-27 11:58:14.545565 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  93. 2023-05-27 11:58:14.545565 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  94. 2023-05-27 11:58:14.545565 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  95. 2023-05-27 11:58:14.545565 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  96. 2023-05-27 11:58:14.545565 94.13% [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 = '^10050.*' OR patterns = '^1005.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  97. 2023-05-27 11:58:14.545565 94.13% [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 ="10050" AND A.accountid = '4' limit 1
  98. 2023-05-27 11:58:14.545565 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10050
  99. 2023-05-27 11:58:14.545565 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  100. 2023-05-27 11:58:14.545565 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  101. 2023-05-27 11:58:14.545565 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  102. 2023-05-27 11:58:14.545565 94.13% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
  103. 2023-05-27 11:58:14.545565 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  104. 2023-05-27 11:58:14.545565 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  105. 2023-05-27 11:58:14.545565 94.13% [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 = '10050' OR number = '1005' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10050*' OR number = '1005*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '33' OR number = '3' OR number ='--') OR (number = '33*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  106. 2023-05-27 11:58:14.545565 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number: 1* : Type: 0 (0 for CLI, 1 for DST))
  107. 2023-05-27 11:58:14.545565 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number::::WITHOUT****
  108. 2023-05-27 11:58:14.545565 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  109. 2023-05-27 11:58:14.545565 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10050' OR routing_prefix = '1005' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  110. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  111. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
  112. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6415082141
  113. 2023-05-27 11:58:14.565557 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  114. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 79975.22
  115. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  116. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 16
  117. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  118. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  119. 2023-05-27 11:58:14.565557 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  120. 2023-05-27 11:58:14.565557 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::16
  121. 2023-05-27 11:58:14.565557 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  122. 2023-05-27 11:58:14.565557 94.13% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
  123. 2023-05-27 11:58:14.565557 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  124. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  125. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  126. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 13
  127. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  128. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  129. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  130. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10050
  131. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  132. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
  133. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  134. 2023-05-27 11:58:14.565557 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  135. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your79975.22 balance Accountid 4 !!!
  136. 2023-05-27 11:58:14.565557 94.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  137. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  138. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  139. 2023-05-27 11:58:14.565557 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  140. 2023-05-27 11:58:14.565557 94.13% [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 = 4 AND status=0 LIMIT 1
  141. 2023-05-27 11:58:14.565557 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  142. 2023-05-27 11:58:14.565557 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  143. 2023-05-27 11:58:14.585634 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4
  144. 2023-05-27 11:58:14.585634 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4
  145. 2023-05-27 11:58:14.585634 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4
  146. 2023-05-27 11:58:14.585634 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  147. 2023-05-27 11:58:14.585634 94.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : alpha5.astppbilling.org
  148. 2023-05-27 11:58:14.585634 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  149. 2023-05-27 11:58:14.585634 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  150. 2023-05-27 11:58:14.585634 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  151. 2023-05-27 11:58:14.585634 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  152. 2023-05-27 11:58:14.585634 94.13% [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 = "8871343676" AND accounts.status = 0
  153. 2023-05-27 11:58:14.585634 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  154. 2023-05-27 11:58:14.585634 94.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : alpha5.astppbilling.org
  155. 2023-05-27 11:58:14.585634 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  156. 2023-05-27 11:58:14.585634 94.13% [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
  157. 2023-05-27 11:58:14.585634 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold_type FROM sip_devices WHERE username = '8871343676' and accountid = '7'LIMIT 1
  158. 2023-05-27 11:58:14.585634 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 8871343676
  159. 2023-05-27 11:58:14.585634 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] moh_name : 0
  160. 2023-05-27 11:58:14.585634 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold,music_on_hold_type FROM sip_devices WHERE username = '8871343676' and accountid = '7'LIMIT 1
  161. 2023-05-27 11:58:14.585634 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  162. 2023-05-27 11:58:14.585634 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  163. 2023-05-27 11:58:14.585634 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH for global Query :SELECT name FROM pbx_music_on_hold WHERE id = '0' LIMIT 1
  164. 2023-05-27 11:58:14.585634 94.13% [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="8871343676"  AND domains.domain="alpha5.astppbilling.org" limit 1
  165. 2023-05-27 11:58:14.585634 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 7 limit 1
  166. 2023-05-27 11:58:14.605586 94.13% [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
  167. 2023-05-27 11:58:14.605586 94.13% [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
  168. 2023-05-27 11:58:14.605586 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  169. 2023-05-27 11:58:14.605586 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC10]
  170. 2023-05-27 11:58:14.605586 94.13% [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="8871343676"  AND domains.domain="alpha5.astppbilling.org" limit 1
  171. 2023-05-27 11:58:14.605586 94.13% [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="8871343676"  AND domains.domain="alpha5.astppbilling.org" limit 1
  172. 2023-05-27 11:58:14.605586 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 7
  173. 2023-05-27 11:58:14.605586 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 7 limit 1
  174. 2023-05-27 11:58:14.605586 94.13% [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
  175. 2023-05-27 11:58:14.605586 94.13% [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
  176. 2023-05-27 11:58:14.605586 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  177. 2023-05-27 11:58:14.605586 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  178. 2023-05-27 11:58:14.605586 94.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC8]
  179. 2023-05-27 11:58:14.605586 94.13% [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="8871343676"  AND domains.domain="alpha5.astppbilling.org" limit 1
  180. 2023-05-27 11:58:14.605586 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  181. 2023-05-27 11:58:14.605586 94.13% [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="8871343676"  AND domains.domain="alpha5.astppbilling.org" limit 1
  182. 2023-05-27 11:58:14.605586 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 7 limit 1
  183. 2023-05-27 11:58:14.625600 94.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  184. <document type="freeswitch/xml">
  185. <section name="dialplan" description="ASTPP Dialplan">
  186. <context name="default">
  187. <extension name="10050">
  188. <condition field="destination_number" expression="10050">
  189. <action application="set" data="effective_destination_number=10050"/>
  190. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  191. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  192. <action application="set" data="notify_flag=0"/>
  193. <action application="set" data="notify_credit_limit=5.00000"/>
  194. <action application="set" data="type=0"/>
  195. <action application="set" data="callstart=2023-05-27 11:58:14"/>
  196. <action application="set" data="hangup_after_bridge=true"/>
  197. <action application="set" data="continue_on_fail=TRUE"/>
  198. <action application="set" data="account_id=4"/>
  199. <action application="set" data="parent_id=0"/>
  200. <action application="set" data="entity_id=0"/>
  201. <action application="set" data="call_processed=internal"/>
  202. <action application="set" data="call_direction=inbound"/>
  203. <action application="set" data="accountname=default"/>
  204. <action application="set" data="filename1=astpp.pbx.lua"/>
  205. <action application="set" data="origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7"/>
  206. <action application="set" data="origination_rates=0"/>
  207. <action application="set" data="original_caller_id_name=33"/>
  208. <action application="set" data="original_caller_id_number=33"/>
  209. <action application="set" data="effective_caller_id_name=33"/>
  210. <action application="set" data="effective_caller_id_number=33"/>
  211. <action application="set" data="receiver_accid=7"/>
  212. <action application="export" data="domain_name=alpha5.astppbilling.org"/>
  213. <action application="export" data="sip_to_host=alpha5.astppbilling.org"/>
  214. <action application="export" data="presence_data=x|||Aska customer(6415082141)|||^10050.* // 10050 // 0.00000|||||||||DID|||157.32.84.22"/>
  215. <action application="export" data="call_type=0"/>
  216. <action application="set" data="calltype=DID-LOCAL"/>
  217. <action application="set" data="daily_call_credit_limit=0.00000"/>
  218. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  219. <action application="set" data="daily_call_used_limit=0.00000"/>
  220. <action application="set" data="monthly_call_used_limit=0.00000"/>
  221. <action application="db" data="insert/pickup_any_group_${callgroup}/8871343676/${uuid}"/>
  222. <action application="set" data="dialed_extension=transfer_call"/>
  223. <action application="export" data="dialed_extension=transfer_call"/>
  224. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  225. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  226. <action application="set" data="hangup_after_bridge=true"/>
  227. <action application="export" data="did_user_domain=alpha5.astppbilling.org"/>
  228. <action application="db" data="insert/pickup_any_group_${callgroup}/8871343676/${uuid}"/>
  229. <action application="set" data="dialed_extension=transfer_call"/>
  230. <action application="export" data="dialed_extension=transfer_call"/>
  231. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  232. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  233. <action application="set" data="hangup_after_bridge=true"/>
  234. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=7}[leg_timeout=0 ] user/8871343676@alpha5.astppbilling.org"/>
  235. <action application="set" data="on_busy_flag=1"/>
  236. <action application="set" data="on_busy_destination="/>
  237. <action application="set" data="no_answer_flag=1"/>
  238. <action application="set" data="no_answer_destination="/>
  239. <action application="set" data="not_register_flag=1"/>
  240. <action application="set" data="not_register_destination="/>
  241. <action application="set" data="opensips_flag=1"/>
  242. <action application="set" data="variable_sip_to_host=alpha5.astppbilling.org"/>
  243. <action application="set" data="opensips_domain=127.0.0.1"/>
  244. <action application="set" data="leg_timeout=0"/>
  245. <action application="set" data="userinfo_id=7"/>
  246. <action application="set" data="sip_destination_number=8871343676"/>
  247. <action application="set" data="did_number=8871343676"/>
  248. <action application="set" data="user_domain=alpha5.astppbilling.org"/>
  249. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  250. <action application="set" data="on_busy_flag=1"/>
  251. <action application="set" data="on_busy_destination="/>
  252. <action application="set" data="no_answer_flag=1"/>
  253. <action application="set" data="no_answer_destination="/>
  254. <action application="set" data="not_register_flag=1"/>
  255. <action application="set" data="not_register_destination="/>
  256. <action application="set" data="opensips_flag=1"/>
  257. <action application="set" data="variable_sip_to_host=alpha5.astppbilling.org"/>
  258. <action application="set" data="opensips_domain=127.0.0.1"/>
  259. <action application="set" data="leg_timeout=0"/>
  260. <action application="set" data="userinfo_id=7"/>
  261. <action application="set" data="sip_destination_number=8871343676"/>
  262. <action application="set" data="destination_number=8871343676"/>
  263. <action application="set" data="did_number=10050"/>
  264. <action application="set" data="user_domain=alpha5.astppbilling.org"/>
  265. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  266. <condition field="${cond(${user_data 8871343676@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  267. <action application="answer"/>
  268. <action application="export" data="voicemail_alternate_greet_id=8871343676"/>
  269. <action application="voicemail" data="default $${domain_name} 8871343676"/>
  270. <anti-action application="hangup" data="${originate_disposition}"/>
  271. </condition>
  272. </condition>
  273. </extension>
  274. </context>
  275. </section>
  276. </document>
  277. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 parsing [default->10050] continue=false
  278. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Regex (PASS) [10050] destination_number(10050) =~ /10050/ break=on-false
  279. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(effective_destination_number=10050)
  280. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  281. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  282. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(notify_flag=0)
  283. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(notify_credit_limit=5.00000)
  284. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(type=0)
  285. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(callstart=2023-05-27 11:58:14)
  286. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(hangup_after_bridge=true)
  287. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(continue_on_fail=TRUE)
  288. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(account_id=4)
  289. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(parent_id=0)
  290. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(entity_id=0)
  291. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(call_processed=internal)
  292. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(call_direction=inbound)
  293. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(accountname=default)
  294. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(filename1=astpp.pbx.lua)
  295. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  296. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(origination_rates=0)
  297. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(original_caller_id_name=33)
  298. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(original_caller_id_number=33)
  299. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(effective_caller_id_name=33)
  300. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(effective_caller_id_number=33)
  301. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(receiver_accid=7)
  302. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action export(domain_name=alpha5.astppbilling.org)
  303. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action export(sip_to_host=alpha5.astppbilling.org)
  304. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action export(presence_data=x|||Aska customer(6415082141)|||^10050.* // 10050 // 0.00000|||||||||DID|||157.32.84.22)
  305. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action export(call_type=0)
  306. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(calltype=DID-LOCAL)
  307. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(daily_call_credit_limit=0.00000)
  308. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(monthly_call_credit_limit=0.00000)
  309. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(daily_call_used_limit=0.00000)
  310. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(monthly_call_used_limit=0.00000)
  311. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action db(insert/pickup_any_group_${callgroup}/8871343676/${uuid})
  312. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(dialed_extension=transfer_call)
  313. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action export(dialed_extension=transfer_call)
  314. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  315. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  316. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(hangup_after_bridge=true)
  317. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action export(did_user_domain=alpha5.astppbilling.org)
  318. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action db(insert/pickup_any_group_${callgroup}/8871343676/${uuid})
  319. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(dialed_extension=transfer_call)
  320. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action export(dialed_extension=transfer_call)
  321. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  322. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  323. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(hangup_after_bridge=true)
  324. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=7}[leg_timeout=0 ] user/8871343676@alpha5.astppbilling.org)
  325. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(on_busy_flag=1)
  326. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(on_busy_destination=)
  327. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(no_answer_flag=1)
  328. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(no_answer_destination=)
  329. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(not_register_flag=1)
  330. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(not_register_destination=)
  331. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(opensips_flag=1)
  332. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(variable_sip_to_host=alpha5.astppbilling.org)
  333. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(opensips_domain=127.0.0.1)
  334. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(leg_timeout=0)
  335. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(userinfo_id=7)
  336. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(sip_destination_number=8871343676)
  337. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(did_number=8871343676)
  338. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(user_domain=alpha5.astppbilling.org)
  339. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  340. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(on_busy_flag=1)
  341. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(on_busy_destination=)
  342. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(no_answer_flag=1)
  343. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(no_answer_destination=)
  344. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(not_register_flag=1)
  345. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(not_register_destination=)
  346. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(opensips_flag=1)
  347. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(variable_sip_to_host=alpha5.astppbilling.org)
  348. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(opensips_domain=127.0.0.1)
  349. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(leg_timeout=0)
  350. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(userinfo_id=7)
  351. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(sip_destination_number=8871343676)
  352. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(destination_number=8871343676)
  353. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(did_number=10050)
  354. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action set(user_domain=alpha5.astppbilling.org)
  355. Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  356. |--- Dialplan: Processing recursive conditions level:1 [10050_recur_1] require-nested=TRUE
  357. |--- Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 Regex (FAIL) [10050_recur_1] ${cond(${user_data 8871343676@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  358. |--- Dialplan: sofia/default/33@alpha4.astppbilling.org:5076 ANTI-Action hangup(${originate_disposition})
  359. 2023-05-27 11:58:14.645573 94.13% [DEBUG] switch_core_state_machine.c:281 (sofia/default/33@alpha4.astppbilling.org:5076) State Change CS_ROUTING -> CS_EXECUTE
  360. 2023-05-27 11:58:14.645573 94.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/33@alpha4.astppbilling.org:5076) State ROUTING going to sleep
  361. 2023-05-27 11:58:14.645573 94.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/33@alpha4.astppbilling.org:5076) Running State Change CS_EXECUTE (Cur 1 Tot 89)
  362. 2023-05-27 11:58:14.645573 94.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/33@alpha4.astppbilling.org:5076) State EXECUTE
  363. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_sofia.c:213 sofia/default/33@alpha4.astppbilling.org:5076 SOFIA EXECUTE
  364. 2023-05-27 11:58:14.645573 94.13% [DEBUG] switch_core_state_machine.c:323 sofia/default/33@alpha4.astppbilling.org:5076 Standard EXECUTE
  365. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(effective_destination_number=10050)
  366. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [effective_destination_number]=[10050]
  367. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(bridge_pre_execute_bleg_app=sched_hangup)
  368. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [bridge_pre_execute_bleg_app]=[sched_hangup]
  369. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  370. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  371. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(notify_flag=0)
  372. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [notify_flag]=[0]
  373. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(notify_credit_limit=5.00000)
  374. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [notify_credit_limit]=[5.00000]
  375. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(type=0)
  376. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [type]=[0]
  377. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(callstart=2023-05-27 11:58:14)
  378. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [callstart]=[2023-05-27 11:58:14]
  379. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(hangup_after_bridge=true)
  380. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [hangup_after_bridge]=[true]
  381. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(continue_on_fail=TRUE)
  382. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [continue_on_fail]=[TRUE]
  383. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(account_id=4)
  384. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [account_id]=[4]
  385. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(parent_id=0)
  386. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [parent_id]=[0]
  387. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(entity_id=0)
  388. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [entity_id]=[0]
  389. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(call_processed=internal)
  390. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [call_processed]=[internal]
  391. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(call_direction=inbound)
  392. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [call_direction]=[inbound]
  393. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(accountname=default)
  394. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [accountname]=[default]
  395. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(filename1=astpp.pbx.lua)
  396. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [filename1]=[astpp.pbx.lua]
  397. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  398. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [origination_rates_did]=[ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7]
  399. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(origination_rates=0)
  400. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [origination_rates]=[0]
  401. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(original_caller_id_name=33)
  402. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [original_caller_id_name]=[33]
  403. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(original_caller_id_number=33)
  404. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [original_caller_id_number]=[33]
  405. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(effective_caller_id_name=33)
  406. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [effective_caller_id_name]=[33]
  407. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(effective_caller_id_number=33)
  408. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [effective_caller_id_number]=[33]
  409. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(receiver_accid=7)
  410. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [receiver_accid]=[7]
  411. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 export(domain_name=alpha5.astppbilling.org)
  412. 2023-05-27 11:58:14.645573 94.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[alpha5.astppbilling.org]
  413. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 export(sip_to_host=alpha5.astppbilling.org)
  414. 2023-05-27 11:58:14.645573 94.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[alpha5.astppbilling.org]
  415. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 export(presence_data=x|||Aska customer(6415082141)|||^10050.* // 10050 // 0.00000|||||||||DID|||157.32.84.22)
  416. 2023-05-27 11:58:14.645573 94.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Aska customer(6415082141)|||^10050.* // 10050 // 0.00000|||||||||DID|||157.32.84.22]
  417. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 export(call_type=0)
  418. 2023-05-27 11:58:14.645573 94.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  419. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(calltype=DID-LOCAL)
  420. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [calltype]=[DID-LOCAL]
  421. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(daily_call_credit_limit=0.00000)
  422. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [daily_call_credit_limit]=[0.00000]
  423. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(monthly_call_credit_limit=0.00000)
  424. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [monthly_call_credit_limit]=[0.00000]
  425. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(daily_call_used_limit=0.00000)
  426. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [daily_call_used_limit]=[0.00000]
  427. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(monthly_call_used_limit=0.00000)
  428. 2023-05-27 11:58:14.645573 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [monthly_call_used_limit]=[0.00000]
  429. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 db(insert/pickup_any_group_/8871343676/3b6cc8f2-cf83-49f9-916d-21478e5601a0)
  430. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(dialed_extension=transfer_call)
  431. 2023-05-27 11:58:14.665557 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [dialed_extension]=[transfer_call]
  432. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 export(dialed_extension=transfer_call)
  433. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  434. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  435. 2023-05-27 11:58:14.665557 94.13% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  436. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  437. 2023-05-27 11:58:14.665557 94.13% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  438. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(hangup_after_bridge=true)
  439. 2023-05-27 11:58:14.665557 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [hangup_after_bridge]=[true]
  440. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 export(did_user_domain=alpha5.astppbilling.org)
  441. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[alpha5.astppbilling.org]
  442. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 db(insert/pickup_any_group_/8871343676/3b6cc8f2-cf83-49f9-916d-21478e5601a0)
  443. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(dialed_extension=transfer_call)
  444. 2023-05-27 11:58:14.665557 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [dialed_extension]=[transfer_call]
  445. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 export(dialed_extension=transfer_call)
  446. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  447. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  448. 2023-05-27 11:58:14.665557 94.13% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  449. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  450. 2023-05-27 11:58:14.665557 94.13% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  451. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 set(hangup_after_bridge=true)
  452. 2023-05-27 11:58:14.665557 94.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/33@alpha4.astppbilling.org:5076 [hangup_after_bridge]=[true]
  453. EXECUTE [depth=0] sofia/default/33@alpha4.astppbilling.org:5076 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=7}[leg_timeout=0 ] user/8871343676@alpha5.astppbilling.org)
  454. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_channel.c:1269 sofia/default/33@alpha4.astppbilling.org:5076 EXPORTING[export_vars] [domain_name]=[alpha5.astppbilling.org] to event
  455. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_channel.c:1269 sofia/default/33@alpha4.astppbilling.org:5076 EXPORTING[export_vars] [sip_to_host]=[alpha5.astppbilling.org] to event
  456. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_channel.c:1269 sofia/default/33@alpha4.astppbilling.org:5076 EXPORTING[export_vars] [presence_data]=[x|||Aska customer(6415082141)|||^10050.* // 10050 // 0.00000|||||||||DID|||157.32.84.22] to event
  457. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_channel.c:1269 sofia/default/33@alpha4.astppbilling.org:5076 EXPORTING[export_vars] [call_type]=[0] to event
  458. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_channel.c:1269 sofia/default/33@alpha4.astppbilling.org:5076 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  459. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_channel.c:1269 sofia/default/33@alpha4.astppbilling.org:5076 EXPORTING[export_vars] [did_user_domain]=[alpha5.astppbilling.org] to event
  460. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_channel.c:1269 sofia/default/33@alpha4.astppbilling.org:5076 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  461. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
  462. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
  463. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_channel.c:1269 sofia/default/33@alpha4.astppbilling.org:5076 EXPORTING[export_vars] [domain_name]=[alpha5.astppbilling.org] to event
  464. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_channel.c:1269 sofia/default/33@alpha4.astppbilling.org:5076 EXPORTING[export_vars] [sip_to_host]=[alpha5.astppbilling.org] to event
  465. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_channel.c:1269 sofia/default/33@alpha4.astppbilling.org:5076 EXPORTING[export_vars] [presence_data]=[x|||Aska customer(6415082141)|||^10050.* // 10050 // 0.00000|||||||||DID|||157.32.84.22] to event
  466. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_channel.c:1269 sofia/default/33@alpha4.astppbilling.org:5076 EXPORTING[export_vars] [call_type]=[0] to event
  467. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_channel.c:1269 sofia/default/33@alpha4.astppbilling.org:5076 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  468. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_channel.c:1269 sofia/default/33@alpha4.astppbilling.org:5076 EXPORTING[export_vars] [did_user_domain]=[alpha5.astppbilling.org] to event
  469. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_channel.c:1269 sofia/default/33@alpha4.astppbilling.org:5076 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  470. 2023-05-27 11:58:14.665557 94.13% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
  471. 2023-05-27 11:58:14.665557 94.13% [NOTICE] switch_channel.c:1123 New Channel sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210 [9b8419b0-1e03-4679-a6ae-8bb024654280]
  472. 2023-05-27 11:58:14.685556 94.13% [DEBUG] mod_sofia.c:5117 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) State Change CS_NEW -> CS_INIT
  473. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) Running State Change CS_INIT (Cur 2 Tot 90)
  474. 2023-05-27 11:58:14.685556 94.13% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8871343676@43.250.165.78:25210 [c9041197-53df-4f18-b919-33a32f06a133]
  475. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:624 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) State INIT
  476. 2023-05-27 11:58:14.685556 94.13% [DEBUG] mod_sofia.c:5117 (sofia/default/8871343676@43.250.165.78:25210) State Change CS_NEW -> CS_INIT
  477. 2023-05-27 11:58:14.685556 94.13% [DEBUG] mod_sofia.c:97 sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210 SOFIA INIT
  478. 2023-05-27 11:58:14.685556 94.13% [DEBUG] sofia_glue.c:1623 sip:8871343676@43.250.165.78:25068;rinstance=ae9695244a2f071a;transport=TCP Setting proxy route to sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210
  479. 2023-05-27 11:58:14.685556 94.13% [INFO] sofia_glue.c:1654 sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210 sending invite call-id: (null)
  480. 2023-05-27 11:58:14.685556 94.13% [DEBUG] sofia_glue.c:1657 sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit
  481. Local SDP:
  482. v=0
  483. o=FreeSWITCH 1685158844 1685158845 IN IP4 95.217.238.195
  484. s=FreeSWITCH
  485. c=IN IP4 95.217.238.195
  486. t=0 0
  487. m=audio 29850 RTP/AVP 0 101
  488. a=rtpmap:0 PCMU/8000
  489. a=rtpmap:101 telephone-event/8000
  490. a=fmtp:101 0-15
  491. a=ptime:20
  492. a=sendrecv
  493.  
  494. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@43.250.165.78:25210) Running State Change CS_INIT (Cur 3 Tot 91)
  495. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@43.250.165.78:25210) State INIT
  496. 2023-05-27 11:58:14.685556 94.13% [DEBUG] mod_sofia.c:97 sofia/default/8871343676@43.250.165.78:25210 SOFIA INIT
  497. 2023-05-27 11:58:14.685556 94.13% [DEBUG] sofia_glue.c:1623 sip:8871343676@43.250.165.78:25294;rinstance=6ee5d0b91e98cd5a;transport=TCP Setting proxy route to sofia/default/8871343676@43.250.165.78:25210
  498. 2023-05-27 11:58:14.685556 94.13% [INFO] sofia_glue.c:1654 sofia/default/8871343676@43.250.165.78:25210 sending invite call-id: (null)
  499. 2023-05-27 11:58:14.685556 94.13% [DEBUG] sofia_glue.c:1657 sofia/default/8871343676@43.250.165.78:25210 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit
  500. Local SDP:
  501. v=0
  502. o=FreeSWITCH 1685168512 1685168513 IN IP4 95.217.238.195
  503. s=FreeSWITCH
  504. c=IN IP4 95.217.238.195
  505. t=0 0
  506. m=audio 20182 RTP/AVP 0 101
  507. a=rtpmap:0 PCMU/8000
  508. a=rtpmap:101 telephone-event/8000
  509. a=fmtp:101 0-15
  510. a=ptime:20
  511. a=sendrecv
  512.  
  513. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:40 sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210 Standard INIT
  514. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:48 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) State Change CS_INIT -> CS_ROUTING
  515. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:624 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) State INIT going to sleep
  516. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:40 sofia/default/8871343676@43.250.165.78:25210 Standard INIT
  517. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8871343676@43.250.165.78:25210) State Change CS_INIT -> CS_ROUTING
  518. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@43.250.165.78:25210) State INIT going to sleep
  519. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@43.250.165.78:25210) Running State Change CS_ROUTING (Cur 3 Tot 91)
  520. 2023-05-27 11:58:14.685556 94.13% [DEBUG] sofia.c:7487 Channel sofia/default/8871343676@43.250.165.78:25210 entering state [calling][0]
  521. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@43.250.165.78:25210) State ROUTING
  522. 2023-05-27 11:58:14.685556 94.13% [DEBUG] mod_sofia.c:158 sofia/default/8871343676@43.250.165.78:25210 SOFIA ROUTING
  523. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_ivr_originate.c:67 (sofia/default/8871343676@43.250.165.78:25210) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  524. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@43.250.165.78:25210) State ROUTING going to sleep
  525. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) Running State Change CS_ROUTING (Cur 3 Tot 91)
  526. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@43.250.165.78:25210) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 91)
  527. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8871343676@43.250.165.78:25210) State CONSUME_MEDIA
  528. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8871343676@43.250.165.78:25210) State CONSUME_MEDIA going to sleep
  529. 2023-05-27 11:58:14.685556 94.13% [DEBUG] sofia.c:7487 Channel sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210 entering state [calling][0]
  530. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:640 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) State ROUTING
  531. 2023-05-27 11:58:14.685556 94.13% [DEBUG] mod_sofia.c:158 sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210 SOFIA ROUTING
  532. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_ivr_originate.c:67 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  533. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:640 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) State ROUTING going to sleep
  534. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 91)
  535. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:659 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) State CONSUME_MEDIA
  536. 2023-05-27 11:58:14.685556 94.13% [DEBUG] switch_core_state_machine.c:659 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) State CONSUME_MEDIA going to sleep
  537. 2023-05-27 11:58:15.105583 94.13% [DEBUG] sofia.c:7487 Channel sofia/default/8871343676@43.250.165.78:25210 entering state [proceeding][180]
  538. 2023-05-27 11:58:15.105583 94.13% [NOTICE] sofia.c:7598 Ring-Ready sofia/default/8871343676@43.250.165.78:25210!
  539. 2023-05-27 11:58:15.105583 94.13% [DEBUG] switch_channel.c:3494 (sofia/default/8871343676@43.250.165.78:25210) Callstate Change DOWN -> RINGING
  540. 2023-05-27 11:58:15.125594 94.13% [NOTICE] mod_sofia.c:2516 Ring-Ready sofia/default/33@alpha4.astppbilling.org:5076!
  541. 2023-05-27 11:58:15.125594 94.13% [DEBUG] sofia.c:7487 Channel sofia/default/33@alpha4.astppbilling.org:5076 entering state [early][180]
  542. 2023-05-27 11:58:15.125594 94.13% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/33@alpha4.astppbilling.org:5076!
  543. 2023-05-27 11:58:22.605564 93.60% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [1234@alpha.astppbilling.org] from ip 49.14.135.229
  544. 2023-05-27 11:58:22.845563 93.60% [WARNING] sofia_reg.c:3211 Can't find user [1234@alpha.astppbilling.org] from 49.14.135.229
  545. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="1234" attribute
  546. and you must configure your device to use the proper domain in its authentication credentials.
  547. 2023-05-27 11:58:22.845563 93.60% [WARNING] sofia_reg.c:1791 SIP auth failure (REGISTER) on sofia profile 'default' for [1234@alpha.astppbilling.org] from ip 49.14.135.229
  548. 2023-05-27 11:58:23.785612 93.53% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [8939133375@alpha.astppbilling.org] from ip 103.240.35.46
  549. 2023-05-27 11:58:24.085576 93.53% [WARNING] sofia_reg.c:3211 Can't find user [8939133375@alpha.astppbilling.org] from 103.240.35.46
  550. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="8939133375" attribute
  551. and you must configure your device to use the proper domain in its authentication credentials.
  552. 2023-05-27 11:58:24.465606 93.50% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [41@alpha.astppbilling.org] from ip 103.240.35.46
  553. 2023-05-27 11:58:24.765553 93.50% [WARNING] sofia_reg.c:3211 Can't find user [41@alpha.astppbilling.org] from 103.240.35.46
  554. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="41" attribute
  555. and you must configure your device to use the proper domain in its authentication credentials.
  556. 2023-05-27 11:58:27.465616 93.37% [DEBUG] sofia.c:7487 Channel sofia/default/8871343676@43.250.165.78:25210 entering state [completing][200]
  557. 2023-05-27 11:58:27.465616 93.37% [DEBUG] sofia.c:7497 Remote SDP:
  558. v=0
  559. o=Z 0 3 IN IP4 43.250.165.78
  560. s=Z
  561. c=IN IP4 43.250.165.78
  562. t=0 0
  563. m=audio 25406 RTP/AVP 0 3 110 8 98 101
  564. a=rtpmap:110 speex/8000
  565. a=rtpmap:98 iLBC/8000
  566. a=fmtp:98 mode=20
  567. a=rtpmap:101 telephone-event/8000
  568. a=fmtp:101 0-15
  569.  
  570. 2023-05-27 11:58:27.485594 93.37% [DEBUG] sofia.c:7487 Channel sofia/default/8871343676@43.250.165.78:25210 entering state [ready][200]
  571. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  572. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  573. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  574. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  575. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  576. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  577. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  578. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/8871343676@43.250.165.78:25210 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  579. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_codec.c:111 sofia/default/8871343676@43.250.165.78:25210 Original read codec set to PCMU:0
  580. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  581. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:5850 sofia/default/8871343676@43.250.165.78:25210 Set 2833 dtmf send payload to 101 recv payload to 101
  582. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/8871343676@43.250.165.78:25210] 95.217.238.195 port 20182 -> 43.250.165.78 port 25406 codec: 0 ms: 20
  583. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  584. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:8963 sofia/default/8871343676@43.250.165.78:25210 Set 2833 dtmf send payload to 101
  585. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:8970 sofia/default/8871343676@43.250.165.78:25210 Set 2833 dtmf receive payload to 101
  586. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:8993 sofia/default/8871343676@43.250.165.78:25210 Set rtp dtmf delay to 40
  587. 2023-05-27 11:58:27.485594 93.37% [NOTICE] sofia.c:8674 Channel [sofia/default/8871343676@43.250.165.78:25210] has been answered
  588. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_channel.c:3893 (sofia/default/8871343676@43.250.165.78:25210) Callstate Change RINGING -> ACTIVE
  589. 2023-05-27 11:58:27.485594 93.37% [NOTICE] switch_ivr_originate.c:3809 Hangup sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210 [CS_CONSUME_MEDIA] [LOSE_RACE]
  590. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) Running State Change CS_HANGUP (Cur 3 Tot 91)
  591. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_state_machine.c:844 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) Callstate Change DOWN -> HANGUP
  592. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_state_machine.c:846 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) State HANGUP
  593. 2023-05-27 11:58:27.485594 93.37% [DEBUG] mod_sofia.c:468 Channel sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210 hanging up, cause: LOSE_RACE
  594. 2023-05-27 11:58:27.485594 93.37% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210
  595. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_state_machine.c:59 sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210 Standard HANGUP, cause: LOSE_RACE
  596. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_state_machine.c:846 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) State HANGUP going to sleep
  597. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_state_machine.c:616 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) State Change CS_HANGUP -> CS_REPORTING
  598. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) Running State Change CS_REPORTING (Cur 3 Tot 91)
  599. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_state_machine.c:932 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) State REPORTING
  600. 2023-05-27 11:58:27.485594 93.37% [INFO] mod_json_cdr.c:272 Process [9b8419b0-1e03-4679-a6ae-8bb024654280.cdr.json]
  601. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/33@alpha4.astppbilling.org:5076] 95.217.238.195 port 21946 -> 157.32.84.22 port 44140 codec: 0 ms: 20
  602. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  603. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:8871 Activating RTCP PORT 44140
  604. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_rtp.c:4708 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 44140
  605. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:8963 sofia/default/33@alpha4.astppbilling.org:5076 Set 2833 dtmf send payload to 101
  606. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:8970 sofia/default/33@alpha4.astppbilling.org:5076 Set 2833 dtmf receive payload to 101
  607. 2023-05-27 11:58:27.485594 93.37% [DEBUG] switch_core_media.c:8993 sofia/default/33@alpha4.astppbilling.org:5076 Set rtp dtmf delay to 40
  608. 2023-05-27 11:58:27.485594 93.37% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/33@alpha4.astppbilling.org:5076:
  609. v=0
  610. o=FreeSWITCH 1685166761 1685166762 IN IP4 95.217.238.195
  611. s=FreeSWITCH
  612. c=IN IP4 95.217.238.195
  613. t=0 0
  614. m=audio 21946 RTP/AVP 0 101
  615. a=rtpmap:0 PCMU/8000
  616. a=rtpmap:101 telephone-event/8000
  617. a=fmtp:101 0-15
  618. a=ptime:20
  619. a=sendrecv
  620. a=rtcp-mux
  621. a=rtcp:21946 IN IP4 95.217.238.195
  622.  
  623. 2023-05-27 11:58:27.505556 93.37% [NOTICE] switch_ivr_originate.c:3844 Channel [sofia/default/33@alpha4.astppbilling.org:5076] has been answered
  624. 2023-05-27 11:58:27.505556 93.37% [DEBUG] switch_channel.c:3893 (sofia/default/33@alpha4.astppbilling.org:5076) Callstate Change RINGING -> ACTIVE
  625. 2023-05-27 11:58:27.505556 93.37% [DEBUG] sofia.c:7487 Channel sofia/default/33@alpha4.astppbilling.org:5076 entering state [completed][200]
  626. 2023-05-27 11:58:27.505556 93.37% [DEBUG] switch_ivr_originate.c:3902 Originate Resulted in Success: [sofia/default/8871343676@43.250.165.78:25210] Peer UUID: c9041197-53df-4f18-b919-33a32f06a133
  627. 2023-05-27 11:58:27.505556 93.37% [DEBUG] switch_ivr_originate.c:3902 Originate Resulted in Success: [sofia/default/8871343676@43.250.165.78:25210] Peer UUID: c9041197-53df-4f18-b919-33a32f06a133
  628. 2023-05-27 11:58:27.505556 93.37% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/8871343676@43.250.165.78:25210) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  629. 2023-05-27 11:58:27.505556 93.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@43.250.165.78:25210) Running State Change CS_EXCHANGE_MEDIA (Cur 3 Tot 91)
  630. 2023-05-27 11:58:27.505556 93.37% [DEBUG] switch_core_state_machine.c:650 (sofia/default/8871343676@43.250.165.78:25210) State EXCHANGE_MEDIA
  631. 2023-05-27 11:58:27.505556 93.37% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  632. 2023-05-27 11:58:27.505556 93.37% [DEBUG] switch_core_state_machine.c:168 sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210 Standard REPORTING, cause: LOSE_RACE
  633. 2023-05-27 11:58:27.505556 93.37% [DEBUG] switch_core_state_machine.c:932 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) State REPORTING going to sleep
  634. 2023-05-27 11:58:27.505556 93.37% [DEBUG] switch_core_state_machine.c:607 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) State Change CS_REPORTING -> CS_DESTROY
  635. 2023-05-27 11:58:27.505556 93.37% [DEBUG] switch_core_session.c:1743 Session 90 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) Locked, Waiting on external entities
  636. 2023-05-27 11:58:27.505556 93.37% [NOTICE] switch_core_session.c:1761 Session 90 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) Ended
  637. 2023-05-27 11:58:27.505556 93.37% [NOTICE] switch_core_session.c:1765 Close Channel sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210 [CS_DESTROY]
  638. 2023-05-27 11:58:27.505556 93.37% [DEBUG] switch_core_state_machine.c:735 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) Running State Change CS_DESTROY (Cur 2 Tot 91)
  639. 2023-05-27 11:58:27.505556 93.37% [DEBUG] switch_core_state_machine.c:745 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) State DESTROY
  640. 2023-05-27 11:58:27.505556 93.37% [DEBUG] mod_sofia.c:379 sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210 SOFIA DESTROY
  641. 2023-05-27 11:58:27.505556 93.37% [DEBUG] switch_core_state_machine.c:175 sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210 Standard DESTROY
  642. 2023-05-27 11:58:27.505556 93.37% [DEBUG] switch_core_state_machine.c:745 (sofia/PKsipProfileALPHA/8871343676@43.250.165.78:25210) State DESTROY going to sleep
  643. 2023-05-27 11:58:27.545582 93.37% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  644. 2023-05-27 11:58:27.685580 93.37% [DEBUG] switch_ivr_bridge.c:654 sofia/default/8871343676@43.250.165.78:25210 Bridge execute app sched_hangup(+6000 normal_clearing)
  645. 2023-05-27 11:58:27.705576 93.37% [DEBUG] switch_ivr.c:632 sofia/default/8871343676@43.250.165.78:25210 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  646. EXECUTE [depth=0] sofia/default/8871343676@43.250.165.78:25210 sched_hangup(+6000 normal_clearing)
  647. 2023-05-27 11:58:27.705576 93.37% [DEBUG] switch_scheduler.c:263 Added task 18 switch_ivr_schedule_hangup (c9041197-53df-4f18-b919-33a32f06a133) to run at 1685194707
  648. 2023-05-27 11:58:27.745600 93.37% [DEBUG] sofia.c:7487 Channel sofia/default/33@alpha4.astppbilling.org:5076 entering state [ready][200]
  649. 2023-05-27 11:58:28.305594 93.37% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  650. 2023-05-27 11:58:28.325582 93.37% [DEBUG] switch_rtp.c:1775 rtcp_stats_init: audio ssrc[3099629401] base_seq[15379]
  651. 2023-05-27 11:58:31.205593 93.30% [NOTICE] sofia.c:1065 Hangup sofia/default/8871343676@43.250.165.78:25210 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  652. 2023-05-27 11:58:31.205593 93.30% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/8871343676@43.250.165.78:25210]
  653. 2023-05-27 11:58:31.205593 93.30% [DEBUG] switch_core_state_machine.c:650 (sofia/default/8871343676@43.250.165.78:25210) State EXCHANGE_MEDIA going to sleep
  654. 2023-05-27 11:58:31.205593 93.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@43.250.165.78:25210) Running State Change CS_HANGUP (Cur 2 Tot 91)
  655. 2023-05-27 11:58:31.205593 93.30% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8871343676@43.250.165.78:25210) Callstate Change ACTIVE -> HANGUP
  656. 2023-05-27 11:58:31.205593 93.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@43.250.165.78:25210) State HANGUP
  657. 2023-05-27 11:58:31.205593 93.30% [DEBUG] mod_sofia.c:468 Channel sofia/default/8871343676@43.250.165.78:25210 hanging up, cause: NORMAL_CLEARING
  658. 2023-05-27 11:58:31.205593 93.30% [DEBUG] switch_core_state_machine.c:59 sofia/default/8871343676@43.250.165.78:25210 Standard HANGUP, cause: NORMAL_CLEARING
  659. 2023-05-27 11:58:31.205593 93.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@43.250.165.78:25210) State HANGUP going to sleep
  660. 2023-05-27 11:58:31.205593 93.30% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8871343676@43.250.165.78:25210) State Change CS_HANGUP -> CS_REPORTING
  661. 2023-05-27 11:58:31.205593 93.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@43.250.165.78:25210) Running State Change CS_REPORTING (Cur 2 Tot 91)
  662. 2023-05-27 11:58:31.205593 93.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@43.250.165.78:25210) State REPORTING
  663. 2023-05-27 11:58:31.205593 93.30% [INFO] mod_json_cdr.c:272 Process [c9041197-53df-4f18-b919-33a32f06a133.cdr.json]
  664. 2023-05-27 11:58:31.205593 93.30% [DEBUG] switch_ivr_bridge.c:819 sofia/default/8871343676@43.250.165.78:25210 ending bridge by request from write function
  665. 2023-05-27 11:58:31.205593 93.30% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/33@alpha4.astppbilling.org:5076]
  666. 2023-05-27 11:58:31.205593 93.30% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/8871343676@43.250.165.78:25210 skip receive message [UNBRIDGE] (channel is hungup already)
  667. 2023-05-27 11:58:31.205593 93.30% [NOTICE] switch_ivr_bridge.c:1942 Hangup sofia/default/33@alpha4.astppbilling.org:5076 [CS_EXECUTE] [NORMAL_CLEARING]
  668. 2023-05-27 11:58:31.205593 93.30% [DEBUG] switch_core_session.c:2973 sofia/default/33@alpha4.astppbilling.org:5076 skip receive message [PHONE_EVENT] (channel is hungup already)
  669. 2023-05-27 11:58:31.205593 93.30% [DEBUG] switch_core_state_machine.c:647 (sofia/default/33@alpha4.astppbilling.org:5076) State EXECUTE going to sleep
  670. 2023-05-27 11:58:31.205593 93.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/33@alpha4.astppbilling.org:5076) Running State Change CS_HANGUP (Cur 2 Tot 91)
  671. 2023-05-27 11:58:31.225554 93.30% [DEBUG] switch_core_state_machine.c:844 (sofia/default/33@alpha4.astppbilling.org:5076) Callstate Change ACTIVE -> HANGUP
  672. 2023-05-27 11:58:31.225554 93.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/33@alpha4.astppbilling.org:5076) State HANGUP
  673. 2023-05-27 11:58:31.225554 93.30% [DEBUG] mod_sofia.c:462 sofia/default/33@alpha4.astppbilling.org:5076 Overriding SIP cause 480 with 200 from the other leg
  674. 2023-05-27 11:58:31.225554 93.30% [DEBUG] mod_sofia.c:468 Channel sofia/default/33@alpha4.astppbilling.org:5076 hanging up, cause: NORMAL_CLEARING
  675. 2023-05-27 11:58:31.225554 93.30% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/33@alpha4.astppbilling.org:5076
  676. 2023-05-27 11:58:31.225554 93.30% [DEBUG] switch_core_state_machine.c:59 sofia/default/33@alpha4.astppbilling.org:5076 Standard HANGUP, cause: NORMAL_CLEARING
  677. 2023-05-27 11:58:31.225554 93.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/33@alpha4.astppbilling.org:5076) State HANGUP going to sleep
  678. 2023-05-27 11:58:31.225554 93.30% [DEBUG] switch_core_state_machine.c:616 (sofia/default/33@alpha4.astppbilling.org:5076) State Change CS_HANGUP -> CS_REPORTING
  679. 2023-05-27 11:58:31.225554 93.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/33@alpha4.astppbilling.org:5076) Running State Change CS_REPORTING (Cur 2 Tot 91)
  680. 2023-05-27 11:58:31.225554 93.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/33@alpha4.astppbilling.org:5076) State REPORTING
  681. 2023-05-27 11:58:31.225554 93.30% [INFO] mod_json_cdr.c:272 Process [3b6cc8f2-cf83-49f9-916d-21478e5601a0.cdr.json]
  682. 2023-05-27 11:58:31.225554 93.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/8871343676@43.250.165.78:25210 Standard REPORTING, cause: NORMAL_CLEARING
  683. 2023-05-27 11:58:31.225554 93.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@43.250.165.78:25210) State REPORTING going to sleep
  684. 2023-05-27 11:58:31.225554 93.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8871343676@43.250.165.78:25210) State Change CS_REPORTING -> CS_DESTROY
  685. 2023-05-27 11:58:31.225554 93.30% [DEBUG] switch_core_session.c:1743 Session 91 (sofia/default/8871343676@43.250.165.78:25210) Locked, Waiting on external entities
  686. 2023-05-27 11:58:31.225554 93.30% [NOTICE] switch_core_session.c:1761 Session 91 (sofia/default/8871343676@43.250.165.78:25210) Ended
  687. 2023-05-27 11:58:31.225554 93.30% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/8871343676@43.250.165.78:25210 [CS_DESTROY]
  688. 2023-05-27 11:58:31.225554 93.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8871343676@43.250.165.78:25210) Running State Change CS_DESTROY (Cur 1 Tot 91)
  689. 2023-05-27 11:58:31.225554 93.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@43.250.165.78:25210) State DESTROY
  690. 2023-05-27 11:58:31.225554 93.30% [DEBUG] mod_sofia.c:379 sofia/default/8871343676@43.250.165.78:25210 SOFIA DESTROY
  691. 2023-05-27 11:58:31.225554 93.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/8871343676@43.250.165.78:25210 Standard DESTROY
  692. 2023-05-27 11:58:31.225554 93.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@43.250.165.78:25210) State DESTROY going to sleep
  693. 2023-05-27 11:58:31.245580 93.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/33@alpha4.astppbilling.org:5076 Standard REPORTING, cause: NORMAL_CLEARING
  694. 2023-05-27 11:58:31.245580 93.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/33@alpha4.astppbilling.org:5076) State REPORTING going to sleep
  695. 2023-05-27 11:58:31.245580 93.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/33@alpha4.astppbilling.org:5076) State Change CS_REPORTING -> CS_DESTROY
  696. 2023-05-27 11:58:31.245580 93.30% [DEBUG] switch_core_session.c:1743 Session 89 (sofia/default/33@alpha4.astppbilling.org:5076) Locked, Waiting on external entities
  697. 2023-05-27 11:58:31.245580 93.30% [NOTICE] switch_core_session.c:1761 Session 89 (sofia/default/33@alpha4.astppbilling.org:5076) Ended
  698. 2023-05-27 11:58:31.245580 93.30% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/33@alpha4.astppbilling.org:5076 [CS_DESTROY]
  699. 2023-05-27 11:58:31.245580 93.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/33@alpha4.astppbilling.org:5076) Running State Change CS_DESTROY (Cur 0 Tot 91)
  700. 2023-05-27 11:58:31.245580 93.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/33@alpha4.astppbilling.org:5076) State DESTROY
  701. 2023-05-27 11:58:31.245580 93.30% [DEBUG] mod_sofia.c:379 sofia/default/33@alpha4.astppbilling.org:5076 SOFIA DESTROY
  702. 2023-05-27 11:58:31.245580 93.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/33@alpha4.astppbilling.org:5076 Standard DESTROY
  703. 2023-05-27 11:58:31.245580 93.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/33@alpha4.astppbilling.org:5076) State DESTROY going to sleep
  704. 2023-05-27 11:58:31.705615 92.90% [DEBUG] switch_scheduler.c:147 Deleting task 18 switch_ivr_schedule_hangup (c9041197-53df-4f18-b919-33a32f06a133)
  705. 2023-05-27 11:58:32.645596 93.90% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [2271920202@alpha.astppbilling.org] from ip 49.34.246.31
  706. 2023-05-27 11:58:32.985569 93.90% [WARNING] sofia_reg.c:3211 Can't find user [2271920202@alpha.astppbilling.org] from 49.34.246.31
  707. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="2271920202" attribute
  708. and you must configure your device to use the proper domain in its authentication credentials.
  709. 2023-05-27 11:58:32.985569 93.90% [WARNING] sofia_reg.c:1791 SIP auth failure (REGISTER) on sofia profile 'default' for [2271920202@alpha.astppbilling.org] from ip 49.34.246.31
  710. freeswitch@AlphaQaAlpesh> /exit
  711.  
  712. root@AlphaQaAlpesh:/opt/ASTPP/freeswitch/scripts_deb9/astpp/scripts#