From PrashantKumar, 3 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and MOH_SIP2SIP_call_issue
  1. freeswitch@ip-172-31-43-241>
  2. freeswitch@ip-172-31-43-241>
  3. 2021-12-22 13:44:12.346716 96.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1480292801@pkcall.astppbilling.org:5044 [0af13694-7463-46f0-b485-24a2c211c20b]
  4. 2021-12-22 13:44:12.346716 96.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1480292801@pkcall.astppbilling.org:5044) Running State Change CS_NEW (Cur 1 Tot 33)
  5. 2021-12-22 13:44:12.346716 96.50% [INFO] sofia.c:10462 sofia/default/1480292801@pkcall.astppbilling.org:5044 receiving invite from 49.34.144.98:60306 version: 1.10.7 -release-19-883d2cb662 64bit call-id: IKBZtgLFCAn-Md-qY6dS0A..
  6. 2021-12-22 13:44:12.346716 96.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.144.98:0.
  7. 2021-12-22 13:44:12.346716 96.50% [DEBUG] sofia.c:2419 detaching session 0af13694-7463-46f0-b485-24a2c211c20b
  8. 2021-12-22 13:44:12.346716 96.50% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9693017122@pkcall.astppbilling.org] from ip 49.34.144.98
  9. 2021-12-22 13:44:12.346716 96.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1480292801@pkcall.astppbilling.org:5044) State NEW
  10. 2021-12-22 13:44:13.266772 96.50% [DEBUG] sofia.c:2532 Re-attaching to session 0af13694-7463-46f0-b485-24a2c211c20b
  11. 2021-12-22 13:44:13.266772 96.50% [INFO] sofia.c:10462 sofia/default/1480292801@pkcall.astppbilling.org:5044 receiving invite from 49.34.144.98:60306 version: 1.10.7 -release-19-883d2cb662 64bit call-id: IKBZtgLFCAn-Md-qY6dS0A..
  12. 2021-12-22 13:44:13.266772 96.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.144.98:0.
  13. 2021-12-22 13:44:13.266772 96.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  14. 2021-12-22 13:44:13.266772 96.50% [DEBUG] sofia.c:7499 Channel sofia/default/1480292801@pkcall.astppbilling.org:5044 entering state [received][100]
  15. 2021-12-22 13:44:13.266772 96.50% [DEBUG] sofia.c:7509 Remote SDP:
  16. v=0
  17. o=Zoiper 1640180652087 1 IN IP4 49.34.144.98
  18. s=Z
  19. c=IN IP4 49.34.144.98
  20. t=0 0
  21. m=audio 32110 RTP/AVP 0 101 8 3
  22. a=rtpmap:101 telephone-event/8000
  23. a=fmtp:101 0-16
  24.  
  25. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  26. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  27. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  28. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  29. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  30. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  31. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  32. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  33. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  34. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1480292801@pkcall.astppbilling.org:5044 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  35. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_codec.c:111 sofia/default/1480292801@pkcall.astppbilling.org:5044 Original read codec set to PCMU:0
  36. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  37. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_media.c:5973 sofia/default/1480292801@pkcall.astppbilling.org:5044 Set 2833 dtmf send payload to 101 recv payload to 101
  38. 2021-12-22 13:44:13.266772 96.50% [DEBUG] sofia.c:7933 (sofia/default/1480292801@pkcall.astppbilling.org:5044) State Change CS_NEW -> CS_INIT
  39. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1480292801@pkcall.astppbilling.org:5044) Running State Change CS_INIT (Cur 1 Tot 33)
  40. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1480292801@pkcall.astppbilling.org:5044) State INIT
  41. 2021-12-22 13:44:13.266772 96.50% [DEBUG] mod_sofia.c:97 sofia/default/1480292801@pkcall.astppbilling.org:5044 SOFIA INIT
  42. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/1480292801@pkcall.astppbilling.org:5044 Standard INIT
  43. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1480292801@pkcall.astppbilling.org:5044) State Change CS_INIT -> CS_ROUTING
  44. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1480292801@pkcall.astppbilling.org:5044) State INIT going to sleep
  45. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1480292801@pkcall.astppbilling.org:5044) Running State Change CS_ROUTING (Cur 1 Tot 33)
  46. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_channel.c:2380 (sofia/default/1480292801@pkcall.astppbilling.org:5044) Callstate Change DOWN -> RINGING
  47. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1480292801@pkcall.astppbilling.org:5044) State ROUTING
  48. 2021-12-22 13:44:13.266772 96.50% [DEBUG] mod_sofia.c:158 sofia/default/1480292801@pkcall.astppbilling.org:5044 SOFIA ROUTING
  49. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/1480292801@pkcall.astppbilling.org:5044 Standard ROUTING
  50. 2021-12-22 13:44:13.266772 96.50% [INFO] mod_dialplan_xml.c:639 Processing 1480292801 <1480292801>->9693017122 in context default
  51. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  52. 2021-12-22 13:44:13.266772 96.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  53. 2021-12-22 13:44:13.306756 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  54. 2021-12-22 13:44:13.306756 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 9693017122
  55. 2021-12-22 13:44:13.306756 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '9693017122' limit 1
  56. 2021-12-22 13:44:13.306756 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '9693017122' AND status=0 limit 1
  57. 2021-12-22 13:44:13.306756 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '9693017122' and status=0 LIMIT 1
  58. 2021-12-22 13:44:13.306756 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER1480292801
  59. 2021-12-22 13:44:13.306756 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2021-12-22 13:44:13.306756 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'pkcall.astppbilling.org' limit 1
  61. 2021-12-22 13:44:13.306756 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '4' and username = '9693017122' limit 1
  62. 2021-12-22 13:44:13.306756 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL] Query :SELECT local_effective_caller_id_name,local_effective_caller_id_number FROM sip_devices WHERE username = '1480292801' limit 1
  63. 2021-12-22 13:44:13.306756 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan COMINNG] Caller Id name / number  : 1480292801 / 1480292801
  64. 2021-12-22 13:44:13.306756 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  :  /
  65. 2021-12-22 13:44:13.306756 96.47% [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 ="9693017122" LIMIT 1
  66. 2021-12-22 13:44:13.306756 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9693017122" LIMIT 1
  67. 2021-12-22 13:44:13.306756 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  68. 2021-12-22 13:44:13.306756 96.47% [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 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="9693017122"  AND domains.domain="pkcall.astppbilling.org" limit 1
  69. 2021-12-22 13:44:13.306756 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : local
  70. 2021-12-22 13:44:13.306756 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9693017122]
  71. 2021-12-22 13:44:13.306756 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9693017122" AND deleted = 0 limit 1
  72. 2021-12-22 13:44:13.306756 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="9693017122" AND (accountid = 0 OR status = 1) LIMIT 1
  73. 2021-12-22 13:44:13.306756 96.47% [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 = '^9693017122.*' OR patterns = '^969301712.*' OR patterns = '^96930171.*' OR patterns = '^9693017.*' OR patterns = '^969301.*' OR patterns = '^96930.*' OR patterns = '^9693.*' OR patterns = '^969.*' OR patterns = '^96.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 4 ORDER BY LENGTH(PKGPTR.patterns) DESC
  74. 2021-12-22 13:44:13.306756 96.47% [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 ="9693017122" AND A.accountid = '4' limit 1
  75. 2021-12-22 13:44:13.306756 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 9693017122
  76. 2021-12-22 13:44:13.306756 96.47% [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 ="9693017122" LIMIT 1
  77. 2021-12-22 13:44:13.306756 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9693017122" LIMIT 1
  78. 2021-12-22 13:44:13.346711 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  79. 2021-12-22 13:44:13.346711 96.47% [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 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="9693017122"  AND domains.domain="pkcall.astppbilling.org" limit 1
  80. 2021-12-22 13:44:13.346711 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : local
  81. 2021-12-22 13:44:13.346711 96.47% [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 = '9693017122' OR number = '969301712' OR number = '96930171' OR number = '9693017' OR number = '969301' OR number = '96930' OR number = '9693' OR number = '969' OR number = '96' OR number = '9' OR number ='--') OR (number = '9693017122*' OR number = '969301712*' OR number = '96930171*' OR number = '9693017*' OR number = '969301*' OR number = '96930*' OR number = '9693*' OR number = '969*' OR number = '96*' OR number = '9*' OR number ='--') OR (number ='--') OR (number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  82. 2021-12-22 13:44:13.346711 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  83. 2021-12-22 13:44:13.346711 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '9693017122' OR routing_prefix = '969301712' OR routing_prefix = '96930171' OR routing_prefix = '9693017' OR routing_prefix = '969301' OR routing_prefix = '96930' OR routing_prefix = '9693' OR routing_prefix = '969' OR routing_prefix = '96' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  84. 2021-12-22 13:44:13.346711 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  85. 2021-12-22 13:44:13.346711 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
  86. 2021-12-22 13:44:13.346711 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9693017122
  87. 2021-12-22 13:44:13.346711 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
  88. 2021-12-22 13:44:13.346711 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  89. 2021-12-22 13:44:13.346711 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  90. 2021-12-22 13:44:13.346711 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  91. 2021-12-22 13:44:13.346711 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  92. 2021-12-22 13:44:13.346711 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  93. 2021-12-22 13:44:13.346711 96.47% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Free Inbound : 1
  94. 2021-12-22 13:44:13.346711 96.47% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Charge Per Min : 0
  95. 2021-12-22 13:44:13.346711 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 4 !!!
  96. 2021-12-22 13:44:13.346711 96.47% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  97. 2021-12-22 13:44:13.346711 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  98. 2021-12-22 13:44:13.346711 96.47% [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 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="9693017122"  AND domains.domain="pkcall.astppbilling.org" limit 1
  99. 2021-12-22 13:44:13.346711 96.47% [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
  100. 2021-12-22 13:44:13.346711 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  101. 2021-12-22 13:44:13.346711 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  102. 2021-12-22 13:44:13.366711 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  103. 2021-12-22 13:44:13.366711 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : local
  104. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 4 limit 1
  105. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  106. 2021-12-22 13:44:13.366711 96.47% [WARNING] switch_cpp.cpp:1465 [ASTPP] [PBX] User Domainpkcall.astppbilling.org
  107. 2021-12-22 13:44:13.366711 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 9693017122
  108. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold_type FROM sip_devices WHERE username = '9693017122' and accountid = '4'LIMIT 1
  109. 2021-12-22 13:44:13.366711 96.47% [INFO] switch_cpp.cpp:1465 [ASTPP] moh_name : 0
  110. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold,music_on_hold_type FROM sip_devices WHERE username = '9693017122' and accountid = '4'LIMIT 1
  111. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  112. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  113. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH for global Query :SELECT name FROM pbx_music_on_hold WHERE id = '0' LIMIT 1
  114. 2021-12-22 13:44:13.366711 96.47% [ERR] mod_lua.cpp:202 .../share/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:976: attempt to concatenate field 'name' (a nil value)
  115. stack traceback:
  116.         .../share/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:976: in function 'freeswitch_xml_local'
  117.         ...hare/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:780: in main chunk
  118.         [C]: in function 'dofile'
  119.         /usr/share/freeswitch/scripts/astpp/astpp.lua:94: in main chunk
  120. 2021-12-22 13:44:13.366711 96.47% [ERR] mod_lua.cpp:270 LUA script parse/execute error!
  121. 2021-12-22 13:44:13.366711 96.47% [WARNING] mod_dialplan_xml.c:669 Context default not found
  122. 2021-12-22 13:44:13.366711 96.47% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  123. 2021-12-22 13:44:13.366711 96.47% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/1480292801@pkcall.astppbilling.org:5044 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  124. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1480292801@pkcall.astppbilling.org:5044) State ROUTING going to sleep
  125. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1480292801@pkcall.astppbilling.org:5044) Running State Change CS_HANGUP (Cur 1 Tot 33)
  126. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1480292801@pkcall.astppbilling.org:5044) Callstate Change RINGING -> HANGUP
  127. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1480292801@pkcall.astppbilling.org:5044) State HANGUP
  128. 2021-12-22 13:44:13.366711 96.47% [DEBUG] mod_sofia.c:468 Channel sofia/default/1480292801@pkcall.astppbilling.org:5044 hanging up, cause: NO_ROUTE_DESTINATION
  129. 2021-12-22 13:44:13.366711 96.47% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  130. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_core_state_machine.c:59 sofia/default/1480292801@pkcall.astppbilling.org:5044 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  131. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1480292801@pkcall.astppbilling.org:5044) State HANGUP going to sleep
  132. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1480292801@pkcall.astppbilling.org:5044) State Change CS_HANGUP -> CS_REPORTING
  133. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1480292801@pkcall.astppbilling.org:5044) Running State Change CS_REPORTING (Cur 1 Tot 33)
  134. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1480292801@pkcall.astppbilling.org:5044) State REPORTING
  135. 2021-12-22 13:44:13.366711 96.47% [INFO] mod_json_cdr.c:271 Process [0af13694-7463-46f0-b485-24a2c211c20b.cdr.json]
  136. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_core_state_machine.c:168 sofia/default/1480292801@pkcall.astppbilling.org:5044 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  137. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1480292801@pkcall.astppbilling.org:5044) State REPORTING going to sleep
  138. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1480292801@pkcall.astppbilling.org:5044) State Change CS_REPORTING -> CS_DESTROY
  139. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_core_session.c:1753 Session 33 (sofia/default/1480292801@pkcall.astppbilling.org:5044) Locked, Waiting on external entities
  140. 2021-12-22 13:44:13.366711 96.47% [NOTICE] switch_core_session.c:1771 Session 33 (sofia/default/1480292801@pkcall.astppbilling.org:5044) Ended
  141. 2021-12-22 13:44:13.366711 96.47% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1480292801@pkcall.astppbilling.org:5044 [CS_DESTROY]
  142. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1480292801@pkcall.astppbilling.org:5044) Running State Change CS_DESTROY (Cur 0 Tot 33)
  143. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1480292801@pkcall.astppbilling.org:5044) State DESTROY
  144. 2021-12-22 13:44:13.366711 96.47% [DEBUG] mod_sofia.c:379 sofia/default/1480292801@pkcall.astppbilling.org:5044 SOFIA DESTROY
  145. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_core_state_machine.c:175 sofia/default/1480292801@pkcall.astppbilling.org:5044 Standard DESTROY
  146. 2021-12-22 13:44:13.366711 96.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1480292801@pkcall.astppbilling.org:5044) State DESTROY going to sleep
  147. 2021-12-22 13:45:02.126709 99.63% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [4489910030@pkcall.astppbilling.org] from ip 117.247.91.162
  148. 2021-12-22 13:45:03.286728 96.57% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [4489910030@pkcall.astppbilling.org] from ip 117.247.91.162
  149. freeswitch@ip-172-31-43-241>
  150.