From Prashant Kumar, 2 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and RingGroupPSTNCall issue
  1.  
  2. freeswitch@ip-172-31-36-75>
  3. freeswitch@ip-172-31-36-75>
  4. 2021-12-30 08:30:24.792030 93.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/4727985745@version6.astppbilling.org:5060 [23e853f5-dea4-4a20-affe-1d52aeb09ff9]
  5. 2021-12-30 08:30:24.792030 93.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@version6.astppbilling.org:5060) Running State Change CS_NEW (Cur 1 Tot 3272)
  6. 2021-12-30 08:30:24.792030 93.90% [INFO] sofia.c:10462 sofia/default/4727985745@version6.astppbilling.org:5060 receiving invite from 150.129.107.251:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: lzrswsqorxjqeqf@inex-GDhaval
  7. 2021-12-30 08:30:24.792030 93.90% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 150.129.107.251:0.
  8. 2021-12-30 08:30:24.792030 93.90% [DEBUG] sofia.c:2419 detaching session 23e853f5-dea4-4a20-affe-1d52aeb09ff9
  9. 2021-12-30 08:30:24.792030 93.90% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [10666@version6.astppbilling.org] from ip 150.129.107.251
  10. 2021-12-30 08:30:24.792030 93.90% [DEBUG] switch_core_state_machine.c:600 (sofia/default/4727985745@version6.astppbilling.org:5060) State NEW
  11. 2021-12-30 08:30:24.832043 93.90% [DEBUG] sofia.c:2532 Re-attaching to session 23e853f5-dea4-4a20-affe-1d52aeb09ff9
  12. 2021-12-30 08:30:24.832043 93.90% [INFO] sofia.c:10462 sofia/default/4727985745@version6.astppbilling.org:5060 receiving invite from 150.129.107.251:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: lzrswsqorxjqeqf@inex-GDhaval
  13. 2021-12-30 08:30:24.832043 93.90% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 150.129.107.251:0.
  14. 2021-12-30 08:30:24.852012 93.90% [DEBUG] sofia.c:7499 Channel sofia/default/4727985745@version6.astppbilling.org:5060 entering state [received][100]
  15. 2021-12-30 08:30:24.852012 93.90% [DEBUG] sofia.c:7509 Remote SDP:
  16. v=0
  17. o=twinkle 226863388 767461799 IN IP4 150.129.107.251
  18. s=-
  19. c=IN IP4 150.129.107.251
  20. t=0 0
  21. m=audio 8000 RTP/AVP 98 97 8 0 3 101
  22. a=rtpmap:98 speex/16000
  23. a=rtpmap:97 speex/8000
  24. a=rtpmap:8 PCMA/8000
  25. a=rtpmap:0 PCMU/8000
  26. a=rtpmap:3 GSM/8000
  27. a=rtpmap:101 telephone-event/8000
  28. a=fmtp:101 0-15
  29. a=ptime:20
  30.  
  31. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  32. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  33. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  34. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  35. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  36. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  37. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  38. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  39. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  40. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  41. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  42. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  43. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  44. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/4727985745@version6.astppbilling.org:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  45. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_codec.c:111 sofia/default/4727985745@version6.astppbilling.org:5060 Original read codec set to PCMA:8
  46. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  47. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_media.c:5973 sofia/default/4727985745@version6.astppbilling.org:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  48. 2021-12-30 08:30:24.852012 93.90% [DEBUG] sofia.c:7933 (sofia/default/4727985745@version6.astppbilling.org:5060) State Change CS_NEW -> CS_INIT
  49. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@version6.astppbilling.org:5060) Running State Change CS_INIT (Cur 1 Tot 3272)
  50. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4727985745@version6.astppbilling.org:5060) State INIT
  51. 2021-12-30 08:30:24.852012 93.90% [DEBUG] mod_sofia.c:97 sofia/default/4727985745@version6.astppbilling.org:5060 SOFIA INIT
  52. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/4727985745@version6.astppbilling.org:5060 Standard INIT
  53. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/4727985745@version6.astppbilling.org:5060) State Change CS_INIT -> CS_ROUTING
  54. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4727985745@version6.astppbilling.org:5060) State INIT going to sleep
  55. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@version6.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 1 Tot 3272)
  56. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_channel.c:2380 (sofia/default/4727985745@version6.astppbilling.org:5060) Callstate Change DOWN -> RINGING
  57. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4727985745@version6.astppbilling.org:5060) State ROUTING
  58. 2021-12-30 08:30:24.852012 93.90% [DEBUG] mod_sofia.c:158 sofia/default/4727985745@version6.astppbilling.org:5060 SOFIA ROUTING
  59. 2021-12-30 08:30:24.852012 93.90% [DEBUG] switch_core_state_machine.c:230 sofia/default/4727985745@version6.astppbilling.org:5060 Standard ROUTING
  60. 2021-12-30 08:30:24.852012 93.90% [INFO] mod_dialplan_xml.c:639 Processing 4727985745 <4727985745>->10666 in context default
  61. 2021-12-30 08:30:24.872006 93.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  62. 2021-12-30 08:30:24.872006 93.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  63. 2021-12-30 08:30:24.892006 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  64. 2021-12-30 08:30:24.892006 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10666
  65. 2021-12-30 08:30:24.892006 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10666' limit 1
  66. 2021-12-30 08:30:24.892006 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '10666' AND status=0 limit 1
  67. 2021-12-30 08:30:24.892006 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 = '10666' and status=0 LIMIT 1
  68. 2021-12-30 08:30:24.892006 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER4727985745
  69. 2021-12-30 08:30:24.892006 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  70. 2021-12-30 08:30:24.892006 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'version6.astppbilling.org' limit 1
  71. 2021-12-30 08:30:24.892006 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '2' and username = '10666' limit 1
  72. 2021-12-30 08:30:24.892006 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : ASTPP / 4810338297
  73. 2021-12-30 08:30:24.892006 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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10666" LIMIT 1
  74. 2021-12-30 08:30:24.892006 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  75. 2021-12-30 08:30:24.892006 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  76. 2021-12-30 08:30:24.892006 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
  77. 2021-12-30 08:30:24.892006 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4727985745" AND deleted = 0 limit 1
  78. 2021-12-30 08:30:24.892006 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="10666" AND (accountid = 0 OR status = 1) LIMIT 1
  79. 2021-12-30 08:30:24.912011 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  80. 2021-12-30 08:30:24.912011 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 4
  81. 2021-12-30 08:30:24.912011 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 (patterns = '^10666.*' OR patterns = '^1066.*' OR patterns = '^106.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 4 ORDER BY LENGTH(PKGPTR.patterns) DESC
  82. 2021-12-30 08:30:24.912011 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 ="10666" AND A.accountid = '2' limit 1
  83. 2021-12-30 08:30:24.912011 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10666
  84. 2021-12-30 08:30:24.912011 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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10666" LIMIT 1
  85. 2021-12-30 08:30:24.912011 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  86. 2021-12-30 08:30:24.912011 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  87. 2021-12-30 08:30:24.912011 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 = '10666' OR number = '1066' OR number = '106' OR number = '10' OR number = '1' OR number ='--') OR (number = '10666*' OR number = '1066*' OR number = '106*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '4810338297' OR number = '481033829' OR number = '48103382' OR number = '4810338' OR number = '481033' OR number = '48103' OR number = '4810' OR number = '481' OR number = '48' OR number = '4' OR number ='--') OR (number = '4810338297*' OR number = '481033829*' OR number = '48103382*' OR number = '4810338*' OR number = '481033*' OR number = '48103*' OR number = '4810*' OR number = '481*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  88. 2021-12-30 08:30:24.912011 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  89. 2021-12-30 08:30:24.912011 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 = '10666' OR routing_prefix = '1066' OR routing_prefix = '106' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  90. 2021-12-30 08:30:24.912011 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  91. 2021-12-30 08:30:24.912011 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
  92. 2021-12-30 08:30:24.912011 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
  93. 2021-12-30 08:30:24.912011 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 400
  94. 2021-12-30 08:30:24.912011 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  95. 2021-12-30 08:30:24.912011 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  96. 2021-12-30 08:30:24.912011 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  97. 2021-12-30 08:30:24.912011 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  98. 2021-12-30 08:30:24.912011 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  99. 2021-12-30 08:30:24.932009 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  100. 2021-12-30 08:30:24.932009 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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10666" LIMIT 1
  101. 2021-12-30 08:30:24.932009 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  102. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  103. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  104. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  105. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  106. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  107. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 3.00000
  108. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10666
  109. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  110. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
  111. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  112. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your400 balance Accountid 2 !!!
  113. 2021-12-30 08:30:24.932009 93.73% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  114. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  115. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  116. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  117. 2021-12-30 08:30:24.932009 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 = 2 AND status=0 LIMIT 1
  118. 2021-12-30 08:30:24.932009 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "4" AND deleted = 0 limit 1
  119. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:2
  120. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:2
  121. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 2
  122. 2021-12-30 08:30:24.932009 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 4 limit 1
  123. 2021-12-30 08:30:24.932009 93.73% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : callpk.astppbilling.org
  124. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  125. 2021-12-30 08:30:24.932009 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  126. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  127. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  128. 2021-12-30 08:30:24.932009 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 = "6" AND accounts.status = 0
  129. 2021-12-30 08:30:24.932009 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 4 limit 1
  130. 2021-12-30 08:30:24.932009 93.73% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : callpk.astppbilling.org
  131. 2021-12-30 08:30:24.932009 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 4  and status = 0 limit 1
  132. 2021-12-30 08:30:24.932009 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
  133. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 7
  134. 2021-12-30 08:30:24.932009 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group
  135. 2021-12-30 08:30:24.932009 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,no_answer_call_type_value,music_on_hold_type,music_on_hold from pbx_ringgroup WHERE id = 6 and status = 0 LIMIT 1
  136. 2021-12-30 08:30:24.932009 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '1' LIMIT 1
  137. 2021-12-30 08:30:24.952010 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] music on hold recording name :- /var/www/html/astpp//upload/pbx/Ring_Back__.wav
  138. 2021-12-30 08:30:24.952010 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  139. 2021-12-30 08:30:24.952010 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "2908266991"
  140. 2021-12-30 08:30:24.952010 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  141. 2021-12-30 08:30:24.952010 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Recording Flag : 1
  142. 2021-12-30 08:30:24.952010 93.73% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Dlr Str : [sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,announcement=no_file,dialed_user=2908266991,leg_timeout=10,leg_delay_start=0]user/2908266991@callpk.astppbilling.org|[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=1022334444545#,leg_timeout=0,leg_delay_start=0]sofia/${sofia_profile_name}/1022334444545@callpk.astppbilling.org:5060|
  143. span style="color: green; font-weight: bold;"> 2021-12-30 08:30:24.952010 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
  144. 2021-12-30 08:30:24.952010 93.73% [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
  145. 2021-12-30 08:30:24.952010 93.73% [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
  146. 2021-12-30 08:30:24.952010 93.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  147. <document type="freeswitch/xml">
  148. <section name="dialplan" description="ASTPP Dialplan">
  149. <context name="default">
  150. <extension name="10666">
  151. <condition field="destination_number" expression="10666">
  152. <action application="set" data="effective_destination_number=10666"/>
  153. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  154. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  155. <action application="set" data="callstart=2021-12-30 08:30:24"/>
  156. <action application="set" data="hangup_after_bridge=true"/>
  157. <action application="set" data="continue_on_fail=TRUE"/>
  158. <action application="set" data="account_id=2"/>
  159. <action application="set" data="parent_id=0"/>
  160. <action application="set" data="entity_id=0"/>
  161. <action application="set" data="call_processed=internal"/>
  162. <action application="set" data="call_direction=inbound"/>
  163. <action application="set" data="accountname=default"/>
  164. <action application="set" data="origination_rates_did=ID:1|CODE:^10666.*|DESTINATION:10666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:3.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4"/>
  165. <action application="set" data="origination_rates=0"/>
  166. <action application="set" data="original_caller_id_name=ASTPP"/>
  167. <action application="set" data="original_caller_id_number=4810338297"/>
  168. <action application="limit" data="db 4727985745 user_4727985745 1 "/>
  169. <action application="export" data="is_recording=1"/>
  170. <action application="export" data="media_bug_answer_req=true"/>
  171. <action application="export" data="RECORD_STEREO=true"/>
  172. <action application="export" data="record_sample_rate=8000"/>
  173. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  174. <action application="set" data="effective_caller_id_name=ASTPP"/>
  175. <action application="set" data="effective_caller_id_number=4810338297"/>
  176. <action application="set" data="receiver_accid=4"/>
  177. <action application="export" data="domain_name=callpk.astppbilling.org"/>
  178. <action application="export" data="sip_to_host=callpk.astppbilling.org"/>
  179. <action application="export" data="presence_data=x|||admin's(2908266991)|||||||||DID|||150.129.107.251"/>
  180. <action application="export" data="call_type=7"/>
  181. <action application="set" data="did_calltype=7"/>
  182. <action application="set" data="did_extensions=6"/>
  183. <action application="export" data="is_recording=1"/>
  184. <action application="export" data="media_bug_answer_req=true"/>
  185. <action application="export" data="RECORD_STEREO=true"/>
  186. <action application="export" data="record_sample_rate=8000"/>
  187. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  188. <action application="bridge_export" data="hold_music=/var/www/html/astpp//upload/pbx/Ring_Back__.wav"/>
  189. <action application="set" data="group_confirm_key=exec"/>
  190. <action application="set" data="group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  191. <action application="set" data="ringback="/>
  192. <action application="set" data="module_name=pbx"/>
  193. <action application="db" data="insert/pickup_any_group_${callgroup}/6/${uuid}"/>
  194. <action application="set" data="dialed_extension=transfer_call"/>
  195. <action application="export" data="dialed_extension=transfer_call"/>
  196. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  197. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  198. <action application="export" data="ring_group_transfer=true"/>
  199. <action application="bridge" data="{sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,announcement=no_file,dialed_user=2908266991,leg_timeout=10,leg_delay_start=0]user/2908266991@callpk.astppbilling.org|[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=1022334444545#,leg_timeout=0,leg_delay_start=0]sofia/${sofia_profile_name}/1022334444545@callpk.astppbilling.org:5060|"/>
  200. <action application="set" data="original_did_number=10666"/>
  201. </condition>
  202. </extension>
  203. </context>
  204. </section>
  205. </document>
  206. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 parsing [default->10666] continue=false
  207. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Regex (PASS) [10666] destination_number(10666) =~ /10666/ break=on-false
  208. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(effective_destination_number=10666)
  209. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  210. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  211. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(callstart=2021-12-30 08:30:24)
  212. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(hangup_after_bridge=true)
  213. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(continue_on_fail=TRUE)
  214. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(account_id=2)
  215. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(parent_id=0)
  216. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(entity_id=0)
  217. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(call_processed=internal)
  218. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(call_direction=inbound)
  219. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(accountname=default)
  220. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(origination_rates_did=ID:1|CODE:^10666.*|DESTINATION:10666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:3.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4)
  221. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(origination_rates=0)
  222. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(original_caller_id_name=ASTPP)
  223. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(original_caller_id_number=4810338297)
  224. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action limit(db 4727985745 user_4727985745 1 )
  225. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action export(is_recording=1)
  226. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action export(media_bug_answer_req=true)
  227. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action export(RECORD_STEREO=true)
  228. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action export(record_sample_rate=8000)
  229. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  230. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(effective_caller_id_name=ASTPP)
  231. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(effective_caller_id_number=4810338297)
  232. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(receiver_accid=4)
  233. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action export(domain_name=callpk.astppbilling.org)
  234. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action export(sip_to_host=callpk.astppbilling.org)
  235. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action export(presence_data=x|||admin's(2908266991)|||||||||DID|||150.129.107.251)
  236. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action export(call_type=7)
  237. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(did_calltype=7)
  238. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(did_extensions=6)
  239. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action export(is_recording=1)
  240. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action export(media_bug_answer_req=true)
  241. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action export(RECORD_STEREO=true)
  242. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action export(record_sample_rate=8000)
  243. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  244. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action bridge_export(hold_music=/var/www/html/astpp//upload/pbx/Ring_Back__.wav)
  245. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(group_confirm_key=exec)
  246. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  247. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(ringback=)
  248. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(module_name=pbx)
  249. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action db(insert/pickup_any_group_${callgroup}/6/${uuid})
  250. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(dialed_extension=transfer_call)
  251. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action export(dialed_extension=transfer_call)
  252. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  253. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  254. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action export(ring_group_transfer=true)
  255. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,announcement=no_file,dialed_user=2908266991,leg_timeout=10,leg_delay_start=0]user/2908266991@callpk.astppbilling.org|[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=1022334444545#,leg_timeout=0,leg_delay_start=0]sofia/${sofia_profile_name}/1022334444545@callpk.astppbilling.org:5060|)
  256. Dialplan: sofia/default/4727985745@version6.astppbilling.org:5060 Action set(original_did_number=10666)
  257. 2021-12-30 08:30:24.952010 93.73% [DEBUG] switch_core_state_machine.c:281 (sofia/default/4727985745@version6.astppbilling.org:5060) State Change CS_ROUTING -> CS_EXECUTE
  258. 2021-12-30 08:30:24.952010 93.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4727985745@version6.astppbilling.org:5060) State ROUTING going to sleep
  259. 2021-12-30 08:30:24.952010 93.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@version6.astppbilling.org:5060) Running State Change CS_EXECUTE (Cur 1 Tot 3272)
  260. 2021-12-30 08:30:24.952010 93.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/4727985745@version6.astppbilling.org:5060) State EXECUTE
  261. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_sofia.c:213 sofia/default/4727985745@version6.astppbilling.org:5060 SOFIA EXECUTE
  262. 2021-12-30 08:30:24.952010 93.73% [DEBUG] switch_core_state_machine.c:323 sofia/default/4727985745@version6.astppbilling.org:5060 Standard EXECUTE
  263. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(effective_destination_number=10666)
  264. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [effective_destination_number]=[10666]
  265. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  266. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  267. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  268. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  269. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(callstart=2021-12-30 08:30:24)
  270. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [callstart]=[2021-12-30 08:30:24]
  271. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(hangup_after_bridge=true)
  272. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [hangup_after_bridge]=[true]
  273. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(continue_on_fail=TRUE)
  274. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [continue_on_fail]=[TRUE]
  275. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(account_id=2)
  276. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [account_id]=[2]
  277. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(parent_id=0)
  278. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [parent_id]=[0]
  279. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(entity_id=0)
  280. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [entity_id]=[0]
  281. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(call_processed=internal)
  282. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [call_processed]=[internal]
  283. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(call_direction=inbound)
  284. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [call_direction]=[inbound]
  285. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(accountname=default)
  286. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [accountname]=[default]
  287. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(origination_rates_did=ID:1|CODE:^10666.*|DESTINATION:10666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:3.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4)
  288. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [origination_rates_did]=[ID:1|CODE:^10666.*|DESTINATION:10666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:3.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4]
  289. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(origination_rates=0)
  290. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [origination_rates]=[0]
  291. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(original_caller_id_name=ASTPP)
  292. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [original_caller_id_name]=[ASTPP]
  293. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(original_caller_id_number=4810338297)
  294. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [original_caller_id_number]=[4810338297]
  295. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 limit(db 4727985745 user_4727985745 1 )
  296. 2021-12-30 08:30:24.952010 93.73% [DEBUG] switch_limit.c:124 incr called: 4727985745_user_4727985745 max:1, interval:0
  297. 2021-12-30 08:30:24.952010 93.73% [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 1/1
  298. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 export(is_recording=1)
  299. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  300. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 export(media_bug_answer_req=true)
  301. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  302. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 export(RECORD_STEREO=true)
  303. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  304. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 export(record_sample_rate=8000)
  305. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  306. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/23e853f5-dea4-4a20-affe-1d52aeb09ff9.wav)
  307. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/23e853f5-dea4-4a20-affe-1d52aeb09ff9.wav]
  308. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(effective_caller_id_name=ASTPP)
  309. 2021-12-30 08:30:24.972012 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [effective_caller_id_name]=[ASTPP]
  310. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(effective_caller_id_number=4810338297)
  311. 2021-12-30 08:30:24.972012 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [effective_caller_id_number]=[4810338297]
  312. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(receiver_accid=4)
  313. 2021-12-30 08:30:24.972012 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [receiver_accid]=[4]
  314. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 export(domain_name=callpk.astppbilling.org)
  315. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[callpk.astppbilling.org]
  316. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 export(sip_to_host=callpk.astppbilling.org)
  317. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[callpk.astppbilling.org]
  318. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 export(presence_data=x|||admin's(2908266991)|||||||||DID|||150.129.107.251)
  319. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||admin's(2908266991)|||||||||DID|||150.129.107.251]
  320. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 export(call_type=7)
  321. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[7]
  322. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(did_calltype=7)
  323. 2021-12-30 08:30:24.972012 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [did_calltype]=[7]
  324. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(did_extensions=6)
  325. 2021-12-30 08:30:24.972012 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [did_extensions]=[6]
  326. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 export(is_recording=1)
  327. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  328. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 export(media_bug_answer_req=true)
  329. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  330. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 export(RECORD_STEREO=true)
  331. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  332. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 export(record_sample_rate=8000)
  333. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  334. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/23e853f5-dea4-4a20-affe-1d52aeb09ff9.wav)
  335. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/23e853f5-dea4-4a20-affe-1d52aeb09ff9.wav]
  336. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 bridge_export(hold_music=/var/www/html/astpp//upload/pbx/Ring_Back__.wav)
  337. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1315 EXPORT (bridge_export_vars) [hold_music]=[/var/www/html/astpp//upload/pbx/Ring_Back__.wav]
  338. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(group_confirm_key=exec)
  339. 2021-12-30 08:30:24.972012 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [group_confirm_key]=[exec]
  340. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  341. 2021-12-30 08:30:24.972012 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
  342. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(ringback=)
  343. 2021-12-30 08:30:24.972012 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [ringback]=[UNDEF]
  344. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(module_name=pbx)
  345. 2021-12-30 08:30:24.972012 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [module_name]=[pbx]
  346. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 db(insert/pickup_any_group_/6/23e853f5-dea4-4a20-affe-1d52aeb09ff9)
  347. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(dialed_extension=transfer_call)
  348. 2021-12-30 08:30:24.972012 93.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [dialed_extension]=[transfer_call]
  349. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 export(dialed_extension=transfer_call)
  350. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  351. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  352. 2021-12-30 08:30:24.972012 93.73% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  353. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  354. 2021-12-30 08:30:24.972012 93.73% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  355. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 export(ring_group_transfer=true)
  356. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [ring_group_transfer]=[true]
  357. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,announcement=no_file,dialed_user=2908266991,leg_timeout=10,leg_delay_start=0]user/2908266991@callpk.astppbilling.org|[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=1022334444545#,leg_timeout=0,leg_delay_start=0]sofia/default/1022334444545@callpk.astppbilling.org:5060|)
  358. span style="color: goldenrod; font-weight: bold;"> 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [is_recording]=[1] to event
  359. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  360. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  361. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  362. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/23e853f5-dea4-4a20-affe-1d52aeb09ff9.wav] to event
  363. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [domain_name]=[callpk.astppbilling.org] to event
  364. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [sip_to_host]=[callpk.astppbilling.org] to event
  365. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [presence_data]=[x|||admin's(2908266991)|||||||||DID|||150.129.107.251] to event
  366. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [call_type]=[7] to event
  367. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [is_recording]=[1] to event
  368. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  369. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  370. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  371. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/23e853f5-dea4-4a20-affe-1d52aeb09ff9.wav] to event
  372. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  373. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  374. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  375. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  376. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [is_recording]=[1] to event
  377. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  378. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  379. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  380. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/23e853f5-dea4-4a20-affe-1d52aeb09ff9.wav] to event
  381. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [domain_name]=[callpk.astppbilling.org] to event
  382. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [sip_to_host]=[callpk.astppbilling.org] to event
  383. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [presence_data]=[x|||admin's(2908266991)|||||||||DID|||150.129.107.251] to event
  384. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [call_type]=[7] to event
  385. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [is_recording]=[1] to event
  386. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  387. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  388. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  389. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/23e853f5-dea4-4a20-affe-1d52aeb09ff9.wav] to event
  390. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  391. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@version6.astppbilling.org:5060 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  392. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  393. 2021-12-30 08:30:24.972012 93.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/2908266991@150.129.107.251:38815 [3c720cdc-e831-4ece-9fcd-fe14b4795138]
  394. 2021-12-30 08:30:24.972012 93.73% [DEBUG] mod_sofia.c:5121 (sofia/default/2908266991@150.129.107.251:38815) State Change CS_NEW -> CS_INIT
  395. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_ivr_originate.c:3151 sofia/default/2908266991@150.129.107.251:38815 Setting leg timeout to 10
  396. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_ivr_originate.c:3151 sofia/default/2908266991@150.129.107.251:38815 Setting leg timeout to 10
  397. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2908266991@150.129.107.251:38815) Running State Change CS_INIT (Cur 2 Tot 3273)
  398. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/2908266991@150.129.107.251:38815) State INIT
  399. 2021-12-30 08:30:24.972012 93.73% [DEBUG] mod_sofia.c:97 sofia/default/2908266991@150.129.107.251:38815 SOFIA INIT
  400. 2021-12-30 08:30:24.972012 93.73% [DEBUG] sofia_glue.c:1620 sip:2908266991@117.247.91.162:50524;rinstance=a31961c5312b1410;transport=TCP Setting proxy route to sofia/default/2908266991@150.129.107.251:38815
  401. 2021-12-30 08:30:24.972012 93.73% [INFO] sofia_glue.c:1651 sofia/default/2908266991@150.129.107.251:38815 sending invite call-id: (null)
  402. 2021-12-30 08:30:24.972012 93.73% [DEBUG] sofia_glue.c:1654 sofia/default/2908266991@150.129.107.251:38815 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  403. Local SDP:
  404. v=0
  405. o=FreeSWITCH 1640835986 1640835987 IN IP4 65.0.92.207
  406. s=FreeSWITCH
  407. c=IN IP4 65.0.92.207
  408. t=0 0
  409. m=audio 17038 RTP/AVP 8 0 101
  410. a=rtpmap:8 PCMA/8000
  411. a=rtpmap:0 PCMU/8000
  412. a=rtpmap:101 telephone-event/8000
  413. a=fmtp:101 0-15
  414. a=ptime:20
  415. a=sendrecv
  416.  
  417. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/2908266991@150.129.107.251:38815 Standard INIT
  418. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/2908266991@150.129.107.251:38815) State Change CS_INIT -> CS_ROUTING
  419. 2021-12-30 08:30:24.972012 93.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/2908266991@150.129.107.251:38815) State INIT going to sleep
  420. 2021-12-30 08:30:24.992006 93.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2908266991@150.129.107.251:38815) Running State Change CS_ROUTING (Cur 2 Tot 3273)
  421. 2021-12-30 08:30:24.992006 93.73% [DEBUG] sofia.c:7499 Channel sofia/default/2908266991@150.129.107.251:38815 entering state [calling][0]
  422. 2021-12-30 08:30:24.992006 93.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/2908266991@150.129.107.251:38815) State ROUTING
  423. 2021-12-30 08:30:24.992006 93.73% [DEBUG] mod_sofia.c:158 sofia/default/2908266991@150.129.107.251:38815 SOFIA ROUTING
  424. 2021-12-30 08:30:24.992006 93.73% [DEBUG] switch_ivr_originate.c:67 (sofia/default/2908266991@150.129.107.251:38815) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  425. 2021-12-30 08:30:24.992006 93.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/2908266991@150.129.107.251:38815) State ROUTING going to sleep
  426. 2021-12-30 08:30:24.992006 93.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2908266991@150.129.107.251:38815) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 3273)
  427. 2021-12-30 08:30:24.992006 93.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/2908266991@150.129.107.251:38815) State CONSUME_MEDIA
  428. 2021-12-30 08:30:24.992006 93.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/2908266991@150.129.107.251:38815) State CONSUME_MEDIA going to sleep
  429. 2021-12-30 08:30:25.292031 93.73% [DEBUG] sofia.c:7499 Channel sofia/default/2908266991@150.129.107.251:38815 entering state [proceeding][180]
  430. 2021-12-30 08:30:25.292031 93.73% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/2908266991@150.129.107.251:38815!
  431. 2021-12-30 08:30:25.292031 93.73% [DEBUG] switch_channel.c:3494 (sofia/default/2908266991@150.129.107.251:38815) Callstate Change DOWN -> RINGING
  432. 2021-12-30 08:30:25.292031 93.73% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/4727985745@version6.astppbilling.org:5060!
  433. 2021-12-30 08:30:25.292031 93.73% [DEBUG] sofia.c:7499 Channel sofia/default/4727985745@version6.astppbilling.org:5060 entering state [early][180]
  434. 2021-12-30 08:30:25.292031 93.73% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/4727985745@version6.astppbilling.org:5060!
  435. freeswitch@ip-172-31-36-75>
  436. freeswitch@ip-172-31-36-75>
  437. freeswitch@ip-172-31-36-75>
  438. 2021-12-30 08:30:35.012009 98.60% [NOTICE] switch_ivr_originate.c:364 Hangup sofia/default/2908266991@150.129.107.251:38815 [CS_CONSUME_MEDIA] [ALLOTTED_TIMEOUT]
  439. 2021-12-30 08:30:35.012009 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2908266991@150.129.107.251:38815) Running State Change CS_HANGUP (Cur 2 Tot 3273)
  440. 2021-12-30 08:30:35.012009 98.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/2908266991@150.129.107.251:38815) Callstate Change RINGING -> HANGUP
  441. 2021-12-30 08:30:35.012009 98.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2908266991@150.129.107.251:38815) State HANGUP
  442. 2021-12-30 08:30:35.012009 98.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/2908266991@150.129.107.251:38815 hanging up, cause: ALLOTTED_TIMEOUT
  443. 2021-12-30 08:30:35.012009 98.60% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/2908266991@150.129.107.251:38815
  444. 2021-12-30 08:30:35.012009 98.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/2908266991@150.129.107.251:38815 Standard HANGUP, cause: ALLOTTED_TIMEOUT
  445. 2021-12-30 08:30:35.012009 98.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2908266991@150.129.107.251:38815) State HANGUP going to sleep
  446. 2021-12-30 08:30:35.012009 98.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/2908266991@150.129.107.251:38815) State Change CS_HANGUP -> CS_REPORTING
  447. 2021-12-30 08:30:35.012009 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2908266991@150.129.107.251:38815) Running State Change CS_REPORTING (Cur 2 Tot 3273)
  448. 2021-12-30 08:30:35.012009 98.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/2908266991@150.129.107.251:38815) State REPORTING
  449. 2021-12-30 08:30:35.012009 98.60% [INFO] mod_json_cdr.c:271 Process [3c720cdc-e831-4ece-9fcd-fe14b4795138.cdr.json]
  450. 2021-12-30 08:30:35.012009 98.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/2908266991@150.129.107.251:38815 Standard REPORTING, cause: ALLOTTED_TIMEOUT
  451. 2021-12-30 08:30:35.012009 98.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/2908266991@150.129.107.251:38815) State REPORTING going to sleep
  452. 2021-12-30 08:30:35.012009 98.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/2908266991@150.129.107.251:38815) State Change CS_REPORTING -> CS_DESTROY
  453. 2021-12-30 08:30:35.012009 98.60% [DEBUG] switch_core_session.c:1753 Session 3273 (sofia/default/2908266991@150.129.107.251:38815) Locked, Waiting on external entities
  454. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 602 [ALLOTTED_TIMEOUT]
  455. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  456. 2021-12-30 08:30:35.032005 98.60% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1022334444545@callpk.astppbilling.org:5060 [58d89565-2536-48d6-bf2f-39575c2ed31b]
  457. 2021-12-30 08:30:35.032005 98.60% [DEBUG] mod_sofia.c:5121 (sofia/default/1022334444545@callpk.astppbilling.org:5060) State Change CS_NEW -> CS_INIT
  458. 2021-12-30 08:30:35.032005 98.60% [NOTICE] switch_core_session.c:1771 Session 3273 (sofia/default/2908266991@150.129.107.251:38815) Ended
  459. 2021-12-30 08:30:35.032005 98.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/2908266991@150.129.107.251:38815 [CS_DESTROY]
  460. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/2908266991@150.129.107.251:38815) Running State Change CS_DESTROY (Cur 2 Tot 3274)
  461. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/2908266991@150.129.107.251:38815) State DESTROY
  462. 2021-12-30 08:30:35.032005 98.60% [DEBUG] mod_sofia.c:379 sofia/default/2908266991@150.129.107.251:38815 SOFIA DESTROY
  463. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/2908266991@150.129.107.251:38815 Standard DESTROY
  464. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/2908266991@150.129.107.251:38815) State DESTROY going to sleep
  465. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1022334444545@callpk.astppbilling.org:5060) Running State Change CS_INIT (Cur 2 Tot 3274)
  466. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1022334444545@callpk.astppbilling.org:5060) State INIT
  467. 2021-12-30 08:30:35.032005 98.60% [DEBUG] mod_sofia.c:97 sofia/default/1022334444545@callpk.astppbilling.org:5060 SOFIA INIT
  468. 2021-12-30 08:30:35.032005 98.60% [INFO] sofia_glue.c:1651 sofia/default/1022334444545@callpk.astppbilling.org:5060 sending invite call-id: (null)
  469. 2021-12-30 08:30:35.032005 98.60% [DEBUG] sofia_glue.c:1654 sofia/default/1022334444545@callpk.astppbilling.org:5060 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  470. Local SDP:
  471. v=0
  472. o=FreeSWITCH 1640836293 1640836294 IN IP4 65.0.92.207
  473. s=FreeSWITCH
  474. c=IN IP4 65.0.92.207
  475. t=0 0
  476. m=audio 16742 RTP/AVP 8 101
  477. a=rtpmap:8 PCMA/8000
  478. a=rtpmap:101 telephone-event/8000
  479. a=fmtp:101 0-15
  480. a=ptime:20
  481. a=sendrecv
  482.  
  483. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:40 sofia/default/1022334444545@callpk.astppbilling.org:5060 Standard INIT
  484. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1022334444545@callpk.astppbilling.org:5060) State Change CS_INIT -> CS_ROUTING
  485. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1022334444545@callpk.astppbilling.org:5060) State INIT going to sleep
  486. 2021-12-30 08:30:35.032005 98.60% [NOTICE] switch_channel.c:1123 New Channel sofia/default/4810338297@65.0.92.207 [ec0189d0-1606-4c40-ab60-5805ed4eb0fe]
  487. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1022334444545@callpk.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 3 Tot 3275)
  488. 2021-12-30 08:30:35.032005 98.60% [DEBUG] sofia.c:7499 Channel sofia/default/1022334444545@callpk.astppbilling.org:5060 entering state [calling][0]
  489. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1022334444545@callpk.astppbilling.org:5060) State ROUTING
  490. 2021-12-30 08:30:35.032005 98.60% [DEBUG] mod_sofia.c:158 sofia/default/1022334444545@callpk.astppbilling.org:5060 SOFIA ROUTING
  491. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1022334444545@callpk.astppbilling.org:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  492. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1022334444545@callpk.astppbilling.org:5060) State ROUTING going to sleep
  493. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1022334444545@callpk.astppbilling.org:5060) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 3275)
  494. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1022334444545@callpk.astppbilling.org:5060) State CONSUME_MEDIA
  495. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1022334444545@callpk.astppbilling.org:5060) State CONSUME_MEDIA going to sleep
  496. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4810338297@65.0.92.207) Running State Change CS_NEW (Cur 3 Tot 3275)
  497. 2021-12-30 08:30:35.032005 98.60% [INFO] sofia.c:10462 sofia/default/4810338297@65.0.92.207 receiving invite from 65.0.92.207:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 99b1fe5a-e3ed-123a-c2b7-02e5137c9c4e
  498. 2021-12-30 08:30:35.032005 98.60% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 65.0.92.207:0.
  499. 2021-12-30 08:30:35.032005 98.60% [DEBUG] sofia.c:2419 detaching session ec0189d0-1606-4c40-ab60-5805ed4eb0fe
  500. 2021-12-30 08:30:35.032005 98.60% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [1022334444545@callpk.astppbilling.org] from ip 65.0.92.207
  501. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:600 (sofia/default/4810338297@65.0.92.207) State NEW
  502. 2021-12-30 08:30:35.032005 98.60% [WARNING] sofia_reg.c:2857 Cannot locate any authentication credentials to complete an authentication request for realm '"65.0.92.207"'
  503. 2021-12-30 08:30:35.032005 98.60% [NOTICE] sofia_reg.c:2881 Hangup sofia/default/1022334444545@callpk.astppbilling.org:5060 [CS_CONSUME_MEDIA] [MANDATORY_IE_MISSING]
  504. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1022334444545@callpk.astppbilling.org:5060) Running State Change CS_HANGUP (Cur 3 Tot 3275)
  505. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1022334444545@callpk.astppbilling.org:5060) Callstate Change DOWN -> HANGUP
  506. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1022334444545@callpk.astppbilling.org:5060) State HANGUP
  507. 2021-12-30 08:30:35.032005 98.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/1022334444545@callpk.astppbilling.org:5060 hanging up, cause: MANDATORY_IE_MISSING
  508. 2021-12-30 08:30:35.032005 98.60% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/1022334444545@callpk.astppbilling.org:5060
  509. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/1022334444545@callpk.astppbilling.org:5060 Standard HANGUP, cause: MANDATORY_IE_MISSING
  510. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1022334444545@callpk.astppbilling.org:5060) State HANGUP going to sleep
  511. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1022334444545@callpk.astppbilling.org:5060) State Change CS_HANGUP -> CS_REPORTING
  512. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1022334444545@callpk.astppbilling.org:5060) Running State Change CS_REPORTING (Cur 3 Tot 3275)
  513. 2021-12-30 08:30:35.032005 98.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1022334444545@callpk.astppbilling.org:5060) State REPORTING
  514. 2021-12-30 08:30:35.032005 98.60% [INFO] mod_json_cdr.c:271 Process [58d89565-2536-48d6-bf2f-39575c2ed31b.cdr.json]
  515. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/1022334444545@callpk.astppbilling.org:5060 Standard REPORTING, cause: MANDATORY_IE_MISSING
  516. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1022334444545@callpk.astppbilling.org:5060) State REPORTING going to sleep
  517. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1022334444545@callpk.astppbilling.org:5060) State Change CS_REPORTING -> CS_DESTROY
  518. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_core_session.c:1753 Session 3274 (sofia/default/1022334444545@callpk.astppbilling.org:5060) Locked, Waiting on external entities
  519. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 96 [MANDATORY_IE_MISSING]
  520. 2021-12-30 08:30:35.052007 98.60% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: MANDATORY_IE_MISSING
  521. EXECUTE [depth=0] sofia/default/4727985745@version6.astppbilling.org:5060 set(original_did_number=10666)
  522. 2021-12-30 08:30:35.052007 98.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@version6.astppbilling.org:5060 [original_did_number]=[10666]
  523. 2021-12-30 08:30:35.052007 98.60% [NOTICE] switch_core_state_machine.c:382 sofia/default/4727985745@version6.astppbilling.org:5060 has executed the last dialplan instruction, hanging up.
  524. 2021-12-30 08:30:35.052007 98.60% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/4727985745@version6.astppbilling.org:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  525. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_core_state_machine.c:647 (sofia/default/4727985745@version6.astppbilling.org:5060) State EXECUTE going to sleep
  526. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@version6.astppbilling.org:5060) Running State Change CS_HANGUP (Cur 3 Tot 3275)
  527. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/4727985745@version6.astppbilling.org:5060) Callstate Change RINGING -> HANGUP
  528. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4727985745@version6.astppbilling.org:5060) State HANGUP
  529. 2021-12-30 08:30:35.052007 98.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/4727985745@version6.astppbilling.org:5060 hanging up, cause: NORMAL_CLEARING
  530. 2021-12-30 08:30:35.052007 98.60% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  531. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/4727985745@version6.astppbilling.org:5060 Standard HANGUP, cause: NORMAL_CLEARING
  532. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4727985745@version6.astppbilling.org:5060) State HANGUP going to sleep
  533. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/4727985745@version6.astppbilling.org:5060) State Change CS_HANGUP -> CS_REPORTING
  534. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@version6.astppbilling.org:5060) Running State Change CS_REPORTING (Cur 3 Tot 3275)
  535. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4727985745@version6.astppbilling.org:5060) State REPORTING
  536. 2021-12-30 08:30:35.052007 98.60% [INFO] mod_json_cdr.c:271 Process [23e853f5-dea4-4a20-affe-1d52aeb09ff9.cdr.json]
  537. 2021-12-30 08:30:35.052007 98.60% [NOTICE] switch_core_session.c:1771 Session 3274 (sofia/default/1022334444545@callpk.astppbilling.org:5060) Ended
  538. 2021-12-30 08:30:35.052007 98.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1022334444545@callpk.astppbilling.org:5060 [CS_DESTROY]
  539. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1022334444545@callpk.astppbilling.org:5060) Running State Change CS_DESTROY (Cur 2 Tot 3275)
  540. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1022334444545@callpk.astppbilling.org:5060) State DESTROY
  541. 2021-12-30 08:30:35.052007 98.60% [DEBUG] mod_sofia.c:379 sofia/default/1022334444545@callpk.astppbilling.org:5060 SOFIA DESTROY
  542. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/1022334444545@callpk.astppbilling.org:5060 Standard DESTROY
  543. 2021-12-30 08:30:35.052007 98.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1022334444545@callpk.astppbilling.org:5060) State DESTROY going to sleep
  544. 2021-12-30 08:30:35.072030 98.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/4727985745@version6.astppbilling.org:5060 Standard REPORTING, cause: NORMAL_CLEARING
  545. 2021-12-30 08:30:35.072030 98.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4727985745@version6.astppbilling.org:5060) State REPORTING going to sleep
  546. 2021-12-30 08:30:35.072030 98.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/4727985745@version6.astppbilling.org:5060) State Change CS_REPORTING -> CS_DESTROY
  547. 2021-12-30 08:30:35.072030 98.60% [DEBUG] switch_core_session.c:1753 Session 3272 (sofia/default/4727985745@version6.astppbilling.org:5060) Locked, Waiting on external entities
  548. 2021-12-30 08:30:35.072030 98.60% [NOTICE] switch_core_session.c:1771 Session 3272 (sofia/default/4727985745@version6.astppbilling.org:5060) Ended
  549. 2021-12-30 08:30:35.072030 98.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/4727985745@version6.astppbilling.org:5060 [CS_DESTROY]
  550. 2021-12-30 08:30:35.072030 98.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/4727985745@version6.astppbilling.org:5060) Running State Change CS_DESTROY (Cur 1 Tot 3275)
  551. 2021-12-30 08:30:35.072030 98.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4727985745@version6.astppbilling.org:5060) State DESTROY
  552. 2021-12-30 08:30:35.072030 98.60% [DEBUG] mod_sofia.c:379 sofia/default/4727985745@version6.astppbilling.org:5060 SOFIA DESTROY
  553. 2021-12-30 08:30:35.072030 98.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/4727985745@version6.astppbilling.org:5060 Standard DESTROY
  554. 2021-12-30 08:30:35.072030 98.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4727985745@version6.astppbilling.org:5060) State DESTROY going to sleep
  555. freeswitch@ip-172-31-36-75>
  556.