From Paltry Guinea Pig, 8 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2024-03-28 04:24:08.610040 96.07% [NOTICE] switch_channel.c:1142 New Channel sofia/default/8770000000@voice.airtouch.co.ke [578be3b0-add3-4ff2-893d-03db969a4ac3]
  2. 2024-03-28 04:24:08.610040 96.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8770000000@voice.airtouch.co.ke) Running State Change CS_NEW (Cur 1 Tot 106)
  3. 2024-03-28 04:24:08.610040 96.07% [INFO] sofia.c:10459 sofia/default/8770000000@voice.airtouch.co.ke receiving invite from 103.240.35.46:50704 version: 1.10.10-release  64bit call-id: NWZkM2YzMTk3YjA0MmE2OGZhYTdiYjVkZTEzYTEzNWU.                                                                                                                                                                                                  
  4. 2024-03-28 04:24:08.610040 96.07% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.240.35.46:0.
  5. 2024-03-28 04:24:08.610040 96.07% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [254208777969@voice.airtouch.co.ke] from ip 103.240.35.46
  6. 2024-03-28 04:24:08.610040 96.07% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8770000000@voice.airtouch.co.ke) State NEW
  7. 2024-03-28 04:24:08.610040 96.07% [DEBUG] sofia.c:2419 detaching session 578be3b0-add3-4ff2-893d-03db969a4ac3
  8. 2024-03-28 04:24:09.030057 96.07% [DEBUG] sofia.c:2532 Re-attaching to session 578be3b0-add3-4ff2-893d-03db969a4ac3
  9. 2024-03-28 04:24:09.030057 96.07% [INFO] sofia.c:10459 sofia/default/8770000000@voice.airtouch.co.ke receiving invite from 103.240.35.46:50704 version: 1.10.10-release  64bit call-id: NWZkM2YzMTk3YjA0MmE2OGZhYTdiYjVkZTEzYTEzNWU.                                                                                                                                                                                                  
  10. 2024-03-28 04:24:09.030057 96.07% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.240.35.46:0.
  11. 2024-03-28 04:24:09.030057 96.07% [DEBUG] sofia.c:11674 Setting NAT mode based on via received
  12. 2024-03-28 04:24:09.030057 96.07% [DEBUG] sofia.c:7493 Channel sofia/default/8770000000@voice.airtouch.co.ke entering state [received][100]
  13. 2024-03-28 04:24:09.030057 96.07% [DEBUG] sofia.c:7503 Remote SDP:
  14. v=0                                                                                                                                                                                                                
  15. o=Z 0 0 IN IP4 103.240.35.46                                                                                                                                                                                      
  16. s=Z                                                                                                                                                                                                                
  17. c=IN IP4 103.240.35.46                                                                                                                                                                                            
  18. t=0 0                                                                                                                                                                                                              
  19. m=audio 8000 RTP/AVP 3 110 8 0 98 101                                                                                                                                                                              
  20. a=rtpmap:110 speex/8000                                                                                                                                                                                            
  21. a=rtpmap:98 iLBC/8000                                                                                                                                                                                              
  22. a=fmtp:98 mode=20                                                                                                                                                                                                  
  23. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  24. a=fmtp:101 0-15                                                                                                                                                                                                    
  25.  
  26. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  27. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  28. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  29. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  30. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  31. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  32. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  36. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  37. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  38. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  39. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/8770000000@voice.airtouch.co.ke PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  40. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_codec.c:111 sofia/default/8770000000@voice.airtouch.co.ke Original read codec set to PCMA:8
  41. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  42. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_media.c:5856 sofia/default/8770000000@voice.airtouch.co.ke Set 2833 dtmf send payload to 101 recv payload to 101
  43. 2024-03-28 04:24:09.030057 96.07% [DEBUG] sofia.c:7927 (sofia/default/8770000000@voice.airtouch.co.ke) State Change CS_NEW -> CS_INIT
  44. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8770000000@voice.airtouch.co.ke) Running State Change CS_INIT (Cur 1 Tot 106)
  45. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8770000000@voice.airtouch.co.ke) State INIT
  46. 2024-03-28 04:24:09.030057 96.07% [DEBUG] mod_sofia.c:97 sofia/default/8770000000@voice.airtouch.co.ke SOFIA INIT
  47. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_state_machine.c:40 sofia/default/8770000000@voice.airtouch.co.ke Standard INIT
  48. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8770000000@voice.airtouch.co.ke) State Change CS_INIT -> CS_ROUTING
  49. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8770000000@voice.airtouch.co.ke) State INIT going to sleep
  50. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8770000000@voice.airtouch.co.ke) Running State Change CS_ROUTING (Cur 1 Tot 106)
  51. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_channel.c:2399 (sofia/default/8770000000@voice.airtouch.co.ke) Callstate Change DOWN -> RINGING
  52. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8770000000@voice.airtouch.co.ke) State ROUTING
  53. 2024-03-28 04:24:09.030057 96.07% [DEBUG] mod_sofia.c:158 sofia/default/8770000000@voice.airtouch.co.ke SOFIA ROUTING
  54. 2024-03-28 04:24:09.030057 96.07% [DEBUG] switch_core_state_machine.c:230 sofia/default/8770000000@voice.airtouch.co.ke Standard ROUTING
  55. 2024-03-28 04:24:09.030057 96.07% [INFO] mod_dialplan_xml.c:639 Processing 8770000000 <8770000000>->254208777969 in context default
  56. 2024-03-28 04:24:09.050040 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  57. 2024-03-28 04:24:09.050040 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  58. 2024-03-28 04:24:09.050040 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                                                                                                
  59. 2024-03-28 04:24:09.050040 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2024-03-28 04:24:09.050040 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 254208777969
  61. 2024-03-28 04:24:09.050040 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '254208777969' AND status=0 limit 1
  62. 2024-03-28 04:24:09.050040 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER8770000000
  63. 2024-03-28 04:24:09.050040 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  64. 2024-03-28 04:24:09.050040 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '254208777969' limit 1
  65. 2024-03-28 04:24:09.050040 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8770000000 / +254208770000
  66. 2024-03-28 04:24:09.050040 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="254208777969" LIMIT 1                                    
  67. 2024-03-28 04:24:09.050040 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  68. 2024-03-28 04:24:09.050040 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  69. 2024-03-28 04:24:09.050040 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8770000000]
  70. 2024-03-28 04:24:09.050040 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8770000000" OR id = "8770000000") AND deleted = 0 limit 1
  71. 2024-03-28 04:24:09.050040 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5
  72. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="254208777969" AND (accountid = 0 OR status = 1) LIMIT 1
  73. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  74. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 5
  75. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^254208777969.*' OR patterns = '^25420877796.*' OR patterns = '^2542087779.*' OR patterns = '^254208777.*' OR patterns = '^25420877.*' OR patterns = '^2542087.*' OR patterns = '^254208.*' OR patterns = '^25420.*' OR patterns = '^2542.*' OR patterns = '^254.*' OR patterns = '^25.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                              
  76. 2024-03-28 04:24:09.070045 96.07% [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 ="254208777969" AND A.accountid = '5' limit 1                                                                                                                                                                
  77. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 254208777969
  78. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="254208777969" LIMIT 1                                    
  79. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  80. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  81. 2024-03-28 04:24:09.070045 96.07% [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 = '254208777969' OR number = '25420877796' OR number = '2542087779' OR number = '254208777' OR number = '25420877' OR number = '2542087' OR number = '254208' OR number = '25420' OR number = '2542' OR number = '254' OR number = '25' OR number = '2' OR number ='--') OR (number = '254208777969*' OR number = '25420877796*' OR number = '2542087779*' OR number = '254208777*' OR number = '25420877*' OR number = '2542087*' OR number = '254208*' OR number = '25420*' OR number = '2542*' OR number = '254*' OR number = '25*' OR number = '2*' OR number ='--') OR (number = '+254208770000' OR number = '+25420877000' OR number = '+2542087700' OR number = '+254208770' OR number = '+25420877' OR number = '+2542087' OR number = '+254208' OR number = '+25420' OR number = '+2542' OR number = '+254' OR number = '+25' OR number = '+2' OR number = '+' OR number ='--') OR (number = '+254208770000*' OR number = '+25420877000*' OR number = '+2542087700*' OR number = '+254208770*' OR number = '+25420877*' OR number = '+2542087*' OR number = '+254208*' OR number = '+25420*' OR number = '+2542*' OR number = '+254*' OR number = '+25*' OR number = '+2*' OR number = '+*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC            
  82. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  83. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '254208777969' OR routing_prefix = '25420877796' OR routing_prefix = '2542087779' OR routing_prefix = '254208777' OR routing_prefix = '25420877' OR routing_prefix = '2542087' OR routing_prefix = '254208' OR routing_prefix = '25420' OR routing_prefix = '2542' OR routing_prefix = '254' OR routing_prefix = '25' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                          
  84. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  85. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 5
  86. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8770000000
  87. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5
  88. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 99.13
  89. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  90. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  91. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  92. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  93. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  94. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  95. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="254208777969" LIMIT 1                                    
  96. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  97. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  98. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  99. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  100. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  101. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  102. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  103. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Nairobi Municipality Nairobi Area
  104. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 100
  105. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 5
  106. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  107. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5
  108. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your99.13 balance Accountid 5 !!!
  109. 2024-03-28 04:24:09.070045 96.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  110. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  111. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  112. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  113. 2024-03-28 04:24:09.070045 96.07% [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 = 5 AND status=0 LIMIT 1                                                                                                                                                                                        
  114. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "5" OR number = "5") AND deleted = 0 limit 1
  115. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5
  116. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:5
  117. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:5
  118. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 5
  119. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  120. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '8770000000' and status = 0 limit 1
  121. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  122. 2024-03-28 04:24:09.070045 96.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  123. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
  124. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  125. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4518006873" limit 1                                                                                                
  126. 2024-03-28 04:24:09.070045 96.07% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML]  did_local_sip_codec : PCMA,PCMU,G729
  127. 2024-03-28 04:24:09.070045 96.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  128. <document type="freeswitch/xml">                                                                                                                                                                                  
  129. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  130. <context name="default">                                                                                                                                                                                          
  131. <extension name="254208777969">                                                                                                                                                                                    
  132. <condition field="destination_number" expression="254208777969">                                                                                                                                                  
  133. <action application="set" data="effective_destination_number=254208777969"/>                                                                                                                                      
  134. <action application="set" data="execute_on_answer_1=sched_hangup +6000 normal_clearing"/>                                                                                                                          
  135. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  136. <action application="set" data="notify_credit_limit=5.00000"/>                                                                                                                                                    
  137. <action application="set" data="type=0"/>                                                                                                                                                                          
  138. <action application="set" data="callstart=2024-03-28 04:24:09"/>                                                                                                                                                  
  139. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  140. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  141. <action application="set" data="account_id=5"/>                                                                                                                                                                    
  142. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  143. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  144. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  145. <action application="set" data="call_direction=inbound"/>                                                                                                                                                          
  146. <action application="set" data="accountname=default"/>                                                                                                                                                            
  147. <action application="set" data="origination_rates_did=ID:2|CODE:^254208777969.*|DESTINATION:Nairobi Municipality Nairobi Area|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:100|ACCID:5"/>                                                                                                                                                                                  
  148. <action application="set" data="origination_rates=0"/>                                                                                                                                                            
  149. <action application="set" data="original_caller_id_name=8770000000"/>                                                                                                                                              
  150. <action application="set" data="original_caller_id_number=+254208770000"/>                                                                                                                                        
  151. <action application="set" data="effective_caller_id_name=8770000000"/>                                                                                                                                            
  152. <action application="set" data="effective_caller_id_number=+254208770000"/>                                                                                                                                        
  153. <action application="set" data="receiver_accid=5"/>                                                                                                                                                                
  154. <action application="export" data="domain_name="/>                                                                                                                                                                
  155. <action application="export" data="sip_to_host="/>                                                                                                                                                                
  156. <action application="export" data="presence_data=x|||Wills Martin(8770000000)|||^254208777969.* // Nairobi Municipality Nairobi Area // 0.00000|||||||||DID|||103.240.35.46"/>                                    
  157. <action application="export" data="call_type=5"/>                                                                                                                                                                  
  158. <action application="set" data="daily_call_credit_limit=100.00000"/>                                                                                                                                              
  159. <action application="set" data="monthly_call_credit_limit=1000.00000"/>                                                                                                                                            
  160. <action application="set" data="daily_call_used_limit=0.00000"/>                                                                                                                                                  
  161. <action application="set" data="monthly_call_used_limit=0.87000"/>                                                                                                                                                
  162. <action application="set" data="calltype=SIP-DID"/>                                                                                                                                                                
  163. <action application="bridge" data="{sip_contact_user=254208777969}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/${sofia_profile_name}/254208777969${regex(${sofia_contact(4518006873@${domain_name})}|^[^@]+(.*)|%1)}"/>                                                                                                                                                                                              
  164. <condition field="${cond(${user_data 4518006873@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">                                                                                        
  165. <action application="answer"/>                                                                                                                                                                                    
  166. <action application="export" data="voicemail_alternate_greet_id=254208777969"/>                                                                                                                                    
  167. <action application="voicemail" data="default $${domain_name} 4518006873"/>                                                                                                                                        
  168. <anti-action application="hangup" data="${originate_disposition}"/>                                                                                                                                                
  169. </condition>                                                                                                                                                                                                      
  170. <action application="set" data="did_id=2"/>                                                                                                                                                                        
  171. <action application="set" data="destination_number=254208777969"/>                                                                                                                                                
  172. <action application="set" data="leg_timeout=30"/>                                                                                                                                                                  
  173. <action application="set" data="call_type_vm_flag=1"/>                                                                                                                                                            
  174. <action application="set" data="is_local_extension=1"/>                                                                                                                                                            
  175. <action application="lua" data="did_call_forwarding.lua"/>                                                                                                                                                        
  176. </condition>                                                                                                                                                                                                      
  177. </extension>                                                                                                                                                                                                      
  178. </context>                                                                                                                                                                                                        
  179. </section>                                                                                                                                                                                                        
  180. </document>                                                                                                                                                                                                        
  181. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke parsing [default->254208777969] continue=false
  182. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Regex (PASS) [254208777969] destination_number(254208777969) =~ /254208777969/ break=on-false
  183. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(effective_destination_number=254208777969)
  184. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  185. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(notify_flag=0)
  186. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(notify_credit_limit=5.00000)
  187. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(type=0)
  188. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(callstart=2024-03-28 04:24:09)
  189. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(hangup_after_bridge=true)
  190. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(continue_on_fail=TRUE)
  191. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(account_id=5)
  192. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(parent_id=0)
  193. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(entity_id=0)
  194. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(call_processed=internal)
  195. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(call_direction=inbound)
  196. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(accountname=default)
  197. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(origination_rates_did=ID:2|CODE:^254208777969.*|DESTINATION:Nairobi Municipality Nairobi Area|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:100|ACCID:5)                                                                                                                                                
  198. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(origination_rates=0)
  199. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(original_caller_id_name=8770000000)
  200. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(original_caller_id_number=+254208770000)
  201. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(effective_caller_id_name=8770000000)
  202. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(effective_caller_id_number=+254208770000)
  203. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(receiver_accid=5)
  204. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action export(domain_name=)
  205. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action export(sip_to_host=)
  206. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action export(presence_data=x|||Wills Martin(8770000000)|||^254208777969.* // Nairobi Municipality Nairobi Area // 0.00000|||||||||DID|||103.240.35.46)
  207. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action export(call_type=5)
  208. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(daily_call_credit_limit=100.00000)
  209. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(monthly_call_credit_limit=1000.00000)
  210. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(daily_call_used_limit=0.00000)
  211. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(monthly_call_used_limit=0.87000)
  212. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(calltype=SIP-DID)
  213. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action bridge({sip_contact_user=254208777969}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/${sofia_profile_name}/254208777969${regex(${sofia_contact(4518006873@${domain_name})}|^[^@]+(.*)|%1)})                                                                                                                                                            
  214. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(did_id=2)
  215. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(destination_number=254208777969)
  216. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(leg_timeout=30)
  217. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(call_type_vm_flag=1)
  218. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action set(is_local_extension=1)
  219. Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action lua(did_call_forwarding.lua)
  220. |--- Dialplan: Processing recursive conditions level:1 [254208777969_recur_1] require-nested=TRUE
  221. |--- Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Regex (PASS) [254208777969_recur_1] ${cond(${user_data 4518006873@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
  222. |--- Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action answer()
  223. |--- Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action export(voicemail_alternate_greet_id=254208777969)
  224. |--- Dialplan: sofia/default/8770000000@voice.airtouch.co.ke Action voicemail(default $${domain_name} 4518006873)
  225. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8770000000@voice.airtouch.co.ke) State Change CS_ROUTING -> CS_EXECUTE
  226. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8770000000@voice.airtouch.co.ke) State ROUTING going to sleep
  227. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8770000000@voice.airtouch.co.ke) Running State Change CS_EXECUTE (Cur 1 Tot 106)
  228. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8770000000@voice.airtouch.co.ke) State EXECUTE
  229. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_sofia.c:213 sofia/default/8770000000@voice.airtouch.co.ke SOFIA EXECUTE
  230. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_core_state_machine.c:323 sofia/default/8770000000@voice.airtouch.co.ke Standard EXECUTE
  231. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(effective_destination_number=254208777969)
  232. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [effective_destination_number]=[254208777969]
  233. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  234. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [execute_on_answer_1]=[sched_hangup +6000 normal_clearing]
  235. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(notify_flag=0)
  236. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [notify_flag]=[0]
  237. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(notify_credit_limit=5.00000)
  238. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [notify_credit_limit]=[5.00000]
  239. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(type=0)
  240. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [type]=[0]
  241. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(callstart=2024-03-28 04:24:09)
  242. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [callstart]=[2024-03-28 04:24:09]
  243. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(hangup_after_bridge=true)
  244. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [hangup_after_bridge]=[true]
  245. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(continue_on_fail=TRUE)
  246. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [continue_on_fail]=[TRUE]
  247. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(account_id=5)
  248. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [account_id]=[5]
  249. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(parent_id=0)
  250. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [parent_id]=[0]
  251. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(entity_id=0)
  252. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [entity_id]=[0]
  253. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(call_processed=internal)
  254. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [call_processed]=[internal]
  255. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(call_direction=inbound)
  256. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [call_direction]=[inbound]
  257. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(accountname=default)
  258. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [accountname]=[default]
  259. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(origination_rates_did=ID:2|CODE:^254208777969.*|DESTINATION:Nairobi Municipality Nairobi Area|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:100|ACCID:5)                                                                                                                                                
  260. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [origination_rates_did]=[ID:2|CODE:^254208777969.*|DESTINATION:Nairobi Municipality Nairobi Area|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:100|ACCID:5]                                                                                                  
  261. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(origination_rates=0)
  262. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [origination_rates]=[0]
  263. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(original_caller_id_name=8770000000)
  264. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [original_caller_id_name]=[8770000000]
  265. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(original_caller_id_number=+254208770000)
  266. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [original_caller_id_number]=[+254208770000]
  267. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(effective_caller_id_name=8770000000)
  268. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [effective_caller_id_name]=[8770000000]
  269. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(effective_caller_id_number=+254208770000)
  270. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [effective_caller_id_number]=[+254208770000]
  271. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(receiver_accid=5)
  272. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [receiver_accid]=[5]
  273. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke export(domain_name=)
  274. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[UNDEF]
  275. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke export(sip_to_host=)
  276. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  277. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke export(presence_data=x|||Wills Martin(8770000000)|||^254208777969.* // Nairobi Municipality Nairobi Area // 0.00000|||||||||DID|||103.240.35.46)
  278. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||Wills Martin(8770000000)|||^254208777969.* // Nairobi Municipality Nairobi Area // 0.00000|||||||||DID|||103.240.35.46]                                                                                                                                                                                                    
  279. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke export(call_type=5)
  280. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_type]=[5]
  281. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(daily_call_credit_limit=100.00000)
  282. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [daily_call_credit_limit]=[100.00000]
  283. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(monthly_call_credit_limit=1000.00000)
  284. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [monthly_call_credit_limit]=[1000.00000]
  285. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(daily_call_used_limit=0.00000)
  286. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [daily_call_used_limit]=[0.00000]
  287. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(monthly_call_used_limit=0.87000)
  288. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [monthly_call_used_limit]=[0.87000]
  289. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke set(calltype=SIP-DID)
  290. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_dptools.c:1671 SET sofia/default/8770000000@voice.airtouch.co.ke [calltype]=[SIP-DID]
  291. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke bridge({sip_contact_user=254208777969}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/default/254208777969@103.240.35.46:34372;rinstance=a18c99d472badcb8;transport=TCP;fs_nat=yes;fs_path=sip%3A4518006873%40103.240.35.46%3A50704%3Brinstance%3Da18c99d472badcb8%3Btransport%3DTCP)                                                                  
  292. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_channel.c:1288 sofia/default/8770000000@voice.airtouch.co.ke EXPORTING[export_vars] [presence_data]=[x|||Wills Martin(8770000000)|||^254208777969.* // Nairobi Municipality Nairobi Area // 0.00000|||||||||DID|||103.240.35.46] to event                                                                                                                                            
  293. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_channel.c:1288 sofia/default/8770000000@voice.airtouch.co.ke EXPORTING[export_vars] [call_type]=[5] to event
  294. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  295. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  296. 2024-03-28 04:24:09.090035 96.07% [NOTICE] switch_channel.c:1142 New Channel sofia/default/254208777969@103.240.35.46:34372 [e7860575-f10b-42e1-9b77-94e5f043f54e]
  297. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_sofia.c:5110 (sofia/default/254208777969@103.240.35.46:34372) State Change CS_NEW -> CS_INIT
  298. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_ivr_originate.c:3167 sofia/default/254208777969@103.240.35.46:34372 Setting leg timeout to 30
  299. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/254208777969@103.240.35.46:34372) Running State Change CS_INIT (Cur 2 Tot 107)
  300. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/254208777969@103.240.35.46:34372) State INIT
  301. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_sofia.c:97 sofia/default/254208777969@103.240.35.46:34372 SOFIA INIT
  302. 2024-03-28 04:24:09.090035 96.07% [DEBUG] sofia_glue.c:1628 sip:4518006873@103.240.35.46:50704;rinstance=a18c99d472badcb8;transport=TCP Setting proxy route to sofia/default/254208777969@103.240.35.46:34372
  303. 2024-03-28 04:24:09.090035 96.07% [INFO] sofia_glue.c:1659 sofia/default/254208777969@103.240.35.46:34372 sending invite call-id: (null)
  304. 2024-03-28 04:24:09.090035 96.07% [DEBUG] sofia_glue.c:1662 sofia/default/254208777969@103.240.35.46:34372 sending invite version: 1.10.10-release  64bit
  305. Local SDP:                                                                                                                                                                                                        
  306. v=0                                                                                                                                                                                                                
  307. o=FreeSWITCH 1711575125 1711575126 IN IP4 102.218.33.100                                                                                                                                                          
  308. s=FreeSWITCH                                                                                                                                                                                                      
  309. c=IN IP4 102.218.33.100                                                                                                                                                                                            
  310. t=0 0                                                                                                                                                                                                              
  311. m=audio 24724 RTP/AVP 8 0 18 101                                                                                                                                                                                  
  312. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  313. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  314. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  315. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  316. a=fmtp:101 0-15                                                                                                                                                                                                    
  317. a=ptime:20                                                                                                                                                                                                        
  318. a=sendrecv                                                                                                                                                                                                        
  319.  
  320. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_core_state_machine.c:40 sofia/default/254208777969@103.240.35.46:34372 Standard INIT
  321. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_core_state_machine.c:48 (sofia/default/254208777969@103.240.35.46:34372) State Change CS_INIT -> CS_ROUTING
  322. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/254208777969@103.240.35.46:34372) State INIT going to sleep
  323. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/254208777969@103.240.35.46:34372) Running State Change CS_ROUTING (Cur 2 Tot 107)
  324. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/254208777969@103.240.35.46:34372) State ROUTING
  325. 2024-03-28 04:24:09.090035 96.07% [DEBUG] mod_sofia.c:158 sofia/default/254208777969@103.240.35.46:34372 SOFIA ROUTING
  326. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_ivr_originate.c:67 (sofia/default/254208777969@103.240.35.46:34372) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  327. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/254208777969@103.240.35.46:34372) State ROUTING going to sleep
  328. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/254208777969@103.240.35.46:34372) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 107)
  329. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_core_state_machine.c:659 (sofia/default/254208777969@103.240.35.46:34372) State CONSUME_MEDIA
  330. 2024-03-28 04:24:09.090035 96.07% [DEBUG] switch_core_state_machine.c:659 (sofia/default/254208777969@103.240.35.46:34372) State CONSUME_MEDIA going to sleep
  331. 2024-03-28 04:24:09.090035 96.07% [DEBUG] sofia.c:7493 Channel sofia/default/254208777969@103.240.35.46:34372 entering state [calling][0]
  332. 2024-03-28 04:24:10.350054 96.43% [DEBUG] sofia.c:7493 Channel sofia/default/254208777969@103.240.35.46:34372 entering state [proceeding][180]
  333. 2024-03-28 04:24:10.350054 96.43% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/254208777969@103.240.35.46:34372!
  334. 2024-03-28 04:24:10.350054 96.43% [DEBUG] switch_channel.c:3513 (sofia/default/254208777969@103.240.35.46:34372) Callstate Change DOWN -> RINGING
  335. 2024-03-28 04:24:10.370037 96.43% [NOTICE] mod_sofia.c:2514 Ring-Ready sofia/default/8770000000@voice.airtouch.co.ke!
  336. 2024-03-28 04:24:10.370037 96.43% [DEBUG] sofia.c:7493 Channel sofia/default/8770000000@voice.airtouch.co.ke entering state [early][180]
  337. 2024-03-28 04:24:10.370037 96.43% [NOTICE] switch_ivr_originate.c:568 Ring Ready sofia/default/8770000000@voice.airtouch.co.ke!
  338. 2024-03-28 04:24:12.130052 96.50% [DEBUG] sofia.c:7493 Channel sofia/default/254208777969@103.240.35.46:34372 entering state [completing][200]
  339. 2024-03-28 04:24:12.130052 96.50% [DEBUG] sofia.c:7503 Remote SDP:
  340. v=0                                                                                                                                                                                                                
  341. o=Z 0 3 IN IP4 103.240.35.46                                                                                                                                                                                      
  342. s=Z                                                                                                                                                                                                                
  343. c=IN IP4 103.240.35.46                                                                                                                                                                                            
  344. t=0 0                                                                                                                                                                                                              
  345. m=audio 8002 RTP/AVP 8 3 110 0 98 101                                                                                                                                                                              
  346. a=rtpmap:110 speex/8000                                                                                                                                                                                            
  347. a=rtpmap:98 iLBC/8000                                                                                                                                                                                              
  348. a=fmtp:98 mode=20                                                                                                                                                                                                  
  349. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  350. a=fmtp:101 0-15                                                                                                                                                                                                    
  351.  
  352. 2024-03-28 04:24:12.130052 96.50% [DEBUG] sofia.c:7493 Channel sofia/default/254208777969@103.240.35.46:34372 entering state [ready][200]
  353. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  354. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  355. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  356. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  357. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  358. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  359. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
  360. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  361. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  362. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1]
  363. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  364. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  365. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  366. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  367. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  368. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  369. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1]
  370. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  371. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/254208777969@103.240.35.46:34372 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  372. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_codec.c:111 sofia/default/254208777969@103.240.35.46:34372 Original read codec set to PCMA:8
  373. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  374. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:5856 sofia/default/254208777969@103.240.35.46:34372 Set 2833 dtmf send payload to 101 recv payload to 101
  375. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/254208777969@103.240.35.46:34372] 102.218.33.100 port 24724 -> 103.240.35.46 port 8002 codec: 8 ms: 20
  376. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  377. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:8972 sofia/default/254208777969@103.240.35.46:34372 Set 2833 dtmf send payload to 101
  378. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:8979 sofia/default/254208777969@103.240.35.46:34372 Set 2833 dtmf receive payload to 101
  379. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:9002 sofia/default/254208777969@103.240.35.46:34372 Set rtp dtmf delay to 40
  380. 2024-03-28 04:24:12.130052 96.50% [NOTICE] sofia.c:8680 Channel [sofia/default/254208777969@103.240.35.46:34372] has been answered
  381. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_channel.c:3912 (sofia/default/254208777969@103.240.35.46:34372) Callstate Change RINGING -> ACTIVE
  382. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/8770000000@voice.airtouch.co.ke] 102.218.33.100 port 32466 -> 103.240.35.46 port 8000 codec: 8 ms: 20
  383. 2024-03-28 04:24:12.130052 96.50% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  384. 2024-03-28 04:24:12.150030 96.50% [DEBUG] switch_core_media.c:8972 sofia/default/8770000000@voice.airtouch.co.ke Set 2833 dtmf send payload to 101
  385. 2024-03-28 04:24:12.150030 96.50% [DEBUG] switch_core_media.c:8979 sofia/default/8770000000@voice.airtouch.co.ke Set 2833 dtmf receive payload to 101
  386. 2024-03-28 04:24:12.150030 96.50% [DEBUG] switch_core_media.c:9002 sofia/default/8770000000@voice.airtouch.co.ke Set rtp dtmf delay to 40
  387. 2024-03-28 04:24:12.150030 96.50% [DEBUG] mod_sofia.c:914 Local SDP sofia/default/8770000000@voice.airtouch.co.ke:
  388. v=0                                                                                                                                                                                                                
  389. o=FreeSWITCH 1711567386 1711567387 IN IP4 102.218.33.100                                                                                                                                                          
  390. s=FreeSWITCH                                                                                                                                                                                                      
  391. c=IN IP4 102.218.33.100                                                                                                                                                                                            
  392. t=0 0                                                                                                                                                                                                              
  393. m=audio 32466 RTP/AVP 8 101                                                                                                                                                                                        
  394. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  395. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  396. a=fmtp:101 0-15                                                                                                                                                                                                    
  397. a=ptime:20                                                                                                                                                                                                        
  398. a=sendrecv                                                                                                                                                                                                        
  399.  
  400. 2024-03-28 04:24:12.150030 96.50% [NOTICE] switch_ivr_originate.c:3851 Channel [sofia/default/8770000000@voice.airtouch.co.ke] has been answered
  401. EXECUTE [depth=0] sofia/default/8770000000@voice.airtouch.co.ke sched_hangup(+6000 normal_clearing)
  402. 2024-03-28 04:24:12.150030 96.50% [DEBUG] sofia.c:7493 Channel sofia/default/8770000000@voice.airtouch.co.ke entering state [completed][200]
  403. 2024-03-28 04:24:12.150030 96.50% [DEBUG] switch_scheduler.c:263 Added task 28 switch_ivr_schedule_hangup (578be3b0-add3-4ff2-893d-03db969a4ac3) to run at 1711605852
  404. 2024-03-28 04:24:12.150030 96.50% [DEBUG] switch_channel.c:3912 (sofia/default/8770000000@voice.airtouch.co.ke) Callstate Change RINGING -> ACTIVE
  405. 2024-03-28 04:24:12.150030 96.50% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/254208777969@103.240.35.46:34372] Peer UUID: e7860575-f10b-42e1-9b77-94e5f043f54e
  406. 2024-03-28 04:24:12.150030 96.50% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/254208777969@103.240.35.46:34372) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  407. 2024-03-28 04:24:12.150030 96.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/254208777969@103.240.35.46:34372) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 107)
  408. 2024-03-28 04:24:12.150030 96.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/254208777969@103.240.35.46:34372) State EXCHANGE_MEDIA
  409. 2024-03-28 04:24:12.150030 96.50% [DEBUG] mod_sofia.c:672 SOFIA EXCHANGE_MEDIA
  410. 2024-03-28 04:24:12.170033 96.50% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
  411. 2024-03-28 04:24:12.330045 96.47% [DEBUG] sofia.c:7493 Channel sofia/default/8770000000@voice.airtouch.co.ke entering state [ready][200]
  412. 2024-03-28 04:24:12.590038 96.47% [DEBUG] sofia.c:7493 Channel sofia/default/8770000000@voice.airtouch.co.ke entering state [received][100]
  413. 2024-03-28 04:24:12.590038 96.47% [DEBUG] sofia.c:7503 Remote SDP:
  414. v=0                                                                                                                                                                                                                
  415. o=Z 0 1 IN IP4 103.240.35.46                                                                                                                                                                                      
  416. s=Z                                                                                                                                                                                                                
  417. c=IN IP4 0.0.0.0                                                                                                                                                                                                  
  418. t=0 0                                                                                                                                                                                                              
  419. m=audio 8000 RTP/AVP 3 110 8 0 98 101                                                                                                                                                                              
  420. a=rtpmap:110 speex/8000                                                                                                                                                                                            
  421. a=rtpmap:98 iLBC/8000                                                                                                                                                                                              
  422. a=fmtp:98 mode=20                                                                                                                                                                                                  
  423. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  424. a=fmtp:101 0-15                                                                                                                                                                                                    
  425. a=inactive                                                                                                                                                                                                        
  426.  
  427. 2024-03-28 04:24:12.590038 96.47% [WARNING] switch_core_media.c:4917 RFC2543 from March 1999 called; They want their 0.0.0.0 hold method back.....
  428. 2024-03-28 04:24:12.590038 96.47% [DEBUG] switch_channel.c:1994 (sofia/default/8770000000@voice.airtouch.co.ke) Callstate Change ACTIVE -> HELD
  429. 2024-03-28 04:24:12.730053 96.47% [DEBUG] switch_ivr.c:632 sofia/default/254208777969@103.240.35.46:34372 Command Execute [depth=0] playback(local_stream://moh)
  430. EXECUTE [depth=0] sofia/default/254208777969@103.240.35.46:34372 playback(local_stream://moh)
  431. 2024-03-28 04:24:12.730053 96.47% [DEBUG] mod_local_stream.c:912 Opening Stream [moh/8000] 8000hz
  432. 2024-03-28 04:24:12.730053 96.47% [DEBUG] switch_ivr_play_say.c:1561 Codec Activated L16@8000hz 1 channels 20ms
  433. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  434. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  435. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  436. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  437. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  438. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  439. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  440. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  441. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  442. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  443. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  444. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  445. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  446. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  447. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:5856 sofia/default/8770000000@voice.airtouch.co.ke Set 2833 dtmf send payload to 101 recv payload to 101
  448. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:8647 Audio params changed for sofia/default/8770000000@voice.airtouch.co.ke from 103.240.35.46:8000 to 0.0.0.0:8000
  449. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/8770000000@voice.airtouch.co.ke] 102.218.33.100 port 32466 -> 0.0.0.0 port 8000 codec: 8 ms: 20
  450. 2024-03-28 04:24:12.830105 96.47% [DEBUG] switch_core_media.c:8688 AUDIO RTP CHANGING DEST TO: [0.0.0.0:8000]
  451. 2024-03-28 04:24:12.830105 96.47% [DEBUG] sofia.c:8448 Processing updated SDP
  452. 2024-03-28 04:24:12.850031 96.47% [DEBUG] sofia.c:7493 Channel sofia/default/8770000000@voice.airtouch.co.ke entering state [completed][200]
  453. 2024-03-28 04:24:13.030090 96.47% [DEBUG] sofia.c:7493 Channel sofia/default/8770000000@voice.airtouch.co.ke entering state [ready][200]
  454. 2024-03-28 04:24:16.330149 96.37% [NOTICE] sofia.c:1065 Hangup sofia/default/254208777969@103.240.35.46:34372 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  455. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_ivr_play_say.c:2010 done playing file local_stream://moh
  456. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_core_session.c:2979 sofia/default/254208777969@103.240.35.46:34372 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  457. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_ivr_bridge.c:567 sofia/default/254208777969@103.240.35.46:34372 skip receive message [BRIDGE] (channel is hungup already)
  458. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_ivr.c:679 sofia/default/254208777969@103.240.35.46:34372 skip receive message [AUDIO_SYNC] (channel is hungup already)
  459. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_ivr_bridge.c:825 sofia/default/254208777969@103.240.35.46:34372 ending bridge by request from read function
  460. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/254208777969@103.240.35.46:34372]
  461. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_core_state_machine.c:650 (sofia/default/254208777969@103.240.35.46:34372) State EXCHANGE_MEDIA going to sleep
  462. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/254208777969@103.240.35.46:34372) Running State Change CS_HANGUP (Cur 2 Tot 107)
  463. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/254208777969@103.240.35.46:34372) Callstate Change ACTIVE -> HANGUP
  464. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/254208777969@103.240.35.46:34372) State HANGUP
  465. 2024-03-28 04:24:16.330149 96.37% [DEBUG] mod_sofia.c:469 Channel sofia/default/254208777969@103.240.35.46:34372 hanging up, cause: NORMAL_CLEARING
  466. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/254208777969@103.240.35.46:34372 Standard HANGUP, cause: NORMAL_CLEARING
  467. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/254208777969@103.240.35.46:34372) State HANGUP going to sleep
  468. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/254208777969@103.240.35.46:34372) State Change CS_HANGUP -> CS_REPORTING
  469. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/254208777969@103.240.35.46:34372) Running State Change CS_REPORTING (Cur 2 Tot 107)
  470. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/254208777969@103.240.35.46:34372) State REPORTING
  471. 2024-03-28 04:24:16.330149 96.37% [INFO] mod_json_cdr.c:272 Process [e7860575-f10b-42e1-9b77-94e5f043f54e.cdr.json]
  472. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/8770000000@voice.airtouch.co.ke]
  473. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_channel.c:2179 (sofia/default/8770000000@voice.airtouch.co.ke) Callstate Change HELD -> UNHELD
  474. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/254208777969@103.240.35.46:34372 skip receive message [UNBRIDGE] (channel is hungup already)
  475. 2024-03-28 04:24:16.330149 96.37% [NOTICE] switch_ivr_bridge.c:1942 Hangup sofia/default/8770000000@voice.airtouch.co.ke [CS_EXECUTE] [NORMAL_CLEARING]
  476. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_core_session.c:2979 sofia/default/8770000000@voice.airtouch.co.ke skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  477. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8770000000@voice.airtouch.co.ke) State EXECUTE going to sleep
  478. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8770000000@voice.airtouch.co.ke) Running State Change CS_HANGUP (Cur 2 Tot 107)
  479. 2024-03-28 04:24:16.330149 96.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8770000000@voice.airtouch.co.ke) Callstate Change UNHELD -> HANGUP
  480. 2024-03-28 04:24:16.350029 96.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8770000000@voice.airtouch.co.ke) State HANGUP
  481. 2024-03-28 04:24:16.350029 96.37% [DEBUG] mod_sofia.c:463 sofia/default/8770000000@voice.airtouch.co.ke Overriding SIP cause 480 with 200 from the other leg
  482. 2024-03-28 04:24:16.350029 96.37% [DEBUG] mod_sofia.c:469 Channel sofia/default/8770000000@voice.airtouch.co.ke hanging up, cause: NORMAL_CLEARING
  483. 2024-03-28 04:24:16.350029 96.37% [DEBUG] mod_sofia.c:523 Sending BYE to sofia/default/8770000000@voice.airtouch.co.ke
  484. 2024-03-28 04:24:16.350029 96.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/8770000000@voice.airtouch.co.ke Standard HANGUP, cause: NORMAL_CLEARING
  485. 2024-03-28 04:24:16.350029 96.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8770000000@voice.airtouch.co.ke) State HANGUP going to sleep
  486. 2024-03-28 04:24:16.350029 96.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8770000000@voice.airtouch.co.ke) State Change CS_HANGUP -> CS_REPORTING
  487. 2024-03-28 04:24:16.350029 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8770000000@voice.airtouch.co.ke) Running State Change CS_REPORTING (Cur 2 Tot 107)
  488. 2024-03-28 04:24:16.350029 96.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8770000000@voice.airtouch.co.ke) State REPORTING
  489. 2024-03-28 04:24:16.350029 96.37% [INFO] mod_json_cdr.c:272 Process [578be3b0-add3-4ff2-893d-03db969a4ac3.cdr.json]
  490. 2024-03-28 04:24:16.410027 96.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/254208777969@103.240.35.46:34372 Standard REPORTING, cause: NORMAL_CLEARING
  491. 2024-03-28 04:24:16.410027 96.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/254208777969@103.240.35.46:34372) State REPORTING going to sleep
  492. 2024-03-28 04:24:16.410027 96.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/254208777969@103.240.35.46:34372) State Change CS_REPORTING -> CS_DESTROY
  493. 2024-03-28 04:24:16.410027 96.37% [DEBUG] switch_core_session.c:1744 Session 107 (sofia/default/254208777969@103.240.35.46:34372) Locked, Waiting on external entities
  494. 2024-03-28 04:24:16.410027 96.37% [NOTICE] switch_core_session.c:1762 Session 107 (sofia/default/254208777969@103.240.35.46:34372) Ended
  495. 2024-03-28 04:24:16.410027 96.37% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/254208777969@103.240.35.46:34372 [CS_DESTROY]
  496. 2024-03-28 04:24:16.410027 96.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/254208777969@103.240.35.46:34372) Running State Change CS_DESTROY (Cur 1 Tot 107)
  497. 2024-03-28 04:24:16.410027 96.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/254208777969@103.240.35.46:34372) State DESTROY
  498. 2024-03-28 04:24:16.410027 96.37% [DEBUG] mod_sofia.c:380 sofia/default/254208777969@103.240.35.46:34372 SOFIA DESTROY
  499. 2024-03-28 04:24:16.410027 96.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/254208777969@103.240.35.46:34372 Standard DESTROY
  500. 2024-03-28 04:24:16.410027 96.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/254208777969@103.240.35.46:34372) State DESTROY going to sleep
  501. 2024-03-28 04:24:16.470030 96.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/8770000000@voice.airtouch.co.ke Standard REPORTING, cause: NORMAL_CLEARING
  502. 2024-03-28 04:24:16.470030 96.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8770000000@voice.airtouch.co.ke) State REPORTING going to sleep
  503. 2024-03-28 04:24:16.470030 96.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8770000000@voice.airtouch.co.ke) State Change CS_REPORTING -> CS_DESTROY
  504. 2024-03-28 04:24:16.470030 96.37% [DEBUG] switch_core_session.c:1744 Session 106 (sofia/default/8770000000@voice.airtouch.co.ke) Locked, Waiting on external entities
  505. 2024-03-28 04:24:16.470030 96.37% [NOTICE] switch_core_session.c:1762 Session 106 (sofia/default/8770000000@voice.airtouch.co.ke) Ended
  506. 2024-03-28 04:24:16.470030 96.37% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/8770000000@voice.airtouch.co.ke [CS_DESTROY]
  507. 2024-03-28 04:24:16.470030 96.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8770000000@voice.airtouch.co.ke) Running State Change CS_DESTROY (Cur 0 Tot 107)
  508. 2024-03-28 04:24:16.470030 96.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8770000000@voice.airtouch.co.ke) State DESTROY
  509. 2024-03-28 04:24:16.470030 96.37% [DEBUG] mod_sofia.c:380 sofia/default/8770000000@voice.airtouch.co.ke SOFIA DESTROY
  510. 2024-03-28 04:24:16.470030 96.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/8770000000@voice.airtouch.co.ke Standard DESTROY
  511. 2024-03-28 04:24:16.470030 96.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8770000000@voice.airtouch.co.ke) State DESTROY going to sleep
  512. 2024-03-28 04:24:16.650025 96.37% [DEBUG] switch_scheduler.c:147 Deleting task 28 switch_ivr_schedule_hangup (578be3b0-add3-4ff2-893d-03db969a4ac3)
  513.