From Ash, 1 Year ago, written in HTML5.
- view diff
Embed
  1. 2022-07-26 07:18:52.340665 [DEBUG] switch_core_media.c:4556 Substituting codec G729@40i@8000h@1c
  2. 2022-07-26 07:18:52.340665 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  3. 2022-07-26 07:18:52.340665 [DEBUG] switch_core_media.c:4767 sofia/default/100@metrowired.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  4. 2022-07-26 07:18:52.340665 [DEBUG] sofia.c:8061 Processing updated SDP
  5. 2022-07-26 07:18:52.340665 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/100@metrowired.nebular.co.za:5060.
  6. 2022-07-26 07:19:20.010673 [NOTICE] sofia.c:1012 Hangup sofia/default/0713846780 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  7. 2022-07-26 07:19:20.010673 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0713846780]
  8. 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0713846780) State EXCHANGE_MEDIA going to sleep
  9. 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0713846780) Running State Change CS_HANGUP (Cur 2 Tot 118013)
  10. 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0713846780) Callstate Change ACTIVE -> HANGUP
  11. 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0713846780) State HANGUP
  12. 2022-07-26 07:19:20.010673 [DEBUG] mod_sofia.c:438 Channel sofia/default/0713846780 hanging up, cause: NORMAL_CLEARING
  13. 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:60 sofia/default/0713846780 Standard HANGUP, cause: NORMAL_CLEARING
  14. 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0713846780) State HANGUP going to sleep
  15. 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0713846780) State Change CS_HANGUP -> CS_REPORTING
  16. 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0713846780) Running State Change CS_REPORTING (Cur 2 Tot 118013)
  17. 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0713846780) State REPORTING
  18. 2022-07-26 07:19:20.010673 [INFO] mod_json_cdr.c:271 Process [2e23b2fc-0cb3-11ed-ba8d-d3f1ef10c389.cdr.json]
  19. 2022-07-26 07:19:20.020956 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0713846780 ending bridge by request from write function
  20. 2022-07-26 07:19:20.020956 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/100@metrowired.nebular.co.za:5060]
  21. 2022-07-26 07:19:20.020956 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0713846780 skip receive message [UNBRIDGE] (channel is hungup already)
  22. 2022-07-26 07:19:20.020956 [NOTICE] switch_ivr_bridge.c:1764 Hangup sofia/default/100@metrowired.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  23. 2022-07-26 07:19:20.020956 [DEBUG] switch_core_session.c:2815 sofia/default/100@metrowired.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  24. 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:650 (sofia/default/100@metrowired.nebular.co.za:5060) State EXECUTE going to sleep
  25. 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:584 (sofia/default/100@metrowired.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 2 Tot 118013)
  26. 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:850 (sofia/default/100@metrowired.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP
  27. 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:852 (sofia/default/100@metrowired.nebular.co.za:5060) State HANGUP
  28. 2022-07-26 07:19:20.020956 [DEBUG] mod_sofia.c:432 sofia/default/100@metrowired.nebular.co.za:5060 Overriding SIP cause 480 with 200 from the other leg
  29. 2022-07-26 07:19:20.020956 [DEBUG] mod_sofia.c:438 Channel sofia/default/100@metrowired.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING
  30. 2022-07-26 07:19:20.020956 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/100@metrowired.nebular.co.za:5060
  31. 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:60 sofia/default/100@metrowired.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING
  32. 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:852 (sofia/default/100@metrowired.nebular.co.za:5060) State HANGUP going to sleep
  33. 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:619 (sofia/default/100@metrowired.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING
  34. 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:584 (sofia/default/100@metrowired.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 2 Tot 118013)
  35. 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:938 (sofia/default/100@metrowired.nebular.co.za:5060) State REPORTING
  36. 2022-07-26 07:19:20.020956 [INFO] mod_json_cdr.c:271 Process [2d405a2a-0cb3-11ed-ba6a-d3f1ef10c389.cdr.json]
  37. 2022-07-26 07:19:20.062642 [DEBUG] switch_core_state_machine.c:174 sofia/default/0713846780 Standard REPORTING, cause: NORMAL_CLEARING
  38. 2022-07-26 07:19:20.062642 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0713846780) State REPORTING going to sleep
  39. 2022-07-26 07:19:20.062642 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0713846780) State Change CS_REPORTING -> CS_DESTROY
  40. 2022-07-26 07:19:20.062642 [DEBUG] switch_core_session.c:1665 Session 118013 (sofia/default/0713846780) Locked, Waiting on external entities
  41. 2022-07-26 07:19:20.062642 [NOTICE] switch_core_session.c:1683 Session 118013 (sofia/default/0713846780) Ended
  42. 2022-07-26 07:19:20.062642 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0713846780 [CS_DESTROY]
  43. 2022-07-26 07:19:20.062642 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0713846780) Running State Change CS_DESTROY (Cur 1 Tot 118013)
  44. 2022-07-26 07:19:20.062642 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0713846780) State DESTROY
  45. 2022-07-26 07:19:20.062642 [DEBUG] mod_sofia.c:343 sofia/default/0713846780 SOFIA DESTROY
  46. 2022-07-26 07:19:20.062642 [INFO] mod_com_g729.c:109 DECODER DESTROYED----------->0x7f3ea42629c8 0x7f3ea42629d0
  47. 2022-07-26 07:19:20.062642 [INFO] mod_com_g729.c:112 DECODER LICENSE DEALLOCATED->0x7f3ea42629c8 0x7f3ea42629d0
  48. 2022-07-26 07:19:20.062642 [INFO] mod_com_g729.c:98 ENCODER DESTROYED----------->0x7f3ea4262a48 0x7f3ea4262a48
  49. 2022-07-26 07:19:20.062642 [INFO] mod_com_g729.c:101 ENCODER LICENSE DEALLOCATED->0x7f3ea4262a48 0x7f3ea4262a48
  50. 2022-07-26 07:19:20.062642 [DEBUG] switch_core_state_machine.c:181 sofia/default/0713846780 Standard DESTROY
  51. 2022-07-26 07:19:20.062642 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0713846780) State DESTROY going to sleep
  52. 2022-07-26 07:19:20.140666 [DEBUG] switch_core_state_machine.c:174 sofia/default/100@metrowired.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING
  53. 2022-07-26 07:19:20.140666 [DEBUG] switch_core_state_machine.c:938 (sofia/default/100@metrowired.nebular.co.za:5060) State REPORTING going to sleep
  54. 2022-07-26 07:19:20.140666 [DEBUG] switch_core_state_machine.c:610 (sofia/default/100@metrowired.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY
  55. 2022-07-26 07:19:20.140666 [DEBUG] switch_core_session.c:1665 Session 118012 (sofia/default/100@metrowired.nebular.co.za:5060) Locked, Waiting on external entities
  56. 2022-07-26 07:19:20.140666 [NOTICE] switch_core_session.c:1683 Session 118012 (sofia/default/100@metrowired.nebular.co.za:5060) Ended
  57. 2022-07-26 07:19:20.140666 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/100@metrowired.nebular.co.za:5060 [CS_DESTROY]
  58. 2022-07-26 07:19:20.140666 [DEBUG] switch_core_state_machine.c:741 (sofia/default/100@metrowired.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 0 Tot 118013)
  59. 2022-07-26 07:19:20.140666 [DEBUG] switch_core_state_machine.c:751 (sofia/default/100@metrowired.nebular.co.za:5060) State DESTROY
  60. 2022-07-26 07:19:20.140666 [DEBUG] mod_sofia.c:343 sofia/default/100@metrowired.nebular.co.za:5060 SOFIA DESTROY
  61. 2022-07-26 07:19:20.140666 [INFO] mod_com_g729.c:109 DECODER DESTROYED----------->0x7f3f08aaa198 0x7f3f08aaa1a0
  62. 2022-07-26 07:19:20.140666 [INFO] mod_com_g729.c:112 DECODER LICENSE DEALLOCATED->0x7f3f08aaa198 0x7f3f08aaa1a0
  63. 2022-07-26 07:19:20.140666 [INFO] mod_com_g729.c:98 ENCODER DESTROYED----------->0x7f3f08aaa218 0x7f3f08aaa218
  64. 2022-07-26 07:19:20.140666 [INFO] mod_com_g729.c:101 ENCODER LICENSE DEALLOCATED->0x7f3f08aaa218 0x7f3f08aaa218
  65. 2022-07-26 07:19:20.140666 [DEBUG] switch_core_state_machine.c:181 sofia/default/100@metrowired.nebular.co.za:5060 Standard DESTROY
  66. 2022-07-26 07:19:20.140666 [DEBUG] switch_core_state_machine.c:751 (sofia/default/100@metrowired.nebular.co.za:5060) State DESTROY going to sleep
  67. 2022-07-26 07:19:20.490687 [DEBUG] switch_scheduler.c:144 Deleting task 47229 switch_ivr_schedule_hangup (2e23b2fc-0cb3-11ed-ba8d-d3f1ef10c389)
  68. 2022-07-26 07:20:48.620675 [NOTICE] switch_channel.c:1104 New Channel sofia/default/+27742876360@41.160.32.115:5060 [78f32f7e-0cb3-11ed-ba93-d3f1ef10c389]
  69. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27742876360@41.160.32.115:5060) Running State Change CS_NEW (Cur 1 Tot 118014)
  70. 2022-07-26 07:20:48.620675 [DEBUG] sofia.c:9873 sofia/default/+27742876360@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  71. 2022-07-26 07:20:48.620675 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  72. 2022-07-26 07:20:48.620675 [DEBUG] sofia.c:7084 Channel sofia/default/+27742876360@41.160.32.115:5060 entering state [received][100]
  73. 2022-07-26 07:20:48.620675 [DEBUG] sofia.c:7094 Remote SDP:
  74. v=0
  75. o=HuaweiSoftX3000 106395198593476 106395198593476 IN IP4 41.160.32.115
  76. s=-
  77. c=IN IP4 41.160.32.115
  78. t=0 0
  79. m=audio 20594 RTP/AVP 8 102 102 18 101
  80. a=rtpmap:8 PCMA/8000
  81. a=rtpmap:102 AMR/8000
  82. a=rtpmap:18 G729/8000
  83. a=fmtp:18 annexb=no
  84. a=rtpmap:101 telephone-event/8000
  85. a=fmtp:101 0-15
  86. a=ptime:20
  87.  
  88. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  89. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  90. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  91. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  92. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  93. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[G729:18:8000:60:8000:1]
  94. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[G729:18:8000:20:8000:1]
  95. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  96. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  97. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:60:8000:1]
  98. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:20:8000:1]
  99. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMA:8:8000:20:64000:1]
  100. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMU:0:8000:20:64000:1]
  101. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  102. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  103. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  104. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  105. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  106. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  107. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  108. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/+27742876360@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  109. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_codec.c:111 sofia/default/+27742876360@41.160.32.115:5060 Original read codec set to PCMA:8
  110. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  111. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4767 sofia/default/+27742876360@41.160.32.115:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  112. 2022-07-26 07:20:48.620675 [DEBUG] sofia.c:7507 (sofia/default/+27742876360@41.160.32.115:5060) State Change CS_NEW -> CS_INIT
  113. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+27742876360@41.160.32.115:5060) State NEW
  114. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27742876360@41.160.32.115:5060) Running State Change CS_INIT (Cur 1 Tot 118014)
  115. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+27742876360@41.160.32.115:5060) State INIT
  116. 2022-07-26 07:20:48.620675 [DEBUG] mod_sofia.c:90 sofia/default/+27742876360@41.160.32.115:5060 SOFIA INIT
  117. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:40 sofia/default/+27742876360@41.160.32.115:5060 Standard INIT
  118. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:48 (sofia/default/+27742876360@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING
  119. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+27742876360@41.160.32.115:5060) State INIT going to sleep
  120. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27742876360@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 1 Tot 118014)
  121. 2022-07-26 07:20:48.620675 [DEBUG] switch_channel.c:2249 (sofia/default/+27742876360@41.160.32.115:5060) Callstate Change DOWN -> RINGING
  122. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+27742876360@41.160.32.115:5060) State ROUTING
  123. 2022-07-26 07:20:48.620675 [DEBUG] mod_sofia.c:143 sofia/default/+27742876360@41.160.32.115:5060 SOFIA ROUTING
  124. 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:236 sofia/default/+27742876360@41.160.32.115:5060 Standard ROUTING
  125. 2022-07-26 07:20:48.620675 [INFO] mod_dialplan_xml.c:637 Processing +27742876360 <27742876360>->D9570114067300 in context default
  126. 2022-07-26 07:20:48.691153 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ea40ff300 Connected.
  127. 2022-07-26 07:20:48.691153 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  128. 2022-07-26 07:20:48.732806 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  129. 2022-07-26 07:20:48.772792 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  130. 2022-07-26 07:20:48.772792 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570114067300
  131. 2022-07-26 07:20:48.772792 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570114067300' limit 1
  132. 2022-07-26 07:20:48.811791 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570114067300' AND status=0 limit 1
  133. 2022-07-26 07:20:48.850661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570114067300' and status=0 LIMIT 1
  134. 2022-07-26 07:20:48.885865 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  135. 2022-07-26 07:20:48.885865 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : +27742876360 / <null>
  136. 2022-07-26 07:20:48.885865 [DEBUG] switch_cpp.cpp:1365 [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 ="D9570114067300" LIMIT 1
  137. 2022-07-26 07:20:48.933389 [DEBUG] switch_cpp.cpp:1365 [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="D9570114067300"  AND domains.domain="156.38.231.106" limit 1
  138. 2022-07-26 07:20:48.970960 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  139. 2022-07-26 07:20:48.970960 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894]
  140. 2022-07-26 07:20:48.970960 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  141. 2022-07-26 07:20:49.021074 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570114067300.*' OR blocked_patterns = '^D957011406730.*' OR blocked_patterns = '^D95701140673.*' OR blocked_patterns = '^D9570114067.*' OR blocked_patterns = '^D957011406.*' OR blocked_patterns = '^D95701140.*' OR blocked_patterns = '^D9570114.*' OR blocked_patterns = '^D957011.*' OR blocked_patterns = '^D95701.*' OR blocked_patterns = '^D9570.*' OR blocked_patterns = '^D957.*' OR blocked_patterns = '^D95.*' OR blocked_patterns = '^D9.*' OR blocked_patterns = '^D.*' OR blocked_patterns ='--') AND accountid = 3 limit 1
  142. 2022-07-26 07:20:49.060665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570114067300" AND (accountid = 0 OR status = 1) LIMIT 1
  143. 2022-07-26 07:20:49.090666 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  144. 2022-07-26 07:20:49.090666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1
  145. 2022-07-26 07:20:49.131904 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570114067300
  146. 2022-07-26 07:20:49.131904 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570114067300
  147. 2022-07-26 07:20:49.131904 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570114067300
  148. 2022-07-26 07:20:49.131904 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0114067300
  149. 2022-07-26 07:20:49.131904 [DEBUG] switch_cpp.cpp:1365 [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 = '^0114067300.*' OR patterns = '^011406730.*' OR patterns = '^01140673.*' OR patterns = '^0114067.*' OR patterns = '^011406.*' OR patterns = '^01140.*' OR patterns = '^0114.*' OR patterns = '^011.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC
  150. 2022-07-26 07:20:49.172999 [DEBUG] switch_cpp.cpp:1365 [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 ="0114067300" AND A.accountid = '3' limit 1
  151. 2022-07-26 07:20:49.210670 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0114067300
  152. 2022-07-26 07:20:49.210670 [DEBUG] switch_cpp.cpp:1365 [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 ="0114067300" LIMIT 1
  153. 2022-07-26 07:20:49.250659 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound
  154. 2022-07-26 07:20:49.250659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0114067300' OR number = '011406730' OR number = '01140673' OR number = '0114067' OR number = '011406' OR number = '01140' OR number = '0114' OR number = '011' OR number = '01' OR number = '0' OR number ='--') OR (number = '0114067300*' OR number = '011406730*' OR number = '01140673*' OR number = '0114067*' OR number = '011406*' OR number = '01140*' OR number = '0114*' OR number = '011*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  155. 2022-07-26 07:20:49.280666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  156. 2022-07-26 07:20:49.280666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0114067300' OR routing_prefix = '011406730' OR routing_prefix = '01140673' OR routing_prefix = '0114067' OR routing_prefix = '011406' OR routing_prefix = '01140' OR routing_prefix = '0114' OR routing_prefix = '011' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  157. 2022-07-26 07:20:49.360670 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  158. 2022-07-26 07:20:49.360670 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 3
  159. 2022-07-26 07:20:49.360670 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 3673942894
  160. 2022-07-26 07:20:49.360670 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  161. 2022-07-26 07:20:49.360670 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  162. 2022-07-26 07:20:49.360670 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 15
  163. 2022-07-26 07:20:49.360670 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  164. 2022-07-26 07:20:49.360670 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  165. 2022-07-26 07:20:49.360670 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 15 AND status = 0
  166. 2022-07-26 07:20:49.391062 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  167. 2022-07-26 07:20:49.391062 [DEBUG] switch_cpp.cpp:1365 [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 ="0114067300" LIMIT 1
  168. 2022-07-26 07:20:49.430658 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  169. 2022-07-26 07:20:49.430658 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  170. 2022-07-26 07:20:49.430658 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 4657
  171. 2022-07-26 07:20:49.430658 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  172. 2022-07-26 07:20:49.430658 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  173. 2022-07-26 07:20:49.430658 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  174. 2022-07-26 07:20:49.430658 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0114067300
  175. 2022-07-26 07:20:49.430658 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  176. 2022-07-26 07:20:49.430658 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 3
  177. 2022-07-26 07:20:49.430658 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  178. 2022-07-26 07:20:49.430658 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
  179. 2022-07-26 07:20:49.430658 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  180. 2022-07-26 07:20:49.430658 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  181. 2022-07-26 07:20:49.430658 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  182. 2022-07-26 07:20:49.430658 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  183. 2022-07-26 07:20:49.430658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 3 AND status=0 LIMIT 1
  184. 2022-07-26 07:20:49.470664 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++19
  185. 2022-07-26 07:20:49.470664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "19" AND deleted = 0 limit 1
  186. 2022-07-26 07:20:49.503545 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  187. 2022-07-26 07:20:49.503545 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:3
  188. 2022-07-26 07:20:49.503545 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  189. 2022-07-26 07:20:49.503545 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 19 limit 1
  190. 2022-07-26 07:20:49.550663 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : joshco.nebular.co.za
  191. 2022-07-26 07:20:49.550663 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  192. 2022-07-26 07:20:49.550663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  193. 2022-07-26 07:20:49.582020 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  194. 2022-07-26 07:20:49.582020 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound
  195. 2022-07-26 07:20:49.582020 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....+27742876360
  196. 2022-07-26 07:20:49.582020 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....<null>
  197. 2022-07-26 07:20:49.582020 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 19 limit 1
  198. 2022-07-26 07:20:49.630804 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : joshco.nebular.co.za
  199. 2022-07-26 07:20:49.630804 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
  200. 2022-07-26 07:20:49.630804 [DEBUG] switch_cpp.cpp:1365 [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="297534"  AND domains.domain="joshco.nebular.co.za" limit 1
  201. 2022-07-26 07:20:49.660667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 165 limit 1
  202. 2022-07-26 07:20:49.700658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  203. 2022-07-26 07:20:49.731034 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  204. 2022-07-26 07:20:49.771136 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforejoshco.nebular.co.za
  205. 2022-07-26 07:20:49.771136 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str
  206. 2022-07-26 07:20:49.771136 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START:
  207. 2022-07-26 07:20:49.771136 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/
  208. 2022-07-26 07:20:49.771136 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='297534' and uuid = '78f32f7e-0cb3-11ed-ba93-d3f1ef10c389' order by id desc limit 1
  209. 2022-07-26 07:20:49.820962 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='297534' order by id desc limit 1
  210. 2022-07-26 07:20:49.860674 [DEBUG] switch_cpp.cpp:1365 [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="297534"  AND domains.domain="joshco.nebular.co.za" limit 1
  211. 2022-07-26 07:20:49.890657 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 165 limit 1
  212. 2022-07-26 07:20:49.921241 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  213. <document type="freeswitch/xml">
  214. <section name="dialplan" description="ASTPP Dialplan">
  215. <context name="default">
  216. <extension name="0114067300">
  217. <condition field="destination_number" expression="D9570114067300">
  218. <action application="set" data="effective_destination_number=0114067300"/>
  219. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  220. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  221. <action application="set" data="callstart=2022-07-26 07:20:49"/>
  222. <action application="set" data="hangup_after_bridge=true"/>
  223. <action application="set" data="continue_on_fail=TRUE"/>
  224. <action application="set" data="account_id=3"/>
  225. <action application="set" data="parent_id=0"/>
  226. <action application="set" data="entity_id=3"/>
  227. <action application="set" data="call_processed=internal"/>
  228. <action application="set" data="call_direction=inbound"/>
  229. <action application="set" data="accountname=default"/>
  230. <action application="set" data="filename1=astpp.pbx.lua"/>
  231. <action application="set" data="origination_rates_did=ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19"/>
  232. <action application="set" data="origination_rates=0"/>
  233. <action application="set" data="original_caller_id_name=+27742876360"/>
  234. <action application="set" data="effective_caller_id_name=+27742876360"/>
  235. <action application="set" data="receiver_accid=19"/>
  236. <action application="export" data="domain_name=joshco.nebular.co.za"/>
  237. <action application="export" data="sip_to_host=joshco.nebular.co.za"/>
  238. <action application="export" data="presence_data=x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115"/>
  239. <action application="export" data="call_type=5"/>
  240. <action application="set" data="calltype=SIP-DID"/>
  241. <action application="db" data="insert/pickup_any_group_${callgroup}/297534/${uuid}"/>
  242. <action application="set" data="dialed_extension=transfer_call"/>
  243. <action application="export" data="dialed_extension=transfer_call"/>
  244. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  245. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  246. <action application="set" data="hangup_after_bridge=true"/>
  247. <action application="export" data="did_user_domain=joshco.nebular.co.za"/>
  248. <action application="sleep" data="1000"/>
  249. <action application="ring_ready"/>
  250. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/297534@joshco.nebular.co.za^0114067300"/>
  251. <action application="set" data="on_busy_flag=1"/>
  252. <action application="set" data="on_busy_destination="/>
  253. <action application="set" data="no_answer_flag=1"/>
  254. <action application="set" data="no_answer_destination="/>
  255. <action application="set" data="not_register_flag=1"/>
  256. <action application="set" data="not_register_destination="/>
  257. <action application="set" data="opensips_flag=0"/>
  258. <action application="set" data="variable_sip_to_host=joshco.nebular.co.za"/>
  259. <action application="set" data="opensips_domain=156.38.231.106"/>
  260. <action application="set" data="leg_timeout=20"/>
  261. <action application="set" data="userinfo_id=19"/>
  262. <action application="set" data="sip_destination_number=297534"/>
  263. <action application="set" data="destination_number=0114067300"/>
  264. <action application="set" data="did_number=0114067300"/>
  265. <action application="set" data="user_domain=joshco.nebular.co.za"/>
  266. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  267. <condition field="${cond(${user_data 297534@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  268. <action application="answer"/>
  269. <action application="export" data="voicemail_alternate_greet_id=0114067300"/>
  270. <action application="voicemail" data="default $${domain_name} 297534"/>
  271. <anti-action application="hangup" data="${originate_disposition}"/>
  272. </condition>
  273. </condition>
  274. </extension>
  275. </context>
  276. </document>
  277. 2022-07-26 07:20:49.921241 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ea40ff300 released.
  278. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 parsing [default->0114067300] continue=false
  279. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Regex (PASS) [0114067300] destination_number(D9570114067300) =~ /D9570114067300/ break=on-false
  280. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(effective_destination_number=0114067300)
  281. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  282. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  283. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(callstart=2022-07-26 07:20:49)
  284. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  285. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(continue_on_fail=TRUE)
  286. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(account_id=3)
  287. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(parent_id=0)
  288. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(entity_id=3)
  289. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(call_processed=internal)
  290. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(call_direction=inbound)
  291. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(accountname=default)
  292. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua)
  293. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(origination_rates_did=ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19)
  294. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(origination_rates=0)
  295. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(original_caller_id_name=+27742876360)
  296. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(effective_caller_id_name=+27742876360)
  297. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(receiver_accid=19)
  298. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action export(domain_name=joshco.nebular.co.za)
  299. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action export(sip_to_host=joshco.nebular.co.za)
  300. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115)
  301. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action export(call_type=5)
  302. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(calltype=SIP-DID)
  303. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/297534/${uuid})
  304. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(dialed_extension=transfer_call)
  305. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action export(dialed_extension=transfer_call)
  306. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  307. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  308. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  309. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action export(did_user_domain=joshco.nebular.co.za)
  310. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action sleep(1000)
  311. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action ring_ready()
  312. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/297534@joshco.nebular.co.za^0114067300)
  313. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(on_busy_flag=1)
  314. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(on_busy_destination=)
  315. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(no_answer_flag=1)
  316. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(no_answer_destination=)
  317. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(not_register_flag=1)
  318. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(not_register_destination=)
  319. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(opensips_flag=0)
  320. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(variable_sip_to_host=joshco.nebular.co.za)
  321. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106)
  322. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(leg_timeout=20)
  323. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(userinfo_id=19)
  324. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(sip_destination_number=297534)
  325. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(destination_number=0114067300)
  326. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(did_number=0114067300)
  327. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(user_domain=joshco.nebular.co.za)
  328. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  329. |--- Dialplan: Processing recursive conditions level:1 [0114067300_recur_1] require-nested=TRUE
  330. |--- Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Regex (FAIL) [0114067300_recur_1] ${cond(${user_data 297534@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  331. |--- Dialplan: sofia/default/+27742876360@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition})
  332. 2022-07-26 07:20:50.040662 [DEBUG] switch_core_state_machine.c:286 (sofia/default/+27742876360@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE
  333. 2022-07-26 07:20:50.040662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+27742876360@41.160.32.115:5060) State ROUTING going to sleep
  334. 2022-07-26 07:20:50.040662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27742876360@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 1 Tot 118014)
  335. 2022-07-26 07:20:50.040662 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+27742876360@41.160.32.115:5060) State EXECUTE
  336. 2022-07-26 07:20:50.040662 [DEBUG] mod_sofia.c:198 sofia/default/+27742876360@41.160.32.115:5060 SOFIA EXECUTE
  337. 2022-07-26 07:20:50.040662 [DEBUG] switch_core_state_machine.c:328 sofia/default/+27742876360@41.160.32.115:5060 Standard EXECUTE
  338. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(effective_destination_number=0114067300)
  339. 2022-07-26 07:20:50.040662 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [effective_destination_number]=[0114067300]
  340. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  341. 2022-07-26 07:20:50.040662 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  342. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  343. 2022-07-26 07:20:50.040662 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  344. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(callstart=2022-07-26 07:20:49)
  345. 2022-07-26 07:20:50.040662 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [callstart]=[2022-07-26 07:20:49]
  346. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(hangup_after_bridge=true)
  347. 2022-07-26 07:20:50.040662 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [hangup_after_bridge]=[true]
  348. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(continue_on_fail=TRUE)
  349. 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [continue_on_fail]=[TRUE]
  350. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(account_id=3)
  351. 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [account_id]=[3]
  352. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(parent_id=0)
  353. 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [parent_id]=[0]
  354. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(entity_id=3)
  355. 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [entity_id]=[3]
  356. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(call_processed=internal)
  357. 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [call_processed]=[internal]
  358. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(call_direction=inbound)
  359. 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [call_direction]=[inbound]
  360. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(accountname=default)
  361. 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [accountname]=[default]
  362. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(filename1=astpp.pbx.lua)
  363. 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [filename1]=[astpp.pbx.lua]
  364. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(origination_rates_did=ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19)
  365. 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [origination_rates_did]=[ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19]
  366. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(origination_rates=0)
  367. 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [origination_rates]=[0]
  368. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(original_caller_id_name=+27742876360)
  369. 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [original_caller_id_name]=[+27742876360]
  370. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(effective_caller_id_name=+27742876360)
  371. 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [effective_caller_id_name]=[+27742876360]
  372. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(receiver_accid=19)
  373. 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [receiver_accid]=[19]
  374. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 export(domain_name=joshco.nebular.co.za)
  375. 2022-07-26 07:20:50.050656 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[joshco.nebular.co.za]
  376. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 export(sip_to_host=joshco.nebular.co.za)
  377. 2022-07-26 07:20:50.050656 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[joshco.nebular.co.za]
  378. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115)
  379. 2022-07-26 07:20:50.050656 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115]
  380. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 export(call_type=5)
  381. 2022-07-26 07:20:50.050656 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5]
  382. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(calltype=SIP-DID)
  383. 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [calltype]=[SIP-DID]
  384. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 db(insert/pickup_any_group_/297534/78f32f7e-0cb3-11ed-ba93-d3f1ef10c389)
  385. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(dialed_extension=transfer_call)
  386. 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [dialed_extension]=[transfer_call]
  387. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 export(dialed_extension=transfer_call)
  388. 2022-07-26 07:20:50.050656 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  389. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  390. 2022-07-26 07:20:50.050656 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  391. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  392. 2022-07-26 07:20:50.050656 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  393. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(hangup_after_bridge=true)
  394. 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [hangup_after_bridge]=[true]
  395. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 export(did_user_domain=joshco.nebular.co.za)
  396. 2022-07-26 07:20:50.050656 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[joshco.nebular.co.za]
  397. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 sleep(1000)
  398. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 ring_ready()
  399. 2022-07-26 07:20:51.070670 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/+27742876360@41.160.32.115:5060!
  400. 2022-07-26 07:20:51.070670 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/+27742876360@41.160.32.115:5060!
  401. EXECUTE sofia/default/+27742876360@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/297534@joshco.nebular.co.za^0114067300)
  402. 2022-07-26 07:20:51.070670 [DEBUG] switch_channel.c:1250 sofia/default/+27742876360@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[joshco.nebular.co.za] to event
  403. 2022-07-26 07:20:51.070670 [DEBUG] switch_channel.c:1250 sofia/default/+27742876360@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[joshco.nebular.co.za] to event
  404. 2022-07-26 07:20:51.070670 [DEBUG] switch_channel.c:1250 sofia/default/+27742876360@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115] to event
  405. 2022-07-26 07:20:51.070670 [DEBUG] switch_channel.c:1250 sofia/default/+27742876360@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event
  406. 2022-07-26 07:20:51.070670 [DEBUG] switch_channel.c:1250 sofia/default/+27742876360@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  407. 2022-07-26 07:20:51.070670 [DEBUG] switch_channel.c:1250 sofia/default/+27742876360@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[joshco.nebular.co.za] to event
  408. 2022-07-26 07:20:51.070670 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  409. 2022-07-26 07:20:51.070670 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  410. 2022-07-26 07:20:51.070670 [NOTICE] switch_channel.c:1104 New Channel sofia/default/297534@joshco.nebular.co.za [7a6924ee-0cb3-11ed-babb-d3f1ef10c389]
  411. 2022-07-26 07:20:51.070670 [DEBUG] mod_sofia.c:4819 (sofia/default/297534@joshco.nebular.co.za) State Change CS_NEW -> CS_INIT
  412. 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_INIT (Cur 2 Tot 118015)
  413. 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:627 (sofia/default/297534@joshco.nebular.co.za) State INIT
  414. 2022-07-26 07:20:51.070670 [DEBUG] mod_sofia.c:90 sofia/default/297534@joshco.nebular.co.za SOFIA INIT
  415. 2022-07-26 07:20:51.070670 [DEBUG] sofia_glue.c:1295 sofia/default/297534@joshco.nebular.co.za sending invite version: 1.6.20  64bit
  416. Local SDP:
  417. v=0
  418. o=FreeSWITCH 1658799837 1658799838 IN IP4 156.38.231.107
  419. s=FreeSWITCH
  420. c=IN IP4 156.38.231.107
  421. t=0 0
  422. m=audio 20214 RTP/AVP 8 101
  423. a=rtpmap:8 PCMA/8000
  424. a=rtpmap:101 telephone-event/8000
  425. a=fmtp:101 0-16
  426. a=ptime:20
  427. a=sendrecv
  428.  
  429. 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:40 sofia/default/297534@joshco.nebular.co.za Standard INIT
  430. 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:48 (sofia/default/297534@joshco.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  431. 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:627 (sofia/default/297534@joshco.nebular.co.za) State INIT going to sleep
  432. 2022-07-26 07:20:51.070670 [DEBUG] sofia.c:7084 Channel sofia/default/+27742876360@41.160.32.115:5060 entering state [early][180]
  433. 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_ROUTING (Cur 2 Tot 118015)
  434. 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:643 (sofia/default/297534@joshco.nebular.co.za) State ROUTING
  435. 2022-07-26 07:20:51.070670 [DEBUG] mod_sofia.c:143 sofia/default/297534@joshco.nebular.co.za SOFIA ROUTING
  436. 2022-07-26 07:20:51.070670 [DEBUG] switch_ivr_originate.c:67 (sofia/default/297534@joshco.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  437. 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:643 (sofia/default/297534@joshco.nebular.co.za) State ROUTING going to sleep
  438. 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 118015)
  439. 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:662 (sofia/default/297534@joshco.nebular.co.za) State CONSUME_MEDIA
  440. 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:662 (sofia/default/297534@joshco.nebular.co.za) State CONSUME_MEDIA going to sleep
  441. 2022-07-26 07:20:51.070670 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [calling][0]
  442. 2022-07-26 07:20:51.261468 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [proceeding][180]
  443. 2022-07-26 07:20:51.261468 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/297534@joshco.nebular.co.za!
  444. 2022-07-26 07:20:51.271298 [DEBUG] switch_channel.c:3346 (sofia/default/297534@joshco.nebular.co.za) Callstate Change DOWN -> RINGING
  445. 2022-07-26 07:20:51.271298 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [completing][200]
  446. 2022-07-26 07:20:51.271298 [DEBUG] sofia.c:7094 Remote SDP:
  447. v=0
  448. o=3cxPS 34796762648543232 18431770059866113 IN IP4 156.38.249.181
  449. s=3cxPS Audio call
  450. c=IN IP4 156.38.249.181
  451. t=0 0
  452. m=audio 9834 RTP/AVP 8 101
  453. a=rtpmap:8 PCMA/8000
  454. a=rtpmap:101 telephone-event/8000
  455.  
  456. 2022-07-26 07:20:51.271298 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [ready][200]
  457. 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  458. 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  459. 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  460. 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/297534@joshco.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  461. 2022-07-26 07:20:51.271298 [DEBUG] switch_core_codec.c:111 sofia/default/297534@joshco.nebular.co.za Original read codec set to PCMA:8
  462. 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  463. 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:4767 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  464. 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/297534@joshco.nebular.co.za] 156.38.231.107 port 20214 -> 156.38.249.181 port 9834 codec: 8 ms: 20
  465. 2022-07-26 07:20:51.271298 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  466. 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:7180 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf send payload to 101
  467. 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:7187 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf receive payload to 101
  468. 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:7210 sofia/default/297534@joshco.nebular.co.za Set rtp dtmf delay to 40
  469. 2022-07-26 07:20:51.271298 [NOTICE] sofia.c:8218 Channel [sofia/default/297534@joshco.nebular.co.za] has been answered
  470. 2022-07-26 07:20:51.281707 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/+27742876360@41.160.32.115:5060!
  471. 2022-07-26 07:20:51.281707 [DEBUG] switch_channel.c:3773 (sofia/default/297534@joshco.nebular.co.za) Callstate Change RINGING -> ACTIVE
  472. 2022-07-26 07:20:51.281707 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/+27742876360@41.160.32.115:5060] 156.38.231.107 port 24204 -> 41.160.32.115 port 20594 codec: 8 ms: 20
  473. 2022-07-26 07:20:51.281707 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  474. 2022-07-26 07:20:51.281707 [DEBUG] switch_core_media.c:7180 sofia/default/+27742876360@41.160.32.115:5060 Set 2833 dtmf send payload to 101
  475. 2022-07-26 07:20:51.281707 [DEBUG] switch_core_media.c:7187 sofia/default/+27742876360@41.160.32.115:5060 Set 2833 dtmf receive payload to 101
  476. 2022-07-26 07:20:51.281707 [DEBUG] switch_core_media.c:7210 sofia/default/+27742876360@41.160.32.115:5060 Set rtp dtmf delay to 40
  477. 2022-07-26 07:20:51.281707 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/+27742876360@41.160.32.115:5060:
  478. v=0
  479. o=FreeSWITCH 1658795847 1658795848 IN IP4 156.38.231.107
  480. s=FreeSWITCH
  481. c=IN IP4 156.38.231.107
  482. t=0 0
  483. m=audio 24204 RTP/AVP 8 101
  484. a=rtpmap:8 PCMA/8000
  485. a=rtpmap:101 telephone-event/8000
  486. a=fmtp:101 0-16
  487. a=ptime:20
  488. a=sendrecv
  489.  
  490. 2022-07-26 07:20:51.281707 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/+27742876360@41.160.32.115:5060] has been answered
  491. 2022-07-26 07:20:51.281707 [DEBUG] switch_channel.c:3773 (sofia/default/+27742876360@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE
  492. 2022-07-26 07:20:51.281707 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/297534@joshco.nebular.co.za]
  493. 2022-07-26 07:20:51.281707 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/297534@joshco.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  494. 2022-07-26 07:20:51.281707 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 118015)
  495. 2022-07-26 07:20:51.281707 [DEBUG] switch_core_state_machine.c:653 (sofia/default/297534@joshco.nebular.co.za) State EXCHANGE_MEDIA
  496. 2022-07-26 07:20:51.281707 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  497. 2022-07-26 07:20:51.300656 [DEBUG] sofia.c:7084 Channel sofia/default/+27742876360@41.160.32.115:5060 entering state [completed][200]
  498. 2022-07-26 07:20:51.470692 [DEBUG] switch_ivr_bridge.c:546 sofia/default/297534@joshco.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  499. 2022-07-26 07:20:51.491134 [DEBUG] switch_ivr.c:623 sofia/default/297534@joshco.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing)
  500. EXECUTE sofia/default/297534@joshco.nebular.co.za sched_hangup(+6000 normal_clearing)
  501. 2022-07-26 07:20:51.491134 [DEBUG] switch_scheduler.c:249 Added task 47230 switch_ivr_schedule_hangup (7a6924ee-0cb3-11ed-babb-d3f1ef10c389) to run at 1658826051
  502. 2022-07-26 07:20:51.550696 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.249.181:9834 to 156.38.231.105:9834
  503. 2022-07-26 07:20:51.660660 [DEBUG] sofia.c:7084 Channel sofia/default/+27742876360@41.160.32.115:5060 entering state [ready][200]
  504. 2022-07-26 07:20:51.681442 [NOTICE] sofia.c:1012 Hangup sofia/default/+27742876360@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  505. 2022-07-26 07:20:51.681442 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/+27742876360@41.160.32.115:5060]
  506. 2022-07-26 07:20:51.681442 [DEBUG] switch_ivr_bridge.c:706 sofia/default/+27742876360@41.160.32.115:5060 ending bridge by request from write function
  507. 2022-07-26 07:20:51.681442 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/297534@joshco.nebular.co.za]
  508. 2022-07-26 07:20:51.681442 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/297534@joshco.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  509. 2022-07-26 07:20:51.681442 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/297534@joshco.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  510. 2022-07-26 07:20:51.681442 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/+27742876360@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  511. 2022-07-26 07:20:51.681442 [DEBUG] switch_core_session.c:2815 sofia/default/+27742876360@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  512. 2022-07-26 07:20:51.681442 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+27742876360@41.160.32.115:5060) State EXECUTE going to sleep
  513. 2022-07-26 07:20:51.681442 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27742876360@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 2 Tot 118015)
  514. 2022-07-26 07:20:51.681442 [DEBUG] switch_core_state_machine.c:850 (sofia/default/+27742876360@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP
  515. 2022-07-26 07:20:51.681442 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+27742876360@41.160.32.115:5060) State HANGUP
  516. 2022-07-26 07:20:51.681442 [DEBUG] mod_sofia.c:438 Channel sofia/default/+27742876360@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING
  517. 2022-07-26 07:20:51.681442 [DEBUG] switch_core_state_machine.c:653 (sofia/default/297534@joshco.nebular.co.za) State EXCHANGE_MEDIA going to sleep
  518. 2022-07-26 07:20:51.681442 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_HANGUP (Cur 2 Tot 118015)
  519. 2022-07-26 07:20:51.681442 [DEBUG] switch_core_state_machine.c:850 (sofia/default/297534@joshco.nebular.co.za) Callstate Change ACTIVE -> HANGUP
  520. 2022-07-26 07:20:51.681442 [DEBUG] switch_core_state_machine.c:852 (sofia/default/297534@joshco.nebular.co.za) State HANGUP
  521. 2022-07-26 07:20:51.681442 [DEBUG] mod_sofia.c:432 sofia/default/297534@joshco.nebular.co.za Overriding SIP cause 480 with 200 from the other leg
  522. 2022-07-26 07:20:51.681442 [DEBUG] mod_sofia.c:438 Channel sofia/default/297534@joshco.nebular.co.za hanging up, cause: NORMAL_CLEARING
  523. 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:60 sofia/default/+27742876360@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING
  524. 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+27742876360@41.160.32.115:5060) State HANGUP going to sleep
  525. 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:619 (sofia/default/+27742876360@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING
  526. 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27742876360@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 2 Tot 118015)
  527. 2022-07-26 07:20:51.700668 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/297534@joshco.nebular.co.za
  528. 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:60 sofia/default/297534@joshco.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING
  529. 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/297534@joshco.nebular.co.za) State HANGUP going to sleep
  530. 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:619 (sofia/default/297534@joshco.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  531. 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_REPORTING (Cur 2 Tot 118015)
  532. 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+27742876360@41.160.32.115:5060) State REPORTING
  533. 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/297534@joshco.nebular.co.za) State REPORTING
  534. 2022-07-26 07:20:51.700668 [INFO] mod_json_cdr.c:271 Process [7a6924ee-0cb3-11ed-babb-d3f1ef10c389.cdr.json]
  535. 2022-07-26 07:20:51.700668 [INFO] mod_json_cdr.c:271 Process [78f32f7e-0cb3-11ed-ba93-d3f1ef10c389.cdr.json]
  536. 2022-07-26 07:20:51.743100 [DEBUG] switch_core_state_machine.c:174 sofia/default/297534@joshco.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING
  537. 2022-07-26 07:20:51.743100 [DEBUG] switch_core_state_machine.c:938 (sofia/default/297534@joshco.nebular.co.za) State REPORTING going to sleep
  538. 2022-07-26 07:20:51.743100 [DEBUG] switch_core_state_machine.c:610 (sofia/default/297534@joshco.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  539. 2022-07-26 07:20:51.743100 [DEBUG] switch_core_session.c:1665 Session 118015 (sofia/default/297534@joshco.nebular.co.za) Locked, Waiting on external entities
  540. 2022-07-26 07:20:51.743100 [NOTICE] switch_core_session.c:1683 Session 118015 (sofia/default/297534@joshco.nebular.co.za) Ended
  541. 2022-07-26 07:20:51.743100 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/297534@joshco.nebular.co.za [CS_DESTROY]
  542. 2022-07-26 07:20:51.743100 [DEBUG] switch_core_state_machine.c:741 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_DESTROY (Cur 1 Tot 118015)
  543. 2022-07-26 07:20:51.743100 [DEBUG] switch_core_state_machine.c:751 (sofia/default/297534@joshco.nebular.co.za) State DESTROY
  544. 2022-07-26 07:20:51.743100 [DEBUG] mod_sofia.c:343 sofia/default/297534@joshco.nebular.co.za SOFIA DESTROY
  545. 2022-07-26 07:20:51.743100 [DEBUG] switch_core_state_machine.c:181 sofia/default/297534@joshco.nebular.co.za Standard DESTROY
  546. 2022-07-26 07:20:51.743100 [DEBUG] switch_core_state_machine.c:751 (sofia/default/297534@joshco.nebular.co.za) State DESTROY going to sleep
  547. 2022-07-26 07:20:51.812217 [DEBUG] switch_core_state_machine.c:174 sofia/default/+27742876360@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING
  548. 2022-07-26 07:20:51.812217 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+27742876360@41.160.32.115:5060) State REPORTING going to sleep
  549. 2022-07-26 07:20:51.812217 [DEBUG] switch_core_state_machine.c:610 (sofia/default/+27742876360@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY
  550. 2022-07-26 07:20:51.812217 [DEBUG] switch_core_session.c:1665 Session 118014 (sofia/default/+27742876360@41.160.32.115:5060) Locked, Waiting on external entities
  551. 2022-07-26 07:20:51.812217 [NOTICE] switch_core_session.c:1683 Session 118014 (sofia/default/+27742876360@41.160.32.115:5060) Ended
  552. 2022-07-26 07:20:51.812217 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+27742876360@41.160.32.115:5060 [CS_DESTROY]
  553. 2022-07-26 07:20:51.812217 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+27742876360@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 0 Tot 118015)
  554. 2022-07-26 07:20:51.812217 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+27742876360@41.160.32.115:5060) State DESTROY
  555. 2022-07-26 07:20:51.812217 [DEBUG] mod_sofia.c:343 sofia/default/+27742876360@41.160.32.115:5060 SOFIA DESTROY
  556. 2022-07-26 07:20:51.812217 [DEBUG] switch_core_state_machine.c:181 sofia/default/+27742876360@41.160.32.115:5060 Standard DESTROY
  557. 2022-07-26 07:20:51.812217 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+27742876360@41.160.32.115:5060) State DESTROY going to sleep
  558. 2022-07-26 07:20:51.990660 [DEBUG] switch_scheduler.c:144 Deleting task 47230 switch_ivr_schedule_hangup (7a6924ee-0cb3-11ed-babb-d3f1ef10c389)
  559. 2022-07-26 07:21:40.291156 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0619646866@41.160.32.115:5060 [97bffe50-0cb3-11ed-bac1-d3f1ef10c389]
  560. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0619646866@41.160.32.115:5060) Running State Change CS_NEW (Cur 1 Tot 118016)
  561. 2022-07-26 07:21:40.291156 [DEBUG] sofia.c:9873 sofia/default/0619646866@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  562. 2022-07-26 07:21:40.291156 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  563. 2022-07-26 07:21:40.291156 [DEBUG] sofia.c:7084 Channel sofia/default/0619646866@41.160.32.115:5060 entering state [received][100]
  564. 2022-07-26 07:21:40.291156 [DEBUG] sofia.c:7094 Remote SDP:
  565. v=0
  566. o=HuaweiSoftX3000 4467034776474 4467034776474 IN IP4 41.160.32.115
  567. s=-
  568. c=IN IP4 41.160.32.115
  569. t=0 0
  570. m=audio 20596 RTP/AVP 102 8 102 102 18 116
  571. a=rtpmap:102 AMR/8000
  572. a=rtpmap:8 PCMA/8000
  573. a=rtpmap:18 G729/8000
  574. a=fmtp:18 annexb=no
  575. a=rtpmap:116 telephone-event/8000
  576. a=fmtp:116 0-15
  577. a=ptime:20
  578.  
  579. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[G729:18:8000:60:8000:1]
  580. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[G729:18:8000:20:8000:1]
  581. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  582. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  583. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  584. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  585. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  586. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  587. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  588. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:60:8000:1]
  589. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:20:8000:1]
  590. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMA:8:8000:20:64000:1]
  591. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMU:0:8000:20:64000:1]
  592. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:60:8000:1]
  593. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:20:8000:1]
  594. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMA:8:8000:20:64000:1]
  595. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMU:0:8000:20:64000:1]
  596. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  597. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  598. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  599. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  600. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  601. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  602. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 116@8000
  603. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0619646866@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  604. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_codec.c:111 sofia/default/0619646866@41.160.32.115:5060 Original read codec set to PCMA:8
  605. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 116@8000
  606. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4767 sofia/default/0619646866@41.160.32.115:5060 Set 2833 dtmf send payload to 116 recv payload to 116
  607. 2022-07-26 07:21:40.291156 [DEBUG] sofia.c:7507 (sofia/default/0619646866@41.160.32.115:5060) State Change CS_NEW -> CS_INIT
  608. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0619646866@41.160.32.115:5060) State NEW
  609. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0619646866@41.160.32.115:5060) Running State Change CS_INIT (Cur 1 Tot 118016)
  610. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0619646866@41.160.32.115:5060) State INIT
  611. 2022-07-26 07:21:40.291156 [DEBUG] mod_sofia.c:90 sofia/default/0619646866@41.160.32.115:5060 SOFIA INIT
  612. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:40 sofia/default/0619646866@41.160.32.115:5060 Standard INIT
  613. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0619646866@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING
  614. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0619646866@41.160.32.115:5060) State INIT going to sleep
  615. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0619646866@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 1 Tot 118016)
  616. 2022-07-26 07:21:40.291156 [DEBUG] switch_channel.c:2249 (sofia/default/0619646866@41.160.32.115:5060) Callstate Change DOWN -> RINGING
  617. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0619646866@41.160.32.115:5060) State ROUTING
  618. 2022-07-26 07:21:40.291156 [DEBUG] mod_sofia.c:143 sofia/default/0619646866@41.160.32.115:5060 SOFIA ROUTING
  619. 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:236 sofia/default/0619646866@41.160.32.115:5060 Standard ROUTING
  620. 2022-07-26 07:21:40.291156 [INFO] mod_dialplan_xml.c:637 Processing 0619646866 <0619646866>->D9570114067300 in context default
  621. 2022-07-26 07:21:40.371043 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ea43083f0 Connected.
  622. 2022-07-26 07:21:40.371043 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  623. 2022-07-26 07:21:40.410685 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  624. 2022-07-26 07:21:40.441083 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  625. 2022-07-26 07:21:40.441083 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570114067300
  626. 2022-07-26 07:21:40.441083 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570114067300' limit 1
  627. 2022-07-26 07:21:40.490673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570114067300' AND status=0 limit 1
  628. 2022-07-26 07:21:40.511232 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570114067300' and status=0 LIMIT 1
  629. 2022-07-26 07:21:40.560666 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  630. 2022-07-26 07:21:40.560666 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 0619646866 / <null>
  631. 2022-07-26 07:21:40.560666 [DEBUG] switch_cpp.cpp:1365 [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 ="D9570114067300" LIMIT 1
  632. 2022-07-26 07:21:40.602834 [DEBUG] switch_cpp.cpp:1365 [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="D9570114067300"  AND domains.domain="156.38.231.106" limit 1
  633. 2022-07-26 07:21:40.630957 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  634. 2022-07-26 07:21:40.630957 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894]
  635. 2022-07-26 07:21:40.630957 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  636. 2022-07-26 07:21:40.683963 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570114067300.*' OR blocked_patterns = '^D957011406730.*' OR blocked_patterns = '^D95701140673.*' OR blocked_patterns = '^D9570114067.*' OR blocked_patterns = '^D957011406.*' OR blocked_patterns = '^D95701140.*' OR blocked_patterns = '^D9570114.*' OR blocked_patterns = '^D957011.*' OR blocked_patterns = '^D95701.*' OR blocked_patterns = '^D9570.*' OR blocked_patterns = '^D957.*' OR blocked_patterns = '^D95.*' OR blocked_patterns = '^D9.*' OR blocked_patterns = '^D.*' OR blocked_patterns ='--') AND accountid = 3 limit 1
  637. 2022-07-26 07:21:40.712077 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570114067300" AND (accountid = 0 OR status = 1) LIMIT 1
  638. 2022-07-26 07:21:40.750667 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  639. 2022-07-26 07:21:40.750667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1
  640. 2022-07-26 07:21:40.793230 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570114067300
  641. 2022-07-26 07:21:40.793230 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570114067300
  642. 2022-07-26 07:21:40.793230 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570114067300
  643. 2022-07-26 07:21:40.793230 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0114067300
  644. 2022-07-26 07:21:40.793230 [DEBUG] switch_cpp.cpp:1365 [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 = '^0114067300.*' OR patterns = '^011406730.*' OR patterns = '^01140673.*' OR patterns = '^0114067.*' OR patterns = '^011406.*' OR patterns = '^01140.*' OR patterns = '^0114.*' OR patterns = '^011.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC
  645. 2022-07-26 07:21:40.822048 [DEBUG] switch_cpp.cpp:1365 [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 ="0114067300" AND A.accountid = '3' limit 1
  646. 2022-07-26 07:21:40.860661 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0114067300
  647. 2022-07-26 07:21:40.860661 [DEBUG] switch_cpp.cpp:1365 [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 ="0114067300" LIMIT 1
  648. 2022-07-26 07:21:40.893832 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound
  649. 2022-07-26 07:21:40.893832 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0114067300' OR number = '011406730' OR number = '01140673' OR number = '0114067' OR number = '011406' OR number = '01140' OR number = '0114' OR number = '011' OR number = '01' OR number = '0' OR number ='--') OR (number = '0114067300*' OR number = '011406730*' OR number = '01140673*' OR number = '0114067*' OR number = '011406*' OR number = '01140*' OR number = '0114*' OR number = '011*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  650. 2022-07-26 07:21:40.932067 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  651. 2022-07-26 07:21:40.932067 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0114067300' OR routing_prefix = '011406730' OR routing_prefix = '01140673' OR routing_prefix = '0114067' OR routing_prefix = '011406' OR routing_prefix = '01140' OR routing_prefix = '0114' OR routing_prefix = '011' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  652. 2022-07-26 07:21:41.010679 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  653. 2022-07-26 07:21:41.010679 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 3
  654. 2022-07-26 07:21:41.010679 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 3673942894
  655. 2022-07-26 07:21:41.010679 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  656. 2022-07-26 07:21:41.010679 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  657. 2022-07-26 07:21:41.010679 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 15
  658. 2022-07-26 07:21:41.010679 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  659. 2022-07-26 07:21:41.010679 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  660. 2022-07-26 07:21:41.010679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 15 AND status = 0
  661. 2022-07-26 07:21:41.051288 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  662. 2022-07-26 07:21:41.051288 [DEBUG] switch_cpp.cpp:1365 [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 ="0114067300" LIMIT 1
  663. 2022-07-26 07:21:41.081171 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  664. 2022-07-26 07:21:41.081171 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  665. 2022-07-26 07:21:41.081171 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 4657
  666. 2022-07-26 07:21:41.081171 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  667. 2022-07-26 07:21:41.081171 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  668. 2022-07-26 07:21:41.081171 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  669. 2022-07-26 07:21:41.081171 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0114067300
  670. 2022-07-26 07:21:41.081171 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  671. 2022-07-26 07:21:41.081171 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 3
  672. 2022-07-26 07:21:41.081171 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  673. 2022-07-26 07:21:41.081171 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
  674. 2022-07-26 07:21:41.081171 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  675. 2022-07-26 07:21:41.081171 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  676. 2022-07-26 07:21:41.081171 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  677. 2022-07-26 07:21:41.081171 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  678. 2022-07-26 07:21:41.081171 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 3 AND status=0 LIMIT 1
  679. 2022-07-26 07:21:41.123447 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++19
  680. 2022-07-26 07:21:41.123447 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "19" AND deleted = 0 limit 1
  681. 2022-07-26 07:21:41.155450 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  682. 2022-07-26 07:21:41.155450 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:3
  683. 2022-07-26 07:21:41.155450 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  684. 2022-07-26 07:21:41.155450 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 19 limit 1
  685. 2022-07-26 07:21:41.200661 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : joshco.nebular.co.za
  686. 2022-07-26 07:21:41.200661 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  687. 2022-07-26 07:21:41.200661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  688. 2022-07-26 07:21:41.240664 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  689. 2022-07-26 07:21:41.240664 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound
  690. 2022-07-26 07:21:41.240664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0619646866
  691. 2022-07-26 07:21:41.240664 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0619646866
  692. 2022-07-26 07:21:41.240664 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27619646866
  693. 2022-07-26 07:21:41.240664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....<null>
  694. 2022-07-26 07:21:41.240664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 19 limit 1
  695. 2022-07-26 07:21:41.270667 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : joshco.nebular.co.za
  696. 2022-07-26 07:21:41.270667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
  697. 2022-07-26 07:21:41.270667 [DEBUG] switch_cpp.cpp:1365 [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="297534"  AND domains.domain="joshco.nebular.co.za" limit 1
  698. 2022-07-26 07:21:41.310658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 165 limit 1
  699. 2022-07-26 07:21:41.350661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  700. 2022-07-26 07:21:41.381394 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  701. 2022-07-26 07:21:41.420692 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforejoshco.nebular.co.za
  702. 2022-07-26 07:21:41.420692 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str
  703. 2022-07-26 07:21:41.420692 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START:
  704. 2022-07-26 07:21:41.420692 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/
  705. 2022-07-26 07:21:41.420692 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='297534' and uuid = '97bffe50-0cb3-11ed-bac1-d3f1ef10c389' order by id desc limit 1
  706. 2022-07-26 07:21:41.460854 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='297534' order by id desc limit 1
  707. 2022-07-26 07:21:41.491020 [DEBUG] switch_cpp.cpp:1365 [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="297534"  AND domains.domain="joshco.nebular.co.za" limit 1
  708. 2022-07-26 07:21:41.540677 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 165 limit 1
  709. 2022-07-26 07:21:41.580674 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  710. <document type="freeswitch/xml">
  711. <section name="dialplan" description="ASTPP Dialplan">
  712. <context name="default">
  713. <extension name="0114067300">
  714. <condition field="destination_number" expression="D9570114067300">
  715. <action application="set" data="effective_destination_number=0114067300"/>
  716. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  717. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  718. <action application="set" data="callstart=2022-07-26 07:21:41"/>
  719. <action application="set" data="hangup_after_bridge=true"/>
  720. <action application="set" data="continue_on_fail=TRUE"/>
  721. <action application="set" data="account_id=3"/>
  722. <action application="set" data="parent_id=0"/>
  723. <action application="set" data="entity_id=3"/>
  724. <action application="set" data="call_processed=internal"/>
  725. <action application="set" data="call_direction=inbound"/>
  726. <action application="set" data="accountname=default"/>
  727. <action application="set" data="filename1=astpp.pbx.lua"/>
  728. <action application="set" data="origination_rates_did=ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19"/>
  729. <action application="set" data="origination_rates=0"/>
  730. <action application="set" data="original_caller_id_name=0619646866"/>
  731. <action application="set" data="effective_caller_id_name=27619646866"/>
  732. <action application="set" data="receiver_accid=19"/>
  733. <action application="export" data="domain_name=joshco.nebular.co.za"/>
  734. <action application="export" data="sip_to_host=joshco.nebular.co.za"/>
  735. <action application="export" data="presence_data=x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115"/>
  736. <action application="export" data="call_type=5"/>
  737. <action application="set" data="calltype=SIP-DID"/>
  738. <action application="db" data="insert/pickup_any_group_${callgroup}/297534/${uuid}"/>
  739. <action application="set" data="dialed_extension=transfer_call"/>
  740. <action application="export" data="dialed_extension=transfer_call"/>
  741. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  742. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  743. <action application="set" data="hangup_after_bridge=true"/>
  744. <action application="export" data="did_user_domain=joshco.nebular.co.za"/>
  745. <action application="sleep" data="1000"/>
  746. <action application="ring_ready"/>
  747. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/297534@joshco.nebular.co.za^0114067300"/>
  748. <action application="set" data="on_busy_flag=1"/>
  749. <action application="set" data="on_busy_destination="/>
  750. <action application="set" data="no_answer_flag=1"/>
  751. <action application="set" data="no_answer_destination="/>
  752. <action application="set" data="not_register_flag=1"/>
  753. <action application="set" data="not_register_destination="/>
  754. <action application="set" data="opensips_flag=0"/>
  755. <action application="set" data="variable_sip_to_host=joshco.nebular.co.za"/>
  756. <action application="set" data="opensips_domain=156.38.231.106"/>
  757. <action application="set" data="leg_timeout=20"/>
  758. <action application="set" data="userinfo_id=19"/>
  759. <action application="set" data="sip_destination_number=297534"/>
  760. <action application="set" data="destination_number=0114067300"/>
  761. <action application="set" data="did_number=0114067300"/>
  762. <action application="set" data="user_domain=joshco.nebular.co.za"/>
  763. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  764. <condition field="${cond(${user_data 297534@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  765. <action application="answer"/>
  766. <action application="export" data="voicemail_alternate_greet_id=0114067300"/>
  767. <action application="voicemail" data="default $${domain_name} 297534"/>
  768. <anti-action application="hangup" data="${originate_disposition}"/>
  769. </condition>
  770. </condition>
  771. </extension>
  772. </context>
  773. </document>
  774. 2022-07-26 07:21:41.580674 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ea43083f0 released.
  775. Dialplan: sofia/default/0619646866@41.160.32.115:5060 parsing [default->0114067300] continue=false
  776. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Regex (PASS) [0114067300] destination_number(D9570114067300) =~ /D9570114067300/ break=on-false
  777. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(effective_destination_number=0114067300)
  778. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  779. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  780. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(callstart=2022-07-26 07:21:41)
  781. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  782. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(continue_on_fail=TRUE)
  783. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(account_id=3)
  784. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(parent_id=0)
  785. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(entity_id=3)
  786. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(call_processed=internal)
  787. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(call_direction=inbound)
  788. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(accountname=default)
  789. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua)
  790. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(origination_rates_did=ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19)
  791. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(origination_rates=0)
  792. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(original_caller_id_name=0619646866)
  793. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(effective_caller_id_name=27619646866)
  794. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(receiver_accid=19)
  795. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action export(domain_name=joshco.nebular.co.za)
  796. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action export(sip_to_host=joshco.nebular.co.za)
  797. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115)
  798. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action export(call_type=5)
  799. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(calltype=SIP-DID)
  800. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/297534/${uuid})
  801. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(dialed_extension=transfer_call)
  802. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action export(dialed_extension=transfer_call)
  803. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  804. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  805. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  806. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action export(did_user_domain=joshco.nebular.co.za)
  807. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action sleep(1000)
  808. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action ring_ready()
  809. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/297534@joshco.nebular.co.za^0114067300)
  810. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(on_busy_flag=1)
  811. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(on_busy_destination=)
  812. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(no_answer_flag=1)
  813. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(no_answer_destination=)
  814. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(not_register_flag=1)
  815. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(not_register_destination=)
  816. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(opensips_flag=0)
  817. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(variable_sip_to_host=joshco.nebular.co.za)
  818. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106)
  819. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(leg_timeout=20)
  820. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(userinfo_id=19)
  821. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(sip_destination_number=297534)
  822. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(destination_number=0114067300)
  823. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(did_number=0114067300)
  824. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(user_domain=joshco.nebular.co.za)
  825. Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  826. |--- Dialplan: Processing recursive conditions level:1 [0114067300_recur_1] require-nested=TRUE
  827. |--- Dialplan: sofia/default/0619646866@41.160.32.115:5060 Regex (FAIL) [0114067300_recur_1] ${cond(${user_data 297534@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  828. |--- Dialplan: sofia/default/0619646866@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition})
  829. 2022-07-26 07:21:41.691676 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0619646866@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE
  830. 2022-07-26 07:21:41.691676 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0619646866@41.160.32.115:5060) State ROUTING going to sleep
  831. 2022-07-26 07:21:41.691676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0619646866@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 1 Tot 118016)
  832. 2022-07-26 07:21:41.691676 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0619646866@41.160.32.115:5060) State EXECUTE
  833. 2022-07-26 07:21:41.691676 [DEBUG] mod_sofia.c:198 sofia/default/0619646866@41.160.32.115:5060 SOFIA EXECUTE
  834. 2022-07-26 07:21:41.691676 [DEBUG] switch_core_state_machine.c:328 sofia/default/0619646866@41.160.32.115:5060 Standard EXECUTE
  835. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(effective_destination_number=0114067300)
  836. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [effective_destination_number]=[0114067300]
  837. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  838. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  839. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  840. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  841. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(callstart=2022-07-26 07:21:41)
  842. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [callstart]=[2022-07-26 07:21:41]
  843. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(hangup_after_bridge=true)
  844. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [hangup_after_bridge]=[true]
  845. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(continue_on_fail=TRUE)
  846. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [continue_on_fail]=[TRUE]
  847. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(account_id=3)
  848. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [account_id]=[3]
  849. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(parent_id=0)
  850. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [parent_id]=[0]
  851. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(entity_id=3)
  852. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [entity_id]=[3]
  853. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(call_processed=internal)
  854. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [call_processed]=[internal]
  855. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(call_direction=inbound)
  856. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [call_direction]=[inbound]
  857. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(accountname=default)
  858. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [accountname]=[default]
  859. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(filename1=astpp.pbx.lua)
  860. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [filename1]=[astpp.pbx.lua]
  861. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(origination_rates_did=ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19)
  862. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [origination_rates_did]=[ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19]
  863. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(origination_rates=0)
  864. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [origination_rates]=[0]
  865. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(original_caller_id_name=0619646866)
  866. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [original_caller_id_name]=[0619646866]
  867. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(effective_caller_id_name=27619646866)
  868. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [effective_caller_id_name]=[27619646866]
  869. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(receiver_accid=19)
  870. 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [receiver_accid]=[19]
  871. EXECUTE sofia/default/0619646866@41.160.32.115:5060 export(domain_name=joshco.nebular.co.za)
  872. 2022-07-26 07:21:41.691676 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[joshco.nebular.co.za]
  873. EXECUTE sofia/default/0619646866@41.160.32.115:5060 export(sip_to_host=joshco.nebular.co.za)
  874. 2022-07-26 07:21:41.691676 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[joshco.nebular.co.za]
  875. EXECUTE sofia/default/0619646866@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115)
  876. 2022-07-26 07:21:41.691676 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115]
  877. EXECUTE sofia/default/0619646866@41.160.32.115:5060 export(call_type=5)
  878. 2022-07-26 07:21:41.701175 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5]
  879. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(calltype=SIP-DID)
  880. 2022-07-26 07:21:41.701175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [calltype]=[SIP-DID]
  881. EXECUTE sofia/default/0619646866@41.160.32.115:5060 db(insert/pickup_any_group_/297534/97bffe50-0cb3-11ed-bac1-d3f1ef10c389)
  882. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(dialed_extension=transfer_call)
  883. 2022-07-26 07:21:41.701175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [dialed_extension]=[transfer_call]
  884. EXECUTE sofia/default/0619646866@41.160.32.115:5060 export(dialed_extension=transfer_call)
  885. 2022-07-26 07:21:41.701175 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  886. EXECUTE sofia/default/0619646866@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  887. 2022-07-26 07:21:41.701175 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  888. EXECUTE sofia/default/0619646866@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  889. 2022-07-26 07:21:41.701175 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  890. EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(hangup_after_bridge=true)
  891. 2022-07-26 07:21:41.701175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [hangup_after_bridge]=[true]
  892. EXECUTE sofia/default/0619646866@41.160.32.115:5060 export(did_user_domain=joshco.nebular.co.za)
  893. 2022-07-26 07:21:41.701175 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[joshco.nebular.co.za]
  894. EXECUTE sofia/default/0619646866@41.160.32.115:5060 sleep(1000)
  895. EXECUTE sofia/default/0619646866@41.160.32.115:5060 ring_ready()
  896. 2022-07-26 07:21:42.710689 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/0619646866@41.160.32.115:5060!
  897. 2022-07-26 07:21:42.710689 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/0619646866@41.160.32.115:5060!
  898. EXECUTE sofia/default/0619646866@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/297534@joshco.nebular.co.za^0114067300)
  899. 2022-07-26 07:21:42.710689 [DEBUG] switch_channel.c:1250 sofia/default/0619646866@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[joshco.nebular.co.za] to event
  900. 2022-07-26 07:21:42.710689 [DEBUG] switch_channel.c:1250 sofia/default/0619646866@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[joshco.nebular.co.za] to event
  901. 2022-07-26 07:21:42.710689 [DEBUG] switch_channel.c:1250 sofia/default/0619646866@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115] to event
  902. 2022-07-26 07:21:42.710689 [DEBUG] switch_channel.c:1250 sofia/default/0619646866@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event
  903. 2022-07-26 07:21:42.710689 [DEBUG] switch_channel.c:1250 sofia/default/0619646866@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  904. 2022-07-26 07:21:42.710689 [DEBUG] switch_channel.c:1250 sofia/default/0619646866@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[joshco.nebular.co.za] to event
  905. 2022-07-26 07:21:42.710689 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  906. 2022-07-26 07:21:42.710689 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  907. 2022-07-26 07:21:42.710689 [NOTICE] switch_channel.c:1104 New Channel sofia/default/297534@joshco.nebular.co.za [9931e9c4-0cb3-11ed-bae9-d3f1ef10c389]
  908. 2022-07-26 07:21:42.710689 [DEBUG] mod_sofia.c:4819 (sofia/default/297534@joshco.nebular.co.za) State Change CS_NEW -> CS_INIT
  909. 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_INIT (Cur 2 Tot 118017)
  910. 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/297534@joshco.nebular.co.za) State INIT
  911. 2022-07-26 07:21:42.722673 [DEBUG] mod_sofia.c:90 sofia/default/297534@joshco.nebular.co.za SOFIA INIT
  912. 2022-07-26 07:21:42.722673 [DEBUG] sofia_glue.c:1295 sofia/default/297534@joshco.nebular.co.za sending invite version: 1.6.20  64bit
  913. Local SDP:
  914. v=0
  915. o=FreeSWITCH 1658787554 1658787555 IN IP4 156.38.231.107
  916. s=FreeSWITCH
  917. c=IN IP4 156.38.231.107
  918. t=0 0
  919. m=audio 32548 RTP/AVP 8 101
  920. a=rtpmap:8 PCMA/8000
  921. a=rtpmap:101 telephone-event/8000
  922. a=fmtp:101 0-16
  923. a=ptime:20
  924. a=sendrecv
  925.  
  926. 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:40 sofia/default/297534@joshco.nebular.co.za Standard INIT
  927. 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:48 (sofia/default/297534@joshco.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  928. 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/297534@joshco.nebular.co.za) State INIT going to sleep
  929. 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_ROUTING (Cur 2 Tot 118017)
  930. 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:643 (sofia/default/297534@joshco.nebular.co.za) State ROUTING
  931. 2022-07-26 07:21:42.722673 [DEBUG] mod_sofia.c:143 sofia/default/297534@joshco.nebular.co.za SOFIA ROUTING
  932. 2022-07-26 07:21:42.722673 [DEBUG] switch_ivr_originate.c:67 (sofia/default/297534@joshco.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  933. 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:643 (sofia/default/297534@joshco.nebular.co.za) State ROUTING going to sleep
  934. 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 118017)
  935. 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:662 (sofia/default/297534@joshco.nebular.co.za) State CONSUME_MEDIA
  936. 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:662 (sofia/default/297534@joshco.nebular.co.za) State CONSUME_MEDIA going to sleep
  937. 2022-07-26 07:21:42.722673 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [calling][0]
  938. 2022-07-26 07:21:42.740658 [DEBUG] sofia.c:7084 Channel sofia/default/0619646866@41.160.32.115:5060 entering state [early][180]
  939. 2022-07-26 07:21:42.880682 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [proceeding][180]
  940. 2022-07-26 07:21:42.880682 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/297534@joshco.nebular.co.za!
  941. 2022-07-26 07:21:42.880682 [DEBUG] switch_channel.c:3346 (sofia/default/297534@joshco.nebular.co.za) Callstate Change DOWN -> RINGING
  942. 2022-07-26 07:21:42.890686 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [completing][200]
  943. 2022-07-26 07:21:42.890686 [DEBUG] sofia.c:7094 Remote SDP:
  944. v=0
  945. o=3cxPS 20614805735866368 26221066175119361 IN IP4 156.38.249.181
  946. s=3cxPS Audio call
  947. c=IN IP4 156.38.249.181
  948. t=0 0
  949. m=audio 9836 RTP/AVP 8 101
  950. a=rtpmap:8 PCMA/8000
  951. a=rtpmap:101 telephone-event/8000
  952.  
  953. 2022-07-26 07:21:42.890686 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [ready][200]
  954. 2022-07-26 07:21:42.890686 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  955. 2022-07-26 07:21:42.890686 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  956. 2022-07-26 07:21:42.890686 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  957. 2022-07-26 07:21:42.890686 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/297534@joshco.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  958. 2022-07-26 07:21:42.890686 [DEBUG] switch_core_codec.c:111 sofia/default/297534@joshco.nebular.co.za Original read codec set to PCMA:8
  959. 2022-07-26 07:21:42.890686 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  960. 2022-07-26 07:21:42.890686 [DEBUG] switch_core_media.c:4767 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  961. 2022-07-26 07:21:42.890686 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/297534@joshco.nebular.co.za] 156.38.231.107 port 32548 -> 156.38.249.181 port 9836 codec: 8 ms: 20
  962. 2022-07-26 07:21:42.890686 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  963. 2022-07-26 07:21:42.900666 [DEBUG] switch_core_media.c:7180 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf send payload to 101
  964. 2022-07-26 07:21:42.900666 [DEBUG] switch_core_media.c:7187 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf receive payload to 101
  965. 2022-07-26 07:21:42.900666 [DEBUG] switch_core_media.c:7210 sofia/default/297534@joshco.nebular.co.za Set rtp dtmf delay to 40
  966. 2022-07-26 07:21:42.900666 [NOTICE] sofia.c:8218 Channel [sofia/default/297534@joshco.nebular.co.za] has been answered
  967. 2022-07-26 07:21:42.900666 [DEBUG] switch_channel.c:3773 (sofia/default/297534@joshco.nebular.co.za) Callstate Change RINGING -> ACTIVE
  968. 2022-07-26 07:21:42.900666 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/0619646866@41.160.32.115:5060!
  969. 2022-07-26 07:21:42.900666 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0619646866@41.160.32.115:5060] 156.38.231.107 port 22688 -> 41.160.32.115 port 20596 codec: 8 ms: 20
  970. 2022-07-26 07:21:42.900666 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  971. 2022-07-26 07:21:42.900666 [DEBUG] switch_core_media.c:7180 sofia/default/0619646866@41.160.32.115:5060 Set 2833 dtmf send payload to 116
  972. 2022-07-26 07:21:42.900666 [DEBUG] switch_core_media.c:7187 sofia/default/0619646866@41.160.32.115:5060 Set 2833 dtmf receive payload to 116
  973. 2022-07-26 07:21:42.900666 [DEBUG] switch_core_media.c:7210 sofia/default/0619646866@41.160.32.115:5060 Set rtp dtmf delay to 40
  974. 2022-07-26 07:21:42.900666 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0619646866@41.160.32.115:5060:
  975. v=0
  976. o=FreeSWITCH 1658797414 1658797415 IN IP4 156.38.231.107
  977. s=FreeSWITCH
  978. c=IN IP4 156.38.231.107
  979. t=0 0
  980. m=audio 22688 RTP/AVP 8 116
  981. a=rtpmap:8 PCMA/8000
  982. a=rtpmap:116 telephone-event/8000
  983. a=fmtp:116 0-16
  984. a=ptime:20
  985. a=sendrecv
  986.  
  987. 2022-07-26 07:21:42.900666 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/0619646866@41.160.32.115:5060] has been answered
  988. 2022-07-26 07:21:42.900666 [DEBUG] switch_channel.c:3773 (sofia/default/0619646866@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE
  989. 2022-07-26 07:21:42.900666 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/297534@joshco.nebular.co.za]
  990. 2022-07-26 07:21:42.911533 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/297534@joshco.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  991. 2022-07-26 07:21:42.911533 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 118017)
  992. 2022-07-26 07:21:42.911533 [DEBUG] switch_core_state_machine.c:653 (sofia/default/297534@joshco.nebular.co.za) State EXCHANGE_MEDIA
  993. 2022-07-26 07:21:42.911533 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  994. 2022-07-26 07:21:42.911533 [DEBUG] sofia.c:7084 Channel sofia/default/0619646866@41.160.32.115:5060 entering state [completed][200]
  995. 2022-07-26 07:21:43.060789 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  996. 2022-07-26 07:21:43.060789 [DEBUG] sofia.c:7084 Channel sofia/default/0619646866@41.160.32.115:5060 entering state [ready][200]
  997. 2022-07-26 07:21:43.090948 [DEBUG] switch_ivr_bridge.c:546 sofia/default/297534@joshco.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  998. 2022-07-26 07:21:43.110662 [DEBUG] switch_ivr.c:623 sofia/default/297534@joshco.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing)
  999. EXECUTE sofia/default/297534@joshco.nebular.co.za sched_hangup(+6000 normal_clearing)
  1000. 2022-07-26 07:21:43.110662 [DEBUG] switch_scheduler.c:249 Added task 47231 switch_ivr_schedule_hangup (9931e9c4-0cb3-11ed-bae9-d3f1ef10c389) to run at 1658826103
  1001. 2022-07-26 07:21:43.170662 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.249.181:9836 to 156.38.231.105:9836
  1002. 2022-07-26 07:21:43.840863 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0113866000@41.160.32.115:5060 [99dcad5a-0cb3-11ed-baef-d3f1ef10c389]
  1003. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0113866000@41.160.32.115:5060) Running State Change CS_NEW (Cur 3 Tot 118018)
  1004. 2022-07-26 07:21:43.840863 [DEBUG] sofia.c:9873 sofia/default/0113866000@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  1005. 2022-07-26 07:21:43.840863 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  1006. 2022-07-26 07:21:43.840863 [DEBUG] sofia.c:7084 Channel sofia/default/0113866000@41.160.32.115:5060 entering state [received][100]
  1007. 2022-07-26 07:21:43.840863 [DEBUG] sofia.c:7094 Remote SDP:
  1008. v=0
  1009. o=HuaweiSoftX3000 49800414589295 49800414589295 IN IP4 41.160.32.115
  1010. s=-
  1011. c=IN IP4 41.160.32.115
  1012. t=0 0
  1013. m=audio 20598 RTP/AVP 8 0 18 4 2 98 99 97
  1014. a=rtpmap:8 PCMA/8000
  1015. a=rtpmap:0 PCMU/8000
  1016. a=rtpmap:18 G729/8000
  1017. a=fmtp:18 annexb=yes
  1018. a=rtpmap:4 G723/8000
  1019. a=rtpmap:2 G726-32/8000
  1020. a=rtpmap:98 G726-40/8000
  1021. a=rtpmap:99 G726-32/8000
  1022. a=rtpmap:97 telephone-event/8000
  1023. a=fmtp:97 0-15
  1024. a=ptime:20
  1025.  
  1026. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  1027. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1028. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1029. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1030. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1031. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  1032. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1033. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1034. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1035. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1036. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  1037. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  1038. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  1039. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  1040. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  1041. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  1042. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:60:8000:1]
  1043. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  1044. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  1045. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  1046. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[G729:18:8000:60:8000:1]
  1047. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[G729:18:8000:20:8000:1]
  1048. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  1049. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  1050. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[G729:18:8000:60:8000:1]
  1051. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[G729:18:8000:20:8000:1]
  1052. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  1053. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  1054. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[G729:18:8000:60:8000:1]
  1055. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[G729:18:8000:20:8000:1]
  1056. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  1057. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  1058. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 97@8000
  1059. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0113866000@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1060. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_codec.c:111 sofia/default/0113866000@41.160.32.115:5060 Original read codec set to PCMA:8
  1061. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 97@8000
  1062. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4767 sofia/default/0113866000@41.160.32.115:5060 Set 2833 dtmf send payload to 97 recv payload to 97
  1063. 2022-07-26 07:21:43.840863 [DEBUG] sofia.c:7507 (sofia/default/0113866000@41.160.32.115:5060) State Change CS_NEW -> CS_INIT
  1064. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0113866000@41.160.32.115:5060) State NEW
  1065. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0113866000@41.160.32.115:5060) Running State Change CS_INIT (Cur 3 Tot 118018)
  1066. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0113866000@41.160.32.115:5060) State INIT
  1067. 2022-07-26 07:21:43.840863 [DEBUG] mod_sofia.c:90 sofia/default/0113866000@41.160.32.115:5060 SOFIA INIT
  1068. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:40 sofia/default/0113866000@41.160.32.115:5060 Standard INIT
  1069. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0113866000@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING
  1070. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0113866000@41.160.32.115:5060) State INIT going to sleep
  1071. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0113866000@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 3 Tot 118018)
  1072. 2022-07-26 07:21:43.840863 [DEBUG] switch_channel.c:2249 (sofia/default/0113866000@41.160.32.115:5060) Callstate Change DOWN -> RINGING
  1073. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0113866000@41.160.32.115:5060) State ROUTING
  1074. 2022-07-26 07:21:43.840863 [DEBUG] mod_sofia.c:143 sofia/default/0113866000@41.160.32.115:5060 SOFIA ROUTING
  1075. 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:236 sofia/default/0113866000@41.160.32.115:5060 Standard ROUTING
  1076. 2022-07-26 07:21:43.840863 [INFO] mod_dialplan_xml.c:637 Processing 0113866000 <0113866000>->D9570114034300 in context default
  1077. 2022-07-26 07:21:43.840863 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ea43083f0 Connected.
  1078. 2022-07-26 07:21:43.840863 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1079. 2022-07-26 07:21:43.880681 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1080. 2022-07-26 07:21:43.930963 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  1081. 2022-07-26 07:21:43.930963 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570114034300
  1082. 2022-07-26 07:21:43.930963 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570114034300' limit 1
  1083. 2022-07-26 07:21:43.961397 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570114034300' AND status=0 limit 1
  1084. 2022-07-26 07:21:43.993462 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570114034300' and status=0 LIMIT 1
  1085. 2022-07-26 07:21:44.040665 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  1086. 2022-07-26 07:21:44.040665 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 0113866000 / <null>
  1087. 2022-07-26 07:21:44.040665 [DEBUG] switch_cpp.cpp:1365 [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 ="D9570114034300" LIMIT 1
  1088. 2022-07-26 07:21:44.080665 [DEBUG] switch_cpp.cpp:1365 [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="D9570114034300"  AND domains.domain="156.38.231.106" limit 1
  1089. 2022-07-26 07:21:44.115520 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  1090. 2022-07-26 07:21:44.115520 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894]
  1091. 2022-07-26 07:21:44.115520 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  1092. 2022-07-26 07:21:44.160661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570114034300.*' OR blocked_patterns = '^D957011403430.*' OR blocked_patterns = '^D95701140343.*' OR blocked_patterns = '^D9570114034.*' OR blocked_patterns = '^D957011403.*' OR blocked_patterns = '^D95701140.*' OR blocked_patterns = '^D9570114.*' OR blocked_patterns = '^D957011.*' OR blocked_patterns = '^D95701.*' OR blocked_patterns = '^D9570.*' OR blocked_patterns = '^D957.*' OR blocked_patterns = '^D95.*' OR blocked_patterns = '^D9.*' OR blocked_patterns = '^D.*' OR blocked_patterns ='--') AND accountid = 3 limit 1
  1093. 2022-07-26 07:21:44.202680 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570114034300" AND (accountid = 0 OR status = 1) LIMIT 1
  1094. 2022-07-26 07:21:44.241486 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  1095. 2022-07-26 07:21:44.241486 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1
  1096. 2022-07-26 07:21:44.261023 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570114034300
  1097. 2022-07-26 07:21:44.261023 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570114034300
  1098. 2022-07-26 07:21:44.261023 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570114034300
  1099. 2022-07-26 07:21:44.261023 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0114034300
  1100. 2022-07-26 07:21:44.261023 [DEBUG] switch_cpp.cpp:1365 [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 = '^0114034300.*' OR patterns = '^011403430.*' OR patterns = '^01140343.*' OR patterns = '^0114034.*' OR patterns = '^011403.*' OR patterns = '^01140.*' OR patterns = '^0114.*' OR patterns = '^011.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC
  1101. 2022-07-26 07:21:44.310662 [DEBUG] switch_cpp.cpp:1365 [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 ="0114034300" AND A.accountid = '3' limit 1
  1102. 2022-07-26 07:21:44.354744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0114034300
  1103. 2022-07-26 07:21:44.354744 [DEBUG] switch_cpp.cpp:1365 [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 ="0114034300" LIMIT 1
  1104. 2022-07-26 07:21:44.390664 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound
  1105. 2022-07-26 07:21:44.390664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0114034300' OR number = '011403430' OR number = '01140343' OR number = '0114034' OR number = '011403' OR number = '01140' OR number = '0114' OR number = '011' OR number = '01' OR number = '0' OR number ='--') OR (number = '0114034300*' OR number = '011403430*' OR number = '01140343*' OR number = '0114034*' OR number = '011403*' OR number = '01140*' OR number = '0114*' OR number = '011*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  1106. 2022-07-26 07:21:44.430689 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  1107. 2022-07-26 07:21:44.430689 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0114034300' OR routing_prefix = '011403430' OR routing_prefix = '01140343' OR routing_prefix = '0114034' OR routing_prefix = '011403' OR routing_prefix = '01140' OR routing_prefix = '0114' OR routing_prefix = '011' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  1108. 2022-07-26 07:21:44.500680 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  1109. 2022-07-26 07:21:44.500680 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 3
  1110. 2022-07-26 07:21:44.500680 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 3673942894
  1111. 2022-07-26 07:21:44.500680 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  1112. 2022-07-26 07:21:44.500680 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  1113. 2022-07-26 07:21:44.500680 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 15
  1114. 2022-07-26 07:21:44.500680 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  1115. 2022-07-26 07:21:44.500680 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  1116. 2022-07-26 07:21:44.500680 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 15 AND status = 0
  1117. 2022-07-26 07:21:44.540800 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  1118. 2022-07-26 07:21:44.540800 [DEBUG] switch_cpp.cpp:1365 [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 ="0114034300" LIMIT 1
  1119. 2022-07-26 07:21:44.580667 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  1120. 2022-07-26 07:21:44.580667 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  1121. 2022-07-26 07:21:44.580667 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 4755
  1122. 2022-07-26 07:21:44.580667 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  1123. 2022-07-26 07:21:44.580667 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  1124. 2022-07-26 07:21:44.580667 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  1125. 2022-07-26 07:21:44.580667 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0114034300
  1126. 2022-07-26 07:21:44.580667 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  1127. 2022-07-26 07:21:44.580667 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 3
  1128. 2022-07-26 07:21:44.580667 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  1129. 2022-07-26 07:21:44.580667 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
  1130. 2022-07-26 07:21:44.580667 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  1131. 2022-07-26 07:21:44.580667 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  1132. 2022-07-26 07:21:44.580667 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  1133. 2022-07-26 07:21:44.580667 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  1134. 2022-07-26 07:21:44.580667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 3 AND status=0 LIMIT 1
  1135. 2022-07-26 07:21:44.603182 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++89
  1136. 2022-07-26 07:21:44.603182 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "89" AND deleted = 0 limit 1
  1137. 2022-07-26 07:21:44.661024 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  1138. 2022-07-26 07:21:44.661024 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:3
  1139. 2022-07-26 07:21:44.661024 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  1140. 2022-07-26 07:21:44.661024 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 89 limit 1
  1141. 2022-07-26 07:21:44.700671 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : metrobus.nebular.co.za
  1142. 2022-07-26 07:21:44.700671 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  1143. 2022-07-26 07:21:44.700671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1144. 2022-07-26 07:21:44.750658 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  1145. 2022-07-26 07:21:44.750658 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound
  1146. 2022-07-26 07:21:44.750658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0113866000
  1147. 2022-07-26 07:21:44.750658 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0113866000
  1148. 2022-07-26 07:21:44.750658 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27113866000
  1149. 2022-07-26 07:21:44.750658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....<null>
  1150. 2022-07-26 07:21:44.750658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 89 limit 1
  1151. 2022-07-26 07:21:44.790660 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : metrobus.nebular.co.za
  1152. 2022-07-26 07:21:44.790660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  1153. 2022-07-26 07:21:44.790660 [DEBUG] switch_cpp.cpp:1365 [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="611910"  AND domains.domain="metrobus.nebular.co.za" limit 1
  1154. 2022-07-26 07:21:44.823836 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 951 limit 1
  1155. 2022-07-26 07:21:44.862698 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  1156. 2022-07-26 07:21:44.902920 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  1157. 2022-07-26 07:21:44.941332 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforemetrobus.nebular.co.za
  1158. 2022-07-26 07:21:44.941332 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str
  1159. 2022-07-26 07:21:44.941332 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START:
  1160. 2022-07-26 07:21:44.941332 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/
  1161. 2022-07-26 07:21:44.941332 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='611910' and uuid = '99dcad5a-0cb3-11ed-baef-d3f1ef10c389' order by id desc limit 1
  1162. 2022-07-26 07:21:44.980968 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='611910' order by id desc limit 1
  1163. 2022-07-26 07:21:45.030677 [DEBUG] switch_cpp.cpp:1365 [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="611910"  AND domains.domain="metrobus.nebular.co.za" limit 1
  1164. 2022-07-26 07:21:45.070676 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 951
  1165. 2022-07-26 07:21:45.070676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 951 limit 1
  1166. 2022-07-26 07:21:45.114159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  1167. 2022-07-26 07:21:45.141198 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  1168. 2022-07-26 07:21:45.180668 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] call_forwarding_flag : 1
  1169. 2022-07-26 07:21:45.180668 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] SIP Call forwarding Disable
  1170. 2022-07-26 07:21:45.180668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START:
  1171. 2022-07-26 07:21:45.180668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/
  1172. 2022-07-26 07:21:45.180668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='611910' and uuid = '99dcad5a-0cb3-11ed-baef-d3f1ef10c389' order by id desc limit 1
  1173. 2022-07-26 07:21:45.211095 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='611910' order by id desc limit 1
  1174. 2022-07-26 07:21:45.260736 [DEBUG] switch_cpp.cpp:1365 [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="611910"  AND domains.domain="metrobus.nebular.co.za" limit 1
  1175. 2022-07-26 07:21:45.301593 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 951 limit 1
  1176. 2022-07-26 07:21:45.332416 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1177. <document type="freeswitch/xml">
  1178. <section name="dialplan" description="ASTPP Dialplan">
  1179. <context name="default">
  1180. <extension name="0114034300">
  1181. <condition field="destination_number" expression="D9570114034300">
  1182. <action application="set" data="effective_destination_number=0114034300"/>
  1183. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1184. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  1185. <action application="set" data="callstart=2022-07-26 07:21:44"/>
  1186. <action application="set" data="hangup_after_bridge=true"/>
  1187. <action application="set" data="continue_on_fail=TRUE"/>
  1188. <action application="set" data="account_id=3"/>
  1189. <action application="set" data="parent_id=0"/>
  1190. <action application="set" data="entity_id=3"/>
  1191. <action application="set" data="call_processed=internal"/>
  1192. <action application="set" data="call_direction=inbound"/>
  1193. <action application="set" data="accountname=default"/>
  1194. <action application="set" data="filename1=astpp.pbx.lua"/>
  1195. <action application="set" data="origination_rates_did=ID:4755|CODE:^0114034300.*|DESTINATION:0114034300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:89"/>
  1196. <action application="set" data="origination_rates=0"/>
  1197. <action application="set" data="original_caller_id_name=0113866000"/>
  1198. <action application="set" data="effective_caller_id_name=27113866000"/>
  1199. <action application="set" data="receiver_accid=89"/>
  1200. <action application="export" data="domain_name=metrobus.nebular.co.za"/>
  1201. <action application="export" data="sip_to_host=metrobus.nebular.co.za"/>
  1202. <action application="export" data="presence_data=x|||default(3673942894)|||^0114034300.* // 0114034300 // 0.00000||||||DID|||41.160.32.115"/>
  1203. <action application="export" data="call_type=0"/>
  1204. <action application="set" data="calltype=DID-LOCAL"/>
  1205. <action application="db" data="insert/pickup_any_group_${callgroup}/611910/${uuid}"/>
  1206. <action application="set" data="dialed_extension=transfer_call"/>
  1207. <action application="export" data="dialed_extension=transfer_call"/>
  1208. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  1209. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  1210. <action application="set" data="hangup_after_bridge=true"/>
  1211. <action application="export" data="did_user_domain=metrobus.nebular.co.za"/>
  1212. <action application="sleep" data="1000"/>
  1213. <action application="ring_ready"/>
  1214. <action application="set" data="sip_h_X-call-type=did"/>
  1215. <action application="set" data="sip_h_X-did-call-type=DID-LOCAL"/>
  1216. <action application="db" data="insert/pickup_any_group_${callgroup}/611910/${uuid}"/>
  1217. <action application="set" data="dialed_extension=transfer_call"/>
  1218. <action application="export" data="dialed_extension=transfer_call"/>
  1219. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  1220. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  1221. <action application="set" data="hangup_after_bridge=true"/>
  1222. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=89}[leg_timeout=20 ] sofia/${sofia_profile_name}/611910@metrobus.nebular.co.za"/>
  1223. <action application="sleep" data="1000"/>
  1224. <action application="ring_ready"/>
  1225. <action application="set" data="on_busy_flag=1"/>
  1226. <action application="set" data="on_busy_destination="/>
  1227. <action application="set" data="no_answer_flag=1"/>
  1228. <action application="set" data="no_answer_destination="/>
  1229. <action application="set" data="not_register_flag=1"/>
  1230. <action application="set" data="not_register_destination="/>
  1231. <action application="set" data="opensips_flag=0"/>
  1232. <action application="set" data="variable_sip_to_host=metrobus.nebular.co.za"/>
  1233. <action application="set" data="opensips_domain=156.38.231.106"/>
  1234. <action application="set" data="leg_timeout=20"/>
  1235. <action application="set" data="userinfo_id=89"/>
  1236. <action application="set" data="sip_destination_number=611910"/>
  1237. <action application="set" data="did_number=611910"/>
  1238. <action application="set" data="user_domain=metrobus.nebular.co.za"/>
  1239. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  1240. <action application="set" data="on_busy_flag=1"/>
  1241. <action application="set" data="on_busy_destination="/>
  1242. <action application="set" data="no_answer_flag=1"/>
  1243. <action application="set" data="no_answer_destination="/>
  1244. <action application="set" data="not_register_flag=1"/>
  1245. <action application="set" data="not_register_destination="/>
  1246. <action application="set" data="opensips_flag=0"/>
  1247. <action application="set" data="variable_sip_to_host=metrobus.nebular.co.za"/>
  1248. <action application="set" data="opensips_domain=156.38.231.106"/>
  1249. <action application="set" data="leg_timeout=20"/>
  1250. <action application="set" data="userinfo_id=89"/>
  1251. <action application="set" data="sip_destination_number=611910"/>
  1252. <action application="set" data="destination_number=0114034300"/>
  1253. <action application="set" data="did_number=0114034300"/>
  1254. <action application="set" data="user_domain=metrobus.nebular.co.za"/>
  1255. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  1256. <condition field="${cond(${user_data 611910@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  1257. <action application="answer"/>
  1258. <action application="export" data="voicemail_alternate_greet_id=0114034300"/>
  1259. <action application="voicemail" data="default $${domain_name} 611910"/>
  1260. <anti-action application="hangup" data="${originate_disposition}"/>
  1261. </condition>
  1262. </condition>
  1263. </extension>
  1264. </context>
  1265. </document>
  1266. 2022-07-26 07:21:45.332416 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ea43083f0 released.
  1267. Dialplan: sofia/default/0113866000@41.160.32.115:5060 parsing [default->0114034300] continue=false
  1268. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Regex (PASS) [0114034300] destination_number(D9570114034300) =~ /D9570114034300/ break=on-false
  1269. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(effective_destination_number=0114034300)
  1270. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1271. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1272. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(callstart=2022-07-26 07:21:44)
  1273. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  1274. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(continue_on_fail=TRUE)
  1275. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(account_id=3)
  1276. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(parent_id=0)
  1277. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(entity_id=3)
  1278. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(call_processed=internal)
  1279. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(call_direction=inbound)
  1280. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(accountname=default)
  1281. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua)
  1282. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(origination_rates_did=ID:4755|CODE:^0114034300.*|DESTINATION:0114034300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:89)
  1283. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(origination_rates=0)
  1284. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(original_caller_id_name=0113866000)
  1285. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(effective_caller_id_name=27113866000)
  1286. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(receiver_accid=89)
  1287. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action export(domain_name=metrobus.nebular.co.za)
  1288. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action export(sip_to_host=metrobus.nebular.co.za)
  1289. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0114034300.* // 0114034300 // 0.00000||||||DID|||41.160.32.115)
  1290. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action export(call_type=0)
  1291. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(calltype=DID-LOCAL)
  1292. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/611910/${uuid})
  1293. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(dialed_extension=transfer_call)
  1294. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action export(dialed_extension=transfer_call)
  1295. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  1296. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  1297. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  1298. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action export(did_user_domain=metrobus.nebular.co.za)
  1299. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action sleep(1000)
  1300. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action ring_ready()
  1301. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(sip_h_X-call-type=did)
  1302. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(sip_h_X-did-call-type=DID-LOCAL)
  1303. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/611910/${uuid})
  1304. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(dialed_extension=transfer_call)
  1305. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action export(dialed_extension=transfer_call)
  1306. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  1307. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  1308. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  1309. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=89}[leg_timeout=20 ] sofia/${sofia_profile_name}/611910@metrobus.nebular.co.za)
  1310. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action sleep(1000)
  1311. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action ring_ready()
  1312. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(on_busy_flag=1)
  1313. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(on_busy_destination=)
  1314. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(no_answer_flag=1)
  1315. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(no_answer_destination=)
  1316. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(not_register_flag=1)
  1317. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(not_register_destination=)
  1318. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(opensips_flag=0)
  1319. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(variable_sip_to_host=metrobus.nebular.co.za)
  1320. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106)
  1321. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(leg_timeout=20)
  1322. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(userinfo_id=89)
  1323. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(sip_destination_number=611910)
  1324. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(did_number=611910)
  1325. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(user_domain=metrobus.nebular.co.za)
  1326. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  1327. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(on_busy_flag=1)
  1328. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(on_busy_destination=)
  1329. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(no_answer_flag=1)
  1330. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(no_answer_destination=)
  1331. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(not_register_flag=1)
  1332. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(not_register_destination=)
  1333. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(opensips_flag=0)
  1334. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(variable_sip_to_host=metrobus.nebular.co.za)
  1335. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106)
  1336. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(leg_timeout=20)
  1337. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(userinfo_id=89)
  1338. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(sip_destination_number=611910)
  1339. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(destination_number=0114034300)
  1340. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(did_number=0114034300)
  1341. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(user_domain=metrobus.nebular.co.za)
  1342. Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  1343. |--- Dialplan: Processing recursive conditions level:1 [0114034300_recur_1] require-nested=TRUE
  1344. |--- Dialplan: sofia/default/0113866000@41.160.32.115:5060 Regex (FAIL) [0114034300_recur_1] ${cond(${user_data 611910@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  1345. |--- Dialplan: sofia/default/0113866000@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition})
  1346. 2022-07-26 07:21:45.460710 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0113866000@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE
  1347. 2022-07-26 07:21:45.460710 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0113866000@41.160.32.115:5060) State ROUTING going to sleep
  1348. 2022-07-26 07:21:45.460710 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0113866000@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 3 Tot 118018)
  1349. 2022-07-26 07:21:45.460710 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0113866000@41.160.32.115:5060) State EXECUTE
  1350. 2022-07-26 07:21:45.460710 [DEBUG] mod_sofia.c:198 sofia/default/0113866000@41.160.32.115:5060 SOFIA EXECUTE
  1351. 2022-07-26 07:21:45.460710 [DEBUG] switch_core_state_machine.c:328 sofia/default/0113866000@41.160.32.115:5060 Standard EXECUTE
  1352. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(effective_destination_number=0114034300)
  1353. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [effective_destination_number]=[0114034300]
  1354. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  1355. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1356. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1357. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1358. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(callstart=2022-07-26 07:21:44)
  1359. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [callstart]=[2022-07-26 07:21:44]
  1360. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(hangup_after_bridge=true)
  1361. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [hangup_after_bridge]=[true]
  1362. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(continue_on_fail=TRUE)
  1363. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [continue_on_fail]=[TRUE]
  1364. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(account_id=3)
  1365. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [account_id]=[3]
  1366. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(parent_id=0)
  1367. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [parent_id]=[0]
  1368. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(entity_id=3)
  1369. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [entity_id]=[3]
  1370. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(call_processed=internal)
  1371. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [call_processed]=[internal]
  1372. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(call_direction=inbound)
  1373. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [call_direction]=[inbound]
  1374. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(accountname=default)
  1375. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [accountname]=[default]
  1376. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(filename1=astpp.pbx.lua)
  1377. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [filename1]=[astpp.pbx.lua]
  1378. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(origination_rates_did=ID:4755|CODE:^0114034300.*|DESTINATION:0114034300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:89)
  1379. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [origination_rates_did]=[ID:4755|CODE:^0114034300.*|DESTINATION:0114034300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:89]
  1380. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(origination_rates=0)
  1381. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [origination_rates]=[0]
  1382. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(original_caller_id_name=0113866000)
  1383. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [original_caller_id_name]=[0113866000]
  1384. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(effective_caller_id_name=27113866000)
  1385. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [effective_caller_id_name]=[27113866000]
  1386. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(receiver_accid=89)
  1387. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [receiver_accid]=[89]
  1388. EXECUTE sofia/default/0113866000@41.160.32.115:5060 export(domain_name=metrobus.nebular.co.za)
  1389. 2022-07-26 07:21:45.460710 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[metrobus.nebular.co.za]
  1390. EXECUTE sofia/default/0113866000@41.160.32.115:5060 export(sip_to_host=metrobus.nebular.co.za)
  1391. 2022-07-26 07:21:45.460710 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[metrobus.nebular.co.za]
  1392. EXECUTE sofia/default/0113866000@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0114034300.* // 0114034300 // 0.00000||||||DID|||41.160.32.115)
  1393. 2022-07-26 07:21:45.460710 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0114034300.* // 0114034300 // 0.00000||||||DID|||41.160.32.115]
  1394. EXECUTE sofia/default/0113866000@41.160.32.115:5060 export(call_type=0)
  1395. 2022-07-26 07:21:45.460710 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[0]
  1396. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(calltype=DID-LOCAL)
  1397. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [calltype]=[DID-LOCAL]
  1398. EXECUTE sofia/default/0113866000@41.160.32.115:5060 db(insert/pickup_any_group_/611910/99dcad5a-0cb3-11ed-baef-d3f1ef10c389)
  1399. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(dialed_extension=transfer_call)
  1400. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [dialed_extension]=[transfer_call]
  1401. EXECUTE sofia/default/0113866000@41.160.32.115:5060 export(dialed_extension=transfer_call)
  1402. 2022-07-26 07:21:45.460710 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  1403. EXECUTE sofia/default/0113866000@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  1404. 2022-07-26 07:21:45.460710 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  1405. EXECUTE sofia/default/0113866000@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  1406. 2022-07-26 07:21:45.460710 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  1407. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(hangup_after_bridge=true)
  1408. 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [hangup_after_bridge]=[true]
  1409. EXECUTE sofia/default/0113866000@41.160.32.115:5060 export(did_user_domain=metrobus.nebular.co.za)
  1410. 2022-07-26 07:21:45.460710 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[metrobus.nebular.co.za]
  1411. EXECUTE sofia/default/0113866000@41.160.32.115:5060 sleep(1000)
  1412. EXECUTE sofia/default/0113866000@41.160.32.115:5060 ring_ready()
  1413. 2022-07-26 07:21:46.490675 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/0113866000@41.160.32.115:5060!
  1414. 2022-07-26 07:21:46.490675 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/0113866000@41.160.32.115:5060!
  1415. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(sip_h_X-call-type=did)
  1416. 2022-07-26 07:21:46.490675 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [sip_h_X-call-type]=[did]
  1417. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(sip_h_X-did-call-type=DID-LOCAL)
  1418. 2022-07-26 07:21:46.490675 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [sip_h_X-did-call-type]=[DID-LOCAL]
  1419. EXECUTE sofia/default/0113866000@41.160.32.115:5060 db(insert/pickup_any_group_/611910/99dcad5a-0cb3-11ed-baef-d3f1ef10c389)
  1420. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(dialed_extension=transfer_call)
  1421. 2022-07-26 07:21:46.490675 [DEBUG] sofia.c:7084 Channel sofia/default/0113866000@41.160.32.115:5060 entering state [early][180]
  1422. 2022-07-26 07:21:46.490675 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [dialed_extension]=[transfer_call]
  1423. EXECUTE sofia/default/0113866000@41.160.32.115:5060 export(dialed_extension=transfer_call)
  1424. 2022-07-26 07:21:46.490675 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  1425. EXECUTE sofia/default/0113866000@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  1426. 2022-07-26 07:21:46.490675 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  1427. EXECUTE sofia/default/0113866000@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  1428. 2022-07-26 07:21:46.490675 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  1429. EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(hangup_after_bridge=true)
  1430. 2022-07-26 07:21:46.490675 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [hangup_after_bridge]=[true]
  1431. EXECUTE sofia/default/0113866000@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=89}[leg_timeout=20 ] sofia/default/611910@metrobus.nebular.co.za)
  1432. 2022-07-26 07:21:46.490675 [DEBUG] switch_channel.c:1250 sofia/default/0113866000@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[metrobus.nebular.co.za] to event
  1433. 2022-07-26 07:21:46.490675 [DEBUG] switch_channel.c:1250 sofia/default/0113866000@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[metrobus.nebular.co.za] to event
  1434. 2022-07-26 07:21:46.490675 [DEBUG] switch_channel.c:1250 sofia/default/0113866000@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0114034300.* // 0114034300 // 0.00000||||||DID|||41.160.32.115] to event
  1435. 2022-07-26 07:21:46.490675 [DEBUG] switch_channel.c:1250 sofia/default/0113866000@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[0] to event
  1436. 2022-07-26 07:21:46.490675 [DEBUG] switch_channel.c:1250 sofia/default/0113866000@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  1437. 2022-07-26 07:21:46.490675 [DEBUG] switch_channel.c:1250 sofia/default/0113866000@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[metrobus.nebular.co.za] to event
  1438. 2022-07-26 07:21:46.490675 [DEBUG] switch_channel.c:1250 sofia/default/0113866000@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  1439. 2022-07-26 07:21:46.490675 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  1440. 2022-07-26 07:21:46.490675 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  1441. 2022-07-26 07:21:46.490675 [NOTICE] switch_channel.c:1104 New Channel sofia/default/611910@metrobus.nebular.co.za [9b725c50-0cb3-11ed-bb1f-d3f1ef10c389]
  1442. 2022-07-26 07:21:46.490675 [DEBUG] mod_sofia.c:4819 (sofia/default/611910@metrobus.nebular.co.za) State Change CS_NEW -> CS_INIT
  1443. 2022-07-26 07:21:46.490675 [DEBUG] switch_ivr_originate.c:2963 sofia/default/611910@metrobus.nebular.co.za Setting leg timeout to 20
  1444. 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/611910@metrobus.nebular.co.za) Running State Change CS_INIT (Cur 4 Tot 118019)
  1445. 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:627 (sofia/default/611910@metrobus.nebular.co.za) State INIT
  1446. 2022-07-26 07:21:46.490675 [DEBUG] mod_sofia.c:90 sofia/default/611910@metrobus.nebular.co.za SOFIA INIT
  1447. 2022-07-26 07:21:46.490675 [DEBUG] sofia_glue.c:1295 sofia/default/611910@metrobus.nebular.co.za sending invite version: 1.6.20  64bit
  1448. Local SDP:
  1449. v=0
  1450. o=FreeSWITCH 1658801238 1658801239 IN IP4 156.38.231.107
  1451. s=FreeSWITCH
  1452. c=IN IP4 156.38.231.107
  1453. t=0 0
  1454. m=audio 18868 RTP/AVP 8 101
  1455. a=rtpmap:8 PCMA/8000
  1456. a=rtpmap:101 telephone-event/8000
  1457. a=fmtp:101 0-16
  1458. a=ptime:20
  1459. a=sendrecv
  1460.  
  1461. 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:40 sofia/default/611910@metrobus.nebular.co.za Standard INIT
  1462. 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:48 (sofia/default/611910@metrobus.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  1463. 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:627 (sofia/default/611910@metrobus.nebular.co.za) State INIT going to sleep
  1464. 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/611910@metrobus.nebular.co.za) Running State Change CS_ROUTING (Cur 4 Tot 118019)
  1465. 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:643 (sofia/default/611910@metrobus.nebular.co.za) State ROUTING
  1466. 2022-07-26 07:21:46.490675 [DEBUG] mod_sofia.c:143 sofia/default/611910@metrobus.nebular.co.za SOFIA ROUTING
  1467. 2022-07-26 07:21:46.490675 [DEBUG] switch_ivr_originate.c:67 (sofia/default/611910@metrobus.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1468. 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:643 (sofia/default/611910@metrobus.nebular.co.za) State ROUTING going to sleep
  1469. 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/611910@metrobus.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 118019)
  1470. 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:662 (sofia/default/611910@metrobus.nebular.co.za) State CONSUME_MEDIA
  1471. 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:662 (sofia/default/611910@metrobus.nebular.co.za) State CONSUME_MEDIA going to sleep
  1472. 2022-07-26 07:21:46.500668 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [calling][0]
  1473. 2022-07-26 07:21:46.620675 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [proceeding][180]
  1474. 2022-07-26 07:21:46.620675 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/611910@metrobus.nebular.co.za!
  1475. 2022-07-26 07:21:46.620675 [DEBUG] switch_channel.c:3346 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change DOWN -> RINGING
  1476. 2022-07-26 07:21:46.620675 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [completing][200]
  1477. 2022-07-26 07:21:46.620675 [DEBUG] sofia.c:7094 Remote SDP:
  1478. v=0
  1479. o=3cxPS 547071459328 205873217537 IN IP4 156.38.249.180
  1480. s=3cxPS Audio call
  1481. c=IN IP4 156.38.249.180
  1482. t=0 0
  1483. m=audio 10102 RTP/AVP 8 101
  1484. a=rtpmap:8 PCMA/8000
  1485. a=rtpmap:101 telephone-event/8000
  1486.  
  1487. 2022-07-26 07:21:46.630658 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [ready][200]
  1488. 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1489. 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1490. 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  1491. 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/611910@metrobus.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1492. 2022-07-26 07:21:46.630658 [DEBUG] switch_core_codec.c:111 sofia/default/611910@metrobus.nebular.co.za Original read codec set to PCMA:8
  1493. 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  1494. 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:4767 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  1495. 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/611910@metrobus.nebular.co.za] 156.38.231.107 port 18868 -> 156.38.249.180 port 10102 codec: 8 ms: 20
  1496. 2022-07-26 07:21:46.630658 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  1497. 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:7180 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf send payload to 101
  1498. 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:7187 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf receive payload to 101
  1499. 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:7210 sofia/default/611910@metrobus.nebular.co.za Set rtp dtmf delay to 40
  1500. 2022-07-26 07:21:46.630658 [NOTICE] sofia.c:8218 Channel [sofia/default/611910@metrobus.nebular.co.za] has been answered
  1501. 2022-07-26 07:21:46.630658 [DEBUG] switch_channel.c:3773 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change RINGING -> ACTIVE
  1502. 2022-07-26 07:21:46.642608 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/0113866000@41.160.32.115:5060!
  1503. 2022-07-26 07:21:46.642608 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0113866000@41.160.32.115:5060] 156.38.231.107 port 24240 -> 41.160.32.115 port 20598 codec: 8 ms: 20
  1504. 2022-07-26 07:21:46.642608 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  1505. 2022-07-26 07:21:46.642608 [DEBUG] switch_core_media.c:7180 sofia/default/0113866000@41.160.32.115:5060 Set 2833 dtmf send payload to 97
  1506. 2022-07-26 07:21:46.642608 [DEBUG] switch_core_media.c:7187 sofia/default/0113866000@41.160.32.115:5060 Set 2833 dtmf receive payload to 97
  1507. 2022-07-26 07:21:46.642608 [DEBUG] switch_core_media.c:7210 sofia/default/0113866000@41.160.32.115:5060 Set rtp dtmf delay to 40
  1508. 2022-07-26 07:21:46.642608 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0113866000@41.160.32.115:5060:
  1509. v=0
  1510. o=FreeSWITCH 1658795866 1658795867 IN IP4 156.38.231.107
  1511. s=FreeSWITCH
  1512. c=IN IP4 156.38.231.107
  1513. t=0 0
  1514. m=audio 24240 RTP/AVP 8 97
  1515. a=rtpmap:8 PCMA/8000
  1516. a=rtpmap:97 telephone-event/8000
  1517. a=fmtp:97 0-16
  1518. a=ptime:20
  1519. a=sendrecv
  1520.  
  1521. 2022-07-26 07:21:46.642608 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/0113866000@41.160.32.115:5060] has been answered
  1522. 2022-07-26 07:21:46.642608 [DEBUG] switch_channel.c:3773 (sofia/default/0113866000@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE
  1523. 2022-07-26 07:21:46.642608 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/611910@metrobus.nebular.co.za]
  1524. 2022-07-26 07:21:46.642608 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/611910@metrobus.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1525. 2022-07-26 07:21:46.642608 [DEBUG] switch_core_state_machine.c:584 (sofia/default/611910@metrobus.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 4 Tot 118019)
  1526. 2022-07-26 07:21:46.642608 [DEBUG] switch_core_state_machine.c:653 (sofia/default/611910@metrobus.nebular.co.za) State EXCHANGE_MEDIA
  1527. 2022-07-26 07:21:46.642608 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  1528. 2022-07-26 07:21:46.661947 [DEBUG] sofia.c:7084 Channel sofia/default/0113866000@41.160.32.115:5060 entering state [completed][200]
  1529. 2022-07-26 07:21:46.830794 [DEBUG] switch_ivr_bridge.c:546 sofia/default/611910@metrobus.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  1530. 2022-07-26 07:21:46.851149 [DEBUG] switch_ivr.c:623 sofia/default/611910@metrobus.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing)
  1531. EXECUTE sofia/default/611910@metrobus.nebular.co.za sched_hangup(+6000 normal_clearing)
  1532. 2022-07-26 07:21:46.851149 [DEBUG] switch_scheduler.c:249 Added task 47232 switch_ivr_schedule_hangup (9b725c50-0cb3-11ed-bb1f-d3f1ef10c389) to run at 1658826106
  1533. 2022-07-26 07:21:46.910687 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.249.180:10102 to 156.38.231.105:10102
  1534. 2022-07-26 07:21:46.920680 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  1535. 2022-07-26 07:21:47.003293 [DEBUG] sofia.c:7084 Channel sofia/default/0113866000@41.160.32.115:5060 entering state [ready][200]
  1536. 2022-07-26 07:21:54.940690 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF *:2408
  1537. 2022-07-26 07:21:54.940690 [INFO] switch_channel.c:515 RECV DTMF *:2408
  1538. 2022-07-26 07:21:54.950683 [DEBUG] switch_rtp.c:5261 Send start packet for [*] ts=3918005960 dur=160/160/2408 seq=24710 lw=3918005960
  1539. 2022-07-26 07:21:54.970679 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=320/320/2408 seq=24711 lw=3918006120
  1540. 2022-07-26 07:21:54.981054 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=480/480/2408 seq=24712 lw=3918006280
  1541. 2022-07-26 07:21:55.010740 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=640/640/2408 seq=24713 lw=3918006440
  1542. 2022-07-26 07:21:55.030771 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=800/800/2408 seq=24714 lw=3918006600
  1543. 2022-07-26 07:21:55.050682 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=960/960/2408 seq=24715 lw=3918006760
  1544. 2022-07-26 07:21:55.062847 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=1120/1120/2408 seq=24716 lw=3918006920
  1545. 2022-07-26 07:21:55.081278 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=1280/1280/2408 seq=24717 lw=3918007080
  1546. 2022-07-26 07:21:55.102573 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=1440/1440/2408 seq=24718 lw=3918007240
  1547. 2022-07-26 07:21:55.122710 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=1600/1600/2408 seq=24719 lw=3918007400
  1548. 2022-07-26 07:21:55.142564 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=1760/1760/2408 seq=24720 lw=3918007560
  1549. 2022-07-26 07:21:55.162006 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=1920/1920/2408 seq=24721 lw=3918007720
  1550. 2022-07-26 07:21:55.191599 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=2080/2080/2408 seq=24722 lw=3918007880
  1551. 2022-07-26 07:21:55.210681 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=2240/2240/2408 seq=24723 lw=3918008040
  1552. 2022-07-26 07:21:55.230676 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=2400/2400/2408 seq=24724 lw=3918008200
  1553. 2022-07-26 07:21:55.250677 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=3918005960 dur=2560/2560/2408 seq=24725 lw=3918008200
  1554. 2022-07-26 07:21:55.250677 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=3918005960 dur=2560/2560/2408 seq=24726 lw=3918008200
  1555. 2022-07-26 07:21:55.250677 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=3918005960 dur=2560/2560/2408 seq=24727 lw=3918008200
  1556. 2022-07-26 07:21:55.250677 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms
  1557. 2022-07-26 07:21:55.430663 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [received][100]
  1558. 2022-07-26 07:21:55.430663 [DEBUG] sofia.c:7094 Remote SDP:
  1559. v=0
  1560. o=3cxPS 547071459328 205873217538 IN IP4 156.38.249.180
  1561. s=3cxPS Audio call
  1562. c=IN IP4 156.38.249.180
  1563. t=0 0
  1564. m=audio 10102 RTP/AVP 8 101
  1565. a=rtpmap:8 PCMA/8000
  1566. a=rtpmap:101 telephone-event/8000
  1567. a=sendonly
  1568.  
  1569. 2022-07-26 07:21:55.430663 [DEBUG] switch_channel.c:1844 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change ACTIVE -> HELD
  1570. 2022-07-26 07:21:55.560684 [DEBUG] switch_ivr.c:623 sofia/default/0113866000@41.160.32.115:5060 Command Execute playback(local_stream://moh)
  1571. EXECUTE sofia/default/0113866000@41.160.32.115:5060 playback(local_stream://moh)
  1572. 2022-07-26 07:21:55.560684 [DEBUG] mod_local_stream.c:871 Opening Stream [moh/8000] 8000hz
  1573. 2022-07-26 07:21:55.560684 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms
  1574. 2022-07-26 07:21:55.680678 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1575. 2022-07-26 07:21:55.680678 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1576. 2022-07-26 07:21:55.680678 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  1577. 2022-07-26 07:21:55.680678 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  1578. 2022-07-26 07:21:55.680678 [DEBUG] switch_core_media.c:4767 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  1579. 2022-07-26 07:21:55.680678 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/611910@metrobus.nebular.co.za.
  1580. 2022-07-26 07:21:55.680678 [DEBUG] sofia.c:7999 Processing updated SDP
  1581. 2022-07-26 07:21:55.702157 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [completed][200]
  1582. 2022-07-26 07:21:55.800675 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [ready][200]
  1583. 2022-07-26 07:21:56.100675 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [received][100]
  1584. 2022-07-26 07:21:56.100675 [DEBUG] sofia.c:7094 Remote SDP:
  1585. v=0
  1586. o=3cxPS 547071459328 205873217539 IN IP4 156.38.249.180
  1587. s=3cxPS Audio call
  1588. c=IN IP4 156.38.249.180
  1589. t=0 0
  1590. m=audio 10102 RTP/AVP 8 101
  1591. a=rtpmap:8 PCMA/8000
  1592. a=rtpmap:101 telephone-event/8000
  1593.  
  1594. 2022-07-26 07:21:56.360671 [DEBUG] switch_ivr_play_say.c:1942 done playing file local_stream://moh
  1595. 2022-07-26 07:21:56.360671 [DEBUG] switch_channel.c:2029 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change HELD -> UNHELD
  1596. 2022-07-26 07:21:56.360671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1597. 2022-07-26 07:21:56.360671 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1598. 2022-07-26 07:21:56.360671 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  1599. 2022-07-26 07:21:56.360671 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  1600. 2022-07-26 07:21:56.360671 [DEBUG] switch_core_media.c:4767 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  1601. 2022-07-26 07:21:56.360671 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/611910@metrobus.nebular.co.za.
  1602. 2022-07-26 07:21:56.360671 [DEBUG] sofia.c:7999 Processing updated SDP
  1603. 2022-07-26 07:21:56.360671 [DEBUG] switch_core_io.c:941 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change UNHELD -> ACTIVE
  1604. 2022-07-26 07:21:56.370679 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [completed][200]
  1605. 2022-07-26 07:21:56.390672 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  1606. 2022-07-26 07:21:56.470672 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [ready][200]
  1607. 2022-07-26 07:22:02.973327 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0744086022@41.160.32.115:5060 [a54495a4-0cb3-11ed-bb26-d3f1ef10c389]
  1608. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_NEW (Cur 5 Tot 118020)
  1609. 2022-07-26 07:22:02.973327 [DEBUG] sofia.c:9873 sofia/default/0744086022@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  1610. 2022-07-26 07:22:02.973327 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  1611. 2022-07-26 07:22:02.973327 [DEBUG] sofia.c:7084 Channel sofia/default/0744086022@41.160.32.115:5060 entering state [received][100]
  1612. 2022-07-26 07:22:02.973327 [DEBUG] sofia.c:7094 Remote SDP:
  1613. v=0
  1614. o=HuaweiSoftX3000 63802007993397 63802007993397 IN IP4 41.160.32.115
  1615. s=-
  1616. c=IN IP4 41.160.32.115
  1617. t=0 0
  1618. m=audio 20600 RTP/AVP 102 8 102 102 18 116
  1619. a=rtpmap:102 AMR/8000
  1620. a=rtpmap:8 PCMA/8000
  1621. a=rtpmap:18 G729/8000
  1622. a=fmtp:18 annexb=no
  1623. a=rtpmap:116 telephone-event/8000
  1624. a=fmtp:116 0-15
  1625. a=ptime:20
  1626.  
  1627. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[G729:18:8000:60:8000:1]
  1628. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[G729:18:8000:20:8000:1]
  1629. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  1630. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  1631. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  1632. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1633. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1634. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1635. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1636. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:60:8000:1]
  1637. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:20:8000:1]
  1638. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMA:8:8000:20:64000:1]
  1639. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMU:0:8000:20:64000:1]
  1640. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:60:8000:1]
  1641. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:20:8000:1]
  1642. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMA:8:8000:20:64000:1]
  1643. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMU:0:8000:20:64000:1]
  1644. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  1645. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  1646. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  1647. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  1648. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  1649. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  1650. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 116@8000
  1651. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0744086022@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1652. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_codec.c:111 sofia/default/0744086022@41.160.32.115:5060 Original read codec set to PCMA:8
  1653. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 116@8000
  1654. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4767 sofia/default/0744086022@41.160.32.115:5060 Set 2833 dtmf send payload to 116 recv payload to 116
  1655. 2022-07-26 07:22:02.973327 [DEBUG] sofia.c:7507 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_NEW -> CS_INIT
  1656. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0744086022@41.160.32.115:5060) State NEW
  1657. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_INIT (Cur 5 Tot 118020)
  1658. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0744086022@41.160.32.115:5060) State INIT
  1659. 2022-07-26 07:22:02.973327 [DEBUG] mod_sofia.c:90 sofia/default/0744086022@41.160.32.115:5060 SOFIA INIT
  1660. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:40 sofia/default/0744086022@41.160.32.115:5060 Standard INIT
  1661. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING
  1662. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0744086022@41.160.32.115:5060) State INIT going to sleep
  1663. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 5 Tot 118020)
  1664. 2022-07-26 07:22:02.973327 [DEBUG] switch_channel.c:2249 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change DOWN -> RINGING
  1665. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0744086022@41.160.32.115:5060) State ROUTING
  1666. 2022-07-26 07:22:02.973327 [DEBUG] mod_sofia.c:143 sofia/default/0744086022@41.160.32.115:5060 SOFIA ROUTING
  1667. 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:236 sofia/default/0744086022@41.160.32.115:5060 Standard ROUTING
  1668. 2022-07-26 07:22:02.973327 [INFO] mod_dialplan_xml.c:637 Processing 0744086022 <0744086022>->0103130001 in context default
  1669. 2022-07-26 07:22:02.973327 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ea43083f0 Connected.
  1670. 2022-07-26 07:22:02.973327 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1671. 2022-07-26 07:22:03.016622 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1672. 2022-07-26 07:22:03.057574 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  1673. 2022-07-26 07:22:03.057574 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0103130001
  1674. 2022-07-26 07:22:03.057574 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0103130001' limit 1
  1675. 2022-07-26 07:22:03.131044 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0103130001' AND status=0 limit 1
  1676. 2022-07-26 07:22:03.193809 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0103130001' and status=0 LIMIT 1
  1677. 2022-07-26 07:22:03.243630 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  1678. 2022-07-26 07:22:03.243630 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 0744086022 / <null>
  1679. 2022-07-26 07:22:03.243630 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001" LIMIT 1
  1680. 2022-07-26 07:22:03.308028 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  1681. 2022-07-26 07:22:03.308028 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894]
  1682. 2022-07-26 07:22:03.317878 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  1683. 2022-07-26 07:22:03.376096 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0103130001" AND (accountid = 0 OR status = 1) LIMIT 1
  1684. 2022-07-26 07:22:03.410658 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  1685. 2022-07-26 07:22:03.410658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1
  1686. 2022-07-26 07:22:03.450657 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  1687. 2022-07-26 07:22:03.450657 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  1688. 2022-07-26 07:22:03.450657 [DEBUG] switch_cpp.cpp:1365 [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 = '^0103130001.*' OR patterns = '^010313000.*' OR patterns = '^01031300.*' OR patterns = '^0103130.*' OR patterns = '^010313.*' OR patterns = '^01031.*' OR patterns = '^0103.*' OR patterns = '^010.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  1689. 2022-07-26 07:22:03.462298 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF *:2408
  1690. 2022-07-26 07:22:03.462298 [INFO] switch_channel.c:515 RECV DTMF *:2408
  1691. 2022-07-26 07:22:03.462298 [DEBUG] switch_rtp.c:5261 Send start packet for [*] ts=3918074120 dur=160/160/2408 seq=25089 lw=3918074120
  1692. 2022-07-26 07:22:03.494672 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=320/320/2408 seq=25090 lw=3918074280
  1693. 2022-07-26 07:22:03.503030 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=480/480/2408 seq=25091 lw=3918074440
  1694. 2022-07-26 07:22:03.503030 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001" AND A.accountid = '3' limit 1
  1695. 2022-07-26 07:22:03.521705 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=640/640/2408 seq=25092 lw=3918074600
  1696. 2022-07-26 07:22:03.542975 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=800/800/2408 seq=25093 lw=3918074760
  1697. 2022-07-26 07:22:03.542975 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0103130001
  1698. 2022-07-26 07:22:03.542975 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001" LIMIT 1
  1699. 2022-07-26 07:22:03.570662 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=960/960/2408 seq=25094 lw=3918074920
  1700. 2022-07-26 07:22:03.591624 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=1120/1120/2408 seq=25095 lw=3918075080
  1701. 2022-07-26 07:22:03.591624 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound
  1702. 2022-07-26 07:22:03.591624 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0103130001' OR number = '010313000' OR number = '01031300' OR number = '0103130' OR number = '010313' OR number = '01031' OR number = '0103' OR number = '010' OR number = '01' OR number = '0' OR number ='--') OR (number = '0103130001*' OR number = '010313000*' OR number = '01031300*' OR number = '0103130*' OR number = '010313*' OR number = '01031*' OR number = '0103*' OR number = '010*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  1703. 2022-07-26 07:22:03.591624 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=1280/1280/2408 seq=25096 lw=3918075240
  1704. 2022-07-26 07:22:03.629996 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=1440/1440/2408 seq=25097 lw=3918075400
  1705. 2022-07-26 07:22:03.629996 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  1706. 2022-07-26 07:22:03.637609 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0103130001' OR routing_prefix = '010313000' OR routing_prefix = '01031300' OR routing_prefix = '0103130' OR routing_prefix = '010313' OR routing_prefix = '01031' OR routing_prefix = '0103' OR routing_prefix = '010' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  1707. 2022-07-26 07:22:03.645229 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=1600/1600/2408 seq=25098 lw=3918075560
  1708. 2022-07-26 07:22:03.671018 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=1760/1760/2408 seq=25099 lw=3918075720
  1709. 2022-07-26 07:22:03.692022 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=1920/1920/2408 seq=25100 lw=3918075880
  1710. 2022-07-26 07:22:03.719628 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=2080/2080/2408 seq=25101 lw=3918076040
  1711. 2022-07-26 07:22:03.729627 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=2240/2240/2408 seq=25102 lw=3918076200
  1712. 2022-07-26 07:22:03.729627 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  1713. 2022-07-26 07:22:03.729627 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 3
  1714. 2022-07-26 07:22:03.729627 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 3673942894
  1715. 2022-07-26 07:22:03.729627 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  1716. 2022-07-26 07:22:03.729627 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  1717. 2022-07-26 07:22:03.729627 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 15
  1718. 2022-07-26 07:22:03.729627 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  1719. 2022-07-26 07:22:03.729627 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  1720. 2022-07-26 07:22:03.729627 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 15 AND status = 0
  1721. 2022-07-26 07:22:03.749777 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=2400/2400/2408 seq=25103 lw=3918076360
  1722. 2022-07-26 07:22:03.773254 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=3918074120 dur=2560/2560/2408 seq=25104 lw=3918076360
  1723. 2022-07-26 07:22:03.773254 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=3918074120 dur=2560/2560/2408 seq=25105 lw=3918076360
  1724. 2022-07-26 07:22:03.773254 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=3918074120 dur=2560/2560/2408 seq=25106 lw=3918076360
  1725. 2022-07-26 07:22:03.773254 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms
  1726. 2022-07-26 07:22:03.800689 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  1727. 2022-07-26 07:22:03.800689 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001" LIMIT 1
  1728. 2022-07-26 07:22:03.843698 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  1729. 2022-07-26 07:22:03.843698 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  1730. 2022-07-26 07:22:03.843698 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2007
  1731. 2022-07-26 07:22:03.843698 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  1732. 2022-07-26 07:22:03.843698 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  1733. 2022-07-26 07:22:03.843698 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  1734. 2022-07-26 07:22:03.843698 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0103130001
  1735. 2022-07-26 07:22:03.843698 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  1736. 2022-07-26 07:22:03.843698 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 3
  1737. 2022-07-26 07:22:03.843698 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  1738. 2022-07-26 07:22:03.843698 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
  1739. 2022-07-26 07:22:03.843698 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  1740. 2022-07-26 07:22:03.843698 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  1741. 2022-07-26 07:22:03.843698 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  1742. 2022-07-26 07:22:03.843698 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  1743. 2022-07-26 07:22:03.843698 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 3 AND status=0 LIMIT 1
  1744. 2022-07-26 07:22:03.910665 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++7
  1745. 2022-07-26 07:22:03.910665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  1746. 2022-07-26 07:22:03.971823 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [received][100]
  1747. 2022-07-26 07:22:03.971823 [DEBUG] sofia.c:7094 Remote SDP:
  1748. v=0
  1749. o=3cxPS 547071459328 205873217540 IN IP4 156.38.249.180
  1750. s=3cxPS Audio call
  1751. c=IN IP4 156.38.249.180
  1752. t=0 0
  1753. m=audio 10102 RTP/AVP 8 101
  1754. a=rtpmap:8 PCMA/8000
  1755. a=rtpmap:101 telephone-event/8000
  1756. a=sendonly
  1757. 2022-07-26 07:22:03.971823 [DEBUG] switch_channel.c:1844 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change ACTIVE -> HELD
  1758. 2022-07-26 07:22:03.971823 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  1759. 2022-07-26 07:22:03.971823 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:3
  1760. 2022-07-26 07:22:03.971823 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  1761. 2022-07-26 07:22:03.971823 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  1762. 2022-07-26 07:22:04.041963 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : mbvit.nebular.co.za
  1763. 2022-07-26 07:22:04.041963 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  1764. 2022-07-26 07:22:04.041963 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1765. 2022-07-26 07:22:04.110790 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  1766. 2022-07-26 07:22:04.110790 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound
  1767. 2022-07-26 07:22:04.110790 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0744086022
  1768. 2022-07-26 07:22:04.110790 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0744086022
  1769. 2022-07-26 07:22:04.110790 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27744086022
  1770. 2022-07-26 07:22:04.110790 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....<null>
  1771. 2022-07-26 07:22:04.110790 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  1772. 2022-07-26 07:22:04.123834 [DEBUG] switch_ivr.c:623 sofia/default/0113866000@41.160.32.115:5060 Command Execute playback(local_stream://moh)
  1773. EXECUTE sofia/default/0113866000@41.160.32.115:5060 playback(local_stream://moh)
  1774. 2022-07-26 07:22:04.123834 [DEBUG] mod_local_stream.c:871 Opening Stream [moh/8000] 8000hz
  1775. 2022-07-26 07:22:04.123834 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms
  1776. 2022-07-26 07:22:04.145508 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : mbvit.nebular.co.za
  1777. 2022-07-26 07:22:04.145508 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_10
  1778. 2022-07-26 07:22:04.145508 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2007
  1779. 2022-07-26 07:22:04.145508 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 10
  1780. 2022-07-26 07:22:04.145508 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : IVR
  1781. 2022-07-26 07:22:04.145508 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 1 and status=0 LIMIT 1
  1782. 2022-07-26 07:22:04.207147 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '${au-ring}' LIMIT 1
  1783. 2022-07-26 07:22:04.223910 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1784. 2022-07-26 07:22:04.223910 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1785. 2022-07-26 07:22:04.223910 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  1786. 2022-07-26 07:22:04.223910 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  1787. 2022-07-26 07:22:04.223910 [DEBUG] switch_core_media.c:4767 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  1788. 2022-07-26 07:22:04.223910 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/611910@metrobus.nebular.co.za.
  1789. 2022-07-26 07:22:04.223910 [DEBUG] sofia.c:7999 Processing updated SDP
  1790. 2022-07-26 07:22:04.223910 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [completed][200]
  1791. 2022-07-26 07:22:04.243881 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== sandip here===========================
  1792. 2022-07-26 07:22:04.243881 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1793. <document type="freeswitch/xml">
  1794. <section name="dialplan" description="ASTPP Dialplan">
  1795. <context name="default">
  1796. <extension name="0103130001">
  1797. <condition field="destination_number" expression="0103130001">
  1798. <action application="set" data="effective_destination_number=0103130001"/>
  1799. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1800. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  1801. <action application="set" data="callstart=2022-07-26 07:22:04"/>
  1802. <action application="set" data="hangup_after_bridge=true"/>
  1803. <action application="set" data="continue_on_fail=TRUE"/>
  1804. <action application="set" data="account_id=3"/>
  1805. <action application="set" data="parent_id=0"/>
  1806. <action application="set" data="entity_id=3"/>
  1807. <action application="set" data="call_processed=internal"/>
  1808. <action application="set" data="call_direction=inbound"/>
  1809. <action application="set" data="accountname=default"/>
  1810. <action application="set" data="filename1=astpp.pbx.lua"/>
  1811. <action application="set" data="origination_rates_did=ID:2007|CODE:^0103130001.*|DESTINATION:0103130001|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7"/>
  1812. <action application="set" data="origination_rates=0"/>
  1813. <action application="set" data="original_caller_id_name=0744086022"/>
  1814. <action application="set" data="effective_caller_id_name=27744086022"/>
  1815. <action application="set" data="receiver_accid=7"/>
  1816. <action application="export" data="domain_name=mbvit.nebular.co.za"/>
  1817. <action application="export" data="sip_to_host=mbvit.nebular.co.za"/>
  1818. <action application="export" data="presence_data=x|||default(3673942894)|||^0103130001.* // 0103130001 // 0.00000||||||DID|||41.160.32.115"/>
  1819. <action application="export" data="call_type=10"/>
  1820. <action application="set" data="did_calltype=10"/>
  1821. <action application="set" data="did_extensions=1"/>
  1822. <action application="set" data="ringback=${au-ring}"/>
  1823. <action application="set" data="module_name=pbx"/>
  1824. <action application="set" data="sip_h_P-call_type=custom_forward"/>
  1825. <action application="set" data="sip_h_P-Accountcode=7"/>
  1826. <action application="set" data="no_answer_number=103"/>
  1827. <action application="export" data="no_answer_number=103"/>
  1828. <action application="set" data="no_answer_call_type=extension"/>
  1829. <action application="set" data="no_answer_call_type_value=103"/>
  1830. <action application="set" data="opensips_flag=0"/>
  1831. <action application="set" data="originate_disposition=no_key_press"/>
  1832. <action application="set" data="variable_sip_to_host=mbvit.nebular.co.za"/>
  1833. <action application="set" data="userinfo_id=3"/>
  1834. <action application="set" data="variable_sip_to_host=mbvit.nebular.co.za"/>
  1835. <action application="set" data="original_did_number=0103130001"/>
  1836. <action application="set" data="absolute_codec_string=PCMU,PCMA,G729"/>
  1837.     <action application="answer"/>
  1838. <action application="ivr" data="Office IVR5"/>
  1839. <action application="lua" data="astpp/lib/pbx/astpp-failover_ivr_destination.lua"/>
  1840. </condition>
  1841. </extension>
  1842. </context>
  1843. </document>
  1844. 2022-07-26 07:22:04.243881 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ea43083f0 released.
  1845. Dialplan: sofia/default/0744086022@41.160.32.115:5060 parsing [default->0103130001] continue=false
  1846. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Regex (PASS) [0103130001] destination_number(0103130001) =~ /0103130001/ break=on-false
  1847. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_destination_number=0103130001)
  1848. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1849. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1850. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(callstart=2022-07-26 07:22:04)
  1851. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  1852. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(continue_on_fail=TRUE)
  1853. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(account_id=3)
  1854. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(parent_id=0)
  1855. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(entity_id=3)
  1856. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(call_processed=internal)
  1857. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(call_direction=inbound)
  1858. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(accountname=default)
  1859. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua)
  1860. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(origination_rates_did=ID:2007|CODE:^0103130001.*|DESTINATION:0103130001|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7)
  1861. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(origination_rates=0)
  1862. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_caller_id_name=0744086022)
  1863. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_caller_id_name=27744086022)
  1864. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(receiver_accid=7)
  1865. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(domain_name=mbvit.nebular.co.za)
  1866. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(sip_to_host=mbvit.nebular.co.za)
  1867. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0103130001.* // 0103130001 // 0.00000||||||DID|||41.160.32.115)
  1868. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(call_type=10)
  1869. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(did_calltype=10)
  1870. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(did_extensions=1)
  1871. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(ringback=${au-ring})
  1872. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(module_name=pbx)
  1873. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(sip_h_P-call_type=custom_forward)
  1874. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(sip_h_P-Accountcode=7)
  1875. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_number=103)
  1876. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(no_answer_number=103)
  1877. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_call_type=extension)
  1878. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_call_type_value=103)
  1879. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(opensips_flag=0)
  1880. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(originate_disposition=no_key_press)
  1881. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(variable_sip_to_host=mbvit.nebular.co.za)
  1882. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(userinfo_id=3)
  1883. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(variable_sip_to_host=mbvit.nebular.co.za)
  1884. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_did_number=0103130001)
  1885. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(absolute_codec_string=PCMU,PCMA,G729)
  1886. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action answer()
  1887. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action ivr(Office IVR5)
  1888. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua)
  1889. 2022-07-26 07:22:04.243881 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE
  1890. 2022-07-26 07:22:04.243881 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0744086022@41.160.32.115:5060) State ROUTING going to sleep
  1891. 2022-07-26 07:22:04.243881 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 5 Tot 118020)
  1892. 2022-07-26 07:22:04.243881 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0744086022@41.160.32.115:5060) State EXECUTE
  1893. 2022-07-26 07:22:04.243881 [DEBUG] mod_sofia.c:198 sofia/default/0744086022@41.160.32.115:5060 SOFIA EXECUTE
  1894. 2022-07-26 07:22:04.243881 [DEBUG] switch_core_state_machine.c:328 sofia/default/0744086022@41.160.32.115:5060 Standard EXECUTE
  1895. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_destination_number=0103130001)
  1896. 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_destination_number]=[0103130001]
  1897. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  1898. 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1899. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1900. 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1901. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(callstart=2022-07-26 07:22:04)
  1902. 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [callstart]=[2022-07-26 07:22:04]
  1903. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(hangup_after_bridge=true)
  1904. 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [hangup_after_bridge]=[true]
  1905. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(continue_on_fail=TRUE)
  1906. 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [continue_on_fail]=[TRUE]
  1907. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(account_id=3)
  1908. 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [account_id]=[3]
  1909. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(parent_id=0)
  1910. 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [parent_id]=[0]
  1911. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(entity_id=3)
  1912. 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [entity_id]=[3]
  1913. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(call_processed=internal)
  1914. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [call_processed]=[internal]
  1915. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(call_direction=inbound)
  1916. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [call_direction]=[inbound]
  1917. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(accountname=default)
  1918. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [accountname]=[default]
  1919. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(filename1=astpp.pbx.lua)
  1920. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [filename1]=[astpp.pbx.lua]
  1921. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(origination_rates_did=ID:2007|CODE:^0103130001.*|DESTINATION:0103130001|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7)
  1922. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [origination_rates_did]=[ID:2007|CODE:^0103130001.*|DESTINATION:0103130001|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7]
  1923. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(origination_rates=0)
  1924. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [origination_rates]=[0]
  1925. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(original_caller_id_name=0744086022)
  1926. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [original_caller_id_name]=[0744086022]
  1927. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_caller_id_name=27744086022)
  1928. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_caller_id_name]=[27744086022]
  1929. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(receiver_accid=7)
  1930. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [receiver_accid]=[7]
  1931. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(domain_name=mbvit.nebular.co.za)
  1932. 2022-07-26 07:22:04.276220 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[mbvit.nebular.co.za]
  1933. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(sip_to_host=mbvit.nebular.co.za)
  1934. 2022-07-26 07:22:04.276220 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[mbvit.nebular.co.za]
  1935. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0103130001.* // 0103130001 // 0.00000||||||DID|||41.160.32.115)
  1936. 2022-07-26 07:22:04.276220 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0103130001.* // 0103130001 // 0.00000||||||DID|||41.160.32.115]
  1937. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(call_type=10)
  1938. 2022-07-26 07:22:04.276220 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[10]
  1939. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(did_calltype=10)
  1940. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [did_calltype]=[10]
  1941. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(did_extensions=1)
  1942. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [did_extensions]=[1]
  1943. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(ringback=%(400,200,383,417);%(400,2000,383,417))
  1944. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [ringback]=[%(400,200,383,417);%(400,2000,383,417)]
  1945. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(module_name=pbx)
  1946. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [module_name]=[pbx]
  1947. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(sip_h_P-call_type=custom_forward)
  1948. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [sip_h_P-call_type]=[custom_forward]
  1949. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(sip_h_P-Accountcode=7)
  1950. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [sip_h_P-Accountcode]=[7]
  1951. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(no_answer_number=103)
  1952. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [no_answer_number]=[103]
  1953. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(no_answer_number=103)
  1954. 2022-07-26 07:22:04.276220 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [no_answer_number]=[103]
  1955. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(no_answer_call_type=extension)
  1956. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [no_answer_call_type]=[extension]
  1957. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(no_answer_call_type_value=103)
  1958. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [no_answer_call_type_value]=[103]
  1959. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(opensips_flag=0)
  1960. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [opensips_flag]=[0]
  1961. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(originate_disposition=no_key_press)
  1962. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [originate_disposition]=[no_key_press]
  1963. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(variable_sip_to_host=mbvit.nebular.co.za)
  1964. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [variable_sip_to_host]=[mbvit.nebular.co.za]
  1965. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(userinfo_id=3)
  1966. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [userinfo_id]=[3]
  1967. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(variable_sip_to_host=mbvit.nebular.co.za)
  1968. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [variable_sip_to_host]=[mbvit.nebular.co.za]
  1969. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(original_did_number=0103130001)
  1970. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [original_did_number]=[0103130001]
  1971. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(absolute_codec_string=PCMU,PCMA,G729)
  1972. 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [absolute_codec_string]=[PCMU,PCMA,G729]
  1973. EXECUTE sofia/default/0744086022@41.160.32.115:5060 answer()
  1974. 2022-07-26 07:22:04.276220 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0744086022@41.160.32.115:5060] 156.38.231.107 port 18360 -> 41.160.32.115 port 20600 codec: 8 ms: 20
  1975. 2022-07-26 07:22:04.281808 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  1976. 2022-07-26 07:22:04.281808 [DEBUG] switch_core_media.c:7180 sofia/default/0744086022@41.160.32.115:5060 Set 2833 dtmf send payload to 116
  1977. 2022-07-26 07:22:04.281808 [DEBUG] switch_core_media.c:7187 sofia/default/0744086022@41.160.32.115:5060 Set 2833 dtmf receive payload to 116
  1978. 2022-07-26 07:22:04.281808 [DEBUG] switch_core_media.c:7210 sofia/default/0744086022@41.160.32.115:5060 Set rtp dtmf delay to 40
  1979. 2022-07-26 07:22:04.281808 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0744086022@41.160.32.115:5060:
  1980. v=0
  1981. o=FreeSWITCH 1658801764 1658801765 IN IP4 156.38.231.107
  1982. s=FreeSWITCH
  1983. c=IN IP4 156.38.231.107
  1984. t=0 0
  1985. m=audio 18360 RTP/AVP 8 116
  1986. a=rtpmap:8 PCMA/8000
  1987. a=rtpmap:116 telephone-event/8000
  1988. a=fmtp:116 0-16
  1989. a=ptime:20
  1990. a=sendrecv
  1991.  
  1992. 2022-07-26 07:22:04.281808 [NOTICE] mod_dptools.c:1312 Channel [sofia/default/0744086022@41.160.32.115:5060] has been answered
  1993. 2022-07-26 07:22:04.281808 [DEBUG] switch_channel.c:3773 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE
  1994. EXECUTE sofia/default/0744086022@41.160.32.115:5060 ivr(Office IVR5)
  1995. 2022-07-26 07:22:04.321341 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [ready][200]
  1996. 2022-07-26 07:22:04.462442 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [received][100]
  1997. 2022-07-26 07:22:04.462442 [DEBUG] sofia.c:7094 Remote SDP:
  1998. v=0
  1999. o=3cxPS 547071459328 205873217541 IN IP4 156.38.249.180
  2000. s=3cxPS Audio call
  2001. c=IN IP4 156.38.249.180
  2002. t=0 0
  2003. m=audio 10102 RTP/AVP 8 101
  2004. a=rtpmap:8 PCMA/8000
  2005. a=rtpmap:101 telephone-event/8000
  2006.  
  2007. 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exit'
  2008. 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-sub'
  2009. 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
  2010. 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
  2011. 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-back'
  2012. 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-top'
  2013. 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:880 building menu 'Office IVR5'
  2014. 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '1'
  2015. 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '2'
  2016. 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '3'
  2017. 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/'
  2018. 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu Office IVR5
  2019. 2022-07-26 07:22:04.542024 [DEBUG] sofia.c:7084 Channel sofia/default/0744086022@41.160.32.115:5060 entering state [completed][200]
  2020. 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms
  2021. 2022-07-26 07:22:04.571121 [DEBUG] sofia.c:7084 Channel sofia/default/0744086022@41.160.32.115:5060 entering state [ready][200]
  2022. 2022-07-26 07:22:04.590731 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  2023. 2022-07-26 07:22:04.720768 [DEBUG] switch_ivr_play_say.c:1942 done playing file local_stream://moh
  2024. 2022-07-26 07:22:04.720768 [DEBUG] switch_channel.c:2029 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change HELD -> UNHELD
  2025. 2022-07-26 07:22:04.720768 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2026. 2022-07-26 07:22:04.720768 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2027. 2022-07-26 07:22:04.720768 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  2028. 2022-07-26 07:22:04.720768 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  2029. 2022-07-26 07:22:04.720768 [DEBUG] switch_core_media.c:4767 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  2030. 2022-07-26 07:22:04.720768 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/611910@metrobus.nebular.co.za.
  2031. 2022-07-26 07:22:04.720768 [DEBUG] sofia.c:7999 Processing updated SDP
  2032. 2022-07-26 07:22:04.732266 [DEBUG] switch_core_io.c:941 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change UNHELD -> ACTIVE
  2033. 2022-07-26 07:22:04.732266 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [completed][200]
  2034. 2022-07-26 07:22:04.732266 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  2035. 2022-07-26 07:22:04.804560 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [ready][200]
  2036. 2022-07-26 07:22:06.520728 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF *:2248
  2037. 2022-07-26 07:22:06.520728 [INFO] switch_channel.c:515 RECV DTMF *:2248
  2038. 2022-07-26 07:22:06.530677 [DEBUG] switch_rtp.c:5261 Send start packet for [*] ts=3918098440 dur=160/160/2248 seq=25202 lw=3918098440
  2039. 2022-07-26 07:22:06.541311 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=320/320/2248 seq=25203 lw=3918098600
  2040. 2022-07-26 07:22:06.570673 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=480/480/2248 seq=25204 lw=3918098760
  2041. 2022-07-26 07:22:06.583210 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=640/640/2248 seq=25205 lw=3918098920
  2042. 2022-07-26 07:22:06.613069 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=800/800/2248 seq=25206 lw=3918099080
  2043. 2022-07-26 07:22:06.622988 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=960/960/2248 seq=25207 lw=3918099240
  2044. 2022-07-26 07:22:06.650944 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=1120/1120/2248 seq=25208 lw=3918099400
  2045. 2022-07-26 07:22:06.663904 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=1280/1280/2248 seq=25209 lw=3918099560
  2046. 2022-07-26 07:22:06.683020 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=1440/1440/2248 seq=25210 lw=3918099720
  2047. 2022-07-26 07:22:06.711464 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=1600/1600/2248 seq=25211 lw=3918099880
  2048. 2022-07-26 07:22:06.711464 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [received][100]
  2049. 2022-07-26 07:22:06.711464 [DEBUG] sofia.c:7094 Remote SDP:
  2050. v=0
  2051. o=3cxPS 547071459328 205873217542 IN IP4 156.38.249.180
  2052. s=3cxPS Audio call
  2053. c=IN IP4 156.38.249.180
  2054. t=0 0
  2055. m=audio 10102 RTP/AVP 8 101
  2056. a=rtpmap:8 PCMA/8000
  2057. a=rtpmap:101 telephone-event/8000
  2058. a=sendonly
  2059.  
  2060. 2022-07-26 07:22:06.711464 [DEBUG] switch_channel.c:1844 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change ACTIVE -> HELD
  2061. 2022-07-26 07:22:06.860659 [DEBUG] switch_ivr.c:623 sofia/default/0113866000@41.160.32.115:5060 Command Execute playback(local_stream://moh)
  2062. EXECUTE sofia/default/0113866000@41.160.32.115:5060 playback(local_stream://moh)
  2063. 2022-07-26 07:22:06.860659 [DEBUG] mod_local_stream.c:871 Opening Stream [moh/8000] 8000hz
  2064. 2022-07-26 07:22:06.860659 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms
  2065. 2022-07-26 07:22:06.960724 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2066. 2022-07-26 07:22:06.960724 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2067. 2022-07-26 07:22:06.960724 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  2068. 2022-07-26 07:22:06.960724 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  2069. 2022-07-26 07:22:06.960724 [DEBUG] switch_core_media.c:4767 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  2070. 2022-07-26 07:22:06.960724 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/611910@metrobus.nebular.co.za.
  2071. 2022-07-26 07:22:06.960724 [DEBUG] sofia.c:7999 Processing updated SDP
  2072. 2022-07-26 07:22:06.960724 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=1760/1760/2248 seq=25212 lw=3918100040
  2073. 2022-07-26 07:22:06.980697 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [completed][200]
  2074. 2022-07-26 07:22:06.980697 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=1920/1920/2248 seq=25213 lw=3918100200
  2075. 2022-07-26 07:22:07.000715 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=2080/2080/2248 seq=25214 lw=3918100360
  2076. 2022-07-26 07:22:07.020685 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=2240/2240/2248 seq=25215 lw=3918100520
  2077. 2022-07-26 07:22:07.040712 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=3918098440 dur=2400/2400/2248 seq=25216 lw=3918100520
  2078. 2022-07-26 07:22:07.040712 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=3918098440 dur=2400/2400/2248 seq=25217 lw=3918100520
  2079. 2022-07-26 07:22:07.040712 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=3918098440 dur=2400/2400/2248 seq=25218 lw=3918100520
  2080. 2022-07-26 07:22:07.040712 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms
  2081. 2022-07-26 07:22:07.084613 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [ready][200]
  2082. 2022-07-26 07:22:07.283002 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [received][100]
  2083. 2022-07-26 07:22:07.283002 [DEBUG] sofia.c:7094 Remote SDP:
  2084. v=0
  2085. o=3cxPS 547071459328 205873217543 IN IP4 156.38.249.180
  2086. s=3cxPS Audio call
  2087. c=IN IP4 156.38.249.180
  2088. t=0 0
  2089. m=audio 10102 RTP/AVP 8 101
  2090. a=rtpmap:8 PCMA/8000
  2091. a=rtpmap:101 telephone-event/8000
  2092.  
  2093. 2022-07-26 07:22:07.340691 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 1:800
  2094. 2022-07-26 07:22:07.340691 [INFO] switch_channel.c:515 RECV DTMF 1:800
  2095. 2022-07-26 07:22:07.340691 [DEBUG] switch_ivr_play_say.c:1942 done playing file /var/www/html/astpp/upload/pbx/mbvit_.wav
  2096. 2022-07-26 07:22:07.340691 [DEBUG] switch_ivr_menu.c:377 waiting for 19/20 digits t/o 2000
  2097. 2022-07-26 07:22:07.560982 [DEBUG] switch_ivr_play_say.c:1942 done playing file local_stream://moh
  2098. 2022-07-26 07:22:07.560982 [DEBUG] switch_channel.c:2029 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change HELD -> UNHELD
  2099. 2022-07-26 07:22:07.560982 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2100. 2022-07-26 07:22:07.560982 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2101. 2022-07-26 07:22:07.560982 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  2102. 2022-07-26 07:22:07.560982 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  2103. 2022-07-26 07:22:07.560982 [DEBUG] switch_core_media.c:4767 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  2104. 2022-07-26 07:22:07.560982 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/611910@metrobus.nebular.co.za.
  2105. 2022-07-26 07:22:07.560982 [DEBUG] sofia.c:7999 Processing updated SDP
  2106. 2022-07-26 07:22:07.560982 [DEBUG] switch_core_io.c:941 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change UNHELD -> ACTIVE
  2107. 2022-07-26 07:22:07.570676 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [completed][200]
  2108. 2022-07-26 07:22:07.590932 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  2109. 2022-07-26 07:22:07.631981 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [ready][200]
  2110. 2022-07-26 07:22:08.805616 [NOTICE] switch_channel.c:1104 New Channel sofia/default/27124713846@ecic.nebular.co.za:5060 [a8c05452-0cb3-11ed-bb54-d3f1ef10c389]
  2111. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124713846@ecic.nebular.co.za:5060) Running State Change CS_NEW (Cur 6 Tot 118021)
  2112. 2022-07-26 07:22:08.805616 [DEBUG] sofia.c:9873 sofia/default/27124713846@ecic.nebular.co.za:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  2113. 2022-07-26 07:22:08.805616 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  2114. 2022-07-26 07:22:08.805616 [DEBUG] sofia.c:7084 Channel sofia/default/27124713846@ecic.nebular.co.za:5060 entering state [received][100]
  2115. 2022-07-26 07:22:08.805616 [DEBUG] sofia.c:7094 Remote SDP:
  2116. v=0
  2117. o=3cxPS 359720288256 364820561921 IN IP4 156.38.249.182
  2118. s=3cxPS Audio call
  2119. c=IN IP4 156.38.249.182
  2120. t=0 0
  2121. m=audio 9430 RTP/AVP 8 0 18 101
  2122. a=rtpmap:8 PCMA/8000
  2123. a=rtpmap:0 PCMU/8000
  2124. a=rtpmap:18 G729/8000
  2125. a=fmtp:18 annexb=no
  2126. a=rtpmap:101 telephone-event/8000
  2127.  
  2128. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  2129. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  2130. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2131. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2132. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2133. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  2134. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  2135. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2136. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2137. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  2138. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  2139. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:60:8000:1] ++++ is saved as a match
  2140. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  2141. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  2142. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  2143. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  2144. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  2145. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/27124713846@ecic.nebular.co.za:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  2146. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_codec.c:111 sofia/default/27124713846@ecic.nebular.co.za:5060 Original read codec set to PCMA:8
  2147. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  2148. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4767 sofia/default/27124713846@ecic.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  2149. 2022-07-26 07:22:08.805616 [DEBUG] sofia.c:7507 (sofia/default/27124713846@ecic.nebular.co.za:5060) State Change CS_NEW -> CS_INIT
  2150. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:603 (sofia/default/27124713846@ecic.nebular.co.za:5060) State NEW
  2151. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124713846@ecic.nebular.co.za:5060) Running State Change CS_INIT (Cur 6 Tot 118021)
  2152. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27124713846@ecic.nebular.co.za:5060) State INIT
  2153. 2022-07-26 07:22:08.805616 [DEBUG] mod_sofia.c:90 sofia/default/27124713846@ecic.nebular.co.za:5060 SOFIA INIT
  2154. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:40 sofia/default/27124713846@ecic.nebular.co.za:5060 Standard INIT
  2155. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:48 (sofia/default/27124713846@ecic.nebular.co.za:5060) State Change CS_INIT -> CS_ROUTING
  2156. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27124713846@ecic.nebular.co.za:5060) State INIT going to sleep
  2157. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124713846@ecic.nebular.co.za:5060) Running State Change CS_ROUTING (Cur 6 Tot 118021)
  2158. 2022-07-26 07:22:08.805616 [DEBUG] switch_channel.c:2249 (sofia/default/27124713846@ecic.nebular.co.za:5060) Callstate Change DOWN -> RINGING
  2159. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27124713846@ecic.nebular.co.za:5060) State ROUTING
  2160. 2022-07-26 07:22:08.805616 [DEBUG] mod_sofia.c:143 sofia/default/27124713846@ecic.nebular.co.za:5060 SOFIA ROUTING
  2161. 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:236 sofia/default/27124713846@ecic.nebular.co.za:5060 Standard ROUTING
  2162. 2022-07-26 07:22:08.805616 [INFO] mod_dialplan_xml.c:637 Processing 0124713800 <0124713800>->0119368421 in context default
  2163. 2022-07-26 07:22:08.805616 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ea43083f0 Connected.
  2164. 2022-07-26 07:22:08.805616 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  2165. 2022-07-26 07:22:08.870671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2166. 2022-07-26 07:22:08.912367 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  2167. 2022-07-26 07:22:08.912367 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0119368421
  2168. 2022-07-26 07:22:08.912367 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0119368421' limit 1
  2169. 2022-07-26 07:22:08.972179 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0119368421' AND status=0 limit 1
  2170. 2022-07-26 07:22:09.040660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0119368421' and status=0 LIMIT 1
  2171. 2022-07-26 07:22:09.110657 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  2172. 2022-07-26 07:22:09.110657 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 27124713800 / 27124713800
  2173. 2022-07-26 07:22:09.110657 [DEBUG] switch_cpp.cpp:1365 [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 ="0119368421" LIMIT 1
  2174. 2022-07-26 07:22:09.160669 [DEBUG] switch_cpp.cpp:1365 [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="0119368421"  AND domains.domain="ecic.nebular.co.za" limit 1
  2175. 2022-07-26 07:22:09.192303 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  2176. 2022-07-26 07:22:09.192303 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 993160]
  2177. 2022-07-26 07:22:09.192303 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "993160" AND deleted = 0 limit 1
  2178. 2022-07-26 07:22:09.260666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0119368421.*' OR blocked_patterns = '^011936842.*' OR blocked_patterns = '^01193684.*' OR blocked_patterns = '^0119368.*' OR blocked_patterns = '^011936.*' OR blocked_patterns = '^01193.*' OR blocked_patterns = '^0119.*' OR blocked_patterns = '^011.*' OR blocked_patterns = '^01.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 65 limit 1
  2179. 2022-07-26 07:22:09.320677 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0119368421" AND (accountid = 0 OR status = 1) LIMIT 1
  2180. 2022-07-26 07:22:09.360668 [DEBUG] switch_ivr_menu.c:424 digits '1'
  2181. 2022-07-26 07:22:09.360668 [DEBUG] switch_ivr_menu.c:577 IVR action on menu 'Office IVR5' matched '1' param 'transfer ${original_did_number}#PBX#7#21 XML ${domain_name}'
  2182. 2022-07-26 07:22:09.360668 [DEBUG] switch_ivr_menu.c:581 switch_ivr_menu_execute todo=[2]
  2183. EXECUTE sofia/default/0744086022@41.160.32.115:5060 transfer(0103130001#PBX#7#21 XML mbvit.nebular.co.za)
  2184. 2022-07-26 07:22:09.360668 [DEBUG] switch_ivr.c:2165 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_EXECUTE -> CS_ROUTING
  2185. 2022-07-26 07:22:09.360668 [NOTICE] switch_ivr.c:2172 Transfer sofia/default/0744086022@41.160.32.115:5060 to XML[0103130001#PBX#7#21@mbvit.nebular.co.za]
  2186. 2022-07-26 07:22:09.360668 [DEBUG] switch_ivr_menu.c:559 action regex [1] [/^(\d{2,20})$/] [0]
  2187. 2022-07-26 07:22:09.360668 [DEBUG] switch_ivr_menu.c:673 exit-sound '(null)'
  2188. 2022-07-26 07:22:09.360668 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0744086022@41.160.32.115:5060) State EXECUTE going to sleep
  2189. 2022-07-26 07:22:09.360668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 6 Tot 118021)
  2190. 2022-07-26 07:22:09.360668 [DEBUG] switch_channel.c:2249 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change ACTIVE -> RINGING
  2191. 2022-07-26 07:22:09.360668 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0744086022@41.160.32.115:5060) State ROUTING
  2192. 2022-07-26 07:22:09.360668 [DEBUG] mod_sofia.c:143 sofia/default/0744086022@41.160.32.115:5060 SOFIA ROUTING
  2193. 2022-07-26 07:22:09.360668 [DEBUG] switch_core_state_machine.c:236 sofia/default/0744086022@41.160.32.115:5060 Standard ROUTING
  2194. 2022-07-26 07:22:09.360668 [INFO] mod_dialplan_xml.c:637 Processing 0744086022 <0744086022>->0103130001#PBX#7#21 in context mbvit.nebular.co.za
  2195. 2022-07-26 07:22:09.370663 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 1
  2196. 2022-07-26 07:22:09.370663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  2197. 2022-07-26 07:22:09.435644 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3eac16f0d0 Connected.
  2198. 2022-07-26 07:22:09.435644 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  2199. 2022-07-26 07:22:09.471945 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0".....0119368421
  2200. 2022-07-26 07:22:09.471945 [DEBUG] switch_cpp.cpp:1365 [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 = '^0119368421.*' OR patterns = '^011936842.*' OR patterns = '^01193684.*' OR patterns = '^0119368.*' OR patterns = '^011936.*' OR patterns = '^01193.*' OR patterns = '^0119.*' OR patterns = '^011.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 65 ORDER BY LENGTH(PKGPTR.patterns) DESC
  2201. 2022-07-26 07:22:09.471945 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2202. 2022-07-26 07:22:09.521240 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  2203. 2022-07-26 07:22:09.521240 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0103130001#PBX#7#21
  2204. 2022-07-26 07:22:09.521240 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0103130001#PBX#7#21' limit 1
  2205. 2022-07-26 07:22:09.541351 [DEBUG] switch_cpp.cpp:1365 [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 ="0119368421" AND A.accountid = '65' limit 1
  2206. 2022-07-26 07:22:09.541351 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0103130001#PBX#7#21' AND status=0 limit 1
  2207. 2022-07-26 07:22:09.581951 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0119368421
  2208. 2022-07-26 07:22:09.581951 [DEBUG] switch_cpp.cpp:1365 [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 ="0119368421" LIMIT 1
  2209. 2022-07-26 07:22:09.601430 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0103130001#PBX#7#21' and status=0 LIMIT 1
  2210. 2022-07-26 07:22:09.611973 [DEBUG] switch_cpp.cpp:1365 [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="0119368421"  AND domains.domain="ecic.nebular.co.za" limit 1
  2211. 2022-07-26 07:22:09.633246 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  2212. 2022-07-26 07:22:09.633246 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 0744086022 / 0744086022
  2213. 2022-07-26 07:22:09.633246 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  2214. 2022-07-26 07:22:09.662744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : outbound
  2215. 2022-07-26 07:22:09.662744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0119368421' OR number = '011936842' OR number = '01193684' OR number = '0119368' OR number = '011936' OR number = '01193' OR number = '0119' OR number = '011' OR number = '01' OR number = '0' OR number ='--') OR (number = '0119368421*' OR number = '011936842*' OR number = '01193684*' OR number = '0119368*' OR number = '011936*' OR number = '01193*' OR number = '0119*' OR number = '011*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '27124713800' OR number = '2712471380' OR number = '271247138' OR number = '27124713' OR number = '2712471' OR number = '271247' OR number = '27124' OR number = '2712' OR number = '271' OR number = '27' OR number = '2' OR number ='--') OR (number = '27124713800*' OR number = '2712471380*' OR number = '271247138*' OR number = '27124713*' OR number = '2712471*' OR number = '271247*' OR number = '27124*' OR number = '2712*' OR number = '271*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  2216. 2022-07-26 07:22:09.662744 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainmbvit.nebular.co.za
  2217. 2022-07-26 07:22:09.662744 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001" LIMIT 1
  2218. 2022-07-26 07:22:09.704491 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  2219. 2022-07-26 07:22:09.704491 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 7]
  2220. 2022-07-26 07:22:09.704491 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  2221. 2022-07-26 07:22:09.721279 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  2222. 2022-07-26 07:22:09.721279 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0119368421' OR routing_prefix = '011936842' OR routing_prefix = '01193684' OR routing_prefix = '0119368' OR routing_prefix = '011936' OR routing_prefix = '01193' OR routing_prefix = '0119' OR routing_prefix = '011' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1
  2223. 2022-07-26 07:22:09.761155 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Get Destination Number (0119368421)!!!!
  2224. 2022-07-26 07:22:09.761155 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Ported Number :27119368421
  2225. 2022-07-26 07:22:09.761155 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27119368421' limit 1
  2226. 2022-07-26 07:22:09.761155 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0103130001#PBX#7#21" AND (accountid = 0 OR status = 1) LIMIT 1
  2227. 2022-07-26 07:22:09.803222 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (0119368421)!!!!
  2228. 2022-07-26 07:22:09.820663 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3
  2229. 2022-07-26 07:22:09.820663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1
  2230. 2022-07-26 07:22:09.851060 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  2231. 2022-07-26 07:22:09.851060 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 65
  2232. 2022-07-26 07:22:09.851060 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 993160
  2233. 2022-07-26 07:22:09.851060 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 2105.90307
  2234. 2022-07-26 07:22:09.851060 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  2235. 2022-07-26 07:22:09.851060 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 81
  2236. 2022-07-26 07:22:09.851060 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  2237. 2022-07-26 07:22:09.851060 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  2238. 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27124713800
  2239. 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27124713800
  2240. 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27124713800
  2241. 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27124713800
  2242. 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27124713800
  2243. 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27124713800
  2244. 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27124713800
  2245. 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27124713800
  2246. 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0
  2247. 2022-07-26 07:22:09.861038 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  2248. 2022-07-26 07:22:09.861038 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  2249. 2022-07-26 07:22:09.861038 [DEBUG] switch_cpp.cpp:1365 [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 = '^0103130001#PBX#7#21.*' OR patterns = '^0103130001#PBX#7#2.*' OR patterns = '^0103130001#PBX#7#.*' OR patterns = '^0103130001#PBX#7.*' OR patterns = '^0103130001#PBX#.*' OR patterns = '^0103130001#PBX.*' OR patterns = '^0103130001#PB.*' OR patterns = '^0103130001#P.*' OR patterns = '^0103130001#.*' OR patterns = '^0103130001.*' OR patterns = '^010313000.*' OR patterns = '^01031300.*' OR patterns = '^0103130.*' OR patterns = '^010313.*' OR patterns = '^01031.*' OR patterns = '^0103.*' OR patterns = '^010.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  2250. 2022-07-26 07:22:09.891775 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001#PBX#7#21" AND A.accountid = '7' limit 1
  2251. 2022-07-26 07:22:09.931845 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0103130001#PBX#7#21
  2252. 2022-07-26 07:22:09.931845 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001" LIMIT 1
  2253. 2022-07-26 07:22:09.944664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  2254. 2022-07-26 07:22:09.944664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0
  2255. 2022-07-26 07:22:09.965270 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound
  2256. 2022-07-26 07:22:09.965270 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0103130001#PBX#7#21' OR number = '0103130001#PBX#7#2' OR number = '0103130001#PBX#7#' OR number = '0103130001#PBX#7' OR number = '0103130001#PBX#' OR number = '0103130001#PBX' OR number = '0103130001#PB' OR number = '0103130001#P' OR number = '0103130001#' OR number = '0103130001' OR number = '010313000' OR number = '01031300' OR number = '0103130' OR number = '010313' OR number = '01031' OR number = '0103' OR number = '010' OR number = '01' OR number = '0' OR number ='--') OR (number = '0103130001#PBX#7#21*' OR number = '0103130001#PBX#7#2*' OR number = '0103130001#PBX#7#*' OR number = '0103130001#PBX#7*' OR number = '0103130001#PBX#*' OR number = '0103130001#PBX*' OR number = '0103130001#PB*' OR number = '0103130001#P*' OR number = '0103130001#*' OR number = '0103130001*' OR number = '010313000*' OR number = '01031300*' OR number = '0103130*' OR number = '010313*' OR number = '01031*' OR number = '0103*' OR number = '010*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '0744086022' OR number = '074408602' OR number = '07440860' OR number = '0744086' OR number = '074408' OR number = '07440' OR number = '0744' OR number = '074' OR number = '07' OR number = '0' OR number ='--') OR (number = '0744086022*' OR number = '074408602*' OR number = '07440860*' OR number = '0744086*' OR number = '074408*' OR number = '07440*' OR number = '0744*' OR number = '074*' OR number = '07*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  2257. 2022-07-26 07:22:10.001429 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  2258. 2022-07-26 07:22:10.001429 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0103130001#PBX#7#21' OR routing_prefix = '0103130001#PBX#7#2' OR routing_prefix = '0103130001#PBX#7#' OR routing_prefix = '0103130001#PBX#7' OR routing_prefix = '0103130001#PBX#' OR routing_prefix = '0103130001#PBX' OR routing_prefix = '0103130001#PB' OR routing_prefix = '0103130001#P' OR routing_prefix = '0103130001#' OR routing_prefix = '0103130001' OR routing_prefix = '010313000' OR routing_prefix = '01031300' OR routing_prefix = '0103130' OR routing_prefix = '010313' OR routing_prefix = '01031' OR routing_prefix = '0103' OR routing_prefix = '010' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1
  2259. 2022-07-26 07:22:10.020665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0119368421.*' OR pattern = '^011936842.*' OR pattern = '^01193684.*' OR pattern = '^0119368.*' OR pattern = '^011936.*' OR pattern = '^01193.*' OR pattern = '^0119.*' OR pattern = '^011.*' OR pattern = '^01.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 81 OR accountid=65)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  2260. 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : outbound
  2261. 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  2262. 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1792677
  2263. 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  2264. 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  2265. 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.49000
  2266. 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D000-TELKOMGNP
  2267. 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  2268. 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 65
  2269. 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  2270. 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  2271. 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  2272. 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your2105.90307 balance Accountid 65 !!!
  2273. 2022-07-26 07:22:10.060662 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  2274. 2022-07-26 07:22:10.060662 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 5
  2275. 2022-07-26 07:22:10.060662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  2276. 2022-07-26 07:22:10.092986 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  2277. 2022-07-26 07:22:10.092986 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 7
  2278. 2022-07-26 07:22:10.092986 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 862977
  2279. 2022-07-26 07:22:10.092986 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 2183.7794
  2280. 2022-07-26 07:22:10.092986 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  2281. 2022-07-26 07:22:10.092986 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 81
  2282. 2022-07-26 07:22:10.092986 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  2283. 2022-07-26 07:22:10.092986 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  2284. 2022-07-26 07:22:10.092986 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0
  2285. 2022-07-26 07:22:10.104622 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0119368421.*' OR blocked_patterns = '^011936842.*' OR blocked_patterns = '^01193684.*' OR blocked_patterns = '^0119368.*' OR blocked_patterns = '^011936.*' OR blocked_patterns = '^01193.*' OR blocked_patterns = '^0119.*' OR blocked_patterns = '^011.*' OR blocked_patterns = '^01.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 5 limit 1
  2286. 2022-07-26 07:22:10.144187 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information ===================
  2287. 2022-07-26 07:22:10.144187 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 5
  2288. 2022-07-26 07:22:10.144187 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8566036685
  2289. 2022-07-26 07:22:10.144187 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1985.3704
  2290. 2022-07-26 07:22:10.144187 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  2291. 2022-07-26 07:22:10.144187 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83
  2292. 2022-07-26 07:22:10.144187 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  2293. 2022-07-26 07:22:10.181574 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  2294. 2022-07-26 07:22:10.181574 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  2295. 2022-07-26 07:22:10.202949 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  2296. 2022-07-26 07:22:10.202949 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001" LIMIT 1
  2297. 2022-07-26 07:22:10.221840 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0119368421.*' OR pattern = '^011936842.*' OR pattern = '^01193684.*' OR pattern = '^0119368.*' OR pattern = '^011936.*' OR pattern = '^01193.*' OR pattern = '^0119.*' OR pattern = '^011.*' OR pattern = '^01.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 83 OR accountid=5)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  2298. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : outbound
  2299. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  2300. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1416515
  2301. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  2302. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  2303. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.29000
  2304. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D000-TELKOMGNP
  2305. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  2306. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 5
  2307. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  2308. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  2309. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  2310. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1985.3704 balance Accountid 5 !!!
  2311. 2022-07-26 07:22:10.261348 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  2312. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:1792677|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:65||ID:1416515|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5
  2313. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  2314. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1
  2315. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  2316. 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1792677
  2317. 2022-07-26 07:22:10.261348 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :0
  2318. 2022-07-26 07:22:10.261348 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=83 ORDER by id asc
  2319. 2022-07-26 07:22:10.293150 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^0119368421.*' OR pattern = '^011936842.*' OR pattern = '^01193684.*' OR pattern = '^0119368.*' OR pattern = '^011936.*' OR pattern = '^01193.*' OR pattern = '^0119.*' OR pattern = '^011.*' OR pattern = '^01.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5,7) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  2320. 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  2321. 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  2322. 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2007
  2323. 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  2324. 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  2325. 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  2326. 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0103130001#PBX#7#21
  2327. 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  2328. 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 7
  2329. 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  2330. 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your2183.7794 balance Accountid 7 !!!
  2331. 2022-07-26 07:22:10.311308 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  2332. 2022-07-26 07:22:10.311308 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 5
  2333. 2022-07-26 07:22:10.311308 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  2334. 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  2335. 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 183
  2336. 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^0.*
  2337. 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : SA
  2338. 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  2339. 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  2340. 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^0.*
  2341. 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip :
  2342. 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend :
  2343. 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 5
  2344. 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : liquid_primary
  2345. 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  2346. 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  2347. 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3
  2348. 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  2349. 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Liquid
  2350. 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  2351. 2022-07-26 07:22:10.372032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 65 AND status=0 LIMIT 1
  2352. 2022-07-26 07:22:10.412587 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  2353. 2022-07-26 07:22:10.412587 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2354. 2022-07-26 07:22:10.431637 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information ===================
  2355. 2022-07-26 07:22:10.431637 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 5
  2356. 2022-07-26 07:22:10.431637 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8566036685
  2357. 2022-07-26 07:22:10.431637 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1985.3704
  2358. 2022-07-26 07:22:10.431637 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  2359. 2022-07-26 07:22:10.431637 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83
  2360. 2022-07-26 07:22:10.431637 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  2361. 2022-07-26 07:22:10.444374 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  2362. 2022-07-26 07:22:10.444374 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
  2363. 2022-07-26 07:22:10.444374 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  2364. 2022-07-26 07:22:10.482117 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 5) AND status=0 limit 1
  2365. 2022-07-26 07:22:10.522469 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+27/0".....0119368421
  2366. 2022-07-26 07:22:10.522469 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  2367. 2022-07-26 07:22:10.551721 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  2368. 2022-07-26 07:22:10.551721 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001" LIMIT 1
  2369. 2022-07-26 07:22:10.561912 [DEBUG] switch_cpp.cpp:1365 [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 ="0119368421" LIMIT 1
  2370. 2022-07-26 07:22:10.601953 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  2371. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2372. <document type="freeswitch/xml">
  2373. <section name="dialplan" description="ASTPP Dialplan">
  2374. <context name="default">
  2375. <extension name="0119368421">
  2376. <condition field="destination_number" expression="0119368421">
  2377. <action application="set" data="effective_destination_number=0119368421"/>
  2378. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  2379. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  2380. <action application="set" data="callstart=2022-07-26 07:22:10"/>
  2381. <action application="set" data="hangup_after_bridge=true"/>
  2382. <action application="set" data="continue_on_fail=TRUE"/>
  2383. <action application="set" data="account_id=65"/>
  2384. <action application="set" data="parent_id=5"/>
  2385. <action application="set" data="entity_id=0"/>
  2386. <action application="set" data="call_processed=internal"/>
  2387. <action application="set" data="call_direction=outbound"/>
  2388. <action application="set" data="accountname=default"/>
  2389. <action application="set" data="filename1=astpp.pbx.lua"/>
  2390. <action application="set" data="origination_rates=ID:1792677|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:65||ID:1416515|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5"/>
  2391. <action application="set" data="original_caller_id_name=27124713800"/>
  2392. <action application="set" data="original_caller_id_number=27124713800"/>
  2393. <action application="limit" data="db 993160 user_993160 10 "/>
  2394. <action application="limit" data="db 8566036685 user_8566036685 20 "/>
  2395. <action application="set" data="effective_caller_id_name=27124713800"/>
  2396. <action application="set" data="effective_caller_id_number=27124713800"/>
  2397. <action application="set" data="calltype=STANDARD"/>
  2398. <action application="set" data="termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3"/>
  2399. <action application="set" data="trunk_id=5"/>
  2400. <action application="set" data="provider_id=3"/>
  2401. <action application="set" data="rate_flag=0"/>
  2402. <action application="set" data="force_trunk_flag=1792677"/>
  2403. <action application="export" data="presence_data=trunk_id=5"/>
  2404. <action application="set" data="intcall=0"/>
  2405. <action application="export" data="presence_data=x//5|||ECIC(993160)|||^011936.* // D000-TELKOMGNP // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^011936.* // D000-TELKOMGNP"/>
  2406. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0119368421;fs_path=sip:156.38.231.106:5060"/>
  2407. </condition>
  2408. </extension>
  2409. </context>
  2410. </document>
  2411. 2022-07-26 07:22:10.601953 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ea43083f0 released.
  2412. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 parsing [default->0119368421] continue=false
  2413. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Regex (PASS) [0119368421] destination_number(0119368421) =~ /0119368421/ break=on-false
  2414. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(effective_destination_number=0119368421)
  2415. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  2416. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2417. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(callstart=2022-07-26 07:22:10)
  2418. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(hangup_after_bridge=true)
  2419. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(continue_on_fail=TRUE)
  2420. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(account_id=65)
  2421. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(parent_id=5)
  2422. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(entity_id=0)
  2423. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(call_processed=internal)
  2424. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(call_direction=outbound)
  2425. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(accountname=default)
  2426. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(filename1=astpp.pbx.lua)
  2427. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(origination_rates=ID:1792677|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:65||ID:1416515|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5)
  2428. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(original_caller_id_name=27124713800)
  2429. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(original_caller_id_number=27124713800)
  2430. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action limit(db 993160 user_993160 10 )
  2431. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action limit(db 8566036685 user_8566036685 20 )
  2432. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(effective_caller_id_name=27124713800)
  2433. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(effective_caller_id_number=27124713800)
  2434. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(calltype=STANDARD)
  2435. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3)
  2436. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(trunk_id=5)
  2437. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(provider_id=3)
  2438. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(rate_flag=0)
  2439. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(force_trunk_flag=1792677)
  2440. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action export(presence_data=trunk_id=5)
  2441. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(intcall=0)
  2442. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action export(presence_data=x//5|||ECIC(993160)|||^011936.* // D000-TELKOMGNP // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^011936.* // D000-TELKOMGNP)
  2443. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0119368421;fs_path=sip:156.38.231.106:5060)
  2444. 2022-07-26 07:22:10.601953 [DEBUG] switch_core_state_machine.c:286 (sofia/default/27124713846@ecic.nebular.co.za:5060) State Change CS_ROUTING -> CS_EXECUTE
  2445. 2022-07-26 07:22:10.601953 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27124713846@ecic.nebular.co.za:5060) State ROUTING going to sleep
  2446. 2022-07-26 07:22:10.601953 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124713846@ecic.nebular.co.za:5060) Running State Change CS_EXECUTE (Cur 6 Tot 118021)
  2447. 2022-07-26 07:22:10.601953 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27124713846@ecic.nebular.co.za:5060) State EXECUTE
  2448. 2022-07-26 07:22:10.601953 [DEBUG] mod_sofia.c:198 sofia/default/27124713846@ecic.nebular.co.za:5060 SOFIA EXECUTE
  2449. 2022-07-26 07:22:10.601953 [DEBUG] switch_core_state_machine.c:328 sofia/default/27124713846@ecic.nebular.co.za:5060 Standard EXECUTE
  2450. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(effective_destination_number=0119368421)
  2451. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [effective_destination_number]=[0119368421]
  2452. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  2453. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  2454. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2455. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  2456. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(callstart=2022-07-26 07:22:10)
  2457. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [callstart]=[2022-07-26 07:22:10]
  2458. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(hangup_after_bridge=true)
  2459. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [hangup_after_bridge]=[true]
  2460. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(continue_on_fail=TRUE)
  2461. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [continue_on_fail]=[TRUE]
  2462. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(account_id=65)
  2463. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [account_id]=[65]
  2464. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(parent_id=5)
  2465. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [parent_id]=[5]
  2466. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(entity_id=0)
  2467. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [entity_id]=[0]
  2468. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(call_processed=internal)
  2469. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [call_processed]=[internal]
  2470. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(call_direction=outbound)
  2471. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [call_direction]=[outbound]
  2472. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(accountname=default)
  2473. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [accountname]=[default]
  2474. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(filename1=astpp.pbx.lua)
  2475. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [filename1]=[astpp.pbx.lua]
  2476. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(origination_rates=ID:1792677|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:65||ID:1416515|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5)
  2477. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [origination_rates]=[ID:1792677|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:65||ID:1416515|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5]
  2478. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(original_caller_id_name=27124713800)
  2479. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [original_caller_id_name]=[27124713800]
  2480. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(original_caller_id_number=27124713800)
  2481. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [original_caller_id_number]=[27124713800]
  2482. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 limit(db 993160 user_993160 10 )
  2483. 2022-07-26 07:22:10.601953 [DEBUG] switch_limit.c:126 incr called: 993160_user_993160 max:10, interval:0
  2484. 2022-07-26 07:22:10.601953 [DEBUG] mod_db.c:194 Usage for 993160_user_993160 is now 1/10
  2485. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 limit(db 8566036685 user_8566036685 20 )
  2486. 2022-07-26 07:22:10.601953 [DEBUG] switch_limit.c:126 incr called: 8566036685_user_8566036685 max:20, interval:0
  2487. 2022-07-26 07:22:10.601953 [DEBUG] mod_db.c:194 Usage for 8566036685_user_8566036685 is now 1/20
  2488. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(effective_caller_id_name=27124713800)
  2489. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [effective_caller_id_name]=[27124713800]
  2490. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(effective_caller_id_number=27124713800)
  2491. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [effective_caller_id_number]=[27124713800]
  2492. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(calltype=STANDARD)
  2493. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [calltype]=[STANDARD]
  2494. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3)
  2495. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [termination_rates]=[ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3]
  2496. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(trunk_id=5)
  2497. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [trunk_id]=[5]
  2498. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(provider_id=3)
  2499. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [provider_id]=[3]
  2500. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(rate_flag=0)
  2501. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [rate_flag]=[0]
  2502. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(force_trunk_flag=1792677)
  2503. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [force_trunk_flag]=[1792677]
  2504. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 export(presence_data=trunk_id=5)
  2505. 2022-07-26 07:22:10.601953 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=5]
  2506. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(intcall=0)
  2507. 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [intcall]=[0]
  2508. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 export(presence_data=x//5|||ECIC(993160)|||^011936.* // D000-TELKOMGNP // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^011936.* // D000-TELKOMGNP)
  2509. 2022-07-26 07:22:10.601953 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//5|||ECIC(993160)|||^011936.* // D000-TELKOMGNP // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^011936.* // D000-TELKOMGNP]
  2510. EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0119368421;fs_path=sip:156.38.231.106:5060)
  2511. 2022-07-26 07:22:10.601953 [DEBUG] switch_channel.c:1250 sofia/default/27124713846@ecic.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//5|||ECIC(993160)|||^011936.* // D000-TELKOMGNP // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^011936.* // D000-TELKOMGNP] to event
  2512. 2022-07-26 07:22:10.601953 [DEBUG] switch_channel.c:1250 sofia/default/27124713846@ecic.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//5|||ECIC(993160)|||^011936.* // D000-TELKOMGNP // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^011936.* // D000-TELKOMGNP] to event
  2513. 2022-07-26 07:22:10.601953 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  2514. 2022-07-26 07:22:10.601953 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  2515. 2022-07-26 07:22:10.601953 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0119368421 [a9d17f4c-0cb3-11ed-bb79-d3f1ef10c389]
  2516. 2022-07-26 07:22:10.601953 [DEBUG] mod_sofia.c:4819 (sofia/default/0119368421) State Change CS_NEW -> CS_INIT
  2517. 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0119368421) Running State Change CS_INIT (Cur 7 Tot 118022)
  2518. 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0119368421) State INIT
  2519. 2022-07-26 07:22:10.621344 [DEBUG] mod_sofia.c:90 sofia/default/0119368421 SOFIA INIT
  2520. 2022-07-26 07:22:10.621344 [DEBUG] sofia_glue.c:1264 sip:156.38.231.106:5060 Setting proxy route to sofia/default/0119368421
  2521. 2022-07-26 07:22:10.621344 [DEBUG] sofia_glue.c:1295 sofia/default/0119368421 sending invite version: 1.6.20  64bit
  2522. Local SDP:
  2523. v=0
  2524. o=FreeSWITCH 1658790874 1658790875 IN IP4 156.38.231.107
  2525. s=FreeSWITCH
  2526. c=IN IP4 156.38.231.107
  2527. t=0 0
  2528. m=audio 29256 RTP/AVP 18 8 0 101
  2529. a=rtpmap:18 G729/8000
  2530. a=fmtp:18 annexb=no
  2531. a=rtpmap:8 PCMA/8000
  2532. a=rtpmap:0 PCMU/8000
  2533. a=rtpmap:101 telephone-event/8000
  2534. a=fmtp:101 0-16
  2535. a=ptime:20
  2536. a=sendrecv
  2537.  
  2538. 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:40 sofia/default/0119368421 Standard INIT
  2539. 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0119368421) State Change CS_INIT -> CS_ROUTING
  2540. 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0119368421) State INIT going to sleep
  2541. 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0119368421) Running State Change CS_ROUTING (Cur 7 Tot 118022)
  2542. 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0119368421) State ROUTING
  2543. 2022-07-26 07:22:10.621344 [DEBUG] mod_sofia.c:143 sofia/default/0119368421 SOFIA ROUTING
  2544. 2022-07-26 07:22:10.621344 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0119368421) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2545. 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0119368421) State ROUTING going to sleep
  2546. 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0119368421) Running State Change CS_CONSUME_MEDIA (Cur 7 Tot 118022)
  2547. 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0119368421) State CONSUME_MEDIA
  2548. 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0119368421) State CONSUME_MEDIA going to sleep
  2549. 2022-07-26 07:22:10.631137 [DEBUG] sofia.c:7084 Channel sofia/default/0119368421 entering state [calling][0]
  2550. 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  2551. 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  2552. 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2007
  2553. 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  2554. 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  2555. 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  2556. 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0103130001#PBX#7#21
  2557. 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  2558. 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 5
  2559. 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  2560. 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1985.3704 balance Accountid 5 !!!
  2561. 2022-07-26 07:22:10.631137 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  2562. 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7
  2563. 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  2564. 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1
  2565. 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  2566. 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  2567. 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  2568. 2022-07-26 07:22:10.631137 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1
  2569. 2022-07-26 07:22:10.682268 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++7
  2570. 2022-07-26 07:22:10.682268 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  2571. 2022-07-26 07:22:10.751749 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:7
  2572. 2022-07-26 07:22:10.751749 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:7
  2573. 2022-07-26 07:22:10.751749 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 7
  2574. 2022-07-26 07:22:10.751749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  2575. 2022-07-26 07:22:10.810660 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : mbvit.nebular.co.za
  2576. 2022-07-26 07:22:10.810660 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  2577. 2022-07-26 07:22:10.810660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2578. 2022-07-26 07:22:10.870654 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  2579. 2022-07-26 07:22:10.870654 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound
  2580. 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....0744086022
  2581. 2022-07-26 07:22:10.870654 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0744086022
  2582. 2022-07-26 07:22:10.870654 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27744086022
  2583. 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  2584. 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  2585. 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  2586. 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  2587. 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  2588. 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  2589. 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  2590. 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....0744086022
  2591. 2022-07-26 07:22:10.870654 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0744086022
  2592. 2022-07-26 07:22:10.870654 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27744086022
  2593. 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  2594. 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  2595. 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  2596. 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  2597. 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  2598. 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  2599. 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  2600. 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  2601. 2022-07-26 07:22:10.930658 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : mbvit.nebular.co.za
  2602. 2022-07-26 07:22:10.930658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
  2603. 2022-07-26 07:22:10.930658 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 7
  2604. 2022-07-26 07:22:10.930658 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : Ring group
  2605. 2022-07-26 07:22:10.930658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,no_answer_call_type_value from pbx_ringgroup WHERE id = 21 and status = 0 LIMIT 1
  2606. 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== ringgroup_dlr_str h========Count==========={"destination_1":"173","delay_1":"0","time_out_1":"15","Promptdropdown_1":"1","destination_2":"171","delay_2":"0","time_out_2":"15","Promptdropdown_2":"1","destination_3":"174","delay_3":"0","time_out_3":"15","Promptdropdown_3":"1","destination_4":"0832663125#","delay_4":"10","time_out_4":"10","Promptdropdown_4":"1"}
  2607. 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== announcement====Count===============16
  2608. 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== announcement===================0
  2609. 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== final_count========final_count===========0===
  2610. 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== final_count========final_count===========0===
  2611. 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== final_count========final_count===========0===
  2612. 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== final_count========final_count===========0===
  2613. 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== ring_group_recording===================1
  2614. 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== ringgroup_dlr_str===================[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=173,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/173@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=171,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/171@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=174,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/174@mbvit.nebular.co.za,[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=10,confirm=false,announcement=no_file,dialed_user=0832663125#,leg_timeout=10,leg_delay_start=10]sofia/${sofia_profile_name}/0832663125@mbvit.nebular.co.za,
  2615. 2022-07-26 07:22:10.990666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '${au-ring}' LIMIT 1
  2616. 2022-07-26 07:22:11.005555 [DEBUG] sofia.c:7084 Channel sofia/default/0119368421 entering state [completing][200]
  2617. 2022-07-26 07:22:11.005555 [DEBUG] sofia.c:7094 Remote SDP:
  2618. v=0
  2619. o=HuaweiSoftX3000 61791963306917 61791963306917 IN IP4 41.160.32.115
  2620. s=-
  2621. c=IN IP4 41.160.32.115
  2622. t=0 0
  2623. m=audio 20602 RTP/AVP 18 101
  2624. a=rtpmap:18 G729/8000
  2625. a=fmtp:18 annexb=no
  2626. a=rtpmap:101 telephone-event/8000
  2627. a=fmtp:101 0-15
  2628. a=ptime:20
  2629.  
  2630. 2022-07-26 07:22:11.021238 [DEBUG] sofia.c:7084 Channel sofia/default/0119368421 entering state [ready][200]
  2631. 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  2632. 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  2633. 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  2634. 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  2635. 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  2636. 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0119368421 G729/8000 20 ms 160 samples 8000 bits 1 channels
  2637. 2022-07-26 07:22:11.021238 [DEBUG] switch_core_codec.c:111 sofia/default/0119368421 Original read codec set to G729:18
  2638. 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  2639. 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:4767 sofia/default/0119368421 Set 2833 dtmf send payload to 101 recv payload to 101
  2640. 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0119368421] 156.38.231.107 port 29256 -> 41.160.32.115 port 20602 codec: 18 ms: 20
  2641. 2022-07-26 07:22:11.021238 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  2642. 2022-07-26 07:22:11.031065 [DEBUG] switch_core_media.c:7180 sofia/default/0119368421 Set 2833 dtmf send payload to 101
  2643. 2022-07-26 07:22:11.031065 [DEBUG] switch_core_media.c:7187 sofia/default/0119368421 Set 2833 dtmf receive payload to 101
  2644. 2022-07-26 07:22:11.031065 [DEBUG] switch_core_media.c:7210 sofia/default/0119368421 Set rtp dtmf delay to 40
  2645. 2022-07-26 07:22:11.031065 [NOTICE] sofia.c:8218 Channel [sofia/default/0119368421] has been answered
  2646. 2022-07-26 07:22:11.031065 [DEBUG] switch_channel.c:3773 (sofia/default/0119368421) Callstate Change DOWN -> ACTIVE
  2647. 2022-07-26 07:22:11.031065 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/27124713846@ecic.nebular.co.za:5060] 156.38.231.107 port 22966 -> 156.38.249.182 port 9430 codec: 8 ms: 20
  2648. 2022-07-26 07:22:11.031065 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  2649. 2022-07-26 07:22:11.041128 [DEBUG] switch_core_media.c:7180 sofia/default/27124713846@ecic.nebular.co.za:5060 Set 2833 dtmf send payload to 101
  2650. 2022-07-26 07:22:11.041128 [DEBUG] switch_core_media.c:7187 sofia/default/27124713846@ecic.nebular.co.za:5060 Set 2833 dtmf receive payload to 101
  2651. 2022-07-26 07:22:11.041128 [DEBUG] switch_core_media.c:7210 sofia/default/27124713846@ecic.nebular.co.za:5060 Set rtp dtmf delay to 40
  2652. 2022-07-26 07:22:11.041128 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/27124713846@ecic.nebular.co.za:5060:
  2653. v=0
  2654. o=FreeSWITCH 1658797165 1658797166 IN IP4 156.38.231.107
  2655. s=FreeSWITCH
  2656. c=IN IP4 156.38.231.107
  2657. t=0 0
  2658. m=audio 22966 RTP/AVP 8 101
  2659. a=rtpmap:8 PCMA/8000
  2660. a=rtpmap:101 telephone-event/8000
  2661. a=fmtp:101 0-16
  2662. a=ptime:20
  2663. a=sendrecv
  2664.  
  2665. 2022-07-26 07:22:11.041128 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/27124713846@ecic.nebular.co.za:5060] has been answered
  2666. 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:3773 (sofia/default/27124713846@ecic.nebular.co.za:5060) Callstate Change RINGING -> ACTIVE
  2667. 2022-07-26 07:22:11.041128 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0119368421]
  2668. 2022-07-26 07:22:11.041128 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0119368421) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  2669. 2022-07-26 07:22:11.041128 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0119368421) Running State Change CS_EXCHANGE_MEDIA (Cur 7 Tot 118022)
  2670. 2022-07-26 07:22:11.041128 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0119368421) State EXCHANGE_MEDIA
  2671. 2022-07-26 07:22:11.041128 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  2672. 2022-07-26 07:22:11.041128 [DEBUG] sofia.c:7084 Channel sofia/default/27124713846@ecic.nebular.co.za:5060 entering state [completed][200]
  2673. 2022-07-26 07:22:11.041128 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2674. <document type="freeswitch/xml">
  2675. <section name="dialplan" description="ASTPP Dialplan">
  2676. <context name="mbvit.nebular.co.za">
  2677. <extension name="0103130001#PBX#7#21">
  2678. <condition field="destination_number" expression="0103130001#PBX#7#21">
  2679. <action application="set" data="effective_destination_number=0103130001#PBX#7#21"/>
  2680. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  2681. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  2682. <action application="set" data="callstart=2022-07-26 07:22:10"/>
  2683. <action application="set" data="hangup_after_bridge=true"/>
  2684. <action application="set" data="continue_on_fail=TRUE"/>
  2685. <action application="set" data="account_id=7"/>
  2686. <action application="set" data="parent_id=5"/>
  2687. <action application="set" data="entity_id=0"/>
  2688. <action application="set" data="call_processed=internal"/>
  2689. <action application="set" data="call_direction=inbound"/>
  2690. <action application="set" data="accountname=default"/>
  2691. <action application="set" data="filename1=astpp.pbx.lua"/>
  2692. <action application="set" data="origination_rates_did=ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7"/>
  2693. <action application="set" data="origination_rates=0"/>
  2694. <action application="set" data="original_caller_id_name=0744086022"/>
  2695. <action application="set" data="original_caller_id_number=0744086022"/>
  2696. <action application="limit" data="db 7 user_7 5 "/>
  2697. <action application="set" data="effective_caller_id_name=27744086022"/>
  2698. <action application="set" data="effective_caller_id_number=27744086022"/>
  2699. <action application="set" data="receiver_accid=7"/>
  2700. <action application="export" data="domain_name=mbvit.nebular.co.za"/>
  2701. <action application="export" data="sip_to_host=mbvit.nebular.co.za"/>
  2702. <action application="export" data="presence_data=x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115"/>
  2703. <action application="export" data="call_type=7"/>
  2704. <action application="set" data="did_calltype=7"/>
  2705. <action application="set" data="did_extensions=21"/>
  2706. <action application="set" data="group_confirm_key=exec"/>
  2707. <action application="set" data="group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  2708. <action application="set" data="ringback=${au-ring}"/>
  2709. <action application="set" data="module_name=pbx"/>
  2710. <action application="bridge" data="{sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=7}[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=173,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/173@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=171,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/171@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=174,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/174@mbvit.nebular.co.za,[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=10,confirm=false,announcement=no_file,dialed_user=0832663125#,leg_timeout=10,leg_delay_start=10]sofia/${sofia_profile_name}/0832663125@mbvit.nebular.co.za,"/>
  2711. <action application="set" data="no_answer_number="/>
  2712. <action application="set" data="no_answer_call_type=pstn_1"/>
  2713. <action application="set" data="no_answer_call_type_value=0613668008"/>
  2714. <action application="set" data="variable_sip_to_host=mbvit.nebular.co.za"/>
  2715. <action application="set" data="userinfo_id=7"/>
  2716. <action application="set" data="variable_sip_to_host=mbvit.nebular.co.za"/>
  2717. <action application="set" data="opensips_flag=0"/>
  2718. <action application="lua" data="astpp/lib/pbx/astpp.ring_group_destination.lua"/>
  2719. <action application="set" data="original_did_number=0103130001#PBX#7#21"/>
  2720. </condition>
  2721. </extension>
  2722. </context>
  2723. </document>
  2724. 2022-07-26 07:22:11.041128 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3eac16f0d0 released.
  2725. Dialplan: sofia/default/0744086022@41.160.32.115:5060 parsing [mbvit.nebular.co.za->0103130001#PBX#7#21] continue=false
  2726. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Regex (PASS) [0103130001#PBX#7#21] destination_number(0103130001#PBX#7#21) =~ /0103130001#PBX#7#21/ break=on-false
  2727. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_destination_number=0103130001#PBX#7#21)
  2728. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  2729. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2730. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(callstart=2022-07-26 07:22:10)
  2731. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  2732. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(continue_on_fail=TRUE)
  2733. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(account_id=7)
  2734. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(parent_id=5)
  2735. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(entity_id=0)
  2736. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(call_processed=internal)
  2737. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(call_direction=inbound)
  2738. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(accountname=default)
  2739. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua)
  2740. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(origination_rates_did=ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7)
  2741. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(origination_rates=0)
  2742. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_caller_id_name=0744086022)
  2743. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_caller_id_number=0744086022)
  2744. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action limit(db 7 user_7 5 )
  2745. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_caller_id_name=27744086022)
  2746. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_caller_id_number=27744086022)
  2747. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(receiver_accid=7)
  2748. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(domain_name=mbvit.nebular.co.za)
  2749. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(sip_to_host=mbvit.nebular.co.za)
  2750. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(presence_data=x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115)
  2751. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(call_type=7)
  2752. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(did_calltype=7)
  2753. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(did_extensions=21)
  2754. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(group_confirm_key=exec)
  2755. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  2756. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(ringback=${au-ring})
  2757. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(module_name=pbx)
  2758. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action bridge({sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=7}[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=173,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/173@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=171,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/171@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=174,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/174@mbvit.nebular.co.za,[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=10,confirm=false,announcement=no_file,dialed_user=0832663125#,leg_timeout=10,leg_delay_start=10]sofia/${sofia_profile_name}/0832663125@mbvit.nebular.co.za,)
  2759. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_number=)
  2760. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_call_type=pstn_1)
  2761. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_call_type_value=0613668008)
  2762. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(variable_sip_to_host=mbvit.nebular.co.za)
  2763. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(userinfo_id=7)
  2764. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(variable_sip_to_host=mbvit.nebular.co.za)
  2765. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(opensips_flag=0)
  2766. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp.ring_group_destination.lua)
  2767. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_did_number=0103130001#PBX#7#21)
  2768. 2022-07-26 07:22:11.041128 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE
  2769. 2022-07-26 07:22:11.041128 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0744086022@41.160.32.115:5060) State ROUTING going to sleep
  2770. 2022-07-26 07:22:11.041128 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 7 Tot 118022)
  2771. 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:2251 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE
  2772. 2022-07-26 07:22:11.041128 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0744086022@41.160.32.115:5060) State EXECUTE
  2773. 2022-07-26 07:22:11.041128 [DEBUG] mod_sofia.c:198 sofia/default/0744086022@41.160.32.115:5060 SOFIA EXECUTE
  2774. 2022-07-26 07:22:11.041128 [DEBUG] switch_core_state_machine.c:328 sofia/default/0744086022@41.160.32.115:5060 Standard EXECUTE
  2775. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_destination_number=0103130001#PBX#7#21)
  2776. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_destination_number]=[0103130001#PBX#7#21]
  2777. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  2778. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  2779. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2780. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  2781. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(callstart=2022-07-26 07:22:10)
  2782. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [callstart]=[2022-07-26 07:22:10]
  2783. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(hangup_after_bridge=true)
  2784. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [hangup_after_bridge]=[true]
  2785. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(continue_on_fail=TRUE)
  2786. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [continue_on_fail]=[TRUE]
  2787. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(account_id=7)
  2788. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [account_id]=[7]
  2789. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(parent_id=5)
  2790. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [parent_id]=[5]
  2791. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(entity_id=0)
  2792. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [entity_id]=[0]
  2793. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(call_processed=internal)
  2794. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [call_processed]=[internal]
  2795. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(call_direction=inbound)
  2796. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [call_direction]=[inbound]
  2797. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(accountname=default)
  2798. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [accountname]=[default]
  2799. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(filename1=astpp.pbx.lua)
  2800. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [filename1]=[astpp.pbx.lua]
  2801. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(origination_rates_did=ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7)
  2802. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [origination_rates_did]=[ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7]
  2803. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(origination_rates=0)
  2804. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [origination_rates]=[0]
  2805. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(original_caller_id_name=0744086022)
  2806. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [original_caller_id_name]=[0744086022]
  2807. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(original_caller_id_number=0744086022)
  2808. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [original_caller_id_number]=[0744086022]
  2809. EXECUTE sofia/default/0744086022@41.160.32.115:5060 limit(db 7 user_7 5 )
  2810. 2022-07-26 07:22:11.041128 [DEBUG] switch_limit.c:126 incr called: 7_user_7 max:5, interval:0
  2811. 2022-07-26 07:22:11.041128 [DEBUG] mod_db.c:194 Usage for 7_user_7 is now 1/5
  2812. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_caller_id_name=27744086022)
  2813. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_caller_id_name]=[27744086022]
  2814. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_caller_id_number=27744086022)
  2815. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_caller_id_number]=[27744086022]
  2816. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(receiver_accid=7)
  2817. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [receiver_accid]=[7]
  2818. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(domain_name=mbvit.nebular.co.za)
  2819. 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[mbvit.nebular.co.za]
  2820. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(sip_to_host=mbvit.nebular.co.za)
  2821. 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[mbvit.nebular.co.za]
  2822. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(presence_data=x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115)
  2823. 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115]
  2824. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(call_type=7)
  2825. 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[7]
  2826. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(did_calltype=7)
  2827. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [did_calltype]=[7]
  2828. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(did_extensions=21)
  2829. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [did_extensions]=[21]
  2830. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(group_confirm_key=exec)
  2831. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [group_confirm_key]=[exec]
  2832. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  2833. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
  2834. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(ringback=%(400,200,383,417);%(400,2000,383,417))
  2835. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [ringback]=[%(400,200,383,417);%(400,2000,383,417)]
  2836. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(module_name=pbx)
  2837. 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [module_name]=[pbx]
  2838. EXECUTE sofia/default/0744086022@41.160.32.115:5060 bridge({sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=7}[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=173,leg_timeout=15,leg_delay_start=0]sofia/default/173@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=171,leg_timeout=15,leg_delay_start=0]sofia/default/171@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=174,leg_timeout=15,leg_delay_start=0]sofia/default/174@mbvit.nebular.co.za,[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=10,confirm=false,announcement=no_file,dialed_user=0832663125#,leg_timeout=10,leg_delay_start=10]sofia/default/0832663125@mbvit.nebular.co.za,)
  2839. 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1823 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change ACTIVE -> RING_WAIT
  2840. 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[mbvit.nebular.co.za] to event
  2841. 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[mbvit.nebular.co.za] to event
  2842. 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115] to event
  2843. 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[7] to event
  2844. 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [no_answer_number]=[103] to event
  2845. 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[mbvit.nebular.co.za] to event
  2846. 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[mbvit.nebular.co.za] to event
  2847. 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115] to event
  2848. 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[7] to event
  2849. 2022-07-26 07:22:11.041128 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  2850. 2022-07-26 07:22:11.041128 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  2851. 2022-07-26 07:22:11.041128 [NOTICE] switch_channel.c:1104 New Channel sofia/default/173@mbvit.nebular.co.za [aa165374-0cb3-11ed-bba1-d3f1ef10c389]
  2852. 2022-07-26 07:22:11.041128 [DEBUG] mod_sofia.c:4819 (sofia/default/173@mbvit.nebular.co.za) State Change CS_NEW -> CS_INIT
  2853. 2022-07-26 07:22:11.041128 [DEBUG] switch_ivr_originate.c:2963 sofia/default/173@mbvit.nebular.co.za Setting leg timeout to 15
  2854. 2022-07-26 07:22:11.041128 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  2855. 2022-07-26 07:22:11.041128 [NOTICE] switch_channel.c:1104 New Channel sofia/default/171@mbvit.nebular.co.za [aa1662ba-0cb3-11ed-bba7-d3f1ef10c389]
  2856. 2022-07-26 07:22:11.041128 [DEBUG] mod_sofia.c:4819 (sofia/default/171@mbvit.nebular.co.za) State Change CS_NEW -> CS_INIT
  2857. 2022-07-26 07:22:11.041128 [DEBUG] switch_ivr_originate.c:2963 sofia/default/171@mbvit.nebular.co.za Setting leg timeout to 15
  2858. 2022-07-26 07:22:11.063478 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  2859. 2022-07-26 07:22:11.063478 [NOTICE] switch_channel.c:1104 New Channel sofia/default/174@mbvit.nebular.co.za [aa1702b0-0cb3-11ed-bbad-d3f1ef10c389]
  2860. 2022-07-26 07:22:11.063478 [DEBUG] mod_sofia.c:4819 (sofia/default/174@mbvit.nebular.co.za) State Change CS_NEW -> CS_INIT
  2861. 2022-07-26 07:22:11.063478 [DEBUG] switch_ivr_originate.c:2963 sofia/default/174@mbvit.nebular.co.za Setting leg timeout to 15
  2862. 2022-07-26 07:22:11.063478 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  2863. 2022-07-26 07:22:11.063478 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0832663125@mbvit.nebular.co.za [aa171570-0cb3-11ed-bbb3-d3f1ef10c389]
  2864. 2022-07-26 07:22:11.063478 [DEBUG] mod_sofia.c:4819 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_NEW -> CS_INIT
  2865. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_INIT (Cur 11 Tot 118026)
  2866. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:627 (sofia/default/173@mbvit.nebular.co.za) State INIT
  2867. 2022-07-26 07:22:11.063478 [DEBUG] mod_sofia.c:90 sofia/default/173@mbvit.nebular.co.za SOFIA INIT
  2868. 2022-07-26 07:22:11.063478 [DEBUG] switch_ivr_originate.c:2963 sofia/default/0832663125@mbvit.nebular.co.za Setting leg timeout to 10
  2869. 2022-07-26 07:22:11.063478 [DEBUG] switch_ivr_originate.c:2981 sofia/default/0832663125@mbvit.nebular.co.za Setting leg delay start to 10
  2870. 2022-07-26 07:22:11.063478 [DEBUG] sofia_glue.c:1295 sofia/default/173@mbvit.nebular.co.za sending invite version: 1.6.20  64bit
  2871. Local SDP:
  2872. v=0
  2873. o=FreeSWITCH 1658795713 1658795714 IN IP4 156.38.231.107
  2874. s=FreeSWITCH
  2875. c=IN IP4 156.38.231.107
  2876. t=0 0
  2877. m=audio 24418 RTP/AVP 8 0 101
  2878. a=rtpmap:8 PCMA/8000
  2879. a=rtpmap:0 PCMU/8000
  2880. a=rtpmap:101 telephone-event/8000
  2881. a=fmtp:101 0-16
  2882. a=ptime:20
  2883. a=sendrecv
  2884.  
  2885. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:40 sofia/default/173@mbvit.nebular.co.za Standard INIT
  2886. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:48 (sofia/default/173@mbvit.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  2887. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:627 (sofia/default/173@mbvit.nebular.co.za) State INIT going to sleep
  2888. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_ROUTING (Cur 11 Tot 118026)
  2889. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:643 (sofia/default/173@mbvit.nebular.co.za) State ROUTING
  2890. 2022-07-26 07:22:11.063478 [DEBUG] mod_sofia.c:143 sofia/default/173@mbvit.nebular.co.za SOFIA ROUTING
  2891. 2022-07-26 07:22:11.063478 [DEBUG] switch_ivr_originate.c:67 (sofia/default/173@mbvit.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2892. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:643 (sofia/default/173@mbvit.nebular.co.za) State ROUTING going to sleep
  2893. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 11 Tot 118026)
  2894. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:662 (sofia/default/173@mbvit.nebular.co.za) State CONSUME_MEDIA
  2895. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:662 (sofia/default/173@mbvit.nebular.co.za) State CONSUME_MEDIA going to sleep
  2896. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_INIT (Cur 11 Tot 118026)
  2897. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:627 (sofia/default/171@mbvit.nebular.co.za) State INIT
  2898. 2022-07-26 07:22:11.063478 [DEBUG] mod_sofia.c:90 sofia/default/171@mbvit.nebular.co.za SOFIA INIT
  2899. 2022-07-26 07:22:11.063478 [DEBUG] sofia_glue.c:1295 sofia/default/171@mbvit.nebular.co.za sending invite version: 1.6.20  64bit
  2900. Local SDP:
  2901. v=0
  2902. o=FreeSWITCH 1658800421 1658800422 IN IP4 156.38.231.107
  2903. s=FreeSWITCH
  2904. c=IN IP4 156.38.231.107
  2905. t=0 0
  2906. m=audio 19710 RTP/AVP 8 0 101
  2907. a=rtpmap:8 PCMA/8000
  2908. a=rtpmap:0 PCMU/8000
  2909. a=rtpmap:101 telephone-event/8000
  2910. a=fmtp:101 0-16
  2911. a=ptime:20
  2912. a=sendrecv
  2913.  
  2914. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:40 sofia/default/171@mbvit.nebular.co.za Standard INIT
  2915. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:48 (sofia/default/171@mbvit.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  2916. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:627 (sofia/default/171@mbvit.nebular.co.za) State INIT going to sleep
  2917. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_ROUTING (Cur 11 Tot 118026)
  2918. 2022-07-26 07:22:11.063478 [DEBUG] sofia.c:7084 Channel sofia/default/171@mbvit.nebular.co.za entering state [calling][0]
  2919. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:643 (sofia/default/171@mbvit.nebular.co.za) State ROUTING
  2920. 2022-07-26 07:22:11.063478 [DEBUG] mod_sofia.c:143 sofia/default/171@mbvit.nebular.co.za SOFIA ROUTING
  2921. 2022-07-26 07:22:11.063478 [DEBUG] switch_ivr_originate.c:67 (sofia/default/171@mbvit.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2922. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:643 (sofia/default/171@mbvit.nebular.co.za) State ROUTING going to sleep
  2923. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 11 Tot 118026)
  2924. 2022-07-26 07:22:11.063478 [DEBUG] sofia.c:7084 Channel sofia/default/173@mbvit.nebular.co.za entering state [calling][0]
  2925. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:662 (sofia/default/171@mbvit.nebular.co.za) State CONSUME_MEDIA
  2926. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:662 (sofia/default/171@mbvit.nebular.co.za) State CONSUME_MEDIA going to sleep
  2927. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_INIT (Cur 11 Tot 118026)
  2928. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:627 (sofia/default/174@mbvit.nebular.co.za) State INIT
  2929. 2022-07-26 07:22:11.063478 [DEBUG] mod_sofia.c:90 sofia/default/174@mbvit.nebular.co.za SOFIA INIT
  2930. 2022-07-26 07:22:11.063478 [DEBUG] sofia_glue.c:1295 sofia/default/174@mbvit.nebular.co.za sending invite version: 1.6.20  64bit
  2931. Local SDP:
  2932. v=0
  2933. o=FreeSWITCH 1658791621 1658791622 IN IP4 156.38.231.107
  2934. s=FreeSWITCH
  2935. c=IN IP4 156.38.231.107
  2936. t=0 0
  2937. m=audio 28510 RTP/AVP 8 0 101
  2938. a=rtpmap:8 PCMA/8000
  2939. a=rtpmap:0 PCMU/8000
  2940. a=rtpmap:101 telephone-event/8000
  2941. a=fmtp:101 0-16
  2942. a=ptime:20
  2943. a=sendrecv
  2944.  
  2945. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:40 sofia/default/174@mbvit.nebular.co.za Standard INIT
  2946. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:48 (sofia/default/174@mbvit.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  2947. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:627 (sofia/default/174@mbvit.nebular.co.za) State INIT going to sleep
  2948. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_ROUTING (Cur 11 Tot 118026)
  2949. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:643 (sofia/default/174@mbvit.nebular.co.za) State ROUTING
  2950. 2022-07-26 07:22:11.063478 [DEBUG] mod_sofia.c:143 sofia/default/174@mbvit.nebular.co.za SOFIA ROUTING
  2951. 2022-07-26 07:22:11.063478 [DEBUG] switch_ivr_originate.c:67 (sofia/default/174@mbvit.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2952. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:643 (sofia/default/174@mbvit.nebular.co.za) State ROUTING going to sleep
  2953. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 11 Tot 118026)
  2954. 2022-07-26 07:22:11.063478 [DEBUG] sofia.c:7084 Channel sofia/default/174@mbvit.nebular.co.za entering state [calling][0]
  2955. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:662 (sofia/default/174@mbvit.nebular.co.za) State CONSUME_MEDIA
  2956. 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:662 (sofia/default/174@mbvit.nebular.co.za) State CONSUME_MEDIA going to sleep
  2957. 2022-07-26 07:22:11.090660 [INFO] mod_com_g729.c:140 ENCODER LICENSE ALLOCATED--->0x7f3eb4323760 0x7f3eb4323760
  2958. 2022-07-26 07:22:11.090660 [INFO] mod_com_g729.c:147 ENCODER CREATED------------->0x7f3eb4323760 0x7f3eb4323760
  2959. 2022-07-26 07:22:11.111589 [DEBUG] sofia.c:7084 Channel sofia/default/27124713846@ecic.nebular.co.za:5060 entering state [ready][200]
  2960. 2022-07-26 07:22:11.140767 [DEBUG] sofia.c:7084 Channel sofia/default/171@mbvit.nebular.co.za entering state [proceeding][180]
  2961. 2022-07-26 07:22:11.140767 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/171@mbvit.nebular.co.za!
  2962. 2022-07-26 07:22:11.140767 [DEBUG] switch_channel.c:3346 (sofia/default/171@mbvit.nebular.co.za) Callstate Change DOWN -> RINGING
  2963. 2022-07-26 07:22:11.174192 [DEBUG] switch_ivr_originate.c:1273 Raw Codec Activation Success L16@8000hz 1 channel 20ms
  2964. 2022-07-26 07:22:11.174192 [DEBUG] switch_core_codec.c:223 sofia/default/0744086022@41.160.32.115:5060 Push codec L16:100
  2965. 2022-07-26 07:22:11.174192 [DEBUG] switch_ivr_originate.c:1342 Play Ringback Tone [%(400,200,383,417);%(400,2000,383,417)]
  2966. 2022-07-26 07:22:11.200672 [DEBUG] sofia.c:7084 Channel sofia/default/174@mbvit.nebular.co.za entering state [proceeding][180]
  2967. 2022-07-26 07:22:11.200672 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/174@mbvit.nebular.co.za!
  2968. 2022-07-26 07:22:11.200672 [DEBUG] switch_channel.c:3346 (sofia/default/174@mbvit.nebular.co.za) Callstate Change DOWN -> RINGING
  2969. 2022-07-26 07:22:11.220656 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0119368421 Bridge execute app sched_hangup(+6000 normal_clearing)
  2970. 2022-07-26 07:22:11.240667 [DEBUG] switch_ivr.c:623 sofia/default/0119368421 Command Execute sched_hangup(+6000 normal_clearing)
  2971. EXECUTE sofia/default/0119368421 sched_hangup(+6000 normal_clearing)
  2972. 2022-07-26 07:22:11.240667 [DEBUG] switch_scheduler.c:249 Added task 47233 switch_ivr_schedule_hangup (a9d17f4c-0cb3-11ed-bb79-d3f1ef10c389) to run at 1658826131
  2973. 2022-07-26 07:22:11.262010 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.249.182:9430 to 156.38.231.105:9430
  2974. 2022-07-26 07:22:11.440667 [DEBUG] sofia.c:7084 Channel sofia/default/173@mbvit.nebular.co.za entering state [proceeding][180]
  2975. 2022-07-26 07:22:11.440667 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/173@mbvit.nebular.co.za!
  2976. 2022-07-26 07:22:11.440667 [DEBUG] switch_channel.c:3346 (sofia/default/173@mbvit.nebular.co.za) Callstate Change DOWN -> RINGING
  2977. 2022-07-26 07:22:11.440667 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  2978. 2022-07-26 07:22:11.450877 [INFO] mod_com_g729.c:178 DECODER LICENSE ALLOCATED--->0x7f3eb43236e0 0x7f3eb43236e8
  2979. 2022-07-26 07:22:11.450877 [INFO] mod_com_g729.c:185 DECODER CREATED------------->0x7f3eb43236e0 0x7f3eb43236e8
  2980. 2022-07-26 07:22:12.901532 [NOTICE] sofia.c:1012 Hangup sofia/default/0113866000@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  2981. 2022-07-26 07:22:12.901532 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0113866000@41.160.32.115:5060]
  2982. 2022-07-26 07:22:12.901532 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0113866000@41.160.32.115:5060 ending bridge by request from write function
  2983. 2022-07-26 07:22:12.901532 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/611910@metrobus.nebular.co.za]
  2984. 2022-07-26 07:22:12.901532 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/611910@metrobus.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  2985. 2022-07-26 07:22:12.901532 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/611910@metrobus.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  2986. 2022-07-26 07:22:12.901532 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0113866000@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  2987. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_session.c:2815 sofia/default/0113866000@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  2988. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:653 (sofia/default/611910@metrobus.nebular.co.za) State EXCHANGE_MEDIA going to sleep
  2989. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0113866000@41.160.32.115:5060) State EXECUTE going to sleep
  2990. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:584 (sofia/default/611910@metrobus.nebular.co.za) Running State Change CS_HANGUP (Cur 11 Tot 118026)
  2991. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0113866000@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 11 Tot 118026)
  2992. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0113866000@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP
  2993. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0113866000@41.160.32.115:5060) State HANGUP
  2994. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:850 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change ACTIVE -> HANGUP
  2995. 2022-07-26 07:22:12.901532 [DEBUG] mod_sofia.c:438 Channel sofia/default/0113866000@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING
  2996. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:852 (sofia/default/611910@metrobus.nebular.co.za) State HANGUP
  2997. 2022-07-26 07:22:12.901532 [DEBUG] mod_sofia.c:432 sofia/default/611910@metrobus.nebular.co.za Overriding SIP cause 480 with 200 from the other leg
  2998. 2022-07-26 07:22:12.901532 [DEBUG] mod_sofia.c:438 Channel sofia/default/611910@metrobus.nebular.co.za hanging up, cause: NORMAL_CLEARING
  2999. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:60 sofia/default/0113866000@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING
  3000. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0113866000@41.160.32.115:5060) State HANGUP going to sleep
  3001. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0113866000@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING
  3002. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0113866000@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 11 Tot 118026)
  3003. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0113866000@41.160.32.115:5060) State REPORTING
  3004. 2022-07-26 07:22:12.901532 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/611910@metrobus.nebular.co.za
  3005. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:60 sofia/default/611910@metrobus.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING
  3006. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:852 (sofia/default/611910@metrobus.nebular.co.za) State HANGUP going to sleep
  3007. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:619 (sofia/default/611910@metrobus.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  3008. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:584 (sofia/default/611910@metrobus.nebular.co.za) Running State Change CS_REPORTING (Cur 11 Tot 118026)
  3009. 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:938 (sofia/default/611910@metrobus.nebular.co.za) State REPORTING
  3010. 2022-07-26 07:22:12.901532 [INFO] mod_json_cdr.c:271 Process [9b725c50-0cb3-11ed-bb1f-d3f1ef10c389.cdr.json]
  3011. 2022-07-26 07:22:12.901532 [INFO] mod_json_cdr.c:271 Process [99dcad5a-0cb3-11ed-baef-d3f1ef10c389.cdr.json]
  3012. 2022-07-26 07:22:12.964222 [DEBUG] switch_core_state_machine.c:174 sofia/default/611910@metrobus.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING
  3013. 2022-07-26 07:22:12.964222 [DEBUG] switch_core_state_machine.c:938 (sofia/default/611910@metrobus.nebular.co.za) State REPORTING going to sleep
  3014. 2022-07-26 07:22:12.964222 [DEBUG] switch_core_state_machine.c:610 (sofia/default/611910@metrobus.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  3015. 2022-07-26 07:22:12.964222 [DEBUG] switch_core_session.c:1665 Session 118019 (sofia/default/611910@metrobus.nebular.co.za) Locked, Waiting on external entities
  3016. 2022-07-26 07:22:12.964222 [NOTICE] switch_core_session.c:1683 Session 118019 (sofia/default/611910@metrobus.nebular.co.za) Ended
  3017. 2022-07-26 07:22:12.964222 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/611910@metrobus.nebular.co.za [CS_DESTROY]
  3018. 2022-07-26 07:22:12.964222 [DEBUG] switch_core_state_machine.c:741 (sofia/default/611910@metrobus.nebular.co.za) Running State Change CS_DESTROY (Cur 10 Tot 118026)
  3019. 2022-07-26 07:22:12.964222 [DEBUG] switch_core_state_machine.c:751 (sofia/default/611910@metrobus.nebular.co.za) State DESTROY
  3020. 2022-07-26 07:22:12.964222 [DEBUG] mod_sofia.c:343 sofia/default/611910@metrobus.nebular.co.za SOFIA DESTROY
  3021. 2022-07-26 07:22:12.964222 [DEBUG] switch_core_state_machine.c:181 sofia/default/611910@metrobus.nebular.co.za Standard DESTROY
  3022. 2022-07-26 07:22:12.964222 [DEBUG] switch_core_state_machine.c:751 (sofia/default/611910@metrobus.nebular.co.za) State DESTROY going to sleep
  3023. 2022-07-26 07:22:13.030670 [DEBUG] switch_core_state_machine.c:174 sofia/default/0113866000@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING
  3024. 2022-07-26 07:22:13.030670 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0113866000@41.160.32.115:5060) State REPORTING going to sleep
  3025. 2022-07-26 07:22:13.030670 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0113866000@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY
  3026. 2022-07-26 07:22:13.030670 [DEBUG] switch_core_session.c:1665 Session 118018 (sofia/default/0113866000@41.160.32.115:5060) Locked, Waiting on external entities
  3027. 2022-07-26 07:22:13.030670 [NOTICE] switch_core_session.c:1683 Session 118018 (sofia/default/0113866000@41.160.32.115:5060) Ended
  3028. 2022-07-26 07:22:13.030670 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0113866000@41.160.32.115:5060 [CS_DESTROY]
  3029. 2022-07-26 07:22:13.030670 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0113866000@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 9 Tot 118026)
  3030. 2022-07-26 07:22:13.030670 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0113866000@41.160.32.115:5060) State DESTROY
  3031. 2022-07-26 07:22:13.030670 [DEBUG] mod_sofia.c:343 sofia/default/0113866000@41.160.32.115:5060 SOFIA DESTROY
  3032. 2022-07-26 07:22:13.030670 [DEBUG] switch_core_state_machine.c:181 sofia/default/0113866000@41.160.32.115:5060 Standard DESTROY
  3033. 2022-07-26 07:22:13.030670 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0113866000@41.160.32.115:5060) State DESTROY going to sleep
  3034. 2022-07-26 07:22:13.250678 [DEBUG] switch_scheduler.c:144 Deleting task 47232 switch_ivr_schedule_hangup (9b725c50-0cb3-11ed-bb1f-d3f1ef10c389)
  3035. 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_INIT (Cur 9 Tot 118026)
  3036. 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0832663125@mbvit.nebular.co.za) State INIT
  3037. 2022-07-26 07:22:22.000668 [DEBUG] mod_sofia.c:90 sofia/default/0832663125@mbvit.nebular.co.za SOFIA INIT
  3038. 2022-07-26 07:22:22.000668 [DEBUG] sofia_glue.c:1295 sofia/default/0832663125@mbvit.nebular.co.za sending invite version: 1.6.20  64bit
  3039. Local SDP:
  3040. v=0
  3041. o=FreeSWITCH 1658802338 1658802339 IN IP4 156.38.231.107
  3042. s=FreeSWITCH
  3043. c=IN IP4 156.38.231.107
  3044. t=0 0
  3045. m=audio 17804 RTP/AVP 8 101
  3046. a=rtpmap:8 PCMA/8000
  3047. a=rtpmap:101 telephone-event/8000
  3048. a=fmtp:101 0-16
  3049. a=ptime:20
  3050. a=sendrecv
  3051.  
  3052. 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:40 sofia/default/0832663125@mbvit.nebular.co.za Standard INIT
  3053. 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  3054. 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0832663125@mbvit.nebular.co.za) State INIT going to sleep
  3055. 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_ROUTING (Cur 9 Tot 118026)
  3056. 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0832663125@mbvit.nebular.co.za) State ROUTING
  3057. 2022-07-26 07:22:22.000668 [DEBUG] mod_sofia.c:143 sofia/default/0832663125@mbvit.nebular.co.za SOFIA ROUTING
  3058. 2022-07-26 07:22:22.000668 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  3059. 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0832663125@mbvit.nebular.co.za) State ROUTING going to sleep
  3060. 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 9 Tot 118026)
  3061. 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0832663125@mbvit.nebular.co.za) State CONSUME_MEDIA
  3062. 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0832663125@mbvit.nebular.co.za) State CONSUME_MEDIA going to sleep
  3063. 2022-07-26 07:22:22.010746 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125@mbvit.nebular.co.za entering state [calling][0]
  3064. 2022-07-26 07:22:22.050660 [NOTICE] switch_channel.c:1104 New Channel sofia/default/27744086022@156.38.231.107 [b0a42b44-0cb3-11ed-bbb8-d3f1ef10c389]
  3065. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_NEW (Cur 10 Tot 118027)
  3066. 2022-07-26 07:22:22.050660 [DEBUG] sofia.c:9873 sofia/default/27744086022@156.38.231.107 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  3067. 2022-07-26 07:22:22.050660 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  3068. 2022-07-26 07:22:22.050660 [DEBUG] sofia.c:7084 Channel sofia/default/27744086022@156.38.231.107 entering state [received][100]
  3069. 2022-07-26 07:22:22.050660 [DEBUG] sofia.c:7094 Remote SDP:
  3070. v=0
  3071. o=FreeSWITCH 1658802338 1658802339 IN IP4 156.38.231.107
  3072. s=FreeSWITCH
  3073. c=IN IP4 156.38.231.107
  3074. t=0 0
  3075. m=audio 17804 RTP/AVP 8 101
  3076. a=rtpmap:8 PCMA/8000
  3077. a=rtpmap:101 telephone-event/8000
  3078. a=fmtp:101 0-16
  3079. a=ptime:20
  3080.  
  3081. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  3082. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  3083. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3084. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  3085. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3086. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  3087. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/27744086022@156.38.231.107 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  3088. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_codec.c:111 sofia/default/27744086022@156.38.231.107 Original read codec set to PCMA:8
  3089. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  3090. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:4767 sofia/default/27744086022@156.38.231.107 Set 2833 dtmf send payload to 101 recv payload to 101
  3091. 2022-07-26 07:22:22.050660 [DEBUG] sofia.c:7507 (sofia/default/27744086022@156.38.231.107) State Change CS_NEW -> CS_INIT
  3092. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:603 (sofia/default/27744086022@156.38.231.107) State NEW
  3093. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_INIT (Cur 10 Tot 118027)
  3094. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27744086022@156.38.231.107) State INIT
  3095. 2022-07-26 07:22:22.050660 [DEBUG] mod_sofia.c:90 sofia/default/27744086022@156.38.231.107 SOFIA INIT
  3096. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:40 sofia/default/27744086022@156.38.231.107 Standard INIT
  3097. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:48 (sofia/default/27744086022@156.38.231.107) State Change CS_INIT -> CS_ROUTING
  3098. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27744086022@156.38.231.107) State INIT going to sleep
  3099. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_ROUTING (Cur 10 Tot 118027)
  3100. 2022-07-26 07:22:22.050660 [DEBUG] switch_channel.c:2249 (sofia/default/27744086022@156.38.231.107) Callstate Change DOWN -> RINGING
  3101. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27744086022@156.38.231.107) State ROUTING
  3102. 2022-07-26 07:22:22.050660 [DEBUG] mod_sofia.c:143 sofia/default/27744086022@156.38.231.107 SOFIA ROUTING
  3103. 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:236 sofia/default/27744086022@156.38.231.107 Standard ROUTING
  3104. 2022-07-26 07:22:22.050660 [INFO] mod_dialplan_xml.c:637 Processing 27744086022 <27744086022>->0832663125 in context default
  3105. 2022-07-26 07:22:22.050660 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3eac16f0d0 Connected.
  3106. 2022-07-26 07:22:22.061285 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  3107. 2022-07-26 07:22:22.092969 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3108. 2022-07-26 07:22:22.151949 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  3109. 2022-07-26 07:22:22.151949 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0832663125
  3110. 2022-07-26 07:22:22.151949 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0832663125' limit 1
  3111. 2022-07-26 07:22:22.212974 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0832663125' AND status=0 limit 1
  3112. 2022-07-26 07:22:22.273957 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0832663125' and status=0 LIMIT 1
  3113. 2022-07-26 07:22:22.330660 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  3114. 2022-07-26 07:22:22.330660 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 27744086022 / 27744086022
  3115. 2022-07-26 07:22:22.330660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  3116. 2022-07-26 07:22:22.372662 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainmbvit.nebular.co.za
  3117. 2022-07-26 07:22:22.372662 [DEBUG] switch_cpp.cpp:1365 [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 ="0832663125" LIMIT 1
  3118. 2022-07-26 07:22:22.411633 [DEBUG] switch_cpp.cpp:1365 [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="0832663125"  AND domains.domain="mbvit.nebular.co.za" limit 1
  3119. 2022-07-26 07:22:22.461022 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  3120. 2022-07-26 07:22:22.461022 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 7]
  3121. 2022-07-26 07:22:22.461022 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  3122. 2022-07-26 07:22:22.510664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0832663125.*' OR blocked_patterns = '^083266312.*' OR blocked_patterns = '^08326631.*' OR blocked_patterns = '^0832663.*' OR blocked_patterns = '^083266.*' OR blocked_patterns = '^08326.*' OR blocked_patterns = '^0832.*' OR blocked_patterns = '^083.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
  3123. 2022-07-26 07:22:22.560669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0832663125" AND (accountid = 0 OR status = 1) LIMIT 1
  3124. 2022-07-26 07:22:22.592971 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3
  3125. 2022-07-26 07:22:22.592971 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1
  3126. 2022-07-26 07:22:22.640956 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0832663125
  3127. 2022-07-26 07:22:22.640956 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0832663125
  3128. 2022-07-26 07:22:22.640956 [DEBUG] switch_cpp.cpp:1365 [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 = '^0832663125.*' OR patterns = '^083266312.*' OR patterns = '^08326631.*' OR patterns = '^0832663.*' OR patterns = '^083266.*' OR patterns = '^08326.*' OR patterns = '^0832.*' OR patterns = '^083.*' OR patterns = '^08.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  3129. 2022-07-26 07:22:22.680659 [DEBUG] switch_cpp.cpp:1365 [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 ="0832663125" AND A.accountid = '7' limit 1
  3130. 2022-07-26 07:22:22.720661 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0832663125
  3131. 2022-07-26 07:22:22.720661 [DEBUG] switch_cpp.cpp:1365 [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 ="0832663125" LIMIT 1
  3132. 2022-07-26 07:22:22.752946 [DEBUG] switch_cpp.cpp:1365 [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="0832663125"  AND domains.domain="mbvit.nebular.co.za" limit 1
  3133. 2022-07-26 07:22:22.801478 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : outbound
  3134. 2022-07-26 07:22:22.801478 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0832663125' OR number = '083266312' OR number = '08326631' OR number = '0832663' OR number = '083266' OR number = '08326' OR number = '0832' OR number = '083' OR number = '08' OR number = '0' OR number ='--') OR (number = '0832663125*' OR number = '083266312*' OR number = '08326631*' OR number = '0832663*' OR number = '083266*' OR number = '08326*' OR number = '0832*' OR number = '083*' OR number = '08*' OR number = '0*' OR number ='--') OR (number = '27744086022' OR number = '2774408602' OR number = '277440860' OR number = '27744086' OR number = '2774408' OR number = '277440' OR number = '27744' OR number = '2774' OR number = '277' OR number = '27' OR number = '2' OR number ='--') OR (number = '27744086022*' OR number = '2774408602*' OR number = '277440860*' OR number = '27744086*' OR number = '2774408*' OR number = '277440*' OR number = '27744*' OR number = '2774*' OR number = '277*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  3135. 2022-07-26 07:22:22.840908 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  3136. 2022-07-26 07:22:22.840908 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0832663125' OR routing_prefix = '083266312' OR routing_prefix = '08326631' OR routing_prefix = '0832663' OR routing_prefix = '083266' OR routing_prefix = '08326' OR routing_prefix = '0832' OR routing_prefix = '083' OR routing_prefix = '08' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1
  3137. 2022-07-26 07:22:22.890669 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Get Destination Number (0832663125)!!!!
  3138. 2022-07-26 07:22:22.890669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Ported Number :27832663125
  3139. 2022-07-26 07:22:22.890669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27832663125' limit 1
  3140. 2022-07-26 07:22:22.970665 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (0832663125)!!!!
  3141. 2022-07-26 07:22:23.030664 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  3142. 2022-07-26 07:22:23.030664 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 7
  3143. 2022-07-26 07:22:23.030664 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 862977
  3144. 2022-07-26 07:22:23.030664 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 2183.7794
  3145. 2022-07-26 07:22:23.030664 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  3146. 2022-07-26 07:22:23.030664 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 81
  3147. 2022-07-26 07:22:23.030664 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  3148. 2022-07-26 07:22:23.030664 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  3149. 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022
  3150. 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022
  3151. 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022
  3152. 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022
  3153. 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022
  3154. 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022
  3155. 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022
  3156. 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022
  3157. 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0
  3158. 2022-07-26 07:22:23.061833 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  3159. 2022-07-26 07:22:23.061833 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0
  3160. 2022-07-26 07:22:23.101016 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0832663125.*' OR pattern = '^083266312.*' OR pattern = '^08326631.*' OR pattern = '^0832663.*' OR pattern = '^083266.*' OR pattern = '^08326.*' OR pattern = '^0832.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 81 OR accountid=7)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  3161. 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : outbound
  3162. 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  3163. 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1802561
  3164. 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  3165. 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  3166. 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.49000
  3167. 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D083-MTN
  3168. 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  3169. 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 7
  3170. 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  3171. 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  3172. 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  3173. 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your2183.7794 balance Accountid 7 !!!
  3174. 2022-07-26 07:22:23.141428 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  3175. 2022-07-26 07:22:23.141428 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 5
  3176. 2022-07-26 07:22:23.141428 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  3177. 2022-07-26 07:22:23.180779 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0832663125.*' OR blocked_patterns = '^083266312.*' OR blocked_patterns = '^08326631.*' OR blocked_patterns = '^0832663.*' OR blocked_patterns = '^083266.*' OR blocked_patterns = '^08326.*' OR blocked_patterns = '^0832.*' OR blocked_patterns = '^083.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 5 limit 1
  3178. 2022-07-26 07:22:23.231619 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information ===================
  3179. 2022-07-26 07:22:23.231619 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 5
  3180. 2022-07-26 07:22:23.231619 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8566036685
  3181. 2022-07-26 07:22:23.231619 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1985.3704
  3182. 2022-07-26 07:22:23.231619 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  3183. 2022-07-26 07:22:23.231619 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83
  3184. 2022-07-26 07:22:23.231619 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  3185. 2022-07-26 07:22:23.310659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  3186. 2022-07-26 07:22:23.310659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  3187. 2022-07-26 07:22:23.370659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0832663125.*' OR pattern = '^083266312.*' OR pattern = '^08326631.*' OR pattern = '^0832663.*' OR pattern = '^083266.*' OR pattern = '^08326.*' OR pattern = '^0832.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 83 OR accountid=5)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  3188. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : outbound
  3189. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  3190. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1426397
  3191. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  3192. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  3193. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.29000
  3194. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D083-MTN
  3195. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  3196. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 5
  3197. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  3198. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  3199. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  3200. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1985.3704 balance Accountid 5 !!!
  3201. 2022-07-26 07:22:23.420663 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  3202. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5
  3203. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  3204. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1
  3205. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  3206. 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1802561
  3207. 2022-07-26 07:22:23.420663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :0
  3208. 2022-07-26 07:22:23.420663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=83 ORDER by id asc
  3209. 2022-07-26 07:22:23.450660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^0832663125.*' OR pattern = '^083266312.*' OR pattern = '^08326631.*' OR pattern = '^0832663.*' OR pattern = '^083266.*' OR pattern = '^08326.*' OR pattern = '^0832.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5,7) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  3210. 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  3211. 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 183
  3212. 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^0.*
  3213. 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : SA
  3214. 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  3215. 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  3216. 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^0.*
  3217. 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip :
  3218. 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend :
  3219. 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 5
  3220. 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : liquid_primary
  3221. 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  3222. 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  3223. 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3
  3224. 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  3225. 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Liquid
  3226. 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  3227. 2022-07-26 07:22:23.561333 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1
  3228. 2022-07-26 07:22:23.602540 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  3229. 2022-07-26 07:22:23.602540 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3230. 2022-07-26 07:22:23.651487 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  3231. 2022-07-26 07:22:23.651487 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
  3232. 2022-07-26 07:22:23.651487 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  3233. 2022-07-26 07:22:23.702685 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 5) AND status=0 limit 1
  3234. 2022-07-26 07:22:23.740729 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+27/0".....0832663125
  3235. 2022-07-26 07:22:23.740729 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  3236. 2022-07-26 07:22:23.802660 [DEBUG] switch_cpp.cpp:1365 [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 ="0832663125" LIMIT 1
  3237. 2022-07-26 07:22:23.850660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  3238. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  3239. <document type="freeswitch/xml">
  3240. <section name="dialplan" description="ASTPP Dialplan">
  3241. <context name="default">
  3242. <extension name="0832663125">
  3243. <condition field="destination_number" expression="0832663125">
  3244. <action application="set" data="effective_destination_number=0832663125"/>
  3245. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  3246. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  3247. <action application="set" data="callstart=2022-07-26 07:22:23"/>
  3248. <action application="set" data="hangup_after_bridge=true"/>
  3249. <action application="set" data="continue_on_fail=TRUE"/>
  3250. <action application="set" data="account_id=7"/>
  3251. <action application="set" data="parent_id=5"/>
  3252. <action application="set" data="entity_id=0"/>
  3253. <action application="set" data="call_processed=internal"/>
  3254. <action application="set" data="call_direction=outbound"/>
  3255. <action application="set" data="accountname=default"/>
  3256. <action application="set" data="filename1=astpp.pbx.lua"/>
  3257. <action application="set" data="origination_rates=ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5"/>
  3258. <action application="set" data="original_caller_id_name=27744086022"/>
  3259. <action application="set" data="original_caller_id_number=27744086022"/>
  3260. <action application="limit" data="db 7 user_7 5 "/>
  3261. <action application="limit" data="db 8566036685 user_8566036685 20 "/>
  3262. <action application="set" data="effective_caller_id_name=27744086022"/>
  3263. <action application="set" data="effective_caller_id_number=27744086022"/>
  3264. <action application="set" data="calltype=STANDARD"/>
  3265. <action application="set" data="termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3"/>
  3266. <action application="set" data="trunk_id=5"/>
  3267. <action application="set" data="provider_id=3"/>
  3268. <action application="set" data="rate_flag=0"/>
  3269. <action application="set" data="force_trunk_flag=1802561"/>
  3270. <action application="export" data="presence_data=trunk_id=5"/>
  3271. <action application="set" data="intcall=0"/>
  3272. <action application="export" data="presence_data=x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN"/>
  3273. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0832663125;fs_path=sip:156.38.231.106:5060"/>
  3274. </condition>
  3275. </extension>
  3276. </context>
  3277. </document>
  3278. 2022-07-26 07:22:23.850660 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3eac16f0d0 released.
  3279. Dialplan: sofia/default/27744086022@156.38.231.107 parsing [default->0832663125] continue=false
  3280. Dialplan: sofia/default/27744086022@156.38.231.107 Regex (PASS) [0832663125] destination_number(0832663125) =~ /0832663125/ break=on-false
  3281. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(effective_destination_number=0832663125)
  3282. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  3283. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  3284. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(callstart=2022-07-26 07:22:23)
  3285. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(hangup_after_bridge=true)
  3286. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(continue_on_fail=TRUE)
  3287. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(account_id=7)
  3288. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(parent_id=5)
  3289. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(entity_id=0)
  3290. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(call_processed=internal)
  3291. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(call_direction=outbound)
  3292. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(accountname=default)
  3293. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(filename1=astpp.pbx.lua)
  3294. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(origination_rates=ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5)
  3295. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(original_caller_id_name=27744086022)
  3296. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(original_caller_id_number=27744086022)
  3297. Dialplan: sofia/default/27744086022@156.38.231.107 Action limit(db 7 user_7 5 )
  3298. Dialplan: sofia/default/27744086022@156.38.231.107 Action limit(db 8566036685 user_8566036685 20 )
  3299. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(effective_caller_id_name=27744086022)
  3300. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(effective_caller_id_number=27744086022)
  3301. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(calltype=STANDARD)
  3302. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3)
  3303. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(trunk_id=5)
  3304. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(provider_id=3)
  3305. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(rate_flag=0)
  3306. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(force_trunk_flag=1802561)
  3307. Dialplan: sofia/default/27744086022@156.38.231.107 Action export(presence_data=trunk_id=5)
  3308. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(intcall=0)
  3309. Dialplan: sofia/default/27744086022@156.38.231.107 Action export(presence_data=x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN)
  3310. Dialplan: sofia/default/27744086022@156.38.231.107 Action bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0832663125;fs_path=sip:156.38.231.106:5060)
  3311. 2022-07-26 07:22:23.850660 [DEBUG] switch_core_state_machine.c:286 (sofia/default/27744086022@156.38.231.107) State Change CS_ROUTING -> CS_EXECUTE
  3312. 2022-07-26 07:22:23.850660 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27744086022@156.38.231.107) State ROUTING going to sleep
  3313. 2022-07-26 07:22:23.850660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_EXECUTE (Cur 10 Tot 118027)
  3314. 2022-07-26 07:22:23.850660 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27744086022@156.38.231.107) State EXECUTE
  3315. 2022-07-26 07:22:23.850660 [DEBUG] mod_sofia.c:198 sofia/default/27744086022@156.38.231.107 SOFIA EXECUTE
  3316. 2022-07-26 07:22:23.850660 [DEBUG] switch_core_state_machine.c:328 sofia/default/27744086022@156.38.231.107 Standard EXECUTE
  3317. EXECUTE sofia/default/27744086022@156.38.231.107 set(effective_destination_number=0832663125)
  3318. 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [effective_destination_number]=[0832663125]
  3319. EXECUTE sofia/default/27744086022@156.38.231.107 set(bridge_pre_execute_bleg_app=sched_hangup)
  3320. 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [bridge_pre_execute_bleg_app]=[sched_hangup]
  3321. EXECUTE sofia/default/27744086022@156.38.231.107 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  3322. 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  3323. EXECUTE sofia/default/27744086022@156.38.231.107 set(callstart=2022-07-26 07:22:23)
  3324. 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [callstart]=[2022-07-26 07:22:23]
  3325. EXECUTE sofia/default/27744086022@156.38.231.107 set(hangup_after_bridge=true)
  3326. 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [hangup_after_bridge]=[true]
  3327. EXECUTE sofia/default/27744086022@156.38.231.107 set(continue_on_fail=TRUE)
  3328. 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [continue_on_fail]=[TRUE]
  3329. EXECUTE sofia/default/27744086022@156.38.231.107 set(account_id=7)
  3330. 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [account_id]=[7]
  3331. EXECUTE sofia/default/27744086022@156.38.231.107 set(parent_id=5)
  3332. 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [parent_id]=[5]
  3333. EXECUTE sofia/default/27744086022@156.38.231.107 set(entity_id=0)
  3334. 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [entity_id]=[0]
  3335. EXECUTE sofia/default/27744086022@156.38.231.107 set(call_processed=internal)
  3336. 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [call_processed]=[internal]
  3337. EXECUTE sofia/default/27744086022@156.38.231.107 set(call_direction=outbound)
  3338. 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [call_direction]=[outbound]
  3339. EXECUTE sofia/default/27744086022@156.38.231.107 set(accountname=default)
  3340. 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [accountname]=[default]
  3341. EXECUTE sofia/default/27744086022@156.38.231.107 set(filename1=astpp.pbx.lua)
  3342. 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [filename1]=[astpp.pbx.lua]
  3343. EXECUTE sofia/default/27744086022@156.38.231.107 set(origination_rates=ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5)
  3344. 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [origination_rates]=[ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5]
  3345. EXECUTE sofia/default/27744086022@156.38.231.107 set(original_caller_id_name=27744086022)
  3346. 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [original_caller_id_name]=[27744086022]
  3347. EXECUTE sofia/default/27744086022@156.38.231.107 set(original_caller_id_number=27744086022)
  3348. 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [original_caller_id_number]=[27744086022]
  3349. EXECUTE sofia/default/27744086022@156.38.231.107 limit(db 7 user_7 5 )
  3350. 2022-07-26 07:22:23.860689 [DEBUG] switch_limit.c:126 incr called: 7_user_7 max:5, interval:0
  3351. 2022-07-26 07:22:23.860689 [DEBUG] mod_db.c:194 Usage for 7_user_7 is now 2/5
  3352. EXECUTE sofia/default/27744086022@156.38.231.107 limit(db 8566036685 user_8566036685 20 )
  3353. 2022-07-26 07:22:23.860689 [DEBUG] switch_limit.c:126 incr called: 8566036685_user_8566036685 max:20, interval:0
  3354. 2022-07-26 07:22:23.860689 [DEBUG] mod_db.c:194 Usage for 8566036685_user_8566036685 is now 2/20
  3355. EXECUTE sofia/default/27744086022@156.38.231.107 set(effective_caller_id_name=27744086022)
  3356. 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [effective_caller_id_name]=[27744086022]
  3357. EXECUTE sofia/default/27744086022@156.38.231.107 set(effective_caller_id_number=27744086022)
  3358. 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [effective_caller_id_number]=[27744086022]
  3359. EXECUTE sofia/default/27744086022@156.38.231.107 set(calltype=STANDARD)
  3360. 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [calltype]=[STANDARD]
  3361. EXECUTE sofia/default/27744086022@156.38.231.107 set(termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3)
  3362. 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [termination_rates]=[ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3]
  3363. EXECUTE sofia/default/27744086022@156.38.231.107 set(trunk_id=5)
  3364. 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [trunk_id]=[5]
  3365. EXECUTE sofia/default/27744086022@156.38.231.107 set(provider_id=3)
  3366. 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [provider_id]=[3]
  3367. EXECUTE sofia/default/27744086022@156.38.231.107 set(rate_flag=0)
  3368. 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [rate_flag]=[0]
  3369. EXECUTE sofia/default/27744086022@156.38.231.107 set(force_trunk_flag=1802561)
  3370. 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [force_trunk_flag]=[1802561]
  3371. EXECUTE sofia/default/27744086022@156.38.231.107 export(presence_data=trunk_id=5)
  3372. 2022-07-26 07:22:23.860689 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=5]
  3373. EXECUTE sofia/default/27744086022@156.38.231.107 set(intcall=0)
  3374. 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [intcall]=[0]
  3375. EXECUTE sofia/default/27744086022@156.38.231.107 export(presence_data=x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN)
  3376. 2022-07-26 07:22:23.860689 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN]
  3377. EXECUTE sofia/default/27744086022@156.38.231.107 bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0832663125;fs_path=sip:156.38.231.106:5060)
  3378. 2022-07-26 07:22:23.860689 [DEBUG] switch_channel.c:1250 sofia/default/27744086022@156.38.231.107 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN] to event
  3379. 2022-07-26 07:22:23.860689 [DEBUG] switch_channel.c:1250 sofia/default/27744086022@156.38.231.107 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN] to event
  3380. 2022-07-26 07:22:23.860689 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  3381. 2022-07-26 07:22:23.860689 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  3382. 2022-07-26 07:22:23.860689 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0832663125 [b1b866ee-0cb3-11ed-bbdb-d3f1ef10c389]
  3383. 2022-07-26 07:22:23.860689 [DEBUG] mod_sofia.c:4819 (sofia/default/0832663125) State Change CS_NEW -> CS_INIT
  3384. 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_INIT (Cur 11 Tot 118028)
  3385. 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0832663125) State INIT
  3386. 2022-07-26 07:22:23.860689 [DEBUG] mod_sofia.c:90 sofia/default/0832663125 SOFIA INIT
  3387. 2022-07-26 07:22:23.860689 [DEBUG] sofia_glue.c:1264 sip:156.38.231.106:5060 Setting proxy route to sofia/default/0832663125
  3388. 2022-07-26 07:22:23.860689 [DEBUG] sofia_glue.c:1295 sofia/default/0832663125 sending invite version: 1.6.20  64bit
  3389. Local SDP:
  3390. v=0
  3391. o=FreeSWITCH 1658791445 1658791446 IN IP4 156.38.231.107
  3392. s=FreeSWITCH
  3393. c=IN IP4 156.38.231.107
  3394. t=0 0
  3395. m=audio 28698 RTP/AVP 18 8 0 101
  3396. a=rtpmap:18 G729/8000
  3397. a=fmtp:18 annexb=no
  3398. a=rtpmap:8 PCMA/8000
  3399. a=rtpmap:0 PCMU/8000
  3400. a=rtpmap:101 telephone-event/8000
  3401. a=fmtp:101 0-16
  3402. a=ptime:20
  3403. a=sendrecv
  3404.  
  3405. 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:40 sofia/default/0832663125 Standard INIT
  3406. 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0832663125) State Change CS_INIT -> CS_ROUTING
  3407. 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0832663125) State INIT going to sleep
  3408. 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_ROUTING (Cur 11 Tot 118028)
  3409. 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0832663125) State ROUTING
  3410. 2022-07-26 07:22:23.860689 [DEBUG] mod_sofia.c:143 sofia/default/0832663125 SOFIA ROUTING
  3411. 2022-07-26 07:22:23.860689 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0832663125) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  3412. 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0832663125) State ROUTING going to sleep
  3413. 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_CONSUME_MEDIA (Cur 11 Tot 118028)
  3414. 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0832663125) State CONSUME_MEDIA
  3415. 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0832663125) State CONSUME_MEDIA going to sleep
  3416. 2022-07-26 07:22:23.870667 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [calling][0]
  3417. 2022-07-26 07:22:25.230673 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 2:800
  3418. 2022-07-26 07:22:25.230673 [INFO] switch_channel.c:515 RECV DTMF 2:800
  3419. 2022-07-26 07:22:25.240974 [DEBUG] switch_rtp.c:5261 Send start packet for [2] ts=141353 dur=160/160/800 seq=3240 lw=141353
  3420. 2022-07-26 07:22:25.271587 [DEBUG] switch_rtp.c:5160 Send middle packet for [2] ts=141353 dur=320/320/800 seq=3241 lw=141513
  3421. 2022-07-26 07:22:25.271587 [DEBUG] switch_rtp.c:5160 Send middle packet for [2] ts=141353 dur=480/480/800 seq=3242 lw=141673
  3422. 2022-07-26 07:22:25.300657 [DEBUG] switch_rtp.c:5160 Send middle packet for [2] ts=141353 dur=640/640/800 seq=3243 lw=141833
  3423. 2022-07-26 07:22:25.320853 [DEBUG] switch_rtp.c:5160 Send end packet for [2] ts=141353 dur=800/800/800 seq=3244 lw=141833
  3424. 2022-07-26 07:22:25.320853 [DEBUG] switch_rtp.c:5160 Send end packet for [2] ts=141353 dur=800/800/800 seq=3245 lw=141833
  3425. 2022-07-26 07:22:25.320853 [DEBUG] switch_rtp.c:5160 Send end packet for [2] ts=141353 dur=800/800/800 seq=3246 lw=141833
  3426. 2022-07-26 07:22:25.320853 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms
  3427. 2022-07-26 07:22:26.620684 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [proceeding][183]
  3428. 2022-07-26 07:22:26.620684 [DEBUG] sofia.c:7094 Remote SDP:
  3429. v=0
  3430. o=HuaweiSoftX3000 135476422252703 135476422252703 IN IP4 41.160.32.115
  3431. s=-
  3432. c=IN IP4 41.160.32.115
  3433. t=0 0
  3434. m=audio 20604 RTP/AVP 8 101
  3435. a=rtpmap:8 PCMA/8000
  3436. a=rtpmap:101 telephone-event/8000
  3437. a=fmtp:101 0-15
  3438. a=ptime:20
  3439.  
  3440. 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  3441. 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3442. 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  3443. 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3444. 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  3445. 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0832663125 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  3446. 2022-07-26 07:22:26.620684 [DEBUG] switch_core_codec.c:111 sofia/default/0832663125 Original read codec set to PCMA:8
  3447. 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  3448. 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:4767 sofia/default/0832663125 Set 2833 dtmf send payload to 101 recv payload to 101
  3449. 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0832663125] 156.38.231.107 port 28698 -> 41.160.32.115 port 20604 codec: 8 ms: 20
  3450. 2022-07-26 07:22:26.630704 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  3451. 2022-07-26 07:22:26.630704 [DEBUG] switch_core_media.c:7180 sofia/default/0832663125 Set 2833 dtmf send payload to 101
  3452. 2022-07-26 07:22:26.630704 [DEBUG] switch_core_media.c:7187 sofia/default/0832663125 Set 2833 dtmf receive payload to 101
  3453. 2022-07-26 07:22:26.630704 [DEBUG] switch_core_media.c:7210 sofia/default/0832663125 Set rtp dtmf delay to 40
  3454. 2022-07-26 07:22:26.630704 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0832663125!
  3455. 2022-07-26 07:22:26.630704 [DEBUG] switch_channel.c:3474 (sofia/default/0832663125) Callstate Change DOWN -> EARLY
  3456. 2022-07-26 07:22:26.640658 [INFO] switch_ivr_originate.c:3654 Sending early media
  3457. 2022-07-26 07:22:26.640658 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/27744086022@156.38.231.107] 156.38.231.107 port 30950 -> 156.38.231.107 port 17804 codec: 8 ms: 20
  3458. 2022-07-26 07:22:26.640658 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  3459. 2022-07-26 07:22:26.640658 [DEBUG] switch_core_media.c:7180 sofia/default/27744086022@156.38.231.107 Set 2833 dtmf send payload to 101
  3460. 2022-07-26 07:22:26.640658 [DEBUG] switch_core_media.c:7187 sofia/default/27744086022@156.38.231.107 Set 2833 dtmf receive payload to 101
  3461. 2022-07-26 07:22:26.640658 [DEBUG] switch_core_media.c:7210 sofia/default/27744086022@156.38.231.107 Set rtp dtmf delay to 40
  3462. 2022-07-26 07:22:26.640658 [DEBUG] mod_sofia.c:2364 Ring SDP:
  3463. v=0
  3464. o=FreeSWITCH 1658789196 1658789197 IN IP4 156.38.231.107
  3465. s=FreeSWITCH
  3466. c=IN IP4 156.38.231.107
  3467. t=0 0
  3468. m=audio 30950 RTP/AVP 8 101
  3469. a=rtpmap:8 PCMA/8000
  3470. a=rtpmap:101 telephone-event/8000
  3471. a=fmtp:101 0-16
  3472. a=ptime:20
  3473. a=sendrecv
  3474.  
  3475. 2022-07-26 07:22:26.640658 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/27744086022@156.38.231.107!
  3476. 2022-07-26 07:22:26.640658 [DEBUG] switch_channel.c:3474 (sofia/default/27744086022@156.38.231.107) Callstate Change RINGING -> EARLY
  3477. 2022-07-26 07:22:26.650661 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0832663125]
  3478. 2022-07-26 07:22:26.650661 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0832663125) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  3479. 2022-07-26 07:22:26.650661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_EXCHANGE_MEDIA (Cur 11 Tot 118028)
  3480. 2022-07-26 07:22:26.650661 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0832663125) State EXCHANGE_MEDIA
  3481. 2022-07-26 07:22:26.650661 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  3482. 2022-07-26 07:22:26.650661 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125@mbvit.nebular.co.za entering state [proceeding][183]
  3483. 2022-07-26 07:22:26.650661 [DEBUG] sofia.c:7094 Remote SDP:
  3484. v=0
  3485. o=FreeSWITCH 1658789196 1658789197 IN IP4 156.38.231.107
  3486. s=FreeSWITCH
  3487. c=IN IP4 156.38.231.107
  3488. t=0 0
  3489. m=audio 30950 RTP/AVP 8 101
  3490. a=rtpmap:8 PCMA/8000
  3491. a=rtpmap:101 telephone-event/8000
  3492. a=fmtp:101 0-16
  3493. a=ptime:20
  3494.  
  3495. 2022-07-26 07:22:26.650661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3496. 2022-07-26 07:22:26.650661 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  3497. 2022-07-26 07:22:26.650661 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  3498. 2022-07-26 07:22:26.650661 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0832663125@mbvit.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  3499. 2022-07-26 07:22:26.650661 [DEBUG] switch_core_codec.c:111 sofia/default/0832663125@mbvit.nebular.co.za Original read codec set to PCMA:8
  3500. 2022-07-26 07:22:26.650661 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  3501. 2022-07-26 07:22:26.650661 [DEBUG] switch_core_media.c:4767 sofia/default/0832663125@mbvit.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  3502. 2022-07-26 07:22:26.650661 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0832663125@mbvit.nebular.co.za] 156.38.231.107 port 17804 -> 156.38.231.107 port 30950 codec: 8 ms: 20
  3503. 2022-07-26 07:22:26.661848 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  3504. 2022-07-26 07:22:26.661848 [DEBUG] sofia.c:7084 Channel sofia/default/27744086022@156.38.231.107 entering state [early][183]
  3505. 2022-07-26 07:22:26.661848 [DEBUG] switch_core_media.c:7180 sofia/default/0832663125@mbvit.nebular.co.za Set 2833 dtmf send payload to 101
  3506. 2022-07-26 07:22:26.661848 [DEBUG] switch_core_media.c:7187 sofia/default/0832663125@mbvit.nebular.co.za Set 2833 dtmf receive payload to 101
  3507. 2022-07-26 07:22:26.661848 [DEBUG] switch_core_media.c:7210 sofia/default/0832663125@mbvit.nebular.co.za Set rtp dtmf delay to 40
  3508. 2022-07-26 07:22:26.661848 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0832663125@mbvit.nebular.co.za!
  3509. 2022-07-26 07:22:26.661848 [DEBUG] switch_channel.c:3474 (sofia/default/0832663125@mbvit.nebular.co.za) Callstate Change DOWN -> EARLY
  3510. EXECUTE sofia/default/0832663125@mbvit.nebular.co.za lua(/usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  3511. 2022-07-26 07:22:26.680659 [NOTICE] switch_cpp.cpp:1365 [Astpp_Call-Ring Group]  Ring group confirm flag :false
  3512. 2022-07-26 07:22:26.680659 [DEBUG] switch_cpp.cpp:1112 sofia/default/0832663125@mbvit.nebular.co.za destroy/unlink session from object
  3513. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_codec.c:248 sofia/default/0744086022@41.160.32.115:5060 Restore previous codec PCMA:8.
  3514. 2022-07-26 07:22:26.690659 [NOTICE] switch_ivr_originate.c:3612 Hangup sofia/default/173@mbvit.nebular.co.za [CS_CONSUME_MEDIA] [LOSE_RACE]
  3515. 2022-07-26 07:22:26.690659 [NOTICE] switch_ivr_originate.c:3612 Hangup sofia/default/171@mbvit.nebular.co.za [CS_CONSUME_MEDIA] [LOSE_RACE]
  3516. 2022-07-26 07:22:26.690659 [NOTICE] switch_ivr_originate.c:3612 Hangup sofia/default/174@mbvit.nebular.co.za [CS_CONSUME_MEDIA] [LOSE_RACE]
  3517. 2022-07-26 07:22:26.690659 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0832663125@mbvit.nebular.co.za]
  3518. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_HANGUP (Cur 11 Tot 118028)
  3519. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:850 (sofia/default/173@mbvit.nebular.co.za) Callstate Change RINGING -> HANGUP
  3520. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:852 (sofia/default/173@mbvit.nebular.co.za) State HANGUP
  3521. 2022-07-26 07:22:26.690659 [DEBUG] mod_sofia.c:438 Channel sofia/default/173@mbvit.nebular.co.za hanging up, cause: LOSE_RACE
  3522. 2022-07-26 07:22:26.690659 [DEBUG] switch_channel.c:2047 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change RING_WAIT -> ACTIVE
  3523. 2022-07-26 07:22:26.690659 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/173@mbvit.nebular.co.za
  3524. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_HANGUP (Cur 11 Tot 118028)
  3525. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:60 sofia/default/173@mbvit.nebular.co.za Standard HANGUP, cause: LOSE_RACE
  3526. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:852 (sofia/default/173@mbvit.nebular.co.za) State HANGUP going to sleep
  3527. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:619 (sofia/default/173@mbvit.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  3528. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_REPORTING (Cur 11 Tot 118028)
  3529. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:850 (sofia/default/174@mbvit.nebular.co.za) Callstate Change RINGING -> HANGUP
  3530. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:938 (sofia/default/173@mbvit.nebular.co.za) State REPORTING
  3531. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:852 (sofia/default/174@mbvit.nebular.co.za) State HANGUP
  3532. 2022-07-26 07:22:26.690659 [DEBUG] mod_sofia.c:438 Channel sofia/default/174@mbvit.nebular.co.za hanging up, cause: LOSE_RACE
  3533. 2022-07-26 07:22:26.690659 [INFO] mod_json_cdr.c:271 Process [aa165374-0cb3-11ed-bba1-d3f1ef10c389.cdr.json]
  3534. 2022-07-26 07:22:26.690659 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  3535. 2022-07-26 07:22:26.690659 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/174@mbvit.nebular.co.za
  3536. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:60 sofia/default/174@mbvit.nebular.co.za Standard HANGUP, cause: LOSE_RACE
  3537. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:852 (sofia/default/174@mbvit.nebular.co.za) State HANGUP going to sleep
  3538. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:619 (sofia/default/174@mbvit.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  3539. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_REPORTING (Cur 11 Tot 118028)
  3540. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_HANGUP (Cur 11 Tot 118028)
  3541. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:938 (sofia/default/174@mbvit.nebular.co.za) State REPORTING
  3542. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:850 (sofia/default/171@mbvit.nebular.co.za) Callstate Change RINGING -> HANGUP
  3543. 2022-07-26 07:22:26.690659 [INFO] mod_json_cdr.c:271 Process [aa1702b0-0cb3-11ed-bbad-d3f1ef10c389.cdr.json]
  3544. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:852 (sofia/default/171@mbvit.nebular.co.za) State HANGUP
  3545. 2022-07-26 07:22:26.690659 [DEBUG] mod_sofia.c:438 Channel sofia/default/171@mbvit.nebular.co.za hanging up, cause: LOSE_RACE
  3546. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 11 Tot 118028)
  3547. 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0832663125@mbvit.nebular.co.za) State EXCHANGE_MEDIA
  3548. 2022-07-26 07:22:26.690659 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  3549. 2022-07-26 07:22:26.705203 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/171@mbvit.nebular.co.za
  3550. 2022-07-26 07:22:26.705203 [DEBUG] switch_core_state_machine.c:60 sofia/default/171@mbvit.nebular.co.za Standard HANGUP, cause: LOSE_RACE
  3551. 2022-07-26 07:22:26.705203 [DEBUG] switch_core_state_machine.c:852 (sofia/default/171@mbvit.nebular.co.za) State HANGUP going to sleep
  3552. 2022-07-26 07:22:26.705203 [DEBUG] switch_core_state_machine.c:619 (sofia/default/171@mbvit.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  3553. 2022-07-26 07:22:26.705203 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_REPORTING (Cur 11 Tot 118028)
  3554. 2022-07-26 07:22:26.705203 [DEBUG] switch_core_state_machine.c:938 (sofia/default/171@mbvit.nebular.co.za) State REPORTING
  3555. 2022-07-26 07:22:26.705203 [INFO] mod_json_cdr.c:271 Process [aa1662ba-0cb3-11ed-bba7-d3f1ef10c389.cdr.json]
  3556. 2022-07-26 07:22:26.751895 [DEBUG] switch_core_state_machine.c:174 sofia/default/173@mbvit.nebular.co.za Standard REPORTING, cause: LOSE_RACE
  3557. 2022-07-26 07:22:26.751895 [DEBUG] switch_core_state_machine.c:938 (sofia/default/173@mbvit.nebular.co.za) State REPORTING going to sleep
  3558. 2022-07-26 07:22:26.751895 [DEBUG] switch_core_state_machine.c:610 (sofia/default/173@mbvit.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  3559. 2022-07-26 07:22:26.751895 [DEBUG] switch_core_session.c:1665 Session 118023 (sofia/default/173@mbvit.nebular.co.za) Locked, Waiting on external entities
  3560. 2022-07-26 07:22:26.751895 [NOTICE] switch_core_session.c:1683 Session 118023 (sofia/default/173@mbvit.nebular.co.za) Ended
  3561. 2022-07-26 07:22:26.751895 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/173@mbvit.nebular.co.za [CS_DESTROY]
  3562. 2022-07-26 07:22:26.751895 [DEBUG] switch_core_state_machine.c:741 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_DESTROY (Cur 10 Tot 118028)
  3563. 2022-07-26 07:22:26.751895 [DEBUG] switch_core_state_machine.c:751 (sofia/default/173@mbvit.nebular.co.za) State DESTROY
  3564. 2022-07-26 07:22:26.751895 [DEBUG] mod_sofia.c:343 sofia/default/173@mbvit.nebular.co.za SOFIA DESTROY
  3565. 2022-07-26 07:22:26.751895 [DEBUG] switch_core_state_machine.c:181 sofia/default/173@mbvit.nebular.co.za Standard DESTROY
  3566. 2022-07-26 07:22:26.751895 [DEBUG] switch_core_state_machine.c:751 (sofia/default/173@mbvit.nebular.co.za) State DESTROY going to sleep
  3567. 2022-07-26 07:22:26.761455 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  3568. 2022-07-26 07:22:26.761455 [DEBUG] switch_core_state_machine.c:174 sofia/default/174@mbvit.nebular.co.za Standard REPORTING, cause: LOSE_RACE
  3569. 2022-07-26 07:22:26.761455 [DEBUG] switch_core_state_machine.c:938 (sofia/default/174@mbvit.nebular.co.za) State REPORTING going to sleep
  3570. 2022-07-26 07:22:26.761455 [DEBUG] switch_core_state_machine.c:610 (sofia/default/174@mbvit.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  3571. 2022-07-26 07:22:26.761455 [DEBUG] switch_core_session.c:1665 Session 118025 (sofia/default/174@mbvit.nebular.co.za) Locked, Waiting on external entities
  3572. 2022-07-26 07:22:26.761455 [NOTICE] switch_core_session.c:1683 Session 118025 (sofia/default/174@mbvit.nebular.co.za) Ended
  3573. 2022-07-26 07:22:26.761455 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/174@mbvit.nebular.co.za [CS_DESTROY]
  3574. 2022-07-26 07:22:26.761455 [DEBUG] switch_core_state_machine.c:741 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_DESTROY (Cur 9 Tot 118028)
  3575. 2022-07-26 07:22:26.761455 [DEBUG] switch_core_state_machine.c:751 (sofia/default/174@mbvit.nebular.co.za) State DESTROY
  3576. 2022-07-26 07:22:26.761455 [DEBUG] mod_sofia.c:343 sofia/default/174@mbvit.nebular.co.za SOFIA DESTROY
  3577. 2022-07-26 07:22:26.761455 [DEBUG] switch_core_state_machine.c:181 sofia/default/174@mbvit.nebular.co.za Standard DESTROY
  3578. 2022-07-26 07:22:26.761455 [DEBUG] switch_core_state_machine.c:751 (sofia/default/174@mbvit.nebular.co.za) State DESTROY going to sleep
  3579. 2022-07-26 07:22:26.780942 [DEBUG] switch_core_state_machine.c:174 sofia/default/171@mbvit.nebular.co.za Standard REPORTING, cause: LOSE_RACE
  3580. 2022-07-26 07:22:26.780942 [DEBUG] switch_core_state_machine.c:938 (sofia/default/171@mbvit.nebular.co.za) State REPORTING going to sleep
  3581. 2022-07-26 07:22:26.780942 [DEBUG] switch_core_state_machine.c:610 (sofia/default/171@mbvit.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  3582. 2022-07-26 07:22:26.780942 [DEBUG] switch_core_session.c:1665 Session 118024 (sofia/default/171@mbvit.nebular.co.za) Locked, Waiting on external entities
  3583. 2022-07-26 07:22:26.780942 [NOTICE] switch_core_session.c:1683 Session 118024 (sofia/default/171@mbvit.nebular.co.za) Ended
  3584. 2022-07-26 07:22:26.780942 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/171@mbvit.nebular.co.za [CS_DESTROY]
  3585. 2022-07-26 07:22:26.780942 [DEBUG] switch_core_state_machine.c:741 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_DESTROY (Cur 8 Tot 118028)
  3586. 2022-07-26 07:22:26.780942 [DEBUG] switch_core_state_machine.c:751 (sofia/default/171@mbvit.nebular.co.za) State DESTROY
  3587. 2022-07-26 07:22:26.780942 [DEBUG] mod_sofia.c:343 sofia/default/171@mbvit.nebular.co.za SOFIA DESTROY
  3588. 2022-07-26 07:22:26.780942 [DEBUG] switch_core_state_machine.c:181 sofia/default/171@mbvit.nebular.co.za Standard DESTROY
  3589. 2022-07-26 07:22:26.780942 [DEBUG] switch_core_state_machine.c:751 (sofia/default/171@mbvit.nebular.co.za) State DESTROY going to sleep
  3590. 2022-07-26 07:22:26.830657 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0832663125 Bridge execute app sched_hangup(+6000 normal_clearing)
  3591. 2022-07-26 07:22:26.840660 [DEBUG] switch_ivr.c:623 sofia/default/0832663125 Command Execute sched_hangup(+6000 normal_clearing)
  3592. EXECUTE sofia/default/0832663125 sched_hangup(+6000 normal_clearing)
  3593. 2022-07-26 07:22:26.840660 [DEBUG] switch_scheduler.c:249 Added task 47234 switch_ivr_schedule_hangup (b1b866ee-0cb3-11ed-bbdb-d3f1ef10c389) to run at 1658826146
  3594. 2022-07-26 07:22:26.880678 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0832663125@mbvit.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  3595. 2022-07-26 07:22:26.901119 [DEBUG] switch_ivr.c:623 sofia/default/0832663125@mbvit.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing)
  3596. EXECUTE sofia/default/0832663125@mbvit.nebular.co.za sched_hangup(+6000 normal_clearing)
  3597. 2022-07-26 07:22:26.901119 [DEBUG] switch_scheduler.c:249 Added task 47235 switch_ivr_schedule_hangup (aa171570-0cb3-11ed-bbb3-d3f1ef10c389) to run at 1658826146
  3598. 2022-07-26 07:22:27.430662 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  3599. 2022-07-26 07:22:27.430662 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [proceeding][180]
  3600. 2022-07-26 07:22:27.430662 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/0832663125!
  3601. 2022-07-26 07:22:27.430662 [DEBUG] switch_channel.c:3346 (sofia/default/0832663125) Callstate Change EARLY -> RINGING
  3602. 2022-07-26 07:22:27.480661 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  3603. 2022-07-26 07:22:48.670681 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [completing][200]
  3604. 2022-07-26 07:22:48.670681 [DEBUG] sofia.c:7091 Duplicate SDP
  3605. v=0
  3606. o=HuaweiSoftX3000 135476422252703 135476422252703 IN IP4 41.160.32.115
  3607. s=-
  3608. c=IN IP4 41.160.32.115
  3609. t=0 0
  3610. m=audio 20604 RTP/AVP 8 101
  3611. a=rtpmap:8 PCMA/8000
  3612. a=rtpmap:101 telephone-event/8000
  3613. a=fmtp:101 0-15
  3614. a=ptime:20
  3615.  
  3616. 2022-07-26 07:22:48.692377 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [ready][200]
  3617. 2022-07-26 07:22:48.692377 [NOTICE] sofia.c:8159 Channel [sofia/default/0832663125] has been answered
  3618. 2022-07-26 07:22:48.692377 [DEBUG] switch_channel.c:3773 (sofia/default/0832663125) Callstate Change RINGING -> ACTIVE
  3619. 2022-07-26 07:22:48.692377 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/27744086022@156.38.231.107.
  3620. 2022-07-26 07:22:48.692377 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/27744086022@156.38.231.107:
  3621. v=0
  3622. o=FreeSWITCH 1658789196 1658789198 IN IP4 156.38.231.107
  3623. s=FreeSWITCH
  3624. c=IN IP4 156.38.231.107
  3625. t=0 0
  3626. m=audio 30950 RTP/AVP 8 101
  3627. a=rtpmap:8 PCMA/8000
  3628. a=rtpmap:101 telephone-event/8000
  3629. a=fmtp:101 0-16
  3630. a=ptime:20
  3631. a=sendrecv
  3632.  
  3633. 2022-07-26 07:22:48.692377 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/27744086022@156.38.231.107] has been answered
  3634. 2022-07-26 07:22:48.692377 [DEBUG] switch_channel.c:3773 (sofia/default/27744086022@156.38.231.107) Callstate Change EARLY -> ACTIVE
  3635. 2022-07-26 07:22:48.720660 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125@mbvit.nebular.co.za entering state [completing][200]
  3636. 2022-07-26 07:22:48.720660 [DEBUG] sofia.c:7091 Duplicate SDP
  3637. v=0
  3638. o=FreeSWITCH 1658789196 1658789197 IN IP4 156.38.231.107
  3639. s=FreeSWITCH
  3640. c=IN IP4 156.38.231.107
  3641. t=0 0
  3642. m=audio 30950 RTP/AVP 8 101
  3643. a=rtpmap:8 PCMA/8000
  3644. a=rtpmap:101 telephone-event/8000
  3645. a=fmtp:101 0-16
  3646. a=ptime:20
  3647.  
  3648. 2022-07-26 07:22:48.720660 [DEBUG] sofia.c:7084 Channel sofia/default/27744086022@156.38.231.107 entering state [completed][200]
  3649. 2022-07-26 07:22:48.740662 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125@mbvit.nebular.co.za entering state [ready][200]
  3650. 2022-07-26 07:22:48.740662 [NOTICE] sofia.c:8159 Channel [sofia/default/0832663125@mbvit.nebular.co.za] has been answered
  3651. 2022-07-26 07:22:48.740662 [DEBUG] switch_channel.c:3773 (sofia/default/0832663125@mbvit.nebular.co.za) Callstate Change EARLY -> ACTIVE
  3652. 2022-07-26 07:22:48.740662 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  3653. 2022-07-26 07:22:48.740662 [DEBUG] sofia.c:7084 Channel sofia/default/27744086022@156.38.231.107 entering state [ready][200]
  3654. 2022-07-26 07:22:48.750658 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  3655. 2022-07-26 07:22:48.803001 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  3656. 2022-07-26 07:23:02.560961 [NOTICE] sofia.c:1012 Hangup sofia/default/0744086022@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  3657. 2022-07-26 07:23:02.560961 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0744086022@41.160.32.115:5060]
  3658. 2022-07-26 07:23:02.560961 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0744086022@41.160.32.115:5060 ending bridge by request from write function
  3659. 2022-07-26 07:23:02.560961 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0832663125@mbvit.nebular.co.za]
  3660. 2022-07-26 07:23:02.560961 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0832663125@mbvit.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  3661. 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0832663125@mbvit.nebular.co.za) State EXCHANGE_MEDIA going to sleep
  3662. 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_HANGUP (Cur 8 Tot 118028)
  3663. 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0832663125@mbvit.nebular.co.za) Callstate Change ACTIVE -> HANGUP
  3664. 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0832663125@mbvit.nebular.co.za) State HANGUP
  3665. 2022-07-26 07:23:02.560961 [DEBUG] mod_sofia.c:432 sofia/default/0832663125@mbvit.nebular.co.za Overriding SIP cause 480 with 200 from the other leg
  3666. 2022-07-26 07:23:02.560961 [DEBUG] mod_sofia.c:438 Channel sofia/default/0832663125@mbvit.nebular.co.za hanging up, cause: NORMAL_CLEARING
  3667. 2022-07-26 07:23:02.560961 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0832663125@mbvit.nebular.co.za
  3668. 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:60 sofia/default/0832663125@mbvit.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING
  3669. 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0832663125@mbvit.nebular.co.za) State HANGUP going to sleep
  3670. 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  3671. 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_REPORTING (Cur 8 Tot 118028)
  3672. 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0832663125@mbvit.nebular.co.za) State REPORTING
  3673. 2022-07-26 07:23:02.560961 [INFO] mod_json_cdr.c:271 Process [aa171570-0cb3-11ed-bbb3-d3f1ef10c389.cdr.json]
  3674. 2022-07-26 07:23:02.588788 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0832663125@mbvit.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  3675. 2022-07-26 07:23:02.588788 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0744086022@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  3676. 2022-07-26 07:23:02.588788 [DEBUG] switch_core_session.c:2815 sofia/default/0744086022@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  3677. 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0744086022@41.160.32.115:5060) State EXECUTE going to sleep
  3678. 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 8 Tot 118028)
  3679. 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP
  3680. 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0744086022@41.160.32.115:5060) State HANGUP
  3681. 2022-07-26 07:23:02.588788 [DEBUG] mod_sofia.c:438 Channel sofia/default/0744086022@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING
  3682. 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:60 sofia/default/0744086022@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING
  3683. 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0744086022@41.160.32.115:5060) State HANGUP going to sleep
  3684. 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING
  3685. 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 8 Tot 118028)
  3686. 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0744086022@41.160.32.115:5060) State REPORTING
  3687. 2022-07-26 07:23:02.588788 [INFO] mod_json_cdr.c:271 Process [a54495a4-0cb3-11ed-bb26-d3f1ef10c389.cdr.json]
  3688. 2022-07-26 07:23:02.616679 [NOTICE] sofia.c:1012 Hangup sofia/default/27744086022@156.38.231.107 [CS_EXECUTE] [NORMAL_CLEARING]
  3689. 2022-07-26 07:23:02.616679 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/27744086022@156.38.231.107]
  3690. 2022-07-26 07:23:02.616679 [DEBUG] switch_ivr_bridge.c:706 sofia/default/27744086022@156.38.231.107 ending bridge by request from write function
  3691. 2022-07-26 07:23:02.616679 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0832663125]
  3692. 2022-07-26 07:23:02.616679 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0832663125 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  3693. 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0832663125) State EXCHANGE_MEDIA going to sleep
  3694. 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_HANGUP (Cur 8 Tot 118028)
  3695. 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0832663125) Callstate Change ACTIVE -> HANGUP
  3696. 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0832663125) State HANGUP
  3697. 2022-07-26 07:23:02.616679 [DEBUG] mod_sofia.c:432 sofia/default/0832663125 Overriding SIP cause 480 with 200 from the other leg
  3698. 2022-07-26 07:23:02.616679 [DEBUG] mod_sofia.c:438 Channel sofia/default/0832663125 hanging up, cause: NORMAL_CLEARING
  3699. 2022-07-26 07:23:02.616679 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0832663125
  3700. 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:60 sofia/default/0832663125 Standard HANGUP, cause: NORMAL_CLEARING
  3701. 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0832663125) State HANGUP going to sleep
  3702. 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0832663125) State Change CS_HANGUP -> CS_REPORTING
  3703. 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_REPORTING (Cur 8 Tot 118028)
  3704. 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0832663125) State REPORTING
  3705. 2022-07-26 07:23:02.616679 [INFO] mod_json_cdr.c:271 Process [b1b866ee-0cb3-11ed-bbdb-d3f1ef10c389.cdr.json]
  3706. 2022-07-26 07:23:02.681131 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0832663125 skip receive message [UNBRIDGE] (channel is hungup already)
  3707. 2022-07-26 07:23:02.681131 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/27744086022@156.38.231.107 skip receive message [UNBRIDGE] (channel is hungup already)
  3708. 2022-07-26 07:23:02.681131 [DEBUG] switch_core_session.c:2815 sofia/default/27744086022@156.38.231.107 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  3709. 2022-07-26 07:23:02.681131 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27744086022@156.38.231.107) State EXECUTE going to sleep
  3710. 2022-07-26 07:23:02.681131 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_HANGUP (Cur 8 Tot 118028)
  3711. 2022-07-26 07:23:02.681131 [DEBUG] switch_core_state_machine.c:850 (sofia/default/27744086022@156.38.231.107) Callstate Change ACTIVE -> HANGUP
  3712. 2022-07-26 07:23:02.681131 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27744086022@156.38.231.107) State HANGUP
  3713. 2022-07-26 07:23:02.681131 [DEBUG] mod_sofia.c:438 Channel sofia/default/27744086022@156.38.231.107 hanging up, cause: NORMAL_CLEARING
  3714. 2022-07-26 07:23:02.701836 [DEBUG] switch_core_state_machine.c:60 sofia/default/27744086022@156.38.231.107 Standard HANGUP, cause: NORMAL_CLEARING
  3715. 2022-07-26 07:23:02.701836 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27744086022@156.38.231.107) State HANGUP going to sleep
  3716. 2022-07-26 07:23:02.701836 [DEBUG] switch_core_state_machine.c:619 (sofia/default/27744086022@156.38.231.107) State Change CS_HANGUP -> CS_REPORTING
  3717. 2022-07-26 07:23:02.701836 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_REPORTING (Cur 8 Tot 118028)
  3718. 2022-07-26 07:23:02.701836 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27744086022@156.38.231.107) State REPORTING
  3719. 2022-07-26 07:23:02.701836 [INFO] mod_json_cdr.c:271 Process [b0a42b44-0cb3-11ed-bbb8-d3f1ef10c389.cdr.json]
  3720. 2022-07-26 07:23:02.737017 [DEBUG] switch_core_state_machine.c:174 sofia/default/0832663125 Standard REPORTING, cause: NORMAL_CLEARING
  3721. 2022-07-26 07:23:02.737017 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0832663125) State REPORTING going to sleep
  3722. 2022-07-26 07:23:02.737017 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0832663125) State Change CS_REPORTING -> CS_DESTROY
  3723. 2022-07-26 07:23:02.737017 [DEBUG] switch_core_session.c:1665 Session 118028 (sofia/default/0832663125) Locked, Waiting on external entities
  3724. 2022-07-26 07:23:02.737017 [NOTICE] switch_core_session.c:1683 Session 118028 (sofia/default/0832663125) Ended
  3725. 2022-07-26 07:23:02.737017 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0832663125 [CS_DESTROY]
  3726. 2022-07-26 07:23:02.737017 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0832663125) Running State Change CS_DESTROY (Cur 7 Tot 118028)
  3727. 2022-07-26 07:23:02.737017 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0832663125) State DESTROY
  3728. 2022-07-26 07:23:02.737017 [DEBUG] mod_sofia.c:343 sofia/default/0832663125 SOFIA DESTROY
  3729. 2022-07-26 07:23:02.737017 [DEBUG] switch_core_state_machine.c:181 sofia/default/0832663125 Standard DESTROY
  3730. 2022-07-26 07:23:02.737017 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0832663125) State DESTROY going to sleep
  3731. 2022-07-26 07:23:02.750868 [DEBUG] switch_core_state_machine.c:174 sofia/default/0832663125@mbvit.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING
  3732. 2022-07-26 07:23:02.750868 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0832663125@mbvit.nebular.co.za) State REPORTING going to sleep
  3733. 2022-07-26 07:23:02.750868 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  3734. 2022-07-26 07:23:02.750868 [DEBUG] switch_core_session.c:1665 Session 118026 (sofia/default/0832663125@mbvit.nebular.co.za) Locked, Waiting on external entities
  3735. 2022-07-26 07:23:02.750868 [NOTICE] switch_core_session.c:1683 Session 118026 (sofia/default/0832663125@mbvit.nebular.co.za) Ended
  3736. 2022-07-26 07:23:02.750868 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0832663125@mbvit.nebular.co.za [CS_DESTROY]
  3737. 2022-07-26 07:23:02.750868 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_DESTROY (Cur 6 Tot 118028)
  3738. 2022-07-26 07:23:02.750868 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0832663125@mbvit.nebular.co.za) State DESTROY
  3739. 2022-07-26 07:23:02.750868 [DEBUG] mod_sofia.c:343 sofia/default/0832663125@mbvit.nebular.co.za SOFIA DESTROY
  3740. 2022-07-26 07:23:02.750868 [DEBUG] switch_core_state_machine.c:181 sofia/default/0832663125@mbvit.nebular.co.za Standard DESTROY
  3741. 2022-07-26 07:23:02.750868 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0832663125@mbvit.nebular.co.za) State DESTROY going to sleep
  3742. 2022-07-26 07:23:02.931798 [DEBUG] switch_scheduler.c:144 Deleting task 47234 switch_ivr_schedule_hangup (b1b866ee-0cb3-11ed-bbdb-d3f1ef10c389)
  3743. 2022-07-26 07:23:02.931798 [DEBUG] switch_scheduler.c:144 Deleting task 47235 switch_ivr_schedule_hangup (aa171570-0cb3-11ed-bbb3-d3f1ef10c389)
  3744. 2022-07-26 07:23:02.931798 [DEBUG] switch_core_state_machine.c:174 sofia/default/0744086022@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING
  3745. 2022-07-26 07:23:02.931798 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0744086022@41.160.32.115:5060) State REPORTING going to sleep
  3746. 2022-07-26 07:23:02.931798 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY
  3747. 2022-07-26 07:23:02.931798 [DEBUG] switch_core_session.c:1665 Session 118020 (sofia/default/0744086022@41.160.32.115:5060) Locked, Waiting on external entities
  3748. 2022-07-26 07:23:02.931798 [NOTICE] switch_core_session.c:1683 Session 118020 (sofia/default/0744086022@41.160.32.115:5060) Ended
  3749. 2022-07-26 07:23:02.931798 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0744086022@41.160.32.115:5060 [CS_DESTROY]
  3750. 2022-07-26 07:23:02.931798 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 5 Tot 118028)
  3751. 2022-07-26 07:23:02.931798 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0744086022@41.160.32.115:5060) State DESTROY
  3752. 2022-07-26 07:23:02.931798 [DEBUG] mod_sofia.c:343 sofia/default/0744086022@41.160.32.115:5060 SOFIA DESTROY
  3753. 2022-07-26 07:23:02.931798 [DEBUG] switch_core_state_machine.c:181 sofia/default/0744086022@41.160.32.115:5060 Standard DESTROY
  3754. 2022-07-26 07:23:02.931798 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0744086022@41.160.32.115:5060) State DESTROY going to sleep
  3755. 2022-07-26 07:23:02.991313 [DEBUG] switch_core_state_machine.c:174 sofia/default/27744086022@156.38.231.107 Standard REPORTING, cause: NORMAL_CLEARING
  3756. 2022-07-26 07:23:02.991313 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27744086022@156.38.231.107) State REPORTING going to sleep
  3757. 2022-07-26 07:23:02.991313 [DEBUG] switch_core_state_machine.c:610 (sofia/default/27744086022@156.38.231.107) State Change CS_REPORTING -> CS_DESTROY
  3758. 2022-07-26 07:23:02.991313 [DEBUG] switch_core_session.c:1665 Session 118027 (sofia/default/27744086022@156.38.231.107) Locked, Waiting on external entities
  3759. 2022-07-26 07:23:02.991313 [NOTICE] switch_core_session.c:1683 Session 118027 (sofia/default/27744086022@156.38.231.107) Ended
  3760. 2022-07-26 07:23:02.991313 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/27744086022@156.38.231.107 [CS_DESTROY]
  3761. 2022-07-26 07:23:02.991313 [DEBUG] switch_core_state_machine.c:741 (sofia/default/27744086022@156.38.231.107) Running State Change CS_DESTROY (Cur 4 Tot 118028)
  3762. 2022-07-26 07:23:02.991313 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27744086022@156.38.231.107) State DESTROY
  3763. 2022-07-26 07:23:02.991313 [DEBUG] mod_sofia.c:343 sofia/default/27744086022@156.38.231.107 SOFIA DESTROY
  3764. 2022-07-26 07:23:02.991313 [DEBUG] switch_core_state_machine.c:181 sofia/default/27744086022@156.38.231.107 Standard DESTROY
  3765. 2022-07-26 07:23:02.991313 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27744086022@156.38.231.107) State DESTROY going to sleep
  3766. 2022-07-26 07:23:15.330673 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0744086022@41.160.32.115:5060 [d065f16a-0cb3-11ed-bbe4-d3f1ef10c389]
  3767. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_NEW (Cur 5 Tot 118029)
  3768. 2022-07-26 07:23:15.330673 [DEBUG] sofia.c:9873 sofia/default/0744086022@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  3769. 2022-07-26 07:23:15.330673 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  3770. 2022-07-26 07:23:15.330673 [DEBUG] sofia.c:7084 Channel sofia/default/0744086022@41.160.32.115:5060 entering state [received][100]
  3771. 2022-07-26 07:23:15.330673 [DEBUG] sofia.c:7094 Remote SDP:
  3772. v=0
  3773. o=HuaweiSoftX3000 12107781691099 12107781691099 IN IP4 41.160.32.115
  3774. s=-
  3775. c=IN IP4 41.160.32.115
  3776. t=0 0
  3777. m=audio 20606 RTP/AVP 102 8 102 102 18 116
  3778. a=rtpmap:102 AMR/8000
  3779. a=rtpmap:8 PCMA/8000
  3780. a=rtpmap:18 G729/8000
  3781. a=fmtp:18 annexb=no
  3782. a=rtpmap:116 telephone-event/8000
  3783. a=fmtp:116 0-15
  3784. a=ptime:20
  3785.  
  3786. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[G729:18:8000:60:8000:1]
  3787. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[G729:18:8000:20:8000:1]
  3788. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  3789. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  3790. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  3791. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  3792. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3793. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  3794. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3795. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:60:8000:1]
  3796. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:20:8000:1]
  3797. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMA:8:8000:20:64000:1]
  3798. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMU:0:8000:20:64000:1]
  3799. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:60:8000:1]
  3800. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:20:8000:1]
  3801. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMA:8:8000:20:64000:1]
  3802. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMU:0:8000:20:64000:1]
  3803. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  3804. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  3805. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  3806. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  3807. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  3808. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  3809. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 116@8000
  3810. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0744086022@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  3811. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_codec.c:111 sofia/default/0744086022@41.160.32.115:5060 Original read codec set to PCMA:8
  3812. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 116@8000
  3813. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4767 sofia/default/0744086022@41.160.32.115:5060 Set 2833 dtmf send payload to 116 recv payload to 116
  3814. 2022-07-26 07:23:15.330673 [DEBUG] sofia.c:7507 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_NEW -> CS_INIT
  3815. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0744086022@41.160.32.115:5060) State NEW
  3816. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_INIT (Cur 5 Tot 118029)
  3817. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0744086022@41.160.32.115:5060) State INIT
  3818. 2022-07-26 07:23:15.330673 [DEBUG] mod_sofia.c:90 sofia/default/0744086022@41.160.32.115:5060 SOFIA INIT
  3819. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:40 sofia/default/0744086022@41.160.32.115:5060 Standard INIT
  3820. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING
  3821. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0744086022@41.160.32.115:5060) State INIT going to sleep
  3822. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 5 Tot 118029)
  3823. 2022-07-26 07:23:15.330673 [DEBUG] switch_channel.c:2249 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change DOWN -> RINGING
  3824. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0744086022@41.160.32.115:5060) State ROUTING
  3825. 2022-07-26 07:23:15.330673 [DEBUG] mod_sofia.c:143 sofia/default/0744086022@41.160.32.115:5060 SOFIA ROUTING
  3826. 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:236 sofia/default/0744086022@41.160.32.115:5060 Standard ROUTING
  3827. 2022-07-26 07:23:15.330673 [INFO] mod_dialplan_xml.c:637 Processing 0744086022 <0744086022>->0103130001 in context default
  3828. 2022-07-26 07:23:15.421046 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ed00add20 Connected.
  3829. 2022-07-26 07:23:15.431363 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  3830. 2022-07-26 07:23:15.471700 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3831. 2022-07-26 07:23:15.520658 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  3832. 2022-07-26 07:23:15.520658 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0103130001
  3833. 2022-07-26 07:23:15.520658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0103130001' limit 1
  3834. 2022-07-26 07:23:15.570658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0103130001' AND status=0 limit 1
  3835. 2022-07-26 07:23:15.620661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0103130001' and status=0 LIMIT 1
  3836. 2022-07-26 07:23:15.670986 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  3837. 2022-07-26 07:23:15.670986 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 0744086022 / <null>
  3838. 2022-07-26 07:23:15.670986 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001" LIMIT 1
  3839. 2022-07-26 07:23:15.710683 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  3840. 2022-07-26 07:23:15.710683 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894]
  3841. 2022-07-26 07:23:15.710683 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  3842. 2022-07-26 07:23:15.750659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0103130001" AND (accountid = 0 OR status = 1) LIMIT 1
  3843. 2022-07-26 07:23:15.800670 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  3844. 2022-07-26 07:23:15.800670 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1
  3845. 2022-07-26 07:23:15.850661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  3846. 2022-07-26 07:23:15.850661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  3847. 2022-07-26 07:23:15.850661 [DEBUG] switch_cpp.cpp:1365 [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 = '^0103130001.*' OR patterns = '^010313000.*' OR patterns = '^01031300.*' OR patterns = '^0103130.*' OR patterns = '^010313.*' OR patterns = '^01031.*' OR patterns = '^0103.*' OR patterns = '^010.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  3848. 2022-07-26 07:23:15.882464 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001" AND A.accountid = '3' limit 1
  3849. 2022-07-26 07:23:15.911975 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0103130001
  3850. 2022-07-26 07:23:15.922283 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001" LIMIT 1
  3851. 2022-07-26 07:23:15.960821 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound
  3852. 2022-07-26 07:23:15.960821 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0103130001' OR number = '010313000' OR number = '01031300' OR number = '0103130' OR number = '010313' OR number = '01031' OR number = '0103' OR number = '010' OR number = '01' OR number = '0' OR number ='--') OR (number = '0103130001*' OR number = '010313000*' OR number = '01031300*' OR number = '0103130*' OR number = '010313*' OR number = '01031*' OR number = '0103*' OR number = '010*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  3853. 2022-07-26 07:23:15.992662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  3854. 2022-07-26 07:23:15.992662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0103130001' OR routing_prefix = '010313000' OR routing_prefix = '01031300' OR routing_prefix = '0103130' OR routing_prefix = '010313' OR routing_prefix = '01031' OR routing_prefix = '0103' OR routing_prefix = '010' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  3855. 2022-07-26 07:23:16.070682 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  3856. 2022-07-26 07:23:16.070682 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 3
  3857. 2022-07-26 07:23:16.070682 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 3673942894
  3858. 2022-07-26 07:23:16.070682 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  3859. 2022-07-26 07:23:16.070682 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  3860. 2022-07-26 07:23:16.070682 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 15
  3861. 2022-07-26 07:23:16.070682 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  3862. 2022-07-26 07:23:16.070682 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  3863. 2022-07-26 07:23:16.070682 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 15 AND status = 0
  3864. 2022-07-26 07:23:16.140738 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  3865. 2022-07-26 07:23:16.140738 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001" LIMIT 1
  3866. 2022-07-26 07:23:16.181403 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  3867. 2022-07-26 07:23:16.181403 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  3868. 2022-07-26 07:23:16.181403 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2007
  3869. 2022-07-26 07:23:16.181403 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  3870. 2022-07-26 07:23:16.181403 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  3871. 2022-07-26 07:23:16.181403 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  3872. 2022-07-26 07:23:16.181403 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0103130001
  3873. 2022-07-26 07:23:16.181403 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  3874. 2022-07-26 07:23:16.181403 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 3
  3875. 2022-07-26 07:23:16.181403 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  3876. 2022-07-26 07:23:16.181403 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
  3877. 2022-07-26 07:23:16.181403 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  3878. 2022-07-26 07:23:16.181403 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  3879. 2022-07-26 07:23:16.181403 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  3880. 2022-07-26 07:23:16.181403 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  3881. 2022-07-26 07:23:16.181403 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 3 AND status=0 LIMIT 1
  3882. 2022-07-26 07:23:16.232192 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++7
  3883. 2022-07-26 07:23:16.232192 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  3884. 2022-07-26 07:23:16.291139 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  3885. 2022-07-26 07:23:16.291139 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:3
  3886. 2022-07-26 07:23:16.291139 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  3887. 2022-07-26 07:23:16.291139 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  3888. 2022-07-26 07:23:16.334942 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : mbvit.nebular.co.za
  3889. 2022-07-26 07:23:16.334942 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  3890. 2022-07-26 07:23:16.334942 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3891. 2022-07-26 07:23:16.380665 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  3892. 2022-07-26 07:23:16.380665 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound
  3893. 2022-07-26 07:23:16.380665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0744086022
  3894. 2022-07-26 07:23:16.380665 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0744086022
  3895. 2022-07-26 07:23:16.380665 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27744086022
  3896. 2022-07-26 07:23:16.380665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....<null>
  3897. 2022-07-26 07:23:16.380665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  3898. 2022-07-26 07:23:16.440664 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : mbvit.nebular.co.za
  3899. 2022-07-26 07:23:16.440664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_10
  3900. 2022-07-26 07:23:16.440664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2007
  3901. 2022-07-26 07:23:16.440664 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 10
  3902. 2022-07-26 07:23:16.440664 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : IVR
  3903. 2022-07-26 07:23:16.440664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 1 and status=0 LIMIT 1
  3904. 2022-07-26 07:23:16.500683 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '${au-ring}' LIMIT 1
  3905. 2022-07-26 07:23:16.531846 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== sandip here===========================
  3906. 2022-07-26 07:23:16.531846 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  3907. <document type="freeswitch/xml">
  3908. <section name="dialplan" description="ASTPP Dialplan">
  3909. <context name="default">
  3910. <extension name="0103130001">
  3911. <condition field="destination_number" expression="0103130001">
  3912. <action application="set" data="effective_destination_number=0103130001"/>
  3913. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  3914. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  3915. <action application="set" data="callstart=2022-07-26 07:23:16"/>
  3916. <action application="set" data="hangup_after_bridge=true"/>
  3917. <action application="set" data="continue_on_fail=TRUE"/>
  3918. <action application="set" data="account_id=3"/>
  3919. <action application="set" data="parent_id=0"/>
  3920. <action application="set" data="entity_id=3"/>
  3921. <action application="set" data="call_processed=internal"/>
  3922. <action application="set" data="call_direction=inbound"/>
  3923. <action application="set" data="accountname=default"/>
  3924. <action application="set" data="filename1=astpp.pbx.lua"/>
  3925. <action application="set" data="origination_rates_did=ID:2007|CODE:^0103130001.*|DESTINATION:0103130001|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7"/>
  3926. <action application="set" data="origination_rates=0"/>
  3927. <action application="set" data="original_caller_id_name=0744086022"/>
  3928. <action application="set" data="effective_caller_id_name=27744086022"/>
  3929. <action application="set" data="receiver_accid=7"/>
  3930. <action application="export" data="domain_name=mbvit.nebular.co.za"/>
  3931. <action application="export" data="sip_to_host=mbvit.nebular.co.za"/>
  3932. <action application="export" data="presence_data=x|||default(3673942894)|||^0103130001.* // 0103130001 // 0.00000||||||DID|||41.160.32.115"/>
  3933. <action application="export" data="call_type=10"/>
  3934. <action application="set" data="did_calltype=10"/>
  3935. <action application="set" data="did_extensions=1"/>
  3936. <action application="set" data="ringback=${au-ring}"/>
  3937. <action application="set" data="module_name=pbx"/>
  3938. <action application="set" data="sip_h_P-call_type=custom_forward"/>
  3939. <action application="set" data="sip_h_P-Accountcode=7"/>
  3940. <action application="set" data="no_answer_number=103"/>
  3941. <action application="export" data="no_answer_number=103"/>
  3942. <action application="set" data="no_answer_call_type=extension"/>
  3943. <action application="set" data="no_answer_call_type_value=103"/>
  3944. <action application="set" data="opensips_flag=0"/>
  3945. <action application="set" data="originate_disposition=no_key_press"/>
  3946. <action application="set" data="variable_sip_to_host=mbvit.nebular.co.za"/>
  3947. <action application="set" data="userinfo_id=3"/>
  3948. <action application="set" data="variable_sip_to_host=mbvit.nebular.co.za"/>
  3949. <action application="set" data="original_did_number=0103130001"/>
  3950. <action application="set" data="absolute_codec_string=PCMU,PCMA,G729"/>
  3951.     <action application="answer"/>
  3952. <action application="ivr" data="Office IVR5"/>
  3953. <action application="lua" data="astpp/lib/pbx/astpp-failover_ivr_destination.lua"/>
  3954. </condition>
  3955. </extension>
  3956. </context>
  3957. </document>
  3958. 2022-07-26 07:23:16.531846 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ed00add20 released.
  3959. Dialplan: sofia/default/0744086022@41.160.32.115:5060 parsing [default->0103130001] continue=false
  3960. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Regex (PASS) [0103130001] destination_number(0103130001) =~ /0103130001/ break=on-false
  3961. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_destination_number=0103130001)
  3962. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  3963. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  3964. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(callstart=2022-07-26 07:23:16)
  3965. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  3966. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(continue_on_fail=TRUE)
  3967. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(account_id=3)
  3968. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(parent_id=0)
  3969. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(entity_id=3)
  3970. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(call_processed=internal)
  3971. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(call_direction=inbound)
  3972. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(accountname=default)
  3973. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua)
  3974. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(origination_rates_did=ID:2007|CODE:^0103130001.*|DESTINATION:0103130001|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7)
  3975. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(origination_rates=0)
  3976. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_caller_id_name=0744086022)
  3977. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_caller_id_name=27744086022)
  3978. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(receiver_accid=7)
  3979. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(domain_name=mbvit.nebular.co.za)
  3980. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(sip_to_host=mbvit.nebular.co.za)
  3981. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0103130001.* // 0103130001 // 0.00000||||||DID|||41.160.32.115)
  3982. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(call_type=10)
  3983. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(did_calltype=10)
  3984. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(did_extensions=1)
  3985. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(ringback=${au-ring})
  3986. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(module_name=pbx)
  3987. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(sip_h_P-call_type=custom_forward)
  3988. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(sip_h_P-Accountcode=7)
  3989. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_number=103)
  3990. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(no_answer_number=103)
  3991. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_call_type=extension)
  3992. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_call_type_value=103)
  3993. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(opensips_flag=0)
  3994. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(originate_disposition=no_key_press)
  3995. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(variable_sip_to_host=mbvit.nebular.co.za)
  3996. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(userinfo_id=3)
  3997. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(variable_sip_to_host=mbvit.nebular.co.za)
  3998. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_did_number=0103130001)
  3999. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(absolute_codec_string=PCMU,PCMA,G729)
  4000. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action answer()
  4001. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action ivr(Office IVR5)
  4002. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua)
  4003. 2022-07-26 07:23:16.550659 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE
  4004. 2022-07-26 07:23:16.550659 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0744086022@41.160.32.115:5060) State ROUTING going to sleep
  4005. 2022-07-26 07:23:16.550659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 5 Tot 118029)
  4006. 2022-07-26 07:23:16.550659 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0744086022@41.160.32.115:5060) State EXECUTE
  4007. 2022-07-26 07:23:16.550659 [DEBUG] mod_sofia.c:198 sofia/default/0744086022@41.160.32.115:5060 SOFIA EXECUTE
  4008. 2022-07-26 07:23:16.550659 [DEBUG] switch_core_state_machine.c:328 sofia/default/0744086022@41.160.32.115:5060 Standard EXECUTE
  4009. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_destination_number=0103130001)
  4010. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_destination_number]=[0103130001]
  4011. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  4012. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  4013. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  4014. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  4015. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(callstart=2022-07-26 07:23:16)
  4016. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [callstart]=[2022-07-26 07:23:16]
  4017. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(hangup_after_bridge=true)
  4018. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [hangup_after_bridge]=[true]
  4019. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(continue_on_fail=TRUE)
  4020. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [continue_on_fail]=[TRUE]
  4021. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(account_id=3)
  4022. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [account_id]=[3]
  4023. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(parent_id=0)
  4024. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [parent_id]=[0]
  4025. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(entity_id=3)
  4026. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [entity_id]=[3]
  4027. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(call_processed=internal)
  4028. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [call_processed]=[internal]
  4029. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(call_direction=inbound)
  4030. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [call_direction]=[inbound]
  4031. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(accountname=default)
  4032. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [accountname]=[default]
  4033. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(filename1=astpp.pbx.lua)
  4034. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [filename1]=[astpp.pbx.lua]
  4035. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(origination_rates_did=ID:2007|CODE:^0103130001.*|DESTINATION:0103130001|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7)
  4036. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [origination_rates_did]=[ID:2007|CODE:^0103130001.*|DESTINATION:0103130001|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7]
  4037. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(origination_rates=0)
  4038. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [origination_rates]=[0]
  4039. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(original_caller_id_name=0744086022)
  4040. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [original_caller_id_name]=[0744086022]
  4041. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_caller_id_name=27744086022)
  4042. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_caller_id_name]=[27744086022]
  4043. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(receiver_accid=7)
  4044. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [receiver_accid]=[7]
  4045. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(domain_name=mbvit.nebular.co.za)
  4046. 2022-07-26 07:23:16.550659 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[mbvit.nebular.co.za]
  4047. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(sip_to_host=mbvit.nebular.co.za)
  4048. 2022-07-26 07:23:16.550659 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[mbvit.nebular.co.za]
  4049. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0103130001.* // 0103130001 // 0.00000||||||DID|||41.160.32.115)
  4050. 2022-07-26 07:23:16.550659 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0103130001.* // 0103130001 // 0.00000||||||DID|||41.160.32.115]
  4051. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(call_type=10)
  4052. 2022-07-26 07:23:16.550659 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[10]
  4053. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(did_calltype=10)
  4054. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [did_calltype]=[10]
  4055. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(did_extensions=1)
  4056. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [did_extensions]=[1]
  4057. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(ringback=%(400,200,383,417);%(400,2000,383,417))
  4058. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [ringback]=[%(400,200,383,417);%(400,2000,383,417)]
  4059. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(module_name=pbx)
  4060. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [module_name]=[pbx]
  4061. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(sip_h_P-call_type=custom_forward)
  4062. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [sip_h_P-call_type]=[custom_forward]
  4063. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(sip_h_P-Accountcode=7)
  4064. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [sip_h_P-Accountcode]=[7]
  4065. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(no_answer_number=103)
  4066. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [no_answer_number]=[103]
  4067. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(no_answer_number=103)
  4068. 2022-07-26 07:23:16.550659 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [no_answer_number]=[103]
  4069. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(no_answer_call_type=extension)
  4070. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [no_answer_call_type]=[extension]
  4071. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(no_answer_call_type_value=103)
  4072. 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [no_answer_call_type_value]=[103]
  4073. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(opensips_flag=0)
  4074. 2022-07-26 07:23:16.560664 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [opensips_flag]=[0]
  4075. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(originate_disposition=no_key_press)
  4076. 2022-07-26 07:23:16.560664 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [originate_disposition]=[no_key_press]
  4077. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(variable_sip_to_host=mbvit.nebular.co.za)
  4078. 2022-07-26 07:23:16.560664 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [variable_sip_to_host]=[mbvit.nebular.co.za]
  4079. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(userinfo_id=3)
  4080. 2022-07-26 07:23:16.560664 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [userinfo_id]=[3]
  4081. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(variable_sip_to_host=mbvit.nebular.co.za)
  4082. 2022-07-26 07:23:16.560664 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [variable_sip_to_host]=[mbvit.nebular.co.za]
  4083. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(original_did_number=0103130001)
  4084. 2022-07-26 07:23:16.560664 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [original_did_number]=[0103130001]
  4085. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(absolute_codec_string=PCMU,PCMA,G729)
  4086. 2022-07-26 07:23:16.560664 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [absolute_codec_string]=[PCMU,PCMA,G729]
  4087. EXECUTE sofia/default/0744086022@41.160.32.115:5060 answer()
  4088. 2022-07-26 07:23:16.560664 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0744086022@41.160.32.115:5060] 156.38.231.107 port 20218 -> 41.160.32.115 port 20606 codec: 8 ms: 20
  4089. 2022-07-26 07:23:16.560664 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  4090. 2022-07-26 07:23:16.560664 [DEBUG] switch_core_media.c:7180 sofia/default/0744086022@41.160.32.115:5060 Set 2833 dtmf send payload to 116
  4091. 2022-07-26 07:23:16.560664 [DEBUG] switch_core_media.c:7187 sofia/default/0744086022@41.160.32.115:5060 Set 2833 dtmf receive payload to 116
  4092. 2022-07-26 07:23:16.560664 [DEBUG] switch_core_media.c:7210 sofia/default/0744086022@41.160.32.115:5060 Set rtp dtmf delay to 40
  4093. 2022-07-26 07:23:16.560664 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0744086022@41.160.32.115:5060:
  4094. v=0
  4095. o=FreeSWITCH 1658799978 1658799979 IN IP4 156.38.231.107
  4096. s=FreeSWITCH
  4097. c=IN IP4 156.38.231.107
  4098. t=0 0
  4099. m=audio 20218 RTP/AVP 8 116
  4100. a=rtpmap:8 PCMA/8000
  4101. a=rtpmap:116 telephone-event/8000
  4102. a=fmtp:116 0-16
  4103. a=ptime:20
  4104. a=sendrecv
  4105.  
  4106. 2022-07-26 07:23:16.570663 [DEBUG] sofia.c:7084 Channel sofia/default/0744086022@41.160.32.115:5060 entering state [completed][200]
  4107. 2022-07-26 07:23:16.570663 [NOTICE] mod_dptools.c:1312 Channel [sofia/default/0744086022@41.160.32.115:5060] has been answered
  4108. 2022-07-26 07:23:16.570663 [DEBUG] switch_channel.c:3773 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE
  4109. EXECUTE sofia/default/0744086022@41.160.32.115:5060 ivr(Office IVR5)
  4110. 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exit'
  4111. 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-sub'
  4112. 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
  4113. 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
  4114. 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-back'
  4115. 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-top'
  4116. 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:880 building menu 'Office IVR5'
  4117. 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '1'
  4118. 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '2'
  4119. 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '3'
  4120. 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/'
  4121. 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu Office IVR5
  4122. 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms
  4123. 2022-07-26 07:23:16.840894 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  4124. 2022-07-26 07:23:16.860658 [DEBUG] sofia.c:7084 Channel sofia/default/0744086022@41.160.32.115:5060 entering state [ready][200]
  4125. 2022-07-26 07:23:18.800741 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 1:800
  4126. 2022-07-26 07:23:18.800741 [INFO] switch_channel.c:515 RECV DTMF 1:800
  4127. 2022-07-26 07:23:18.800741 [DEBUG] switch_ivr_play_say.c:1942 done playing file /var/www/html/astpp/upload/pbx/mbvit_.wav
  4128. 2022-07-26 07:23:18.800741 [DEBUG] switch_ivr_menu.c:377 waiting for 19/20 digits t/o 2000
  4129. 2022-07-26 07:23:20.820687 [DEBUG] switch_ivr_menu.c:424 digits '1'
  4130. 2022-07-26 07:23:20.820687 [DEBUG] switch_ivr_menu.c:577 IVR action on menu 'Office IVR5' matched '1' param 'transfer ${original_did_number}#PBX#7#21 XML ${domain_name}'
  4131. 2022-07-26 07:23:20.820687 [DEBUG] switch_ivr_menu.c:581 switch_ivr_menu_execute todo=[2]
  4132. EXECUTE sofia/default/0744086022@41.160.32.115:5060 transfer(0103130001#PBX#7#21 XML mbvit.nebular.co.za)
  4133. 2022-07-26 07:23:20.820687 [DEBUG] switch_ivr.c:2165 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_EXECUTE -> CS_ROUTING
  4134. 2022-07-26 07:23:20.820687 [NOTICE] switch_ivr.c:2172 Transfer sofia/default/0744086022@41.160.32.115:5060 to XML[0103130001#PBX#7#21@mbvit.nebular.co.za]
  4135. 2022-07-26 07:23:20.820687 [DEBUG] switch_ivr_menu.c:559 action regex [1] [/^(\d{2,20})$/] [0]
  4136. 2022-07-26 07:23:20.820687 [DEBUG] switch_ivr_menu.c:673 exit-sound '(null)'
  4137. 2022-07-26 07:23:20.820687 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0744086022@41.160.32.115:5060) State EXECUTE going to sleep
  4138. 2022-07-26 07:23:20.820687 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 5 Tot 118029)
  4139. 2022-07-26 07:23:20.820687 [DEBUG] switch_channel.c:2249 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change ACTIVE -> RINGING
  4140. 2022-07-26 07:23:20.820687 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0744086022@41.160.32.115:5060) State ROUTING
  4141. 2022-07-26 07:23:20.820687 [DEBUG] mod_sofia.c:143 sofia/default/0744086022@41.160.32.115:5060 SOFIA ROUTING
  4142. 2022-07-26 07:23:20.820687 [DEBUG] switch_core_state_machine.c:236 sofia/default/0744086022@41.160.32.115:5060 Standard ROUTING
  4143. 2022-07-26 07:23:20.820687 [INFO] mod_dialplan_xml.c:637 Processing 0744086022 <0744086022>->0103130001#PBX#7#21 in context mbvit.nebular.co.za
  4144. 2022-07-26 07:23:20.831038 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ed00add20 Connected.
  4145. 2022-07-26 07:23:20.831038 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  4146. 2022-07-26 07:23:20.861604 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4147. 2022-07-26 07:23:20.894078 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  4148. 2022-07-26 07:23:20.894078 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0103130001#PBX#7#21
  4149. 2022-07-26 07:23:20.894078 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0103130001#PBX#7#21' limit 1
  4150. 2022-07-26 07:23:20.940706 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0103130001#PBX#7#21' AND status=0 limit 1
  4151. 2022-07-26 07:23:20.981902 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0103130001#PBX#7#21' and status=0 LIMIT 1
  4152. 2022-07-26 07:23:21.002104 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  4153. 2022-07-26 07:23:21.002104 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 0744086022 / 0744086022
  4154. 2022-07-26 07:23:21.002104 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  4155. 2022-07-26 07:23:21.070659 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainmbvit.nebular.co.za
  4156. 2022-07-26 07:23:21.070659 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001" LIMIT 1
  4157. 2022-07-26 07:23:21.110666 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  4158. 2022-07-26 07:23:21.110666 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 7]
  4159. 2022-07-26 07:23:21.110666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  4160. 2022-07-26 07:23:21.150737 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0103130001#PBX#7#21" AND (accountid = 0 OR status = 1) LIMIT 1
  4161. 2022-07-26 07:23:21.190680 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3
  4162. 2022-07-26 07:23:21.190680 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1
  4163. 2022-07-26 07:23:21.220939 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  4164. 2022-07-26 07:23:21.220939 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  4165. 2022-07-26 07:23:21.220939 [DEBUG] switch_cpp.cpp:1365 [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 = '^0103130001#PBX#7#21.*' OR patterns = '^0103130001#PBX#7#2.*' OR patterns = '^0103130001#PBX#7#.*' OR patterns = '^0103130001#PBX#7.*' OR patterns = '^0103130001#PBX#.*' OR patterns = '^0103130001#PBX.*' OR patterns = '^0103130001#PB.*' OR patterns = '^0103130001#P.*' OR patterns = '^0103130001#.*' OR patterns = '^0103130001.*' OR patterns = '^010313000.*' OR patterns = '^01031300.*' OR patterns = '^0103130.*' OR patterns = '^010313.*' OR patterns = '^01031.*' OR patterns = '^0103.*' OR patterns = '^010.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  4166. 2022-07-26 07:23:21.280669 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001#PBX#7#21" AND A.accountid = '7' limit 1
  4167. 2022-07-26 07:23:21.321327 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0103130001#PBX#7#21
  4168. 2022-07-26 07:23:21.321327 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001" LIMIT 1
  4169. 2022-07-26 07:23:21.390678 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound
  4170. 2022-07-26 07:23:21.390678 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0103130001#PBX#7#21' OR number = '0103130001#PBX#7#2' OR number = '0103130001#PBX#7#' OR number = '0103130001#PBX#7' OR number = '0103130001#PBX#' OR number = '0103130001#PBX' OR number = '0103130001#PB' OR number = '0103130001#P' OR number = '0103130001#' OR number = '0103130001' OR number = '010313000' OR number = '01031300' OR number = '0103130' OR number = '010313' OR number = '01031' OR number = '0103' OR number = '010' OR number = '01' OR number = '0' OR number ='--') OR (number = '0103130001#PBX#7#21*' OR number = '0103130001#PBX#7#2*' OR number = '0103130001#PBX#7#*' OR number = '0103130001#PBX#7*' OR number = '0103130001#PBX#*' OR number = '0103130001#PBX*' OR number = '0103130001#PB*' OR number = '0103130001#P*' OR number = '0103130001#*' OR number = '0103130001*' OR number = '010313000*' OR number = '01031300*' OR number = '0103130*' OR number = '010313*' OR number = '01031*' OR number = '0103*' OR number = '010*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '0744086022' OR number = '074408602' OR number = '07440860' OR number = '0744086' OR number = '074408' OR number = '07440' OR number = '0744' OR number = '074' OR number = '07' OR number = '0' OR number ='--') OR (number = '0744086022*' OR number = '074408602*' OR number = '07440860*' OR number = '0744086*' OR number = '074408*' OR number = '07440*' OR number = '0744*' OR number = '074*' OR number = '07*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  4171. 2022-07-26 07:23:21.430660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  4172. 2022-07-26 07:23:21.430660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0103130001#PBX#7#21' OR routing_prefix = '0103130001#PBX#7#2' OR routing_prefix = '0103130001#PBX#7#' OR routing_prefix = '0103130001#PBX#7' OR routing_prefix = '0103130001#PBX#' OR routing_prefix = '0103130001#PBX' OR routing_prefix = '0103130001#PB' OR routing_prefix = '0103130001#P' OR routing_prefix = '0103130001#' OR routing_prefix = '0103130001' OR routing_prefix = '010313000' OR routing_prefix = '01031300' OR routing_prefix = '0103130' OR routing_prefix = '010313' OR routing_prefix = '01031' OR routing_prefix = '0103' OR routing_prefix = '010' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1
  4173. 2022-07-26 07:23:21.520696 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  4174. 2022-07-26 07:23:21.520696 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 7
  4175. 2022-07-26 07:23:21.520696 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 862977
  4176. 2022-07-26 07:23:21.520696 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 2183.6694
  4177. 2022-07-26 07:23:21.520696 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  4178. 2022-07-26 07:23:21.520696 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 81
  4179. 2022-07-26 07:23:21.520696 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  4180. 2022-07-26 07:23:21.520696 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  4181. 2022-07-26 07:23:21.520696 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0
  4182. 2022-07-26 07:23:21.580665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  4183. 2022-07-26 07:23:21.580665 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001" LIMIT 1
  4184. 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  4185. 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  4186. 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2007
  4187. 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  4188. 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  4189. 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  4190. 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0103130001#PBX#7#21
  4191. 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  4192. 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 7
  4193. 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  4194. 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your2183.6694 balance Accountid 7 !!!
  4195. 2022-07-26 07:23:21.640663 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  4196. 2022-07-26 07:23:21.640663 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 5
  4197. 2022-07-26 07:23:21.640663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  4198. 2022-07-26 07:23:21.672031 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information ===================
  4199. 2022-07-26 07:23:21.672031 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 5
  4200. 2022-07-26 07:23:21.672031 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8566036685
  4201. 2022-07-26 07:23:21.672031 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1985.3004
  4202. 2022-07-26 07:23:21.672031 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  4203. 2022-07-26 07:23:21.672031 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83
  4204. 2022-07-26 07:23:21.672031 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  4205. 2022-07-26 07:23:21.750666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  4206. 2022-07-26 07:23:21.750666 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130001" LIMIT 1
  4207. 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  4208. 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  4209. 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2007
  4210. 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  4211. 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  4212. 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  4213. 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0103130001#PBX#7#21
  4214. 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  4215. 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 5
  4216. 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  4217. 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1985.3004 balance Accountid 5 !!!
  4218. 2022-07-26 07:23:21.771412 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  4219. 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7
  4220. 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  4221. 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1
  4222. 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  4223. 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  4224. 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  4225. 2022-07-26 07:23:21.771412 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1
  4226. 2022-07-26 07:23:21.821984 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++7
  4227. 2022-07-26 07:23:21.821984 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  4228. 2022-07-26 07:23:21.872288 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:7
  4229. 2022-07-26 07:23:21.872288 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:7
  4230. 2022-07-26 07:23:21.872288 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 7
  4231. 2022-07-26 07:23:21.872288 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  4232. 2022-07-26 07:23:21.914966 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : mbvit.nebular.co.za
  4233. 2022-07-26 07:23:21.914966 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  4234. 2022-07-26 07:23:21.914966 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4235. 2022-07-26 07:23:21.971795 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  4236. 2022-07-26 07:23:21.971795 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound
  4237. 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....0744086022
  4238. 2022-07-26 07:23:21.971795 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0744086022
  4239. 2022-07-26 07:23:21.971795 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27744086022
  4240. 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  4241. 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  4242. 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  4243. 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  4244. 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  4245. 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  4246. 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  4247. 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....0744086022
  4248. 2022-07-26 07:23:21.971795 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0744086022
  4249. 2022-07-26 07:23:21.971795 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27744086022
  4250. 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  4251. 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  4252. 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  4253. 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  4254. 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  4255. 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  4256. 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022
  4257. 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  4258. 2022-07-26 07:23:22.011962 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : mbvit.nebular.co.za
  4259. 2022-07-26 07:23:22.011962 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
  4260. 2022-07-26 07:23:22.011962 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 7
  4261. 2022-07-26 07:23:22.011962 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : Ring group
  4262. 2022-07-26 07:23:22.011962 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,no_answer_call_type_value from pbx_ringgroup WHERE id = 21 and status = 0 LIMIT 1
  4263. 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== ringgroup_dlr_str h========Count==========={"destination_1":"173","delay_1":"0","time_out_1":"15","Promptdropdown_1":"1","destination_2":"171","delay_2":"0","time_out_2":"15","Promptdropdown_2":"1","destination_3":"174","delay_3":"0","time_out_3":"15","Promptdropdown_3":"1","destination_4":"0832663125#","delay_4":"10","time_out_4":"10","Promptdropdown_4":"1"}
  4264. 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== announcement====Count===============16
  4265. 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== announcement===================0
  4266. 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== final_count========final_count===========0===
  4267. 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== final_count========final_count===========0===
  4268. 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== final_count========final_count===========0===
  4269. 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== final_count========final_count===========0===
  4270. 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== ring_group_recording===================1
  4271. 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== ringgroup_dlr_str===================[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=173,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/173@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=171,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/171@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=174,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/174@mbvit.nebular.co.za,[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=10,confirm=false,announcement=no_file,dialed_user=0832663125#,leg_timeout=10,leg_delay_start=10]sofia/${sofia_profile_name}/0832663125@mbvit.nebular.co.za,
  4272. 2022-07-26 07:23:22.050822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '${au-ring}' LIMIT 1
  4273. 2022-07-26 07:23:22.080683 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  4274. <document type="freeswitch/xml">
  4275. <section name="dialplan" description="ASTPP Dialplan">
  4276. <context name="mbvit.nebular.co.za">
  4277. <extension name="0103130001#PBX#7#21">
  4278. <condition field="destination_number" expression="0103130001#PBX#7#21">
  4279. <action application="set" data="effective_destination_number=0103130001#PBX#7#21"/>
  4280. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  4281. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  4282. <action application="set" data="callstart=2022-07-26 07:23:21"/>
  4283. <action application="set" data="hangup_after_bridge=true"/>
  4284. <action application="set" data="continue_on_fail=TRUE"/>
  4285. <action application="set" data="account_id=7"/>
  4286. <action application="set" data="parent_id=5"/>
  4287. <action application="set" data="entity_id=0"/>
  4288. <action application="set" data="call_processed=internal"/>
  4289. <action application="set" data="call_direction=inbound"/>
  4290. <action application="set" data="accountname=default"/>
  4291. <action application="set" data="filename1=astpp.pbx.lua"/>
  4292. <action application="set" data="origination_rates_did=ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7"/>
  4293. <action application="set" data="origination_rates=0"/>
  4294. <action application="set" data="original_caller_id_name=0744086022"/>
  4295. <action application="set" data="original_caller_id_number=0744086022"/>
  4296. <action application="limit" data="db 7 user_7 5 "/>
  4297. <action application="set" data="effective_caller_id_name=27744086022"/>
  4298. <action application="set" data="effective_caller_id_number=27744086022"/>
  4299. <action application="set" data="receiver_accid=7"/>
  4300. <action application="export" data="domain_name=mbvit.nebular.co.za"/>
  4301. <action application="export" data="sip_to_host=mbvit.nebular.co.za"/>
  4302. <action application="export" data="presence_data=x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115"/>
  4303. <action application="export" data="call_type=7"/>
  4304. <action application="set" data="did_calltype=7"/>
  4305. <action application="set" data="did_extensions=21"/>
  4306. <action application="set" data="group_confirm_key=exec"/>
  4307. <action application="set" data="group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  4308. <action application="set" data="ringback=${au-ring}"/>
  4309. <action application="set" data="module_name=pbx"/>
  4310. <action application="bridge" data="{sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=7}[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=173,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/173@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=171,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/171@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=174,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/174@mbvit.nebular.co.za,[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=10,confirm=false,announcement=no_file,dialed_user=0832663125#,leg_timeout=10,leg_delay_start=10]sofia/${sofia_profile_name}/0832663125@mbvit.nebular.co.za,"/>
  4311. <action application="set" data="no_answer_number="/>
  4312. <action application="set" data="no_answer_call_type=pstn_1"/>
  4313. <action application="set" data="no_answer_call_type_value=0613668008"/>
  4314. <action application="set" data="variable_sip_to_host=mbvit.nebular.co.za"/>
  4315. <action application="set" data="userinfo_id=7"/>
  4316. <action application="set" data="variable_sip_to_host=mbvit.nebular.co.za"/>
  4317. <action application="set" data="opensips_flag=0"/>
  4318. <action application="lua" data="astpp/lib/pbx/astpp.ring_group_destination.lua"/>
  4319. <action application="set" data="original_did_number=0103130001#PBX#7#21"/>
  4320. </condition>
  4321. </extension>
  4322. </context>
  4323. </document>
  4324. 2022-07-26 07:23:22.080683 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ed00add20 released.
  4325. Dialplan: sofia/default/0744086022@41.160.32.115:5060 parsing [mbvit.nebular.co.za->0103130001#PBX#7#21] continue=false
  4326. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Regex (PASS) [0103130001#PBX#7#21] destination_number(0103130001#PBX#7#21) =~ /0103130001#PBX#7#21/ break=on-false
  4327. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_destination_number=0103130001#PBX#7#21)
  4328. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  4329. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  4330. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(callstart=2022-07-26 07:23:21)
  4331. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  4332. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(continue_on_fail=TRUE)
  4333. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(account_id=7)
  4334. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(parent_id=5)
  4335. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(entity_id=0)
  4336. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(call_processed=internal)
  4337. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(call_direction=inbound)
  4338. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(accountname=default)
  4339. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua)
  4340. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(origination_rates_did=ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7)
  4341. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(origination_rates=0)
  4342. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_caller_id_name=0744086022)
  4343. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_caller_id_number=0744086022)
  4344. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action limit(db 7 user_7 5 )
  4345. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_caller_id_name=27744086022)
  4346. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_caller_id_number=27744086022)
  4347. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(receiver_accid=7)
  4348. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(domain_name=mbvit.nebular.co.za)
  4349. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(sip_to_host=mbvit.nebular.co.za)
  4350. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(presence_data=x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115)
  4351. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(call_type=7)
  4352. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(did_calltype=7)
  4353. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(did_extensions=21)
  4354. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(group_confirm_key=exec)
  4355. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  4356. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(ringback=${au-ring})
  4357. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(module_name=pbx)
  4358. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action bridge({sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=7}[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=173,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/173@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=171,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/171@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=174,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/174@mbvit.nebular.co.za,[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=10,confirm=false,announcement=no_file,dialed_user=0832663125#,leg_timeout=10,leg_delay_start=10]sofia/${sofia_profile_name}/0832663125@mbvit.nebular.co.za,)
  4359. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_number=)
  4360. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_call_type=pstn_1)
  4361. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_call_type_value=0613668008)
  4362. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(variable_sip_to_host=mbvit.nebular.co.za)
  4363. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(userinfo_id=7)
  4364. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(variable_sip_to_host=mbvit.nebular.co.za)
  4365. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(opensips_flag=0)
  4366. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp.ring_group_destination.lua)
  4367. Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_did_number=0103130001#PBX#7#21)
  4368. 2022-07-26 07:23:22.080683 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE
  4369. 2022-07-26 07:23:22.080683 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0744086022@41.160.32.115:5060) State ROUTING going to sleep
  4370. 2022-07-26 07:23:22.080683 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 5 Tot 118029)
  4371. 2022-07-26 07:23:22.080683 [DEBUG] switch_channel.c:2251 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE
  4372. 2022-07-26 07:23:22.080683 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0744086022@41.160.32.115:5060) State EXECUTE
  4373. 2022-07-26 07:23:22.080683 [DEBUG] mod_sofia.c:198 sofia/default/0744086022@41.160.32.115:5060 SOFIA EXECUTE
  4374. 2022-07-26 07:23:22.080683 [DEBUG] switch_core_state_machine.c:328 sofia/default/0744086022@41.160.32.115:5060 Standard EXECUTE
  4375. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_destination_number=0103130001#PBX#7#21)
  4376. 2022-07-26 07:23:22.080683 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_destination_number]=[0103130001#PBX#7#21]
  4377. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  4378. 2022-07-26 07:23:22.080683 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  4379. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  4380. 2022-07-26 07:23:22.080683 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  4381. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(callstart=2022-07-26 07:23:21)
  4382. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [callstart]=[2022-07-26 07:23:21]
  4383. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(hangup_after_bridge=true)
  4384. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [hangup_after_bridge]=[true]
  4385. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(continue_on_fail=TRUE)
  4386. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [continue_on_fail]=[TRUE]
  4387. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(account_id=7)
  4388. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [account_id]=[7]
  4389. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(parent_id=5)
  4390. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [parent_id]=[5]
  4391. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(entity_id=0)
  4392. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [entity_id]=[0]
  4393. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(call_processed=internal)
  4394. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [call_processed]=[internal]
  4395. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(call_direction=inbound)
  4396. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [call_direction]=[inbound]
  4397. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(accountname=default)
  4398. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [accountname]=[default]
  4399. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(filename1=astpp.pbx.lua)
  4400. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [filename1]=[astpp.pbx.lua]
  4401. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(origination_rates_did=ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7)
  4402. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [origination_rates_did]=[ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7]
  4403. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(origination_rates=0)
  4404. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [origination_rates]=[0]
  4405. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(original_caller_id_name=0744086022)
  4406. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [original_caller_id_name]=[0744086022]
  4407. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(original_caller_id_number=0744086022)
  4408. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [original_caller_id_number]=[0744086022]
  4409. EXECUTE sofia/default/0744086022@41.160.32.115:5060 limit(db 7 user_7 5 )
  4410. 2022-07-26 07:23:22.090653 [DEBUG] switch_limit.c:126 incr called: 7_user_7 max:5, interval:0
  4411. 2022-07-26 07:23:22.090653 [DEBUG] mod_db.c:194 Usage for 7_user_7 is now 1/5
  4412. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_caller_id_name=27744086022)
  4413. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_caller_id_name]=[27744086022]
  4414. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_caller_id_number=27744086022)
  4415. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_caller_id_number]=[27744086022]
  4416. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(receiver_accid=7)
  4417. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [receiver_accid]=[7]
  4418. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(domain_name=mbvit.nebular.co.za)
  4419. 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[mbvit.nebular.co.za]
  4420. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(sip_to_host=mbvit.nebular.co.za)
  4421. 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[mbvit.nebular.co.za]
  4422. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(presence_data=x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115)
  4423. 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115]
  4424. EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(call_type=7)
  4425. 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[7]
  4426. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(did_calltype=7)
  4427. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [did_calltype]=[7]
  4428. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(did_extensions=21)
  4429. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [did_extensions]=[21]
  4430. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(group_confirm_key=exec)
  4431. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [group_confirm_key]=[exec]
  4432. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  4433. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
  4434. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(ringback=%(400,200,383,417);%(400,2000,383,417))
  4435. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [ringback]=[%(400,200,383,417);%(400,2000,383,417)]
  4436. EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(module_name=pbx)
  4437. 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [module_name]=[pbx]
  4438. EXECUTE sofia/default/0744086022@41.160.32.115:5060 bridge({sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=7}[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=173,leg_timeout=15,leg_delay_start=0]sofia/default/173@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=171,leg_timeout=15,leg_delay_start=0]sofia/default/171@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=174,leg_timeout=15,leg_delay_start=0]sofia/default/174@mbvit.nebular.co.za,[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=10,confirm=false,announcement=no_file,dialed_user=0832663125#,leg_timeout=10,leg_delay_start=10]sofia/default/0832663125@mbvit.nebular.co.za,)
  4439. 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1823 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change ACTIVE -> RING_WAIT
  4440. 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[mbvit.nebular.co.za] to event
  4441. 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[mbvit.nebular.co.za] to event
  4442. 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115] to event
  4443. 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[7] to event
  4444. 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [no_answer_number]=[103] to event
  4445. 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[mbvit.nebular.co.za] to event
  4446. 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[mbvit.nebular.co.za] to event
  4447. 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115] to event
  4448. 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[7] to event
  4449. 2022-07-26 07:23:22.090653 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  4450. 2022-07-26 07:23:22.090653 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  4451. 2022-07-26 07:23:22.100656 [NOTICE] switch_channel.c:1104 New Channel sofia/default/173@mbvit.nebular.co.za [d46deccc-0cb3-11ed-bc35-d3f1ef10c389]
  4452. 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:4819 (sofia/default/173@mbvit.nebular.co.za) State Change CS_NEW -> CS_INIT
  4453. 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:2963 sofia/default/173@mbvit.nebular.co.za Setting leg timeout to 15
  4454. 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  4455. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_INIT (Cur 6 Tot 118030)
  4456. 2022-07-26 07:23:22.100656 [NOTICE] switch_channel.c:1104 New Channel sofia/default/171@mbvit.nebular.co.za [d46dff6e-0cb3-11ed-bc3b-d3f1ef10c389]
  4457. 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:4819 (sofia/default/171@mbvit.nebular.co.za) State Change CS_NEW -> CS_INIT
  4458. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:627 (sofia/default/173@mbvit.nebular.co.za) State INIT
  4459. 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:90 sofia/default/173@mbvit.nebular.co.za SOFIA INIT
  4460. 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:2963 sofia/default/171@mbvit.nebular.co.za Setting leg timeout to 15
  4461. 2022-07-26 07:23:22.100656 [DEBUG] sofia_glue.c:1295 sofia/default/173@mbvit.nebular.co.za sending invite version: 1.6.20  64bit
  4462. Local SDP:
  4463. v=0
  4464. o=FreeSWITCH 1658789704 1658789705 IN IP4 156.38.231.107
  4465. s=FreeSWITCH
  4466. c=IN IP4 156.38.231.107
  4467. t=0 0
  4468. m=audio 30498 RTP/AVP 8 0 101
  4469. a=rtpmap:8 PCMA/8000
  4470. a=rtpmap:0 PCMU/8000
  4471. a=rtpmap:101 telephone-event/8000
  4472. a=fmtp:101 0-16
  4473. a=ptime:20
  4474. a=sendrecv
  4475.  
  4476. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:40 sofia/default/173@mbvit.nebular.co.za Standard INIT
  4477. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:48 (sofia/default/173@mbvit.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  4478. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:627 (sofia/default/173@mbvit.nebular.co.za) State INIT going to sleep
  4479. 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  4480. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_ROUTING (Cur 8 Tot 118032)
  4481. 2022-07-26 07:23:22.100656 [NOTICE] switch_channel.c:1104 New Channel sofia/default/174@mbvit.nebular.co.za [d46e1080-0cb3-11ed-bc41-d3f1ef10c389]
  4482. 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:4819 (sofia/default/174@mbvit.nebular.co.za) State Change CS_NEW -> CS_INIT
  4483. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:643 (sofia/default/173@mbvit.nebular.co.za) State ROUTING
  4484. 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:143 sofia/default/173@mbvit.nebular.co.za SOFIA ROUTING
  4485. 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:67 (sofia/default/173@mbvit.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4486. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:643 (sofia/default/173@mbvit.nebular.co.za) State ROUTING going to sleep
  4487. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 118032)
  4488. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:662 (sofia/default/173@mbvit.nebular.co.za) State CONSUME_MEDIA
  4489. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:662 (sofia/default/173@mbvit.nebular.co.za) State CONSUME_MEDIA going to sleep
  4490. 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:2963 sofia/default/174@mbvit.nebular.co.za Setting leg timeout to 15
  4491. 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  4492. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_INIT (Cur 8 Tot 118032)
  4493. 2022-07-26 07:23:22.100656 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0832663125@mbvit.nebular.co.za [d46e2110-0cb3-11ed-bc47-d3f1ef10c389]
  4494. 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:4819 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_NEW -> CS_INIT
  4495. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:627 (sofia/default/171@mbvit.nebular.co.za) State INIT
  4496. 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:90 sofia/default/171@mbvit.nebular.co.za SOFIA INIT
  4497. 2022-07-26 07:23:22.100656 [DEBUG] sofia_glue.c:1295 sofia/default/171@mbvit.nebular.co.za sending invite version: 1.6.20  64bit
  4498. Local SDP:
  4499. v=0
  4500. o=FreeSWITCH 1658795248 1658795249 IN IP4 156.38.231.107
  4501. s=FreeSWITCH
  4502. c=IN IP4 156.38.231.107
  4503. t=0 0
  4504. m=audio 24954 RTP/AVP 8 0 101
  4505. a=rtpmap:8 PCMA/8000
  4506. a=rtpmap:0 PCMU/8000
  4507. a=rtpmap:101 telephone-event/8000
  4508. a=fmtp:101 0-16
  4509. a=ptime:20
  4510. a=sendrecv
  4511.  
  4512. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:40 sofia/default/171@mbvit.nebular.co.za Standard INIT
  4513. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:48 (sofia/default/171@mbvit.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  4514. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:627 (sofia/default/171@mbvit.nebular.co.za) State INIT going to sleep
  4515. 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:2963 sofia/default/0832663125@mbvit.nebular.co.za Setting leg timeout to 10
  4516. 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:2981 sofia/default/0832663125@mbvit.nebular.co.za Setting leg delay start to 10
  4517. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_ROUTING (Cur 9 Tot 118033)
  4518. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:643 (sofia/default/171@mbvit.nebular.co.za) State ROUTING
  4519. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_INIT (Cur 9 Tot 118033)
  4520. 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:143 sofia/default/171@mbvit.nebular.co.za SOFIA ROUTING
  4521. 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:67 (sofia/default/171@mbvit.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4522. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:643 (sofia/default/171@mbvit.nebular.co.za) State ROUTING going to sleep
  4523. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 9 Tot 118033)
  4524. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:627 (sofia/default/174@mbvit.nebular.co.za) State INIT
  4525. 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:90 sofia/default/174@mbvit.nebular.co.za SOFIA INIT
  4526. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:662 (sofia/default/171@mbvit.nebular.co.za) State CONSUME_MEDIA
  4527. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:662 (sofia/default/171@mbvit.nebular.co.za) State CONSUME_MEDIA going to sleep
  4528. 2022-07-26 07:23:22.100656 [DEBUG] sofia_glue.c:1295 sofia/default/174@mbvit.nebular.co.za sending invite version: 1.6.20  64bit
  4529. Local SDP:
  4530. v=0
  4531. o=FreeSWITCH 1658791206 1658791207 IN IP4 156.38.231.107
  4532. s=FreeSWITCH
  4533. c=IN IP4 156.38.231.107
  4534. t=0 0
  4535. m=audio 28996 RTP/AVP 8 0 101
  4536. a=rtpmap:8 PCMA/8000
  4537. a=rtpmap:0 PCMU/8000
  4538. a=rtpmap:101 telephone-event/8000
  4539. a=fmtp:101 0-16
  4540. a=ptime:20
  4541. a=sendrecv
  4542.  
  4543. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:40 sofia/default/174@mbvit.nebular.co.za Standard INIT
  4544. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:48 (sofia/default/174@mbvit.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  4545. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:627 (sofia/default/174@mbvit.nebular.co.za) State INIT going to sleep
  4546. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_ROUTING (Cur 9 Tot 118033)
  4547. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:643 (sofia/default/174@mbvit.nebular.co.za) State ROUTING
  4548. 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:143 sofia/default/174@mbvit.nebular.co.za SOFIA ROUTING
  4549. 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:67 (sofia/default/174@mbvit.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4550. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:643 (sofia/default/174@mbvit.nebular.co.za) State ROUTING going to sleep
  4551. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 9 Tot 118033)
  4552. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:662 (sofia/default/174@mbvit.nebular.co.za) State CONSUME_MEDIA
  4553. 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:662 (sofia/default/174@mbvit.nebular.co.za) State CONSUME_MEDIA going to sleep
  4554. 2022-07-26 07:23:22.100656 [DEBUG] sofia.c:7084 Channel sofia/default/173@mbvit.nebular.co.za entering state [calling][0]
  4555. 2022-07-26 07:23:22.100656 [DEBUG] sofia.c:7084 Channel sofia/default/171@mbvit.nebular.co.za entering state [calling][0]
  4556. 2022-07-26 07:23:22.100656 [DEBUG] sofia.c:7084 Channel sofia/default/174@mbvit.nebular.co.za entering state [calling][0]
  4557. 2022-07-26 07:23:22.140665 [DEBUG] sofia.c:7084 Channel sofia/default/173@mbvit.nebular.co.za entering state [proceeding][180]
  4558. 2022-07-26 07:23:22.140665 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/173@mbvit.nebular.co.za!
  4559. 2022-07-26 07:23:22.140665 [DEBUG] switch_channel.c:3346 (sofia/default/173@mbvit.nebular.co.za) Callstate Change DOWN -> RINGING
  4560. 2022-07-26 07:23:22.151039 [DEBUG] sofia.c:7084 Channel sofia/default/171@mbvit.nebular.co.za entering state [proceeding][180]
  4561. 2022-07-26 07:23:22.151039 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/171@mbvit.nebular.co.za!
  4562. 2022-07-26 07:23:22.151039 [DEBUG] switch_channel.c:3346 (sofia/default/171@mbvit.nebular.co.za) Callstate Change DOWN -> RINGING
  4563. 2022-07-26 07:23:22.180664 [DEBUG] switch_ivr_originate.c:1273 Raw Codec Activation Success L16@8000hz 1 channel 20ms
  4564. 2022-07-26 07:23:22.180664 [DEBUG] switch_core_codec.c:223 sofia/default/0744086022@41.160.32.115:5060 Push codec L16:100
  4565. 2022-07-26 07:23:22.180664 [DEBUG] switch_ivr_originate.c:1342 Play Ringback Tone [%(400,200,383,417);%(400,2000,383,417)]
  4566. 2022-07-26 07:23:22.241654 [DEBUG] sofia.c:7084 Channel sofia/default/174@mbvit.nebular.co.za entering state [proceeding][180]
  4567. 2022-07-26 07:23:22.241654 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/174@mbvit.nebular.co.za!
  4568. 2022-07-26 07:23:22.241654 [DEBUG] switch_channel.c:3346 (sofia/default/174@mbvit.nebular.co.za) Callstate Change DOWN -> RINGING
  4569. 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_INIT (Cur 9 Tot 118033)
  4570. 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0832663125@mbvit.nebular.co.za) State INIT
  4571. 2022-07-26 07:23:33.000689 [DEBUG] mod_sofia.c:90 sofia/default/0832663125@mbvit.nebular.co.za SOFIA INIT
  4572. 2022-07-26 07:23:33.000689 [DEBUG] sofia_glue.c:1295 sofia/default/0832663125@mbvit.nebular.co.za sending invite version: 1.6.20  64bit
  4573. Local SDP:
  4574. v=0
  4575. o=FreeSWITCH 1658803183 1658803184 IN IP4 156.38.231.107
  4576. s=FreeSWITCH
  4577. c=IN IP4 156.38.231.107
  4578. t=0 0
  4579. m=audio 17030 RTP/AVP 8 101
  4580. a=rtpmap:8 PCMA/8000
  4581. a=rtpmap:101 telephone-event/8000
  4582. a=fmtp:101 0-16
  4583. a=ptime:20
  4584. a=sendrecv
  4585.  
  4586. 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:40 sofia/default/0832663125@mbvit.nebular.co.za Standard INIT
  4587. 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  4588. 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0832663125@mbvit.nebular.co.za) State INIT going to sleep
  4589. 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_ROUTING (Cur 9 Tot 118033)
  4590. 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0832663125@mbvit.nebular.co.za) State ROUTING
  4591. 2022-07-26 07:23:33.000689 [DEBUG] mod_sofia.c:143 sofia/default/0832663125@mbvit.nebular.co.za SOFIA ROUTING
  4592. 2022-07-26 07:23:33.000689 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4593. 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0832663125@mbvit.nebular.co.za) State ROUTING going to sleep
  4594. 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 9 Tot 118033)
  4595. 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0832663125@mbvit.nebular.co.za) State CONSUME_MEDIA
  4596. 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0832663125@mbvit.nebular.co.za) State CONSUME_MEDIA going to sleep
  4597. 2022-07-26 07:23:33.012062 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125@mbvit.nebular.co.za entering state [calling][0]
  4598. 2022-07-26 07:23:33.051414 [NOTICE] switch_channel.c:1104 New Channel sofia/default/27744086022@156.38.231.107 [daf63356-0cb3-11ed-bc4b-d3f1ef10c389]
  4599. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_NEW (Cur 10 Tot 118034)
  4600. 2022-07-26 07:23:33.051414 [DEBUG] sofia.c:9873 sofia/default/27744086022@156.38.231.107 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  4601. 2022-07-26 07:23:33.051414 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  4602. 2022-07-26 07:23:33.051414 [DEBUG] sofia.c:7084 Channel sofia/default/27744086022@156.38.231.107 entering state [received][100]
  4603. 2022-07-26 07:23:33.051414 [DEBUG] sofia.c:7094 Remote SDP:
  4604. v=0
  4605. o=FreeSWITCH 1658803183 1658803184 IN IP4 156.38.231.107
  4606. s=FreeSWITCH
  4607. c=IN IP4 156.38.231.107
  4608. t=0 0
  4609. m=audio 17030 RTP/AVP 8 101
  4610. a=rtpmap:8 PCMA/8000
  4611. a=rtpmap:101 telephone-event/8000
  4612. a=fmtp:101 0-16
  4613. a=ptime:20
  4614.  
  4615. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  4616. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  4617. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4618. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  4619. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  4620. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  4621. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/27744086022@156.38.231.107 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  4622. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_codec.c:111 sofia/default/27744086022@156.38.231.107 Original read codec set to PCMA:8
  4623. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  4624. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:4767 sofia/default/27744086022@156.38.231.107 Set 2833 dtmf send payload to 101 recv payload to 101
  4625. 2022-07-26 07:23:33.051414 [DEBUG] sofia.c:7507 (sofia/default/27744086022@156.38.231.107) State Change CS_NEW -> CS_INIT
  4626. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:603 (sofia/default/27744086022@156.38.231.107) State NEW
  4627. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_INIT (Cur 10 Tot 118034)
  4628. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27744086022@156.38.231.107) State INIT
  4629. 2022-07-26 07:23:33.051414 [DEBUG] mod_sofia.c:90 sofia/default/27744086022@156.38.231.107 SOFIA INIT
  4630. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:40 sofia/default/27744086022@156.38.231.107 Standard INIT
  4631. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:48 (sofia/default/27744086022@156.38.231.107) State Change CS_INIT -> CS_ROUTING
  4632. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27744086022@156.38.231.107) State INIT going to sleep
  4633. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_ROUTING (Cur 10 Tot 118034)
  4634. 2022-07-26 07:23:33.051414 [DEBUG] switch_channel.c:2249 (sofia/default/27744086022@156.38.231.107) Callstate Change DOWN -> RINGING
  4635. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27744086022@156.38.231.107) State ROUTING
  4636. 2022-07-26 07:23:33.051414 [DEBUG] mod_sofia.c:143 sofia/default/27744086022@156.38.231.107 SOFIA ROUTING
  4637. 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:236 sofia/default/27744086022@156.38.231.107 Standard ROUTING
  4638. 2022-07-26 07:23:33.051414 [INFO] mod_dialplan_xml.c:637 Processing 27744086022 <27744086022>->0832663125 in context default
  4639. 2022-07-26 07:23:33.051414 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ed00add20 Connected.
  4640. 2022-07-26 07:23:33.051414 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  4641. 2022-07-26 07:23:33.122085 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4642. 2022-07-26 07:23:33.201826 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  4643. 2022-07-26 07:23:33.201826 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0832663125
  4644. 2022-07-26 07:23:33.201826 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0832663125' limit 1
  4645. 2022-07-26 07:23:33.235286 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0832663125' AND status=0 limit 1
  4646. 2022-07-26 07:23:33.310658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0832663125' and status=0 LIMIT 1
  4647. 2022-07-26 07:23:33.360703 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  4648. 2022-07-26 07:23:33.360703 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 27744086022 / 27744086022
  4649. 2022-07-26 07:23:33.360703 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  4650. 2022-07-26 07:23:33.404698 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainmbvit.nebular.co.za
  4651. 2022-07-26 07:23:33.404698 [DEBUG] switch_cpp.cpp:1365 [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 ="0832663125" LIMIT 1
  4652. 2022-07-26 07:23:33.470668 [DEBUG] switch_cpp.cpp:1365 [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="0832663125"  AND domains.domain="mbvit.nebular.co.za" limit 1
  4653. 2022-07-26 07:23:33.520662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  4654. 2022-07-26 07:23:33.520662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 7]
  4655. 2022-07-26 07:23:33.520662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  4656. 2022-07-26 07:23:33.570700 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0832663125.*' OR blocked_patterns = '^083266312.*' OR blocked_patterns = '^08326631.*' OR blocked_patterns = '^0832663.*' OR blocked_patterns = '^083266.*' OR blocked_patterns = '^08326.*' OR blocked_patterns = '^0832.*' OR blocked_patterns = '^083.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
  4657. 2022-07-26 07:23:33.620660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0832663125" AND (accountid = 0 OR status = 1) LIMIT 1
  4658. 2022-07-26 07:23:33.660661 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3
  4659. 2022-07-26 07:23:33.660661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1
  4660. 2022-07-26 07:23:33.700665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0832663125
  4661. 2022-07-26 07:23:33.700665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0832663125
  4662. 2022-07-26 07:23:33.700665 [DEBUG] switch_cpp.cpp:1365 [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 = '^0832663125.*' OR patterns = '^083266312.*' OR patterns = '^08326631.*' OR patterns = '^0832663.*' OR patterns = '^083266.*' OR patterns = '^08326.*' OR patterns = '^0832.*' OR patterns = '^083.*' OR patterns = '^08.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  4663. 2022-07-26 07:23:33.740658 [DEBUG] switch_cpp.cpp:1365 [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 ="0832663125" AND A.accountid = '7' limit 1
  4664. 2022-07-26 07:23:33.780689 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0832663125
  4665. 2022-07-26 07:23:33.780689 [DEBUG] switch_cpp.cpp:1365 [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 ="0832663125" LIMIT 1
  4666. 2022-07-26 07:23:33.831181 [DEBUG] switch_cpp.cpp:1365 [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="0832663125"  AND domains.domain="mbvit.nebular.co.za" limit 1
  4667. 2022-07-26 07:23:33.880658 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : outbound
  4668. 2022-07-26 07:23:33.880658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0832663125' OR number = '083266312' OR number = '08326631' OR number = '0832663' OR number = '083266' OR number = '08326' OR number = '0832' OR number = '083' OR number = '08' OR number = '0' OR number ='--') OR (number = '0832663125*' OR number = '083266312*' OR number = '08326631*' OR number = '0832663*' OR number = '083266*' OR number = '08326*' OR number = '0832*' OR number = '083*' OR number = '08*' OR number = '0*' OR number ='--') OR (number = '27744086022' OR number = '2774408602' OR number = '277440860' OR number = '27744086' OR number = '2774408' OR number = '277440' OR number = '27744' OR number = '2774' OR number = '277' OR number = '27' OR number = '2' OR number ='--') OR (number = '27744086022*' OR number = '2774408602*' OR number = '277440860*' OR number = '27744086*' OR number = '2774408*' OR number = '277440*' OR number = '27744*' OR number = '2774*' OR number = '277*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  4669. 2022-07-26 07:23:33.950671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  4670. 2022-07-26 07:23:33.950671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0832663125' OR routing_prefix = '083266312' OR routing_prefix = '08326631' OR routing_prefix = '0832663' OR routing_prefix = '083266' OR routing_prefix = '08326' OR routing_prefix = '0832' OR routing_prefix = '083' OR routing_prefix = '08' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1
  4671. 2022-07-26 07:23:33.990662 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Get Destination Number (0832663125)!!!!
  4672. 2022-07-26 07:23:33.990662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Ported Number :27832663125
  4673. 2022-07-26 07:23:33.990662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27832663125' limit 1
  4674. 2022-07-26 07:23:34.031714 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (0832663125)!!!!
  4675. 2022-07-26 07:23:34.080663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  4676. 2022-07-26 07:23:34.080663 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 7
  4677. 2022-07-26 07:23:34.080663 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 862977
  4678. 2022-07-26 07:23:34.080663 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 2183.6694
  4679. 2022-07-26 07:23:34.080663 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  4680. 2022-07-26 07:23:34.080663 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 81
  4681. 2022-07-26 07:23:34.080663 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  4682. 2022-07-26 07:23:34.080663 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  4683. 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022
  4684. 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022
  4685. 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022
  4686. 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022
  4687. 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022
  4688. 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022
  4689. 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022
  4690. 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022
  4691. 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0
  4692. 2022-07-26 07:23:34.122547 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  4693. 2022-07-26 07:23:34.122547 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0
  4694. 2022-07-26 07:23:34.154819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0832663125.*' OR pattern = '^083266312.*' OR pattern = '^08326631.*' OR pattern = '^0832663.*' OR pattern = '^083266.*' OR pattern = '^08326.*' OR pattern = '^0832.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 81 OR accountid=7)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  4695. 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : outbound
  4696. 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  4697. 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1802561
  4698. 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  4699. 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  4700. 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.49000
  4701. 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D083-MTN
  4702. 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  4703. 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 7
  4704. 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  4705. 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  4706. 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  4707. 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your2183.6694 balance Accountid 7 !!!
  4708. 2022-07-26 07:23:34.194652 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  4709. 2022-07-26 07:23:34.194652 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 5
  4710. 2022-07-26 07:23:34.194652 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  4711. 2022-07-26 07:23:34.241798 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0832663125.*' OR blocked_patterns = '^083266312.*' OR blocked_patterns = '^08326631.*' OR blocked_patterns = '^0832663.*' OR blocked_patterns = '^083266.*' OR blocked_patterns = '^08326.*' OR blocked_patterns = '^0832.*' OR blocked_patterns = '^083.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 5 limit 1
  4712. 2022-07-26 07:23:34.301158 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information ===================
  4713. 2022-07-26 07:23:34.301158 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 5
  4714. 2022-07-26 07:23:34.301158 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8566036685
  4715. 2022-07-26 07:23:34.301158 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1985.3004
  4716. 2022-07-26 07:23:34.301158 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  4717. 2022-07-26 07:23:34.301158 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83
  4718. 2022-07-26 07:23:34.301158 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  4719. 2022-07-26 07:23:34.371068 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  4720. 2022-07-26 07:23:34.371068 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  4721. 2022-07-26 07:23:34.411818 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0832663125.*' OR pattern = '^083266312.*' OR pattern = '^08326631.*' OR pattern = '^0832663.*' OR pattern = '^083266.*' OR pattern = '^08326.*' OR pattern = '^0832.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 83 OR accountid=5)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  4722. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : outbound
  4723. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  4724. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1426397
  4725. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  4726. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  4727. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.29000
  4728. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D083-MTN
  4729. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  4730. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 5
  4731. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  4732. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  4733. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  4734. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1985.3004 balance Accountid 5 !!!
  4735. 2022-07-26 07:23:34.451059 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  4736. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5
  4737. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  4738. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1
  4739. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  4740. 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1802561
  4741. 2022-07-26 07:23:34.451059 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :0
  4742. 2022-07-26 07:23:34.451059 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=83 ORDER by id asc
  4743. 2022-07-26 07:23:34.492199 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^0832663125.*' OR pattern = '^083266312.*' OR pattern = '^08326631.*' OR pattern = '^0832663.*' OR pattern = '^083266.*' OR pattern = '^08326.*' OR pattern = '^0832.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5,7) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  4744. 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  4745. 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 183
  4746. 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^0.*
  4747. 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : SA
  4748. 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  4749. 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  4750. 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^0.*
  4751. 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip :
  4752. 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend :
  4753. 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 5
  4754. 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : liquid_primary
  4755. 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  4756. 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  4757. 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3
  4758. 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  4759. 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Liquid
  4760. 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  4761. 2022-07-26 07:23:34.620663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1
  4762. 2022-07-26 07:23:34.671303 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  4763. 2022-07-26 07:23:34.671303 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4764. 2022-07-26 07:23:34.700661 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  4765. 2022-07-26 07:23:34.700661 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
  4766. 2022-07-26 07:23:34.700661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  4767. 2022-07-26 07:23:34.732020 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 5) AND status=0 limit 1
  4768. 2022-07-26 07:23:34.761050 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+27/0".....0832663125
  4769. 2022-07-26 07:23:34.761050 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  4770. 2022-07-26 07:23:34.810660 [DEBUG] switch_cpp.cpp:1365 [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 ="0832663125" LIMIT 1
  4771. 2022-07-26 07:23:34.850663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  4772. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  4773. <document type="freeswitch/xml">
  4774. <section name="dialplan" description="ASTPP Dialplan">
  4775. <context name="default">
  4776. <extension name="0832663125">
  4777. <condition field="destination_number" expression="0832663125">
  4778. <action application="set" data="effective_destination_number=0832663125"/>
  4779. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  4780. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  4781. <action application="set" data="callstart=2022-07-26 07:23:34"/>
  4782. <action application="set" data="hangup_after_bridge=true"/>
  4783. <action application="set" data="continue_on_fail=TRUE"/>
  4784. <action application="set" data="account_id=7"/>
  4785. <action application="set" data="parent_id=5"/>
  4786. <action application="set" data="entity_id=0"/>
  4787. <action application="set" data="call_processed=internal"/>
  4788. <action application="set" data="call_direction=outbound"/>
  4789. <action application="set" data="accountname=default"/>
  4790. <action application="set" data="filename1=astpp.pbx.lua"/>
  4791. <action application="set" data="origination_rates=ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5"/>
  4792. <action application="set" data="original_caller_id_name=27744086022"/>
  4793. <action application="set" data="original_caller_id_number=27744086022"/>
  4794. <action application="limit" data="db 7 user_7 5 "/>
  4795. <action application="limit" data="db 8566036685 user_8566036685 20 "/>
  4796. <action application="set" data="effective_caller_id_name=27744086022"/>
  4797. <action application="set" data="effective_caller_id_number=27744086022"/>
  4798. <action application="set" data="calltype=STANDARD"/>
  4799. <action application="set" data="termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3"/>
  4800. <action application="set" data="trunk_id=5"/>
  4801. <action application="set" data="provider_id=3"/>
  4802. <action application="set" data="rate_flag=0"/>
  4803. <action application="set" data="force_trunk_flag=1802561"/>
  4804. <action application="export" data="presence_data=trunk_id=5"/>
  4805. <action application="set" data="intcall=0"/>
  4806. <action application="export" data="presence_data=x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN"/>
  4807. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0832663125;fs_path=sip:156.38.231.106:5060"/>
  4808. </condition>
  4809. </extension>
  4810. </context>
  4811. </document>
  4812. 2022-07-26 07:23:34.850663 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ed00add20 released.
  4813. Dialplan: sofia/default/27744086022@156.38.231.107 parsing [default->0832663125] continue=false
  4814. Dialplan: sofia/default/27744086022@156.38.231.107 Regex (PASS) [0832663125] destination_number(0832663125) =~ /0832663125/ break=on-false
  4815. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(effective_destination_number=0832663125)
  4816. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  4817. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  4818. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(callstart=2022-07-26 07:23:34)
  4819. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(hangup_after_bridge=true)
  4820. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(continue_on_fail=TRUE)
  4821. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(account_id=7)
  4822. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(parent_id=5)
  4823. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(entity_id=0)
  4824. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(call_processed=internal)
  4825. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(call_direction=outbound)
  4826. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(accountname=default)
  4827. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(filename1=astpp.pbx.lua)
  4828. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(origination_rates=ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5)
  4829. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(original_caller_id_name=27744086022)
  4830. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(original_caller_id_number=27744086022)
  4831. Dialplan: sofia/default/27744086022@156.38.231.107 Action limit(db 7 user_7 5 )
  4832. Dialplan: sofia/default/27744086022@156.38.231.107 Action limit(db 8566036685 user_8566036685 20 )
  4833. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(effective_caller_id_name=27744086022)
  4834. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(effective_caller_id_number=27744086022)
  4835. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(calltype=STANDARD)
  4836. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3)
  4837. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(trunk_id=5)
  4838. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(provider_id=3)
  4839. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(rate_flag=0)
  4840. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(force_trunk_flag=1802561)
  4841. Dialplan: sofia/default/27744086022@156.38.231.107 Action export(presence_data=trunk_id=5)
  4842. Dialplan: sofia/default/27744086022@156.38.231.107 Action set(intcall=0)
  4843. Dialplan: sofia/default/27744086022@156.38.231.107 Action export(presence_data=x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN)
  4844. Dialplan: sofia/default/27744086022@156.38.231.107 Action bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0832663125;fs_path=sip:156.38.231.106:5060)
  4845. 2022-07-26 07:23:34.850663 [DEBUG] switch_core_state_machine.c:286 (sofia/default/27744086022@156.38.231.107) State Change CS_ROUTING -> CS_EXECUTE
  4846. 2022-07-26 07:23:34.850663 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27744086022@156.38.231.107) State ROUTING going to sleep
  4847. 2022-07-26 07:23:34.850663 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_EXECUTE (Cur 10 Tot 118034)
  4848. 2022-07-26 07:23:34.850663 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27744086022@156.38.231.107) State EXECUTE
  4849. 2022-07-26 07:23:34.850663 [DEBUG] mod_sofia.c:198 sofia/default/27744086022@156.38.231.107 SOFIA EXECUTE
  4850. 2022-07-26 07:23:34.850663 [DEBUG] switch_core_state_machine.c:328 sofia/default/27744086022@156.38.231.107 Standard EXECUTE
  4851. EXECUTE sofia/default/27744086022@156.38.231.107 set(effective_destination_number=0832663125)
  4852. 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [effective_destination_number]=[0832663125]
  4853. EXECUTE sofia/default/27744086022@156.38.231.107 set(bridge_pre_execute_bleg_app=sched_hangup)
  4854. 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [bridge_pre_execute_bleg_app]=[sched_hangup]
  4855. EXECUTE sofia/default/27744086022@156.38.231.107 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  4856. 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  4857. EXECUTE sofia/default/27744086022@156.38.231.107 set(callstart=2022-07-26 07:23:34)
  4858. 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [callstart]=[2022-07-26 07:23:34]
  4859. EXECUTE sofia/default/27744086022@156.38.231.107 set(hangup_after_bridge=true)
  4860. 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [hangup_after_bridge]=[true]
  4861. EXECUTE sofia/default/27744086022@156.38.231.107 set(continue_on_fail=TRUE)
  4862. 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [continue_on_fail]=[TRUE]
  4863. EXECUTE sofia/default/27744086022@156.38.231.107 set(account_id=7)
  4864. 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [account_id]=[7]
  4865. EXECUTE sofia/default/27744086022@156.38.231.107 set(parent_id=5)
  4866. 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [parent_id]=[5]
  4867. EXECUTE sofia/default/27744086022@156.38.231.107 set(entity_id=0)
  4868. 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [entity_id]=[0]
  4869. EXECUTE sofia/default/27744086022@156.38.231.107 set(call_processed=internal)
  4870. 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [call_processed]=[internal]
  4871. EXECUTE sofia/default/27744086022@156.38.231.107 set(call_direction=outbound)
  4872. 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [call_direction]=[outbound]
  4873. EXECUTE sofia/default/27744086022@156.38.231.107 set(accountname=default)
  4874. 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [accountname]=[default]
  4875. EXECUTE sofia/default/27744086022@156.38.231.107 set(filename1=astpp.pbx.lua)
  4876. 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [filename1]=[astpp.pbx.lua]
  4877. EXECUTE sofia/default/27744086022@156.38.231.107 set(origination_rates=ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5)
  4878. 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [origination_rates]=[ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5]
  4879. EXECUTE sofia/default/27744086022@156.38.231.107 set(original_caller_id_name=27744086022)
  4880. 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [original_caller_id_name]=[27744086022]
  4881. EXECUTE sofia/default/27744086022@156.38.231.107 set(original_caller_id_number=27744086022)
  4882. 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [original_caller_id_number]=[27744086022]
  4883. EXECUTE sofia/default/27744086022@156.38.231.107 limit(db 7 user_7 5 )
  4884. 2022-07-26 07:23:34.850663 [DEBUG] switch_limit.c:126 incr called: 7_user_7 max:5, interval:0
  4885. 2022-07-26 07:23:34.850663 [DEBUG] mod_db.c:194 Usage for 7_user_7 is now 2/5
  4886. EXECUTE sofia/default/27744086022@156.38.231.107 limit(db 8566036685 user_8566036685 20 )
  4887. 2022-07-26 07:23:34.860669 [DEBUG] switch_limit.c:126 incr called: 8566036685_user_8566036685 max:20, interval:0
  4888. 2022-07-26 07:23:34.860669 [DEBUG] mod_db.c:194 Usage for 8566036685_user_8566036685 is now 2/20
  4889. EXECUTE sofia/default/27744086022@156.38.231.107 set(effective_caller_id_name=27744086022)
  4890. 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [effective_caller_id_name]=[27744086022]
  4891. EXECUTE sofia/default/27744086022@156.38.231.107 set(effective_caller_id_number=27744086022)
  4892. 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [effective_caller_id_number]=[27744086022]
  4893. EXECUTE sofia/default/27744086022@156.38.231.107 set(calltype=STANDARD)
  4894. 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [calltype]=[STANDARD]
  4895. EXECUTE sofia/default/27744086022@156.38.231.107 set(termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3)
  4896. 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [termination_rates]=[ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3]
  4897. EXECUTE sofia/default/27744086022@156.38.231.107 set(trunk_id=5)
  4898. 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [trunk_id]=[5]
  4899. EXECUTE sofia/default/27744086022@156.38.231.107 set(provider_id=3)
  4900. 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [provider_id]=[3]
  4901. EXECUTE sofia/default/27744086022@156.38.231.107 set(rate_flag=0)
  4902. 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [rate_flag]=[0]
  4903. EXECUTE sofia/default/27744086022@156.38.231.107 set(force_trunk_flag=1802561)
  4904. 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [force_trunk_flag]=[1802561]
  4905. EXECUTE sofia/default/27744086022@156.38.231.107 export(presence_data=trunk_id=5)
  4906. 2022-07-26 07:23:34.860669 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=5]
  4907. EXECUTE sofia/default/27744086022@156.38.231.107 set(intcall=0)
  4908. 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [intcall]=[0]
  4909. EXECUTE sofia/default/27744086022@156.38.231.107 export(presence_data=x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN)
  4910. 2022-07-26 07:23:34.860669 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN]
  4911. EXECUTE sofia/default/27744086022@156.38.231.107 bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0832663125;fs_path=sip:156.38.231.106:5060)
  4912. 2022-07-26 07:23:34.860669 [DEBUG] switch_channel.c:1250 sofia/default/27744086022@156.38.231.107 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN] to event
  4913. 2022-07-26 07:23:34.860669 [DEBUG] switch_channel.c:1250 sofia/default/27744086022@156.38.231.107 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN] to event
  4914. 2022-07-26 07:23:34.860669 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  4915. 2022-07-26 07:23:34.860669 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  4916. 2022-07-26 07:23:34.860669 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0832663125 [dc098e5a-0cb3-11ed-bc6e-d3f1ef10c389]
  4917. 2022-07-26 07:23:34.860669 [DEBUG] mod_sofia.c:4819 (sofia/default/0832663125) State Change CS_NEW -> CS_INIT
  4918. 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_INIT (Cur 11 Tot 118035)
  4919. 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0832663125) State INIT
  4920. 2022-07-26 07:23:34.860669 [DEBUG] mod_sofia.c:90 sofia/default/0832663125 SOFIA INIT
  4921. 2022-07-26 07:23:34.860669 [DEBUG] sofia_glue.c:1264 sip:156.38.231.106:5060 Setting proxy route to sofia/default/0832663125
  4922. 2022-07-26 07:23:34.860669 [DEBUG] sofia_glue.c:1295 sofia/default/0832663125 sending invite version: 1.6.20  64bit
  4923. Local SDP:
  4924. v=0
  4925. o=FreeSWITCH 1658787836 1658787837 IN IP4 156.38.231.107
  4926. s=FreeSWITCH
  4927. c=IN IP4 156.38.231.107
  4928. t=0 0
  4929. m=audio 32378 RTP/AVP 18 8 0 101
  4930. a=rtpmap:18 G729/8000
  4931. a=fmtp:18 annexb=no
  4932. a=rtpmap:8 PCMA/8000
  4933. a=rtpmap:0 PCMU/8000
  4934. a=rtpmap:101 telephone-event/8000
  4935. a=fmtp:101 0-16
  4936. a=ptime:20
  4937. a=sendrecv
  4938.  
  4939. 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:40 sofia/default/0832663125 Standard INIT
  4940. 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0832663125) State Change CS_INIT -> CS_ROUTING
  4941. 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0832663125) State INIT going to sleep
  4942. 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_ROUTING (Cur 11 Tot 118035)
  4943. 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0832663125) State ROUTING
  4944. 2022-07-26 07:23:34.860669 [DEBUG] mod_sofia.c:143 sofia/default/0832663125 SOFIA ROUTING
  4945. 2022-07-26 07:23:34.860669 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0832663125) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4946. 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0832663125) State ROUTING going to sleep
  4947. 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_CONSUME_MEDIA (Cur 11 Tot 118035)
  4948. 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0832663125) State CONSUME_MEDIA
  4949. 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0832663125) State CONSUME_MEDIA going to sleep
  4950. 2022-07-26 07:23:34.871317 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [calling][0]
  4951. 2022-07-26 07:23:37.000671 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [proceeding][183]
  4952. 2022-07-26 07:23:37.000671 [DEBUG] sofia.c:7094 Remote SDP:
  4953. v=0
  4954. o=HuaweiSoftX3000 136631768525699 136631768525699 IN IP4 41.160.32.115
  4955. s=-
  4956. c=IN IP4 41.160.32.115
  4957. t=0 0
  4958. m=audio 20608 RTP/AVP 8 101
  4959. a=rtpmap:8 PCMA/8000
  4960. a=rtpmap:101 telephone-event/8000
  4961. a=fmtp:101 0-15
  4962. a=ptime:20
  4963.  
  4964. 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  4965. 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4966. 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  4967. 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  4968. 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  4969. 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0832663125 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  4970. 2022-07-26 07:23:37.000671 [DEBUG] switch_core_codec.c:111 sofia/default/0832663125 Original read codec set to PCMA:8
  4971. 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  4972. 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:4767 sofia/default/0832663125 Set 2833 dtmf send payload to 101 recv payload to 101
  4973. 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0832663125] 156.38.231.107 port 32378 -> 41.160.32.115 port 20608 codec: 8 ms: 20
  4974. 2022-07-26 07:23:37.000671 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  4975. 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:7180 sofia/default/0832663125 Set 2833 dtmf send payload to 101
  4976. 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:7187 sofia/default/0832663125 Set 2833 dtmf receive payload to 101
  4977. 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:7210 sofia/default/0832663125 Set rtp dtmf delay to 40
  4978. 2022-07-26 07:23:37.000671 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0832663125!
  4979. 2022-07-26 07:23:37.000671 [DEBUG] switch_channel.c:3474 (sofia/default/0832663125) Callstate Change DOWN -> EARLY
  4980. 2022-07-26 07:23:37.020666 [INFO] switch_ivr_originate.c:3654 Sending early media
  4981. 2022-07-26 07:23:37.020666 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/27744086022@156.38.231.107] 156.38.231.107 port 30556 -> 156.38.231.107 port 17030 codec: 8 ms: 20
  4982. 2022-07-26 07:23:37.020666 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  4983. 2022-07-26 07:23:37.030674 [DEBUG] switch_core_media.c:7180 sofia/default/27744086022@156.38.231.107 Set 2833 dtmf send payload to 101
  4984. 2022-07-26 07:23:37.030674 [DEBUG] switch_core_media.c:7187 sofia/default/27744086022@156.38.231.107 Set 2833 dtmf receive payload to 101
  4985. 2022-07-26 07:23:37.030674 [DEBUG] switch_core_media.c:7210 sofia/default/27744086022@156.38.231.107 Set rtp dtmf delay to 40
  4986. 2022-07-26 07:23:37.030674 [DEBUG] mod_sofia.c:2364 Ring SDP:
  4987. v=0
  4988. o=FreeSWITCH 1658789661 1658789662 IN IP4 156.38.231.107
  4989. s=FreeSWITCH
  4990. c=IN IP4 156.38.231.107
  4991. t=0 0
  4992. m=audio 30556 RTP/AVP 8 101
  4993. a=rtpmap:8 PCMA/8000
  4994. a=rtpmap:101 telephone-event/8000
  4995. a=fmtp:101 0-16
  4996. a=ptime:20
  4997. a=sendrecv
  4998.  
  4999. 2022-07-26 07:23:37.030674 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/27744086022@156.38.231.107!
  5000. 2022-07-26 07:23:37.030674 [DEBUG] switch_channel.c:3474 (sofia/default/27744086022@156.38.231.107) Callstate Change RINGING -> EARLY
  5001. 2022-07-26 07:23:37.030674 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0832663125]
  5002. 2022-07-26 07:23:37.030674 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0832663125) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  5003. 2022-07-26 07:23:37.030674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_EXCHANGE_MEDIA (Cur 11 Tot 118035)
  5004. 2022-07-26 07:23:37.030674 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0832663125) State EXCHANGE_MEDIA
  5005. 2022-07-26 07:23:37.030674 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  5006. 2022-07-26 07:23:37.030674 [DEBUG] sofia.c:7084 Channel sofia/default/27744086022@156.38.231.107 entering state [early][183]
  5007. 2022-07-26 07:23:37.040789 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125@mbvit.nebular.co.za entering state [proceeding][183]
  5008. 2022-07-26 07:23:37.040789 [DEBUG] sofia.c:7094 Remote SDP:
  5009. v=0
  5010. o=FreeSWITCH 1658789661 1658789662 IN IP4 156.38.231.107
  5011. s=FreeSWITCH
  5012. c=IN IP4 156.38.231.107
  5013. t=0 0
  5014. m=audio 30556 RTP/AVP 8 101
  5015. a=rtpmap:8 PCMA/8000
  5016. a=rtpmap:101 telephone-event/8000
  5017. a=fmtp:101 0-16
  5018. a=ptime:20
  5019.  
  5020. 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  5021. 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  5022. 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  5023. 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0832663125@mbvit.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  5024. 2022-07-26 07:23:37.040789 [DEBUG] switch_core_codec.c:111 sofia/default/0832663125@mbvit.nebular.co.za Original read codec set to PCMA:8
  5025. 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  5026. 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:4767 sofia/default/0832663125@mbvit.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  5027. 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0832663125@mbvit.nebular.co.za] 156.38.231.107 port 17030 -> 156.38.231.107 port 30556 codec: 8 ms: 20
  5028. 2022-07-26 07:23:37.040789 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  5029. 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:7180 sofia/default/0832663125@mbvit.nebular.co.za Set 2833 dtmf send payload to 101
  5030. 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:7187 sofia/default/0832663125@mbvit.nebular.co.za Set 2833 dtmf receive payload to 101
  5031. 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:7210 sofia/default/0832663125@mbvit.nebular.co.za Set rtp dtmf delay to 40
  5032. 2022-07-26 07:23:37.040789 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0832663125@mbvit.nebular.co.za!
  5033. 2022-07-26 07:23:37.040789 [DEBUG] switch_channel.c:3474 (sofia/default/0832663125@mbvit.nebular.co.za) Callstate Change DOWN -> EARLY
  5034. EXECUTE sofia/default/0832663125@mbvit.nebular.co.za lua(/usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  5035. 2022-07-26 07:23:37.061335 [NOTICE] switch_cpp.cpp:1365 [Astpp_Call-Ring Group]  Ring group confirm flag :false
  5036. 2022-07-26 07:23:37.061335 [DEBUG] switch_cpp.cpp:1112 sofia/default/0832663125@mbvit.nebular.co.za destroy/unlink session from object
  5037. 2022-07-26 07:23:37.071956 [DEBUG] switch_core_codec.c:248 sofia/default/0744086022@41.160.32.115:5060 Restore previous codec PCMA:8.
  5038. 2022-07-26 07:23:37.071956 [NOTICE] switch_ivr_originate.c:3612 Hangup sofia/default/173@mbvit.nebular.co.za [CS_CONSUME_MEDIA] [LOSE_RACE]
  5039. 2022-07-26 07:23:37.071956 [NOTICE] switch_ivr_originate.c:3612 Hangup sofia/default/171@mbvit.nebular.co.za [CS_CONSUME_MEDIA] [LOSE_RACE]
  5040. 2022-07-26 07:23:37.071956 [NOTICE] switch_ivr_originate.c:3612 Hangup sofia/default/174@mbvit.nebular.co.za [CS_CONSUME_MEDIA] [LOSE_RACE]
  5041. 2022-07-26 07:23:37.071956 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0832663125@mbvit.nebular.co.za]
  5042. 2022-07-26 07:23:37.071956 [DEBUG] switch_channel.c:2047 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change RING_WAIT -> ACTIVE
  5043. 2022-07-26 07:23:37.071956 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  5044. 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_HANGUP (Cur 11 Tot 118035)
  5045. 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:850 (sofia/default/173@mbvit.nebular.co.za) Callstate Change RINGING -> HANGUP
  5046. 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:852 (sofia/default/173@mbvit.nebular.co.za) State HANGUP
  5047. 2022-07-26 07:23:37.071956 [DEBUG] mod_sofia.c:438 Channel sofia/default/173@mbvit.nebular.co.za hanging up, cause: LOSE_RACE
  5048. 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_HANGUP (Cur 11 Tot 118035)
  5049. 2022-07-26 07:23:37.071956 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/173@mbvit.nebular.co.za
  5050. 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:60 sofia/default/173@mbvit.nebular.co.za Standard HANGUP, cause: LOSE_RACE
  5051. 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:852 (sofia/default/173@mbvit.nebular.co.za) State HANGUP going to sleep
  5052. 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:619 (sofia/default/173@mbvit.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  5053. 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_REPORTING (Cur 11 Tot 118035)
  5054. 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:850 (sofia/default/171@mbvit.nebular.co.za) Callstate Change RINGING -> HANGUP
  5055. 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:938 (sofia/default/173@mbvit.nebular.co.za) State REPORTING
  5056. 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:852 (sofia/default/171@mbvit.nebular.co.za) State HANGUP
  5057. 2022-07-26 07:23:37.071956 [DEBUG] mod_sofia.c:438 Channel sofia/default/171@mbvit.nebular.co.za hanging up, cause: LOSE_RACE
  5058. 2022-07-26 07:23:37.071956 [INFO] mod_json_cdr.c:271 Process [d46deccc-0cb3-11ed-bc35-d3f1ef10c389.cdr.json]
  5059. 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_HANGUP (Cur 11 Tot 118035)
  5060. 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:850 (sofia/default/174@mbvit.nebular.co.za) Callstate Change RINGING -> HANGUP
  5061. 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:852 (sofia/default/174@mbvit.nebular.co.za) State HANGUP
  5062. 2022-07-26 07:23:37.071956 [DEBUG] mod_sofia.c:438 Channel sofia/default/174@mbvit.nebular.co.za hanging up, cause: LOSE_RACE
  5063. 2022-07-26 07:23:37.091140 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/171@mbvit.nebular.co.za
  5064. 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:60 sofia/default/171@mbvit.nebular.co.za Standard HANGUP, cause: LOSE_RACE
  5065. 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:852 (sofia/default/171@mbvit.nebular.co.za) State HANGUP going to sleep
  5066. 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:619 (sofia/default/171@mbvit.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  5067. 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_REPORTING (Cur 11 Tot 118035)
  5068. 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:938 (sofia/default/171@mbvit.nebular.co.za) State REPORTING
  5069. 2022-07-26 07:23:37.091140 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/174@mbvit.nebular.co.za
  5070. 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:60 sofia/default/174@mbvit.nebular.co.za Standard HANGUP, cause: LOSE_RACE
  5071. 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:852 (sofia/default/174@mbvit.nebular.co.za) State HANGUP going to sleep
  5072. 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:619 (sofia/default/174@mbvit.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  5073. 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_REPORTING (Cur 11 Tot 118035)
  5074. 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:938 (sofia/default/174@mbvit.nebular.co.za) State REPORTING
  5075. 2022-07-26 07:23:37.091140 [INFO] mod_json_cdr.c:271 Process [d46e1080-0cb3-11ed-bc41-d3f1ef10c389.cdr.json]
  5076. 2022-07-26 07:23:37.091140 [INFO] mod_json_cdr.c:271 Process [d46dff6e-0cb3-11ed-bc3b-d3f1ef10c389.cdr.json]
  5077. 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 11 Tot 118035)
  5078. 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0832663125@mbvit.nebular.co.za) State EXCHANGE_MEDIA
  5079. 2022-07-26 07:23:37.091140 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  5080. 2022-07-26 07:23:37.141559 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  5081. 2022-07-26 07:23:37.163332 [DEBUG] switch_core_state_machine.c:174 sofia/default/173@mbvit.nebular.co.za Standard REPORTING, cause: LOSE_RACE
  5082. 2022-07-26 07:23:37.163332 [DEBUG] switch_core_state_machine.c:938 (sofia/default/173@mbvit.nebular.co.za) State REPORTING going to sleep
  5083. 2022-07-26 07:23:37.163332 [DEBUG] switch_core_state_machine.c:610 (sofia/default/173@mbvit.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  5084. 2022-07-26 07:23:37.163332 [DEBUG] switch_core_session.c:1665 Session 118030 (sofia/default/173@mbvit.nebular.co.za) Locked, Waiting on external entities
  5085. 2022-07-26 07:23:37.163332 [NOTICE] switch_core_session.c:1683 Session 118030 (sofia/default/173@mbvit.nebular.co.za) Ended
  5086. 2022-07-26 07:23:37.163332 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/173@mbvit.nebular.co.za [CS_DESTROY]
  5087. 2022-07-26 07:23:37.163332 [DEBUG] switch_core_state_machine.c:741 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_DESTROY (Cur 10 Tot 118035)
  5088. 2022-07-26 07:23:37.163332 [DEBUG] switch_core_state_machine.c:751 (sofia/default/173@mbvit.nebular.co.za) State DESTROY
  5089. 2022-07-26 07:23:37.163332 [DEBUG] mod_sofia.c:343 sofia/default/173@mbvit.nebular.co.za SOFIA DESTROY
  5090. 2022-07-26 07:23:37.163332 [DEBUG] switch_core_state_machine.c:181 sofia/default/173@mbvit.nebular.co.za Standard DESTROY
  5091. 2022-07-26 07:23:37.163332 [DEBUG] switch_core_state_machine.c:751 (sofia/default/173@mbvit.nebular.co.za) State DESTROY going to sleep
  5092. 2022-07-26 07:23:37.171386 [DEBUG] switch_core_state_machine.c:174 sofia/default/171@mbvit.nebular.co.za Standard REPORTING, cause: LOSE_RACE
  5093. 2022-07-26 07:23:37.171386 [DEBUG] switch_core_state_machine.c:938 (sofia/default/171@mbvit.nebular.co.za) State REPORTING going to sleep
  5094. 2022-07-26 07:23:37.171386 [DEBUG] switch_core_state_machine.c:610 (sofia/default/171@mbvit.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  5095. 2022-07-26 07:23:37.171386 [DEBUG] switch_core_session.c:1665 Session 118031 (sofia/default/171@mbvit.nebular.co.za) Locked, Waiting on external entities
  5096. 2022-07-26 07:23:37.171386 [NOTICE] switch_core_session.c:1683 Session 118031 (sofia/default/171@mbvit.nebular.co.za) Ended
  5097. 2022-07-26 07:23:37.171386 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/171@mbvit.nebular.co.za [CS_DESTROY]
  5098. 2022-07-26 07:23:37.171386 [DEBUG] switch_core_state_machine.c:741 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_DESTROY (Cur 9 Tot 118035)
  5099. 2022-07-26 07:23:37.171386 [DEBUG] switch_core_state_machine.c:751 (sofia/default/171@mbvit.nebular.co.za) State DESTROY
  5100. 2022-07-26 07:23:37.171386 [DEBUG] mod_sofia.c:343 sofia/default/171@mbvit.nebular.co.za SOFIA DESTROY
  5101. 2022-07-26 07:23:37.171386 [DEBUG] switch_core_state_machine.c:181 sofia/default/171@mbvit.nebular.co.za Standard DESTROY
  5102. 2022-07-26 07:23:37.171386 [DEBUG] switch_core_state_machine.c:751 (sofia/default/171@mbvit.nebular.co.za) State DESTROY going to sleep
  5103. 2022-07-26 07:23:37.200660 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0832663125 Bridge execute app sched_hangup(+6000 normal_clearing)
  5104. 2022-07-26 07:23:37.215599 [DEBUG] switch_core_state_machine.c:174 sofia/default/174@mbvit.nebular.co.za Standard REPORTING, cause: LOSE_RACE
  5105. 2022-07-26 07:23:37.215599 [DEBUG] switch_core_state_machine.c:938 (sofia/default/174@mbvit.nebular.co.za) State REPORTING going to sleep
  5106. 2022-07-26 07:23:37.215599 [DEBUG] switch_core_state_machine.c:610 (sofia/default/174@mbvit.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  5107. 2022-07-26 07:23:37.215599 [DEBUG] switch_core_session.c:1665 Session 118032 (sofia/default/174@mbvit.nebular.co.za) Locked, Waiting on external entities
  5108. 2022-07-26 07:23:37.215599 [NOTICE] switch_core_session.c:1683 Session 118032 (sofia/default/174@mbvit.nebular.co.za) Ended
  5109. 2022-07-26 07:23:37.215599 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/174@mbvit.nebular.co.za [CS_DESTROY]
  5110. 2022-07-26 07:23:37.215599 [DEBUG] switch_core_state_machine.c:741 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_DESTROY (Cur 8 Tot 118035)
  5111. 2022-07-26 07:23:37.215599 [DEBUG] switch_core_state_machine.c:751 (sofia/default/174@mbvit.nebular.co.za) State DESTROY
  5112. 2022-07-26 07:23:37.215599 [DEBUG] mod_sofia.c:343 sofia/default/174@mbvit.nebular.co.za SOFIA DESTROY
  5113. 2022-07-26 07:23:37.215599 [DEBUG] switch_core_state_machine.c:181 sofia/default/174@mbvit.nebular.co.za Standard DESTROY
  5114. 2022-07-26 07:23:37.215599 [DEBUG] switch_core_state_machine.c:751 (sofia/default/174@mbvit.nebular.co.za) State DESTROY going to sleep
  5115. 2022-07-26 07:23:37.215599 [DEBUG] switch_ivr.c:623 sofia/default/0832663125 Command Execute sched_hangup(+6000 normal_clearing)
  5116. EXECUTE sofia/default/0832663125 sched_hangup(+6000 normal_clearing)
  5117. 2022-07-26 07:23:37.215599 [DEBUG] switch_scheduler.c:249 Added task 47236 switch_ivr_schedule_hangup (dc098e5a-0cb3-11ed-bc6e-d3f1ef10c389) to run at 1658826217
  5118. 2022-07-26 07:23:37.251581 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0832663125@mbvit.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  5119. 2022-07-26 07:23:37.280661 [DEBUG] switch_ivr.c:623 sofia/default/0832663125@mbvit.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing)
  5120. EXECUTE sofia/default/0832663125@mbvit.nebular.co.za sched_hangup(+6000 normal_clearing)
  5121. 2022-07-26 07:23:37.292246 [DEBUG] switch_scheduler.c:249 Added task 47237 switch_ivr_schedule_hangup (d46e2110-0cb3-11ed-bc47-d3f1ef10c389) to run at 1658826217
  5122. 2022-07-26 07:23:37.921989 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [proceeding][180]
  5123. 2022-07-26 07:23:37.921989 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/0832663125!
  5124. 2022-07-26 07:23:37.921989 [DEBUG] switch_channel.c:3346 (sofia/default/0832663125) Callstate Change EARLY -> RINGING
  5125. 2022-07-26 07:23:37.961944 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  5126. 2022-07-26 07:23:38.020710 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  5127. 2022-07-26 07:23:59.620681 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [completing][200]
  5128. 2022-07-26 07:23:59.620681 [DEBUG] sofia.c:7091 Duplicate SDP
  5129. v=0
  5130. o=HuaweiSoftX3000 136631768525699 136631768525699 IN IP4 41.160.32.115
  5131. s=-
  5132. c=IN IP4 41.160.32.115
  5133. t=0 0
  5134. m=audio 20608 RTP/AVP 8 101
  5135. a=rtpmap:8 PCMA/8000
  5136. a=rtpmap:101 telephone-event/8000
  5137. a=fmtp:101 0-15
  5138. a=ptime:20
  5139.  
  5140. 2022-07-26 07:23:59.631640 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [ready][200]
  5141. 2022-07-26 07:23:59.631640 [NOTICE] sofia.c:8159 Channel [sofia/default/0832663125] has been answered
  5142. 2022-07-26 07:23:59.631640 [DEBUG] switch_channel.c:3773 (sofia/default/0832663125) Callstate Change RINGING -> ACTIVE
  5143. 2022-07-26 07:23:59.631640 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/27744086022@156.38.231.107.
  5144. 2022-07-26 07:23:59.631640 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/27744086022@156.38.231.107:
  5145. v=0
  5146. o=FreeSWITCH 1658789661 1658789663 IN IP4 156.38.231.107
  5147. s=FreeSWITCH
  5148. c=IN IP4 156.38.231.107
  5149. t=0 0
  5150. m=audio 30556 RTP/AVP 8 101
  5151. a=rtpmap:8 PCMA/8000
  5152. a=rtpmap:101 telephone-event/8000
  5153. a=fmtp:101 0-16
  5154. a=ptime:20
  5155. a=sendrecv
  5156.  
  5157. 2022-07-26 07:23:59.631640 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/27744086022@156.38.231.107] has been answered
  5158. 2022-07-26 07:23:59.631640 [DEBUG] switch_channel.c:3773 (sofia/default/27744086022@156.38.231.107) Callstate Change EARLY -> ACTIVE
  5159. 2022-07-26 07:23:59.651014 [DEBUG] sofia.c:7084 Channel sofia/default/27744086022@156.38.231.107 entering state [completed][200]
  5160. 2022-07-26 07:23:59.651014 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  5161. 2022-07-26 07:23:59.651014 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125@mbvit.nebular.co.za entering state [completing][200]
  5162. 2022-07-26 07:23:59.651014 [DEBUG] sofia.c:7091 Duplicate SDP
  5163. v=0
  5164. o=FreeSWITCH 1658789661 1658789662 IN IP4 156.38.231.107
  5165. s=FreeSWITCH
  5166. c=IN IP4 156.38.231.107
  5167. t=0 0
  5168. m=audio 30556 RTP/AVP 8 101
  5169. a=rtpmap:8 PCMA/8000
  5170. a=rtpmap:101 telephone-event/8000
  5171. a=fmtp:101 0-16
  5172. a=ptime:20
  5173.  
  5174. 2022-07-26 07:23:59.680658 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125@mbvit.nebular.co.za entering state [ready][200]
  5175. 2022-07-26 07:23:59.680658 [NOTICE] sofia.c:8159 Channel [sofia/default/0832663125@mbvit.nebular.co.za] has been answered
  5176. 2022-07-26 07:23:59.680658 [DEBUG] switch_channel.c:3773 (sofia/default/0832663125@mbvit.nebular.co.za) Callstate Change EARLY -> ACTIVE
  5177. 2022-07-26 07:23:59.680658 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  5178. 2022-07-26 07:23:59.680658 [DEBUG] sofia.c:7084 Channel sofia/default/27744086022@156.38.231.107 entering state [ready][200]
  5179. 2022-07-26 07:23:59.714844 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  5180. 2022-07-26 07:24:08.100679 [NOTICE] sofia.c:1012 Hangup sofia/default/0744086022@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  5181. 2022-07-26 07:24:08.110659 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0744086022@41.160.32.115:5060]
  5182. 2022-07-26 07:24:08.121507 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0744086022@41.160.32.115:5060 ending bridge by request from write function
  5183. 2022-07-26 07:24:08.121507 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0832663125@mbvit.nebular.co.za]
  5184. 2022-07-26 07:24:08.121507 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0832663125@mbvit.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  5185. 2022-07-26 07:24:08.121507 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0832663125@mbvit.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  5186. 2022-07-26 07:24:08.121507 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0744086022@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  5187. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_session.c:2815 sofia/default/0744086022@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  5188. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0744086022@41.160.32.115:5060) State EXECUTE going to sleep
  5189. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 8 Tot 118035)
  5190. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP
  5191. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0744086022@41.160.32.115:5060) State HANGUP
  5192. 2022-07-26 07:24:08.121507 [DEBUG] mod_sofia.c:438 Channel sofia/default/0744086022@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING
  5193. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:60 sofia/default/0744086022@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING
  5194. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0744086022@41.160.32.115:5060) State HANGUP going to sleep
  5195. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING
  5196. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 8 Tot 118035)
  5197. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0744086022@41.160.32.115:5060) State REPORTING
  5198. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0832663125@mbvit.nebular.co.za) State EXCHANGE_MEDIA going to sleep
  5199. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_HANGUP (Cur 8 Tot 118035)
  5200. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0832663125@mbvit.nebular.co.za) Callstate Change ACTIVE -> HANGUP
  5201. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0832663125@mbvit.nebular.co.za) State HANGUP
  5202. 2022-07-26 07:24:08.121507 [DEBUG] mod_sofia.c:432 sofia/default/0832663125@mbvit.nebular.co.za Overriding SIP cause 480 with 200 from the other leg
  5203. 2022-07-26 07:24:08.121507 [DEBUG] mod_sofia.c:438 Channel sofia/default/0832663125@mbvit.nebular.co.za hanging up, cause: NORMAL_CLEARING
  5204. 2022-07-26 07:24:08.121507 [INFO] mod_json_cdr.c:271 Process [d065f16a-0cb3-11ed-bbe4-d3f1ef10c389.cdr.json]
  5205. 2022-07-26 07:24:08.121507 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0832663125@mbvit.nebular.co.za
  5206. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:60 sofia/default/0832663125@mbvit.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING
  5207. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0832663125@mbvit.nebular.co.za) State HANGUP going to sleep
  5208. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  5209. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_REPORTING (Cur 8 Tot 118035)
  5210. 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0832663125@mbvit.nebular.co.za) State REPORTING
  5211. 2022-07-26 07:24:08.131752 [INFO] mod_json_cdr.c:271 Process [d46e2110-0cb3-11ed-bc47-d3f1ef10c389.cdr.json]
  5212. 2022-07-26 07:24:08.180660 [NOTICE] sofia.c:1012 Hangup sofia/default/27744086022@156.38.231.107 [CS_EXECUTE] [NORMAL_CLEARING]
  5213. 2022-07-26 07:24:08.180660 [DEBUG] switch_ivr_bridge.c:706 sofia/default/27744086022@156.38.231.107 ending bridge by request from write function
  5214. 2022-07-26 07:24:08.180660 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0832663125]
  5215. 2022-07-26 07:24:08.180660 [DEBUG] switch_ivr_bridge.c:712 sofia/default/27744086022@156.38.231.107 ending bridge by request from read function
  5216. 2022-07-26 07:24:08.180660 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/27744086022@156.38.231.107]
  5217. 2022-07-26 07:24:08.180660 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0832663125 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  5218. 2022-07-26 07:24:08.180660 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0832663125) State EXCHANGE_MEDIA going to sleep
  5219. 2022-07-26 07:24:08.180660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_HANGUP (Cur 8 Tot 118035)
  5220. 2022-07-26 07:24:08.180660 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0832663125) Callstate Change ACTIVE -> HANGUP
  5221. 2022-07-26 07:24:08.180660 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0832663125) State HANGUP
  5222. 2022-07-26 07:24:08.180660 [DEBUG] mod_sofia.c:432 sofia/default/0832663125 Overriding SIP cause 480 with 200 from the other leg
  5223. 2022-07-26 07:24:08.180660 [DEBUG] mod_sofia.c:438 Channel sofia/default/0832663125 hanging up, cause: NORMAL_CLEARING
  5224. 2022-07-26 07:24:08.191023 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0832663125 skip receive message [UNBRIDGE] (channel is hungup already)
  5225. 2022-07-26 07:24:08.191023 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/27744086022@156.38.231.107 skip receive message [UNBRIDGE] (channel is hungup already)
  5226. 2022-07-26 07:24:08.191023 [DEBUG] switch_core_session.c:2815 sofia/default/27744086022@156.38.231.107 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  5227. 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27744086022@156.38.231.107) State EXECUTE going to sleep
  5228. 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_HANGUP (Cur 8 Tot 118035)
  5229. 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:850 (sofia/default/27744086022@156.38.231.107) Callstate Change ACTIVE -> HANGUP
  5230. 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27744086022@156.38.231.107) State HANGUP
  5231. 2022-07-26 07:24:08.191023 [DEBUG] mod_sofia.c:438 Channel sofia/default/27744086022@156.38.231.107 hanging up, cause: NORMAL_CLEARING
  5232. 2022-07-26 07:24:08.191023 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0832663125
  5233. 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:60 sofia/default/0832663125 Standard HANGUP, cause: NORMAL_CLEARING
  5234. 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0832663125) State HANGUP going to sleep
  5235. 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0832663125) State Change CS_HANGUP -> CS_REPORTING
  5236. 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_REPORTING (Cur 8 Tot 118035)
  5237. 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0832663125) State REPORTING
  5238. 2022-07-26 07:24:08.191023 [INFO] mod_json_cdr.c:271 Process [dc098e5a-0cb3-11ed-bc6e-d3f1ef10c389.cdr.json]
  5239. 2022-07-26 07:24:08.217615 [DEBUG] switch_core_state_machine.c:60 sofia/default/27744086022@156.38.231.107 Standard HANGUP, cause: NORMAL_CLEARING
  5240. 2022-07-26 07:24:08.217615 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27744086022@156.38.231.107) State HANGUP going to sleep
  5241. 2022-07-26 07:24:08.217615 [DEBUG] switch_core_state_machine.c:619 (sofia/default/27744086022@156.38.231.107) State Change CS_HANGUP -> CS_REPORTING
  5242. 2022-07-26 07:24:08.217615 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_REPORTING (Cur 8 Tot 118035)
  5243. 2022-07-26 07:24:08.217615 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27744086022@156.38.231.107) State REPORTING
  5244. 2022-07-26 07:24:08.217615 [INFO] mod_json_cdr.c:271 Process [daf63356-0cb3-11ed-bc4b-d3f1ef10c389.cdr.json]
  5245. 2022-07-26 07:24:08.261513 [DEBUG] switch_core_state_machine.c:174 sofia/default/0832663125 Standard REPORTING, cause: NORMAL_CLEARING
  5246. 2022-07-26 07:24:08.261513 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0832663125) State REPORTING going to sleep
  5247. 2022-07-26 07:24:08.261513 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0832663125) State Change CS_REPORTING -> CS_DESTROY
  5248. 2022-07-26 07:24:08.261513 [DEBUG] switch_core_session.c:1665 Session 118035 (sofia/default/0832663125) Locked, Waiting on external entities
  5249. 2022-07-26 07:24:08.261513 [NOTICE] switch_core_session.c:1683 Session 118035 (sofia/default/0832663125) Ended
  5250. 2022-07-26 07:24:08.261513 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0832663125 [CS_DESTROY]
  5251. 2022-07-26 07:24:08.261513 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0832663125) Running State Change CS_DESTROY (Cur 7 Tot 118035)
  5252. 2022-07-26 07:24:08.261513 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0832663125) State DESTROY
  5253. 2022-07-26 07:24:08.261513 [DEBUG] mod_sofia.c:343 sofia/default/0832663125 SOFIA DESTROY
  5254. 2022-07-26 07:24:08.261513 [DEBUG] switch_core_state_machine.c:181 sofia/default/0832663125 Standard DESTROY
  5255. 2022-07-26 07:24:08.261513 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0832663125) State DESTROY going to sleep
  5256. 2022-07-26 07:24:08.304265 [DEBUG] switch_core_state_machine.c:174 sofia/default/0832663125@mbvit.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING
  5257. 2022-07-26 07:24:08.304265 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0832663125@mbvit.nebular.co.za) State REPORTING going to sleep
  5258. 2022-07-26 07:24:08.304265 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  5259. 2022-07-26 07:24:08.304265 [DEBUG] switch_core_session.c:1665 Session 118033 (sofia/default/0832663125@mbvit.nebular.co.za) Locked, Waiting on external entities
  5260. 2022-07-26 07:24:08.304265 [NOTICE] switch_core_session.c:1683 Session 118033 (sofia/default/0832663125@mbvit.nebular.co.za) Ended
  5261. 2022-07-26 07:24:08.304265 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0832663125@mbvit.nebular.co.za [CS_DESTROY]
  5262. 2022-07-26 07:24:08.304265 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_DESTROY (Cur 6 Tot 118035)
  5263. 2022-07-26 07:24:08.304265 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0832663125@mbvit.nebular.co.za) State DESTROY
  5264. 2022-07-26 07:24:08.304265 [DEBUG] mod_sofia.c:343 sofia/default/0832663125@mbvit.nebular.co.za SOFIA DESTROY
  5265. 2022-07-26 07:24:08.304265 [DEBUG] switch_core_state_machine.c:181 sofia/default/0832663125@mbvit.nebular.co.za Standard DESTROY
  5266. 2022-07-26 07:24:08.304265 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0832663125@mbvit.nebular.co.za) State DESTROY going to sleep
  5267. 2022-07-26 07:24:08.304265 [DEBUG] switch_scheduler.c:144 Deleting task 47236 switch_ivr_schedule_hangup (dc098e5a-0cb3-11ed-bc6e-d3f1ef10c389)
  5268. 2022-07-26 07:24:08.304265 [DEBUG] switch_scheduler.c:144 Deleting task 47237 switch_ivr_schedule_hangup (d46e2110-0cb3-11ed-bc47-d3f1ef10c389)
  5269. 2022-07-26 07:24:08.391364 [DEBUG] switch_core_state_machine.c:174 sofia/default/0744086022@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING
  5270. 2022-07-26 07:24:08.391364 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0744086022@41.160.32.115:5060) State REPORTING going to sleep
  5271. 2022-07-26 07:24:08.391364 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY
  5272. 2022-07-26 07:24:08.391364 [DEBUG] switch_core_session.c:1665 Session 118029 (sofia/default/0744086022@41.160.32.115:5060) Locked, Waiting on external entities
  5273. 2022-07-26 07:24:08.391364 [NOTICE] switch_core_session.c:1683 Session 118029 (sofia/default/0744086022@41.160.32.115:5060) Ended
  5274. 2022-07-26 07:24:08.391364 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0744086022@41.160.32.115:5060 [CS_DESTROY]
  5275. 2022-07-26 07:24:08.391364 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 5 Tot 118035)
  5276. 2022-07-26 07:24:08.391364 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0744086022@41.160.32.115:5060) State DESTROY
  5277. 2022-07-26 07:24:08.391364 [DEBUG] mod_sofia.c:343 sofia/default/0744086022@41.160.32.115:5060 SOFIA DESTROY
  5278. 2022-07-26 07:24:08.391364 [DEBUG] switch_core_state_machine.c:181 sofia/default/0744086022@41.160.32.115:5060 Standard DESTROY
  5279. 2022-07-26 07:24:08.391364 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0744086022@41.160.32.115:5060) State DESTROY going to sleep
  5280. 2022-07-26 07:24:08.441481 [DEBUG] switch_core_state_machine.c:174 sofia/default/27744086022@156.38.231.107 Standard REPORTING, cause: NORMAL_CLEARING
  5281. 2022-07-26 07:24:08.441481 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27744086022@156.38.231.107) State REPORTING going to sleep
  5282. 2022-07-26 07:24:08.441481 [DEBUG] switch_core_state_machine.c:610 (sofia/default/27744086022@156.38.231.107) State Change CS_REPORTING -> CS_DESTROY
  5283. 2022-07-26 07:24:08.441481 [DEBUG] switch_core_session.c:1665 Session 118034 (sofia/default/27744086022@156.38.231.107) Locked, Waiting on external entities
  5284. 2022-07-26 07:24:08.441481 [NOTICE] switch_core_session.c:1683 Session 118034 (sofia/default/27744086022@156.38.231.107) Ended
  5285. 2022-07-26 07:24:08.441481 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/27744086022@156.38.231.107 [CS_DESTROY]
  5286. 2022-07-26 07:24:08.441481 [DEBUG] switch_core_state_machine.c:741 (sofia/default/27744086022@156.38.231.107) Running State Change CS_DESTROY (Cur 4 Tot 118035)
  5287. 2022-07-26 07:24:08.441481 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27744086022@156.38.231.107) State DESTROY
  5288. 2022-07-26 07:24:08.441481 [DEBUG] mod_sofia.c:343 sofia/default/27744086022@156.38.231.107 SOFIA DESTROY
  5289. 2022-07-26 07:24:08.441481 [DEBUG] switch_core_state_machine.c:181 sofia/default/27744086022@156.38.231.107 Standard DESTROY
  5290. 2022-07-26 07:24:08.441481 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27744086022@156.38.231.107) State DESTROY going to sleep
  5291. 2022-07-26 07:24:32.850809 [NOTICE] sofia.c:1012 Hangup sofia/default/297534@joshco.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  5292. 2022-07-26 07:24:32.860662 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/297534@joshco.nebular.co.za]
  5293. 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:653 (sofia/default/297534@joshco.nebular.co.za) State EXCHANGE_MEDIA going to sleep
  5294. 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_HANGUP (Cur 4 Tot 118035)
  5295. 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:850 (sofia/default/297534@joshco.nebular.co.za) Callstate Change ACTIVE -> HANGUP
  5296. 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:852 (sofia/default/297534@joshco.nebular.co.za) State HANGUP
  5297. 2022-07-26 07:24:32.860662 [DEBUG] mod_sofia.c:438 Channel sofia/default/297534@joshco.nebular.co.za hanging up, cause: NORMAL_CLEARING
  5298. 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:60 sofia/default/297534@joshco.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING
  5299. 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:852 (sofia/default/297534@joshco.nebular.co.za) State HANGUP going to sleep
  5300. 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:619 (sofia/default/297534@joshco.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  5301. 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_REPORTING (Cur 4 Tot 118035)
  5302. 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:938 (sofia/default/297534@joshco.nebular.co.za) State REPORTING
  5303. 2022-07-26 07:24:32.860662 [INFO] mod_json_cdr.c:271 Process [9931e9c4-0cb3-11ed-bae9-d3f1ef10c389.cdr.json]
  5304. 2022-07-26 07:24:32.860662 [DEBUG] switch_ivr_bridge.c:706 sofia/default/297534@joshco.nebular.co.za ending bridge by request from write function
  5305. 2022-07-26 07:24:32.860662 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0619646866@41.160.32.115:5060]
  5306. 2022-07-26 07:24:32.860662 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/297534@joshco.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  5307. 2022-07-26 07:24:32.860662 [NOTICE] switch_ivr_bridge.c:1764 Hangup sofia/default/0619646866@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  5308. 2022-07-26 07:24:32.870792 [DEBUG] switch_core_session.c:2815 sofia/default/0619646866@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  5309. 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0619646866@41.160.32.115:5060) State EXECUTE going to sleep
  5310. 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0619646866@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 4 Tot 118035)
  5311. 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0619646866@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP
  5312. 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0619646866@41.160.32.115:5060) State HANGUP
  5313. 2022-07-26 07:24:32.870792 [DEBUG] mod_sofia.c:432 sofia/default/0619646866@41.160.32.115:5060 Overriding SIP cause 480 with 200 from the other leg
  5314. 2022-07-26 07:24:32.870792 [DEBUG] mod_sofia.c:438 Channel sofia/default/0619646866@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING
  5315. 2022-07-26 07:24:32.870792 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0619646866@41.160.32.115:5060
  5316. 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:60 sofia/default/0619646866@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING
  5317. 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0619646866@41.160.32.115:5060) State HANGUP going to sleep
  5318. 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0619646866@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING
  5319. 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0619646866@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 4 Tot 118035)
  5320. 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0619646866@41.160.32.115:5060) State REPORTING
  5321. 2022-07-26 07:24:32.870792 [INFO] mod_json_cdr.c:271 Process [97bffe50-0cb3-11ed-bac1-d3f1ef10c389.cdr.json]
  5322. 2022-07-26 07:24:32.921598 [DEBUG] switch_core_state_machine.c:174 sofia/default/297534@joshco.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING
  5323. 2022-07-26 07:24:32.921598 [DEBUG] switch_core_state_machine.c:938 (sofia/default/297534@joshco.nebular.co.za) State REPORTING going to sleep
  5324. 2022-07-26 07:24:32.921598 [DEBUG] switch_core_state_machine.c:610 (sofia/default/297534@joshco.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  5325. 2022-07-26 07:24:32.921598 [DEBUG] switch_core_session.c:1665 Session 118017 (sofia/default/297534@joshco.nebular.co.za) Locked, Waiting on external entities
  5326. 2022-07-26 07:24:32.921598 [NOTICE] switch_core_session.c:1683 Session 118017 (sofia/default/297534@joshco.nebular.co.za) Ended
  5327. 2022-07-26 07:24:32.921598 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/297534@joshco.nebular.co.za [CS_DESTROY]
  5328. 2022-07-26 07:24:32.921598 [DEBUG] switch_core_state_machine.c:741 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_DESTROY (Cur 3 Tot 118035)
  5329. 2022-07-26 07:24:32.921598 [DEBUG] switch_core_state_machine.c:751 (sofia/default/297534@joshco.nebular.co.za) State DESTROY
  5330. 2022-07-26 07:24:32.921598 [DEBUG] mod_sofia.c:343 sofia/default/297534@joshco.nebular.co.za SOFIA DESTROY
  5331. 2022-07-26 07:24:32.921598 [DEBUG] switch_core_state_machine.c:181 sofia/default/297534@joshco.nebular.co.za Standard DESTROY
  5332. 2022-07-26 07:24:32.921598 [DEBUG] switch_core_state_machine.c:751 (sofia/default/297534@joshco.nebular.co.za) State DESTROY going to sleep
  5333. 2022-07-26 07:24:32.971070 [DEBUG] switch_core_state_machine.c:174 sofia/default/0619646866@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING
  5334. 2022-07-26 07:24:32.971070 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0619646866@41.160.32.115:5060) State REPORTING going to sleep
  5335. 2022-07-26 07:24:32.971070 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0619646866@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY
  5336. 2022-07-26 07:24:32.971070 [DEBUG] switch_core_session.c:1665 Session 118016 (sofia/default/0619646866@41.160.32.115:5060) Locked, Waiting on external entities
  5337. 2022-07-26 07:24:32.971070 [NOTICE] switch_core_session.c:1683 Session 118016 (sofia/default/0619646866@41.160.32.115:5060) Ended
  5338. 2022-07-26 07:24:32.971070 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0619646866@41.160.32.115:5060 [CS_DESTROY]
  5339. 2022-07-26 07:24:32.971070 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0619646866@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 2 Tot 118035)
  5340. 2022-07-26 07:24:32.971070 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0619646866@41.160.32.115:5060) State DESTROY
  5341. 2022-07-26 07:24:32.971070 [DEBUG] mod_sofia.c:343 sofia/default/0619646866@41.160.32.115:5060 SOFIA DESTROY
  5342. 2022-07-26 07:24:32.971070 [DEBUG] switch_core_state_machine.c:181 sofia/default/0619646866@41.160.32.115:5060 Standard DESTROY
  5343. 2022-07-26 07:24:32.971070 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0619646866@41.160.32.115:5060) State DESTROY going to sleep
  5344. 2022-07-26 07:24:33.310677 [DEBUG] switch_scheduler.c:144 Deleting task 47231 switch_ivr_schedule_hangup (9931e9c4-0cb3-11ed-bae9-d3f1ef10c389)
  5345. 2022-07-26 07:25:38.620949 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0100653427@41.160.32.115:5060 [25ce79ba-0cb4-11ed-bc77-d3f1ef10c389]
  5346. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0100653427@41.160.32.115:5060) Running State Change CS_NEW (Cur 3 Tot 118036)
  5347. 2022-07-26 07:25:38.620949 [DEBUG] sofia.c:9873 sofia/default/0100653427@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  5348. 2022-07-26 07:25:38.620949 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  5349. 2022-07-26 07:25:38.620949 [DEBUG] sofia.c:7084 Channel sofia/default/0100653427@41.160.32.115:5060 entering state [received][100]
  5350. 2022-07-26 07:25:38.620949 [DEBUG] sofia.c:7094 Remote SDP:
  5351. v=0
  5352. o=HuaweiSoftX3000 43834705249941 43834705249941 IN IP4 41.160.32.115
  5353. s=-
  5354. c=IN IP4 41.160.32.115
  5355. t=0 0
  5356. m=audio 20610 RTP/AVP 8 18 0 101
  5357. a=rtpmap:8 PCMA/8000
  5358. a=rtpmap:18 G729/8000
  5359. a=fmtp:18 annexb=no
  5360. a=rtpmap:0 PCMU/8000
  5361. a=rtpmap:101 telephone-event/8000
  5362. a=fmtp:101 0-15
  5363. a=ptime:20
  5364.  
  5365. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  5366. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  5367. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  5368. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  5369. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  5370. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  5371. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  5372. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  5373. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  5374. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  5375. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  5376. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  5377. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  5378. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  5379. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  5380. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  5381. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  5382. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0100653427@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  5383. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_codec.c:111 sofia/default/0100653427@41.160.32.115:5060 Original read codec set to PCMA:8
  5384. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  5385. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4767 sofia/default/0100653427@41.160.32.115:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  5386. 2022-07-26 07:25:38.620949 [DEBUG] sofia.c:7507 (sofia/default/0100653427@41.160.32.115:5060) State Change CS_NEW -> CS_INIT
  5387. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0100653427@41.160.32.115:5060) State NEW
  5388. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0100653427@41.160.32.115:5060) Running State Change CS_INIT (Cur 3 Tot 118036)
  5389. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0100653427@41.160.32.115:5060) State INIT
  5390. 2022-07-26 07:25:38.620949 [DEBUG] mod_sofia.c:90 sofia/default/0100653427@41.160.32.115:5060 SOFIA INIT
  5391. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:40 sofia/default/0100653427@41.160.32.115:5060 Standard INIT
  5392. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0100653427@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING
  5393. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0100653427@41.160.32.115:5060) State INIT going to sleep
  5394. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0100653427@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 3 Tot 118036)
  5395. 2022-07-26 07:25:38.620949 [DEBUG] switch_channel.c:2249 (sofia/default/0100653427@41.160.32.115:5060) Callstate Change DOWN -> RINGING
  5396. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0100653427@41.160.32.115:5060) State ROUTING
  5397. 2022-07-26 07:25:38.620949 [DEBUG] mod_sofia.c:143 sofia/default/0100653427@41.160.32.115:5060 SOFIA ROUTING
  5398. 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:236 sofia/default/0100653427@41.160.32.115:5060 Standard ROUTING
  5399. 2022-07-26 07:25:38.620949 [INFO] mod_dialplan_xml.c:637 Processing 0100653427 <0100653427>->D9570124713800 in context default
  5400. 2022-07-26 07:25:38.701521 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ea42a3570 Connected.
  5401. 2022-07-26 07:25:38.701521 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  5402. 2022-07-26 07:25:38.742268 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  5403. 2022-07-26 07:25:38.782338 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  5404. 2022-07-26 07:25:38.782338 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570124713800
  5405. 2022-07-26 07:25:38.782338 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570124713800' limit 1
  5406. 2022-07-26 07:25:38.820660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570124713800' AND status=0 limit 1
  5407. 2022-07-26 07:25:38.855373 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570124713800' and status=0 LIMIT 1
  5408. 2022-07-26 07:25:38.891952 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  5409. 2022-07-26 07:25:38.891952 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 0100653427 / <null>
  5410. 2022-07-26 07:25:38.891952 [DEBUG] switch_cpp.cpp:1365 [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 ="D9570124713800" LIMIT 1
  5411. 2022-07-26 07:25:38.940656 [DEBUG] switch_cpp.cpp:1365 [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="D9570124713800"  AND domains.domain="156.38.231.106" limit 1
  5412. 2022-07-26 07:25:38.980661 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  5413. 2022-07-26 07:25:38.980661 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894]
  5414. 2022-07-26 07:25:38.980661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  5415. 2022-07-26 07:25:39.013214 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570124713800.*' OR blocked_patterns = '^D957012471380.*' OR blocked_patterns = '^D95701247138.*' OR blocked_patterns = '^D9570124713.*' OR blocked_patterns = '^D957012471.*' OR blocked_patterns = '^D95701247.*' OR blocked_patterns = '^D9570124.*' OR blocked_patterns = '^D957012.*' OR blocked_patterns = '^D95701.*' OR blocked_patterns = '^D9570.*' OR blocked_patterns = '^D957.*' OR blocked_patterns = '^D95.*' OR blocked_patterns = '^D9.*' OR blocked_patterns = '^D.*' OR blocked_patterns ='--') AND accountid = 3 limit 1
  5416. 2022-07-26 07:25:39.060680 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570124713800" AND (accountid = 0 OR status = 1) LIMIT 1
  5417. 2022-07-26 07:25:39.100663 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  5418. 2022-07-26 07:25:39.100663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1
  5419. 2022-07-26 07:25:39.141150 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570124713800
  5420. 2022-07-26 07:25:39.141150 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570124713800
  5421. 2022-07-26 07:25:39.141150 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570124713800
  5422. 2022-07-26 07:25:39.141150 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0124713800
  5423. 2022-07-26 07:25:39.141150 [DEBUG] switch_cpp.cpp:1365 [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 = '^0124713800.*' OR patterns = '^012471380.*' OR patterns = '^01247138.*' OR patterns = '^0124713.*' OR patterns = '^012471.*' OR patterns = '^01247.*' OR patterns = '^0124.*' OR patterns = '^012.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC
  5424. 2022-07-26 07:25:39.184997 [DEBUG] switch_cpp.cpp:1365 [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 ="0124713800" AND A.accountid = '3' limit 1
  5425. 2022-07-26 07:25:39.230767 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0124713800
  5426. 2022-07-26 07:25:39.230767 [DEBUG] switch_cpp.cpp:1365 [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 ="0124713800" LIMIT 1
  5427. 2022-07-26 07:25:39.270664 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound
  5428. 2022-07-26 07:25:39.270664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0124713800' OR number = '012471380' OR number = '01247138' OR number = '0124713' OR number = '012471' OR number = '01247' OR number = '0124' OR number = '012' OR number = '01' OR number = '0' OR number ='--') OR (number = '0124713800*' OR number = '012471380*' OR number = '01247138*' OR number = '0124713*' OR number = '012471*' OR number = '01247*' OR number = '0124*' OR number = '012*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  5429. 2022-07-26 07:25:39.302613 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  5430. 2022-07-26 07:25:39.302613 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0124713800' OR routing_prefix = '012471380' OR routing_prefix = '01247138' OR routing_prefix = '0124713' OR routing_prefix = '012471' OR routing_prefix = '01247' OR routing_prefix = '0124' OR routing_prefix = '012' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  5431. 2022-07-26 07:25:39.390683 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  5432. 2022-07-26 07:25:39.390683 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 3
  5433. 2022-07-26 07:25:39.390683 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 3673942894
  5434. 2022-07-26 07:25:39.390683 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  5435. 2022-07-26 07:25:39.390683 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  5436. 2022-07-26 07:25:39.390683 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 15
  5437. 2022-07-26 07:25:39.390683 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  5438. 2022-07-26 07:25:39.390683 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  5439. 2022-07-26 07:25:39.390683 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 15 AND status = 0
  5440. 2022-07-26 07:25:39.432442 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  5441. 2022-07-26 07:25:39.432442 [DEBUG] switch_cpp.cpp:1365 [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 ="0124713800" LIMIT 1
  5442. 2022-07-26 07:25:39.471405 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  5443. 2022-07-26 07:25:39.471405 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  5444. 2022-07-26 07:25:39.471405 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 4415
  5445. 2022-07-26 07:25:39.471405 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  5446. 2022-07-26 07:25:39.471405 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  5447. 2022-07-26 07:25:39.471405 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  5448. 2022-07-26 07:25:39.471405 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0124713800
  5449. 2022-07-26 07:25:39.471405 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  5450. 2022-07-26 07:25:39.471405 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 3
  5451. 2022-07-26 07:25:39.471405 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  5452. 2022-07-26 07:25:39.471405 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
  5453. 2022-07-26 07:25:39.471405 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  5454. 2022-07-26 07:25:39.471405 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  5455. 2022-07-26 07:25:39.471405 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  5456. 2022-07-26 07:25:39.471405 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  5457. 2022-07-26 07:25:39.471405 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 3 AND status=0 LIMIT 1
  5458. 2022-07-26 07:25:39.521951 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++65
  5459. 2022-07-26 07:25:39.521951 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "65" AND deleted = 0 limit 1
  5460. 2022-07-26 07:25:39.570667 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  5461. 2022-07-26 07:25:39.570667 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:3
  5462. 2022-07-26 07:25:39.570667 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  5463. 2022-07-26 07:25:39.570667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 65 limit 1
  5464. 2022-07-26 07:25:39.611950 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : ecic.nebular.co.za
  5465. 2022-07-26 07:25:39.611950 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  5466. 2022-07-26 07:25:39.611950 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  5467. 2022-07-26 07:25:39.660957 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  5468. 2022-07-26 07:25:39.660957 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound
  5469. 2022-07-26 07:25:39.660957 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0100653427
  5470. 2022-07-26 07:25:39.660957 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0100653427
  5471. 2022-07-26 07:25:39.660957 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27100653427
  5472. 2022-07-26 07:25:39.660957 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....<null>
  5473. 2022-07-26 07:25:39.660957 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 65 limit 1
  5474. 2022-07-26 07:25:39.693160 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : ecic.nebular.co.za
  5475. 2022-07-26 07:25:39.701856 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
  5476. 2022-07-26 07:25:39.701856 [DEBUG] switch_cpp.cpp:1365 [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="993160"  AND domains.domain="ecic.nebular.co.za" limit 1
  5477. 2022-07-26 07:25:39.722965 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 735 limit 1
  5478. 2022-07-26 07:25:39.771036 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  5479. 2022-07-26 07:25:39.802738 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  5480. 2022-07-26 07:25:39.850656 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforeecic.nebular.co.za
  5481. 2022-07-26 07:25:39.850656 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str
  5482. 2022-07-26 07:25:39.850656 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START:
  5483. 2022-07-26 07:25:39.850656 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/
  5484. 2022-07-26 07:25:39.850656 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='993160' and uuid = '25ce79ba-0cb4-11ed-bc77-d3f1ef10c389' order by id desc limit 1
  5485. 2022-07-26 07:25:39.881476 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='993160' order by id desc limit 1
  5486. 2022-07-26 07:25:39.922941 [DEBUG] switch_cpp.cpp:1365 [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="993160"  AND domains.domain="ecic.nebular.co.za" limit 1
  5487. 2022-07-26 07:25:39.960661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 735 limit 1
  5488. 2022-07-26 07:25:40.000667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  5489. <document type="freeswitch/xml">
  5490. <section name="dialplan" description="ASTPP Dialplan">
  5491. <context name="default">
  5492. <extension name="0124713800">
  5493. <condition field="destination_number" expression="D9570124713800">
  5494. <action application="set" data="effective_destination_number=0124713800"/>
  5495. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  5496. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  5497. <action application="set" data="callstart=2022-07-26 07:25:39"/>
  5498. <action application="set" data="hangup_after_bridge=true"/>
  5499. <action application="set" data="continue_on_fail=TRUE"/>
  5500. <action application="set" data="account_id=3"/>
  5501. <action application="set" data="parent_id=0"/>
  5502. <action application="set" data="entity_id=3"/>
  5503. <action application="set" data="call_processed=internal"/>
  5504. <action application="set" data="call_direction=inbound"/>
  5505. <action application="set" data="accountname=default"/>
  5506. <action application="set" data="filename1=astpp.pbx.lua"/>
  5507. <action application="set" data="origination_rates_did=ID:4415|CODE:^0124713800.*|DESTINATION:0124713800|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:65"/>
  5508. <action application="set" data="origination_rates=0"/>
  5509. <action application="set" data="original_caller_id_name=0100653427"/>
  5510. <action application="set" data="effective_caller_id_name=27100653427"/>
  5511. <action application="set" data="receiver_accid=65"/>
  5512. <action application="export" data="domain_name=ecic.nebular.co.za"/>
  5513. <action application="export" data="sip_to_host=ecic.nebular.co.za"/>
  5514. <action application="export" data="presence_data=x|||default(3673942894)|||^0124713800.* // 0124713800 // 0.00000||||||DID|||41.160.32.115"/>
  5515. <action application="export" data="call_type=5"/>
  5516. <action application="set" data="calltype=SIP-DID"/>
  5517. <action application="db" data="insert/pickup_any_group_${callgroup}/993160/${uuid}"/>
  5518. <action application="set" data="dialed_extension=transfer_call"/>
  5519. <action application="export" data="dialed_extension=transfer_call"/>
  5520. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  5521. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  5522. <action application="set" data="hangup_after_bridge=true"/>
  5523. <action application="export" data="did_user_domain=ecic.nebular.co.za"/>
  5524. <action application="sleep" data="1000"/>
  5525. <action application="ring_ready"/>
  5526. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/993160@ecic.nebular.co.za^0124713800"/>
  5527. <action application="set" data="on_busy_flag=1"/>
  5528. <action application="set" data="on_busy_destination="/>
  5529. <action application="set" data="no_answer_flag=1"/>
  5530. <action application="set" data="no_answer_destination="/>
  5531. <action application="set" data="not_register_flag=1"/>
  5532. <action application="set" data="not_register_destination="/>
  5533. <action application="set" data="opensips_flag=0"/>
  5534. <action application="set" data="variable_sip_to_host=ecic.nebular.co.za"/>
  5535. <action application="set" data="opensips_domain=156.38.231.106"/>
  5536. <action application="set" data="leg_timeout=20"/>
  5537. <action application="set" data="userinfo_id=65"/>
  5538. <action application="set" data="sip_destination_number=993160"/>
  5539. <action application="set" data="destination_number=0124713800"/>
  5540. <action application="set" data="did_number=0124713800"/>
  5541. <action application="set" data="user_domain=ecic.nebular.co.za"/>
  5542. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  5543. <condition field="${cond(${user_data 993160@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  5544. <action application="answer"/>
  5545. <action application="export" data="voicemail_alternate_greet_id=0124713800"/>
  5546. <action application="voicemail" data="default $${domain_name} 993160"/>
  5547. <anti-action application="hangup" data="${originate_disposition}"/>
  5548. </condition>
  5549. </condition>
  5550. </extension>
  5551. </context>
  5552. </document>
  5553. 2022-07-26 07:25:40.000667 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ea42a3570 released.
  5554. Dialplan: sofia/default/0100653427@41.160.32.115:5060 parsing [default->0124713800] continue=false
  5555. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Regex (PASS) [0124713800] destination_number(D9570124713800) =~ /D9570124713800/ break=on-false
  5556. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(effective_destination_number=0124713800)
  5557. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  5558. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  5559. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(callstart=2022-07-26 07:25:39)
  5560. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  5561. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(continue_on_fail=TRUE)
  5562. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(account_id=3)
  5563. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(parent_id=0)
  5564. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(entity_id=3)
  5565. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(call_processed=internal)
  5566. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(call_direction=inbound)
  5567. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(accountname=default)
  5568. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua)
  5569. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(origination_rates_did=ID:4415|CODE:^0124713800.*|DESTINATION:0124713800|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:65)
  5570. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(origination_rates=0)
  5571. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(original_caller_id_name=0100653427)
  5572. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(effective_caller_id_name=27100653427)
  5573. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(receiver_accid=65)
  5574. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action export(domain_name=ecic.nebular.co.za)
  5575. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action export(sip_to_host=ecic.nebular.co.za)
  5576. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0124713800.* // 0124713800 // 0.00000||||||DID|||41.160.32.115)
  5577. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action export(call_type=5)
  5578. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(calltype=SIP-DID)
  5579. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/993160/${uuid})
  5580. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(dialed_extension=transfer_call)
  5581. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action export(dialed_extension=transfer_call)
  5582. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  5583. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  5584. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  5585. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action export(did_user_domain=ecic.nebular.co.za)
  5586. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action sleep(1000)
  5587. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action ring_ready()
  5588. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/993160@ecic.nebular.co.za^0124713800)
  5589. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(on_busy_flag=1)
  5590. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(on_busy_destination=)
  5591. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(no_answer_flag=1)
  5592. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(no_answer_destination=)
  5593. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(not_register_flag=1)
  5594. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(not_register_destination=)
  5595. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(opensips_flag=0)
  5596. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(variable_sip_to_host=ecic.nebular.co.za)
  5597. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106)
  5598. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(leg_timeout=20)
  5599. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(userinfo_id=65)
  5600. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(sip_destination_number=993160)
  5601. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(destination_number=0124713800)
  5602. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(did_number=0124713800)
  5603. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(user_domain=ecic.nebular.co.za)
  5604. Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  5605. |--- Dialplan: Processing recursive conditions level:1 [0124713800_recur_1] require-nested=TRUE
  5606. |--- Dialplan: sofia/default/0100653427@41.160.32.115:5060 Regex (FAIL) [0124713800_recur_1] ${cond(${user_data 993160@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  5607. |--- Dialplan: sofia/default/0100653427@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition})
  5608. 2022-07-26 07:25:40.121851 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0100653427@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE
  5609. 2022-07-26 07:25:40.121851 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0100653427@41.160.32.115:5060) State ROUTING going to sleep
  5610. 2022-07-26 07:25:40.121851 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0100653427@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 3 Tot 118036)
  5611. 2022-07-26 07:25:40.121851 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0100653427@41.160.32.115:5060) State EXECUTE
  5612. 2022-07-26 07:25:40.121851 [DEBUG] mod_sofia.c:198 sofia/default/0100653427@41.160.32.115:5060 SOFIA EXECUTE
  5613. 2022-07-26 07:25:40.121851 [DEBUG] switch_core_state_machine.c:328 sofia/default/0100653427@41.160.32.115:5060 Standard EXECUTE
  5614. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(effective_destination_number=0124713800)
  5615. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [effective_destination_number]=[0124713800]
  5616. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  5617. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  5618. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  5619. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  5620. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(callstart=2022-07-26 07:25:39)
  5621. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [callstart]=[2022-07-26 07:25:39]
  5622. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(hangup_after_bridge=true)
  5623. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [hangup_after_bridge]=[true]
  5624. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(continue_on_fail=TRUE)
  5625. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [continue_on_fail]=[TRUE]
  5626. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(account_id=3)
  5627. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [account_id]=[3]
  5628. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(parent_id=0)
  5629. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [parent_id]=[0]
  5630. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(entity_id=3)
  5631. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [entity_id]=[3]
  5632. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(call_processed=internal)
  5633. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [call_processed]=[internal]
  5634. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(call_direction=inbound)
  5635. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [call_direction]=[inbound]
  5636. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(accountname=default)
  5637. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [accountname]=[default]
  5638. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(filename1=astpp.pbx.lua)
  5639. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [filename1]=[astpp.pbx.lua]
  5640. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(origination_rates_did=ID:4415|CODE:^0124713800.*|DESTINATION:0124713800|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:65)
  5641. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [origination_rates_did]=[ID:4415|CODE:^0124713800.*|DESTINATION:0124713800|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:65]
  5642. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(origination_rates=0)
  5643. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [origination_rates]=[0]
  5644. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(original_caller_id_name=0100653427)
  5645. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [original_caller_id_name]=[0100653427]
  5646. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(effective_caller_id_name=27100653427)
  5647. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [effective_caller_id_name]=[27100653427]
  5648. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(receiver_accid=65)
  5649. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [receiver_accid]=[65]
  5650. EXECUTE sofia/default/0100653427@41.160.32.115:5060 export(domain_name=ecic.nebular.co.za)
  5651. 2022-07-26 07:25:40.121851 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[ecic.nebular.co.za]
  5652. EXECUTE sofia/default/0100653427@41.160.32.115:5060 export(sip_to_host=ecic.nebular.co.za)
  5653. 2022-07-26 07:25:40.121851 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[ecic.nebular.co.za]
  5654. EXECUTE sofia/default/0100653427@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0124713800.* // 0124713800 // 0.00000||||||DID|||41.160.32.115)
  5655. 2022-07-26 07:25:40.121851 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0124713800.* // 0124713800 // 0.00000||||||DID|||41.160.32.115]
  5656. EXECUTE sofia/default/0100653427@41.160.32.115:5060 export(call_type=5)
  5657. 2022-07-26 07:25:40.121851 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5]
  5658. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(calltype=SIP-DID)
  5659. 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [calltype]=[SIP-DID]
  5660. EXECUTE sofia/default/0100653427@41.160.32.115:5060 db(insert/pickup_any_group_/993160/25ce79ba-0cb4-11ed-bc77-d3f1ef10c389)
  5661. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(dialed_extension=transfer_call)
  5662. 2022-07-26 07:25:40.133937 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [dialed_extension]=[transfer_call]
  5663. EXECUTE sofia/default/0100653427@41.160.32.115:5060 export(dialed_extension=transfer_call)
  5664. 2022-07-26 07:25:40.133937 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  5665. EXECUTE sofia/default/0100653427@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  5666. 2022-07-26 07:25:40.133937 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  5667. EXECUTE sofia/default/0100653427@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  5668. 2022-07-26 07:25:40.133937 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  5669. EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(hangup_after_bridge=true)
  5670. 2022-07-26 07:25:40.133937 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [hangup_after_bridge]=[true]
  5671. EXECUTE sofia/default/0100653427@41.160.32.115:5060 export(did_user_domain=ecic.nebular.co.za)
  5672. 2022-07-26 07:25:40.133937 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[ecic.nebular.co.za]
  5673. EXECUTE sofia/default/0100653427@41.160.32.115:5060 sleep(1000)
  5674. EXECUTE sofia/default/0100653427@41.160.32.115:5060 ring_ready()
  5675. 2022-07-26 07:25:41.162667 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/0100653427@41.160.32.115:5060!
  5676. 2022-07-26 07:25:41.162667 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/0100653427@41.160.32.115:5060!
  5677. EXECUTE sofia/default/0100653427@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/993160@ecic.nebular.co.za^0124713800)
  5678. 2022-07-26 07:25:41.162667 [DEBUG] switch_channel.c:1250 sofia/default/0100653427@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[ecic.nebular.co.za] to event
  5679. 2022-07-26 07:25:41.162667 [DEBUG] switch_channel.c:1250 sofia/default/0100653427@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[ecic.nebular.co.za] to event
  5680. 2022-07-26 07:25:41.162667 [DEBUG] switch_channel.c:1250 sofia/default/0100653427@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0124713800.* // 0124713800 // 0.00000||||||DID|||41.160.32.115] to event
  5681. 2022-07-26 07:25:41.162667 [DEBUG] switch_channel.c:1250 sofia/default/0100653427@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event
  5682. 2022-07-26 07:25:41.162667 [DEBUG] switch_channel.c:1250 sofia/default/0100653427@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  5683. 2022-07-26 07:25:41.162667 [DEBUG] switch_channel.c:1250 sofia/default/0100653427@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[ecic.nebular.co.za] to event
  5684. 2022-07-26 07:25:41.162667 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  5685. 2022-07-26 07:25:41.162667 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  5686. 2022-07-26 07:25:41.162667 [NOTICE] switch_channel.c:1104 New Channel sofia/default/993160@ecic.nebular.co.za [27523330-0cb4-11ed-bc9f-d3f1ef10c389]
  5687. 2022-07-26 07:25:41.162667 [DEBUG] mod_sofia.c:4819 (sofia/default/993160@ecic.nebular.co.za) State Change CS_NEW -> CS_INIT
  5688. 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/993160@ecic.nebular.co.za) Running State Change CS_INIT (Cur 4 Tot 118037)
  5689. 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:627 (sofia/default/993160@ecic.nebular.co.za) State INIT
  5690. 2022-07-26 07:25:41.162667 [DEBUG] mod_sofia.c:90 sofia/default/993160@ecic.nebular.co.za SOFIA INIT
  5691. 2022-07-26 07:25:41.162667 [DEBUG] sofia_glue.c:1295 sofia/default/993160@ecic.nebular.co.za sending invite version: 1.6.20  64bit
  5692. Local SDP:
  5693. v=0
  5694. o=FreeSWITCH 1658793883 1658793884 IN IP4 156.38.231.107
  5695. s=FreeSWITCH
  5696. c=IN IP4 156.38.231.107
  5697. t=0 0
  5698. m=audio 26458 RTP/AVP 8 101
  5699. a=rtpmap:8 PCMA/8000
  5700. a=rtpmap:101 telephone-event/8000
  5701. a=fmtp:101 0-16
  5702. a=ptime:20
  5703. a=sendrecv
  5704.  
  5705. 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:40 sofia/default/993160@ecic.nebular.co.za Standard INIT
  5706. 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:48 (sofia/default/993160@ecic.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  5707. 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:627 (sofia/default/993160@ecic.nebular.co.za) State INIT going to sleep
  5708. 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/993160@ecic.nebular.co.za) Running State Change CS_ROUTING (Cur 4 Tot 118037)
  5709. 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:643 (sofia/default/993160@ecic.nebular.co.za) State ROUTING
  5710. 2022-07-26 07:25:41.162667 [DEBUG] mod_sofia.c:143 sofia/default/993160@ecic.nebular.co.za SOFIA ROUTING
  5711. 2022-07-26 07:25:41.162667 [DEBUG] switch_ivr_originate.c:67 (sofia/default/993160@ecic.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  5712. 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:643 (sofia/default/993160@ecic.nebular.co.za) State ROUTING going to sleep
  5713. 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/993160@ecic.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 118037)
  5714. 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:662 (sofia/default/993160@ecic.nebular.co.za) State CONSUME_MEDIA
  5715. 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:662 (sofia/default/993160@ecic.nebular.co.za) State CONSUME_MEDIA going to sleep
  5716. 2022-07-26 07:25:41.162667 [DEBUG] sofia.c:7084 Channel sofia/default/993160@ecic.nebular.co.za entering state [calling][0]
  5717. 2022-07-26 07:25:41.183567 [DEBUG] sofia.c:7084 Channel sofia/default/0100653427@41.160.32.115:5060 entering state [early][180]
  5718. 2022-07-26 07:25:41.431127 [DEBUG] sofia.c:7084 Channel sofia/default/993160@ecic.nebular.co.za entering state [proceeding][180]
  5719. 2022-07-26 07:25:41.431127 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/993160@ecic.nebular.co.za!
  5720. 2022-07-26 07:25:41.431127 [DEBUG] switch_channel.c:3346 (sofia/default/993160@ecic.nebular.co.za) Callstate Change DOWN -> RINGING
  5721. 2022-07-26 07:25:41.431127 [DEBUG] sofia.c:7084 Channel sofia/default/993160@ecic.nebular.co.za entering state [completing][200]
  5722. 2022-07-26 07:25:41.431127 [DEBUG] sofia.c:7094 Remote SDP:
  5723. v=0
  5724. o=3cxPS 460601688064 90697629697 IN IP4 156.38.249.182
  5725. s=3cxPS Audio call
  5726. c=IN IP4 156.38.249.182
  5727. t=0 0
  5728. m=audio 9432 RTP/AVP 8 101
  5729. a=rtpmap:8 PCMA/8000
  5730. a=rtpmap:101 telephone-event/8000
  5731.  
  5732. 2022-07-26 07:25:41.431127 [DEBUG] sofia.c:7084 Channel sofia/default/993160@ecic.nebular.co.za entering state [ready][200]
  5733. 2022-07-26 07:25:41.431127 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  5734. 2022-07-26 07:25:41.431127 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  5735. 2022-07-26 07:25:41.431127 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  5736. 2022-07-26 07:25:41.431127 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/993160@ecic.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  5737. 2022-07-26 07:25:41.431127 [DEBUG] switch_core_codec.c:111 sofia/default/993160@ecic.nebular.co.za Original read codec set to PCMA:8
  5738. 2022-07-26 07:25:41.431127 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  5739. 2022-07-26 07:25:41.431127 [DEBUG] switch_core_media.c:4767 sofia/default/993160@ecic.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  5740. 2022-07-26 07:25:41.431127 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/993160@ecic.nebular.co.za] 156.38.231.107 port 26458 -> 156.38.249.182 port 9432 codec: 8 ms: 20
  5741. 2022-07-26 07:25:41.431127 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  5742. 2022-07-26 07:25:41.450666 [DEBUG] switch_core_media.c:7180 sofia/default/993160@ecic.nebular.co.za Set 2833 dtmf send payload to 101
  5743. 2022-07-26 07:25:41.450666 [DEBUG] switch_core_media.c:7187 sofia/default/993160@ecic.nebular.co.za Set 2833 dtmf receive payload to 101
  5744. 2022-07-26 07:25:41.450666 [DEBUG] switch_core_media.c:7210 sofia/default/993160@ecic.nebular.co.za Set rtp dtmf delay to 40
  5745. 2022-07-26 07:25:41.450666 [NOTICE] sofia.c:8218 Channel [sofia/default/993160@ecic.nebular.co.za] has been answered
  5746. 2022-07-26 07:25:41.450666 [DEBUG] switch_channel.c:3773 (sofia/default/993160@ecic.nebular.co.za) Callstate Change RINGING -> ACTIVE
  5747. 2022-07-26 07:25:41.450666 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/0100653427@41.160.32.115:5060!
  5748. 2022-07-26 07:25:41.450666 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0100653427@41.160.32.115:5060] 156.38.231.107 port 32266 -> 41.160.32.115 port 20610 codec: 8 ms: 20
  5749. 2022-07-26 07:25:41.450666 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  5750. 2022-07-26 07:25:41.450666 [DEBUG] switch_core_media.c:7180 sofia/default/0100653427@41.160.32.115:5060 Set 2833 dtmf send payload to 101
  5751. 2022-07-26 07:25:41.450666 [DEBUG] switch_core_media.c:7187 sofia/default/0100653427@41.160.32.115:5060 Set 2833 dtmf receive payload to 101
  5752. 2022-07-26 07:25:41.450666 [DEBUG] switch_core_media.c:7210 sofia/default/0100653427@41.160.32.115:5060 Set rtp dtmf delay to 40
  5753. 2022-07-26 07:25:41.450666 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0100653427@41.160.32.115:5060:
  5754. v=0
  5755. o=FreeSWITCH 1658788075 1658788076 IN IP4 156.38.231.107
  5756. s=FreeSWITCH
  5757. c=IN IP4 156.38.231.107
  5758. t=0 0
  5759. m=audio 32266 RTP/AVP 8 101
  5760. a=rtpmap:8 PCMA/8000
  5761. a=rtpmap:101 telephone-event/8000
  5762. a=fmtp:101 0-16
  5763. a=ptime:20
  5764. a=sendrecv
  5765.  
  5766. 2022-07-26 07:25:41.450666 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/0100653427@41.160.32.115:5060] has been answered
  5767. 2022-07-26 07:25:41.450666 [DEBUG] switch_channel.c:3773 (sofia/default/0100653427@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE
  5768. 2022-07-26 07:25:41.450666 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/993160@ecic.nebular.co.za]
  5769. 2022-07-26 07:25:41.450666 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/993160@ecic.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  5770. 2022-07-26 07:25:41.462746 [DEBUG] sofia.c:7084 Channel sofia/default/0100653427@41.160.32.115:5060 entering state [completed][200]
  5771. 2022-07-26 07:25:41.462746 [DEBUG] switch_core_state_machine.c:584 (sofia/default/993160@ecic.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 4 Tot 118037)
  5772. 2022-07-26 07:25:41.462746 [DEBUG] switch_core_state_machine.c:653 (sofia/default/993160@ecic.nebular.co.za) State EXCHANGE_MEDIA
  5773. 2022-07-26 07:25:41.462746 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  5774. 2022-07-26 07:25:41.640672 [DEBUG] switch_ivr_bridge.c:546 sofia/default/993160@ecic.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  5775. 2022-07-26 07:25:41.670940 [DEBUG] switch_ivr.c:623 sofia/default/993160@ecic.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing)
  5776. EXECUTE sofia/default/993160@ecic.nebular.co.za sched_hangup(+6000 normal_clearing)
  5777. 2022-07-26 07:25:41.670940 [DEBUG] switch_scheduler.c:249 Added task 47238 switch_ivr_schedule_hangup (27523330-0cb4-11ed-bc9f-d3f1ef10c389) to run at 1658826341
  5778. 2022-07-26 07:25:41.722615 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.249.182:9432 to 156.38.231.105:9432
  5779. 2022-07-26 07:25:41.722615 [DEBUG] sofia.c:7084 Channel sofia/default/0100653427@41.160.32.115:5060 entering state [ready][200]
  5780. 2022-07-26 07:25:41.790674 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  5781. 2022-07-26 07:26:03.451191 [NOTICE] sofia.c:1012 Hangup sofia/default/0100653427@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  5782. 2022-07-26 07:26:03.451191 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0100653427@41.160.32.115:5060]
  5783. 2022-07-26 07:26:03.461115 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0100653427@41.160.32.115:5060 ending bridge by request from write function
  5784. 2022-07-26 07:26:03.461115 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/993160@ecic.nebular.co.za]
  5785. 2022-07-26 07:26:03.461115 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/993160@ecic.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  5786. 2022-07-26 07:26:03.461115 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/993160@ecic.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  5787. 2022-07-26 07:26:03.461115 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0100653427@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  5788. 2022-07-26 07:26:03.461115 [DEBUG] switch_core_session.c:2815 sofia/default/0100653427@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  5789. 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0100653427@41.160.32.115:5060) State EXECUTE going to sleep
  5790. 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0100653427@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 4 Tot 118037)
  5791. 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0100653427@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP
  5792. 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0100653427@41.160.32.115:5060) State HANGUP
  5793. 2022-07-26 07:26:03.461115 [DEBUG] mod_sofia.c:438 Channel sofia/default/0100653427@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING
  5794. 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:60 sofia/default/0100653427@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING
  5795. 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0100653427@41.160.32.115:5060) State HANGUP going to sleep
  5796. 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0100653427@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING
  5797. 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0100653427@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 4 Tot 118037)
  5798. 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0100653427@41.160.32.115:5060) State REPORTING
  5799. 2022-07-26 07:26:03.461115 [INFO] mod_json_cdr.c:271 Process [25ce79ba-0cb4-11ed-bc77-d3f1ef10c389.cdr.json]
  5800. 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:653 (sofia/default/993160@ecic.nebular.co.za) State EXCHANGE_MEDIA going to sleep
  5801. 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/993160@ecic.nebular.co.za) Running State Change CS_HANGUP (Cur 4 Tot 118037)
  5802. 2022-07-26 07:26:03.471807 [DEBUG] switch_core_state_machine.c:850 (sofia/default/993160@ecic.nebular.co.za) Callstate Change ACTIVE -> HANGUP
  5803. 2022-07-26 07:26:03.471807 [DEBUG] switch_core_state_machine.c:852 (sofia/default/993160@ecic.nebular.co.za) State HANGUP
  5804. 2022-07-26 07:26:03.471807 [DEBUG] mod_sofia.c:432 sofia/default/993160@ecic.nebular.co.za Overriding SIP cause 480 with 200 from the other leg
  5805. 2022-07-26 07:26:03.471807 [DEBUG] mod_sofia.c:438 Channel sofia/default/993160@ecic.nebular.co.za hanging up, cause: NORMAL_CLEARING
  5806. 2022-07-26 07:26:03.471807 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/993160@ecic.nebular.co.za
  5807. 2022-07-26 07:26:03.471807 [DEBUG] switch_core_state_machine.c:60 sofia/default/993160@ecic.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING
  5808. 2022-07-26 07:26:03.471807 [DEBUG] switch_core_state_machine.c:852 (sofia/default/993160@ecic.nebular.co.za) State HANGUP going to sleep
  5809. 2022-07-26 07:26:03.471807 [DEBUG] switch_core_state_machine.c:619 (sofia/default/993160@ecic.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  5810. 2022-07-26 07:26:03.471807 [DEBUG] switch_core_state_machine.c:584 (sofia/default/993160@ecic.nebular.co.za) Running State Change CS_REPORTING (Cur 4 Tot 118037)
  5811. 2022-07-26 07:26:03.471807 [DEBUG] switch_core_state_machine.c:938 (sofia/default/993160@ecic.nebular.co.za) State REPORTING
  5812. 2022-07-26 07:26:03.471807 [INFO] mod_json_cdr.c:271 Process [27523330-0cb4-11ed-bc9f-d3f1ef10c389.cdr.json]
  5813. 2022-07-26 07:26:03.552841 [DEBUG] switch_core_state_machine.c:174 sofia/default/993160@ecic.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING
  5814. 2022-07-26 07:26:03.552841 [DEBUG] switch_core_state_machine.c:938 (sofia/default/993160@ecic.nebular.co.za) State REPORTING going to sleep
  5815. 2022-07-26 07:26:03.552841 [DEBUG] switch_core_state_machine.c:610 (sofia/default/993160@ecic.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  5816. 2022-07-26 07:26:03.552841 [DEBUG] switch_core_session.c:1665 Session 118037 (sofia/default/993160@ecic.nebular.co.za) Locked, Waiting on external entities
  5817. 2022-07-26 07:26:03.552841 [NOTICE] switch_core_session.c:1683 Session 118037 (sofia/default/993160@ecic.nebular.co.za) Ended
  5818. 2022-07-26 07:26:03.552841 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/993160@ecic.nebular.co.za [CS_DESTROY]
  5819. 2022-07-26 07:26:03.552841 [DEBUG] switch_core_state_machine.c:741 (sofia/default/993160@ecic.nebular.co.za) Running State Change CS_DESTROY (Cur 3 Tot 118037)
  5820. 2022-07-26 07:26:03.552841 [DEBUG] switch_core_state_machine.c:751 (sofia/default/993160@ecic.nebular.co.za) State DESTROY
  5821. 2022-07-26 07:26:03.552841 [DEBUG] mod_sofia.c:343 sofia/default/993160@ecic.nebular.co.za SOFIA DESTROY
  5822. 2022-07-26 07:26:03.552841 [DEBUG] switch_core_state_machine.c:181 sofia/default/993160@ecic.nebular.co.za Standard DESTROY
  5823. 2022-07-26 07:26:03.552841 [DEBUG] switch_core_state_machine.c:751 (sofia/default/993160@ecic.nebular.co.za) State DESTROY going to sleep
  5824. 2022-07-26 07:26:03.662763 [DEBUG] switch_core_state_machine.c:174 sofia/default/0100653427@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING
  5825. 2022-07-26 07:26:03.662763 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0100653427@41.160.32.115:5060) State REPORTING going to sleep
  5826. 2022-07-26 07:26:03.662763 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0100653427@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY
  5827. 2022-07-26 07:26:03.662763 [DEBUG] switch_core_session.c:1665 Session 118036 (sofia/default/0100653427@41.160.32.115:5060) Locked, Waiting on external entities
  5828. 2022-07-26 07:26:03.662763 [NOTICE] switch_core_session.c:1683 Session 118036 (sofia/default/0100653427@41.160.32.115:5060) Ended
  5829. 2022-07-26 07:26:03.662763 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0100653427@41.160.32.115:5060 [CS_DESTROY]
  5830. 2022-07-26 07:26:03.662763 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0100653427@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 2 Tot 118037)
  5831. 2022-07-26 07:26:03.662763 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0100653427@41.160.32.115:5060) State DESTROY
  5832. 2022-07-26 07:26:03.662763 [DEBUG] mod_sofia.c:343 sofia/default/0100653427@41.160.32.115:5060 SOFIA DESTROY
  5833. 2022-07-26 07:26:03.662763 [DEBUG] switch_core_state_machine.c:181 sofia/default/0100653427@41.160.32.115:5060 Standard DESTROY
  5834. 2022-07-26 07:26:03.662763 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0100653427@41.160.32.115:5060) State DESTROY going to sleep
  5835. 2022-07-26 07:26:03.681196 [DEBUG] switch_scheduler.c:144 Deleting task 47238 switch_ivr_schedule_hangup (27523330-0cb4-11ed-bc9f-d3f1ef10c389)
  5836. 2022-07-26 07:26:16.650661 [NOTICE] switch_channel.c:1104 New Channel sofia/default/27114067300@joshco.nebular.co.za:5060 [3c79892a-0cb4-11ed-bca5-d3f1ef10c389]
  5837. 2022-07-26 07:26:16.650661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27114067300@joshco.nebular.co.za:5060) Running State Change CS_NEW (Cur 3 Tot 118038)
  5838. 2022-07-26 07:26:16.650661 [DEBUG] sofia.c:9873 sofia/default/27114067300@joshco.nebular.co.za:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  5839. 2022-07-26 07:26:16.650661 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  5840. 2022-07-26 07:26:16.650661 [DEBUG] sofia.c:7084 Channel sofia/default/27114067300@joshco.nebular.co.za:5060 entering state [received][100]
  5841. 2022-07-26 07:26:16.650661 [DEBUG] sofia.c:7094 Remote SDP:
  5842. v=0
  5843. o=3cxPS 32034250488283136 14317279521013761 IN IP4 156.38.249.181
  5844. s=3cxPS Audio call
  5845. c=IN IP4 156.38.249.181
  5846. t=0 0
  5847. m=audio 9838 RTP/AVP 18 8 0 101
  5848. a=rtpmap:18 G729/8000
  5849. a=fmtp:18 annexb=no
  5850. a=rtpmap:8 PCMA/8000
  5851. a=rtpmap:0 PCMU/8000
  5852. a=rtpmap:101 telephone-event/8000
  5853.  
  5854. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  5855. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:60:8000:1] ++++ is saved as a match
  5856. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  5857. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  5858. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  5859. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  5860. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  5861. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  5862. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  5863. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  5864. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  5865. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  5866. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  5867. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  5868. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  5869. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  5870. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  5871. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/27114067300@joshco.nebular.co.za:5060 G729/8000 60 ms 480 samples 8000 bits 1 channels
  5872. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_codec.c:111 sofia/default/27114067300@joshco.nebular.co.za:5060 Original read codec set to G729:18
  5873. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  5874. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4767 sofia/default/27114067300@joshco.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  5875. 2022-07-26 07:26:16.660905 [DEBUG] sofia.c:7507 (sofia/default/27114067300@joshco.nebular.co.za:5060) State Change CS_NEW -> CS_INIT
  5876. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:603 (sofia/default/27114067300@joshco.nebular.co.za:5060) State NEW
  5877. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27114067300@joshco.nebular.co.za:5060) Running State Change CS_INIT (Cur 3 Tot 118038)
  5878. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27114067300@joshco.nebular.co.za:5060) State INIT
  5879. 2022-07-26 07:26:16.660905 [DEBUG] mod_sofia.c:90 sofia/default/27114067300@joshco.nebular.co.za:5060 SOFIA INIT
  5880. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:40 sofia/default/27114067300@joshco.nebular.co.za:5060 Standard INIT
  5881. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:48 (sofia/default/27114067300@joshco.nebular.co.za:5060) State Change CS_INIT -> CS_ROUTING
  5882. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27114067300@joshco.nebular.co.za:5060) State INIT going to sleep
  5883. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27114067300@joshco.nebular.co.za:5060) Running State Change CS_ROUTING (Cur 3 Tot 118038)
  5884. 2022-07-26 07:26:16.660905 [DEBUG] switch_channel.c:2249 (sofia/default/27114067300@joshco.nebular.co.za:5060) Callstate Change DOWN -> RINGING
  5885. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27114067300@joshco.nebular.co.za:5060) State ROUTING
  5886. 2022-07-26 07:26:16.660905 [DEBUG] mod_sofia.c:143 sofia/default/27114067300@joshco.nebular.co.za:5060 SOFIA ROUTING
  5887. 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:236 sofia/default/27114067300@joshco.nebular.co.za:5060 Standard ROUTING
  5888. 2022-07-26 07:26:16.660905 [INFO] mod_dialplan_xml.c:637 Processing 27114067300 <27114067300>->0836345055 in context default
  5889. 2022-07-26 07:26:16.660905 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ea42a3570 Connected.
  5890. 2022-07-26 07:26:16.660905 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  5891. 2022-07-26 07:26:16.690668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  5892. 2022-07-26 07:26:16.731972 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  5893. 2022-07-26 07:26:16.731972 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0836345055
  5894. 2022-07-26 07:26:16.731972 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0836345055' limit 1
  5895. 2022-07-26 07:26:16.774501 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0836345055' AND status=0 limit 1
  5896. 2022-07-26 07:26:16.803077 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0836345055' and status=0 LIMIT 1
  5897. 2022-07-26 07:26:16.841825 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  5898. 2022-07-26 07:26:16.841825 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 297534 / 27114067300
  5899. 2022-07-26 07:26:16.841825 [DEBUG] switch_cpp.cpp:1365 [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 ="0836345055" LIMIT 1
  5900. 2022-07-26 07:26:16.891616 [DEBUG] switch_cpp.cpp:1365 [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="0836345055"  AND domains.domain="joshco.nebular.co.za" limit 1
  5901. 2022-07-26 07:26:16.942954 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  5902. 2022-07-26 07:26:16.942954 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 297534]
  5903. 2022-07-26 07:26:16.942954 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "297534" AND deleted = 0 limit 1
  5904. 2022-07-26 07:26:16.983324 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0836345055.*' OR blocked_patterns = '^083634505.*' OR blocked_patterns = '^08363450.*' OR blocked_patterns = '^0836345.*' OR blocked_patterns = '^083634.*' OR blocked_patterns = '^08363.*' OR blocked_patterns = '^0836.*' OR blocked_patterns = '^083.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 19 limit 1
  5905. 2022-07-26 07:26:17.020738 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0836345055" AND (accountid = 0 OR status = 1) LIMIT 1
  5906. 2022-07-26 07:26:17.041780 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3
  5907. 2022-07-26 07:26:17.041780 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1
  5908. 2022-07-26 07:26:17.091969 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0836345055
  5909. 2022-07-26 07:26:17.091969 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0836345055
  5910. 2022-07-26 07:26:17.091969 [DEBUG] switch_cpp.cpp:1365 [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 = '^0836345055.*' OR patterns = '^083634505.*' OR patterns = '^08363450.*' OR patterns = '^0836345.*' OR patterns = '^083634.*' OR patterns = '^08363.*' OR patterns = '^0836.*' OR patterns = '^083.*' OR patterns = '^08.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 19 ORDER BY LENGTH(PKGPTR.patterns) DESC
  5911. 2022-07-26 07:26:17.121261 [DEBUG] switch_cpp.cpp:1365 [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 ="0836345055" AND A.accountid = '19' limit 1
  5912. 2022-07-26 07:26:17.164016 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0836345055
  5913. 2022-07-26 07:26:17.164016 [DEBUG] switch_cpp.cpp:1365 [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 ="0836345055" LIMIT 1
  5914. 2022-07-26 07:26:17.211994 [DEBUG] switch_cpp.cpp:1365 [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="0836345055"  AND domains.domain="joshco.nebular.co.za" limit 1
  5915. 2022-07-26 07:26:17.250662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : outbound
  5916. 2022-07-26 07:26:17.250662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0836345055' OR number = '083634505' OR number = '08363450' OR number = '0836345' OR number = '083634' OR number = '08363' OR number = '0836' OR number = '083' OR number = '08' OR number = '0' OR number ='--') OR (number = '0836345055*' OR number = '083634505*' OR number = '08363450*' OR number = '0836345*' OR number = '083634*' OR number = '08363*' OR number = '0836*' OR number = '083*' OR number = '08*' OR number = '0*' OR number ='--') OR (number = '27114067300' OR number = '2711406730' OR number = '271140673' OR number = '27114067' OR number = '2711406' OR number = '271140' OR number = '27114' OR number = '2711' OR number = '271' OR number = '27' OR number = '2' OR number ='--') OR (number = '27114067300*' OR number = '2711406730*' OR number = '271140673*' OR number = '27114067*' OR number = '2711406*' OR number = '271140*' OR number = '27114*' OR number = '2711*' OR number = '271*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  5917. 2022-07-26 07:26:17.280666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  5918. 2022-07-26 07:26:17.280666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0836345055' OR routing_prefix = '083634505' OR routing_prefix = '08363450' OR routing_prefix = '0836345' OR routing_prefix = '083634' OR routing_prefix = '08363' OR routing_prefix = '0836' OR routing_prefix = '083' OR routing_prefix = '08' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1
  5919. 2022-07-26 07:26:17.330666 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Get Destination Number (0836345055)!!!!
  5920. 2022-07-26 07:26:17.330666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Ported Number :27836345055
  5921. 2022-07-26 07:26:17.330666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27836345055' limit 1
  5922. 2022-07-26 07:26:17.400663 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (0836345055)!!!!
  5923. 2022-07-26 07:26:17.540659 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  5924. 2022-07-26 07:26:17.540659 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 19
  5925. 2022-07-26 07:26:17.540659 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 297534
  5926. 2022-07-26 07:26:17.540659 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1092.1355
  5927. 2022-07-26 07:26:17.540659 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  5928. 2022-07-26 07:26:17.540659 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 71
  5929. 2022-07-26 07:26:17.540659 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  5930. 2022-07-26 07:26:17.540659 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  5931. 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....297534
  5932. 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....297534
  5933. 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27114067300
  5934. 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27114067300
  5935. 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....297534
  5936. 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....297534
  5937. 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27114067300
  5938. 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27114067300
  5939. 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 71 AND status = 0
  5940. 2022-07-26 07:26:17.580659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  5941. 2022-07-26 07:26:17.580659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 71 AND status = 0
  5942. 2022-07-26 07:26:17.622947 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0836345055.*' OR pattern = '^083634505.*' OR pattern = '^08363450.*' OR pattern = '^0836345.*' OR pattern = '^083634.*' OR pattern = '^08363.*' OR pattern = '^0836.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 71 OR accountid=19)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  5943. 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : outbound
  5944. 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  5945. 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1179103
  5946. 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  5947. 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  5948. 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.69000
  5949. 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D083-MTN
  5950. 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  5951. 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 19
  5952. 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  5953. 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  5954. 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  5955. 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1092.1355 balance Accountid 19 !!!
  5956. 2022-07-26 07:26:17.662265 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  5957. 2022-07-26 07:26:17.662265 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 5
  5958. 2022-07-26 07:26:17.662265 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  5959. 2022-07-26 07:26:17.700928 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0836345055.*' OR blocked_patterns = '^083634505.*' OR blocked_patterns = '^08363450.*' OR blocked_patterns = '^0836345.*' OR blocked_patterns = '^083634.*' OR blocked_patterns = '^08363.*' OR blocked_patterns = '^0836.*' OR blocked_patterns = '^083.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 5 limit 1
  5960. 2022-07-26 07:26:17.741138 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information ===================
  5961. 2022-07-26 07:26:17.741138 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 5
  5962. 2022-07-26 07:26:17.741138 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8566036685
  5963. 2022-07-26 07:26:17.741138 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1985.2604
  5964. 2022-07-26 07:26:17.741138 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  5965. 2022-07-26 07:26:17.741138 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83
  5966. 2022-07-26 07:26:17.741138 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  5967. 2022-07-26 07:26:17.781965 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  5968. 2022-07-26 07:26:17.781965 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  5969. 2022-07-26 07:26:17.822483 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0836345055.*' OR pattern = '^083634505.*' OR pattern = '^08363450.*' OR pattern = '^0836345.*' OR pattern = '^083634.*' OR pattern = '^08363.*' OR pattern = '^0836.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 83 OR accountid=5)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  5970. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : outbound
  5971. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  5972. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1426397
  5973. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  5974. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  5975. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.29000
  5976. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D083-MTN
  5977. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  5978. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 5
  5979. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  5980. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  5981. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  5982. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1985.2604 balance Accountid 5 !!!
  5983. 2022-07-26 07:26:17.842802 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  5984. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:1179103|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.69000|INC:1|INITIALBLOCK:1|RATEGROUP:71|MARKUP:0|CI:0|ACCID:19||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5
  5985. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  5986. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1
  5987. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  5988. 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1179103
  5989. 2022-07-26 07:26:17.842802 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :0
  5990. 2022-07-26 07:26:17.842802 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=83 ORDER by id asc
  5991. 2022-07-26 07:26:17.891327 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^0836345055.*' OR pattern = '^083634505.*' OR pattern = '^08363450.*' OR pattern = '^0836345.*' OR pattern = '^083634.*' OR pattern = '^08363.*' OR pattern = '^0836.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5,7) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  5992. 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  5993. 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 183
  5994. 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^0.*
  5995. 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : SA
  5996. 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  5997. 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  5998. 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^0.*
  5999. 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip :
  6000. 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend :
  6001. 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 5
  6002. 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : liquid_primary
  6003. 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  6004. 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  6005. 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3
  6006. 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  6007. 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Liquid
  6008. 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  6009. 2022-07-26 07:26:17.964416 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 19 AND status=0 LIMIT 1
  6010. 2022-07-26 07:26:18.020675 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  6011. 2022-07-26 07:26:18.020675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  6012. 2022-07-26 07:26:18.062026 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  6013. 2022-07-26 07:26:18.062026 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
  6014. 2022-07-26 07:26:18.062026 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  6015. 2022-07-26 07:26:18.110663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 5) AND status=0 limit 1
  6016. 2022-07-26 07:26:18.150663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+27/0".....0836345055
  6017. 2022-07-26 07:26:18.150663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  6018. 2022-07-26 07:26:18.190663 [DEBUG] switch_cpp.cpp:1365 [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 ="0836345055" LIMIT 1
  6019. 2022-07-26 07:26:18.230694 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  6020. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  6021. <document type="freeswitch/xml">
  6022. <section name="dialplan" description="ASTPP Dialplan">
  6023. <context name="default">
  6024. <extension name="0836345055">
  6025. <condition field="destination_number" expression="0836345055">
  6026. <action application="set" data="effective_destination_number=0836345055"/>
  6027. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  6028. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  6029. <action application="set" data="callstart=2022-07-26 07:26:18"/>
  6030. <action application="set" data="hangup_after_bridge=true"/>
  6031. <action application="set" data="continue_on_fail=TRUE"/>
  6032. <action application="set" data="account_id=19"/>
  6033. <action application="set" data="parent_id=5"/>
  6034. <action application="set" data="entity_id=0"/>
  6035. <action application="set" data="call_processed=internal"/>
  6036. <action application="set" data="call_direction=outbound"/>
  6037. <action application="set" data="accountname=default"/>
  6038. <action application="set" data="filename1=astpp.pbx.lua"/>
  6039. <action application="set" data="origination_rates=ID:1179103|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.69000|INC:1|INITIALBLOCK:1|RATEGROUP:71|MARKUP:0|CI:0|ACCID:19||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5"/>
  6040. <action application="set" data="original_caller_id_name=297534"/>
  6041. <action application="set" data="original_caller_id_number=27114067300"/>
  6042. <action application="limit" data="db 297534 user_297534 20 "/>
  6043. <action application="limit" data="db 8566036685 user_8566036685 20 "/>
  6044. <action application="set" data="effective_caller_id_name=297534"/>
  6045. <action application="set" data="effective_caller_id_number=27114067300"/>
  6046. <action application="set" data="calltype=STANDARD"/>
  6047. <action application="set" data="termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3"/>
  6048. <action application="set" data="trunk_id=5"/>
  6049. <action application="set" data="provider_id=3"/>
  6050. <action application="set" data="rate_flag=0"/>
  6051. <action application="set" data="force_trunk_flag=1179103"/>
  6052. <action application="export" data="presence_data=trunk_id=5"/>
  6053. <action application="set" data="intcall=0"/>
  6054. <action application="export" data="presence_data=x//5|||Joscho(297534)|||^083.* // D083-MTN // 0.69000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^083.* // D083-MTN"/>
  6055. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0836345055;fs_path=sip:156.38.231.106:5060"/>
  6056. </condition>
  6057. </extension>
  6058. </context>
  6059. </document>
  6060. 2022-07-26 07:26:18.230694 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ea42a3570 released.
  6061. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 parsing [default->0836345055] continue=false
  6062. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Regex (PASS) [0836345055] destination_number(0836345055) =~ /0836345055/ break=on-false
  6063. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(effective_destination_number=0836345055)
  6064. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  6065. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  6066. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(callstart=2022-07-26 07:26:18)
  6067. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(hangup_after_bridge=true)
  6068. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(continue_on_fail=TRUE)
  6069. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(account_id=19)
  6070. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(parent_id=5)
  6071. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(entity_id=0)
  6072. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(call_processed=internal)
  6073. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(call_direction=outbound)
  6074. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(accountname=default)
  6075. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(filename1=astpp.pbx.lua)
  6076. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(origination_rates=ID:1179103|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.69000|INC:1|INITIALBLOCK:1|RATEGROUP:71|MARKUP:0|CI:0|ACCID:19||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5)
  6077. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(original_caller_id_name=297534)
  6078. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(original_caller_id_number=27114067300)
  6079. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action limit(db 297534 user_297534 20 )
  6080. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action limit(db 8566036685 user_8566036685 20 )
  6081. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(effective_caller_id_name=297534)
  6082. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(effective_caller_id_number=27114067300)
  6083. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(calltype=STANDARD)
  6084. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3)
  6085. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(trunk_id=5)
  6086. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(provider_id=3)
  6087. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(rate_flag=0)
  6088. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(force_trunk_flag=1179103)
  6089. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action export(presence_data=trunk_id=5)
  6090. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(intcall=0)
  6091. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action export(presence_data=x//5|||Joscho(297534)|||^083.* // D083-MTN // 0.69000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^083.* // D083-MTN)
  6092. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0836345055;fs_path=sip:156.38.231.106:5060)
  6093. 2022-07-26 07:26:18.230694 [DEBUG] switch_core_state_machine.c:286 (sofia/default/27114067300@joshco.nebular.co.za:5060) State Change CS_ROUTING -> CS_EXECUTE
  6094. 2022-07-26 07:26:18.230694 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27114067300@joshco.nebular.co.za:5060) State ROUTING going to sleep
  6095. 2022-07-26 07:26:18.230694 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27114067300@joshco.nebular.co.za:5060) Running State Change CS_EXECUTE (Cur 3 Tot 118038)
  6096. 2022-07-26 07:26:18.230694 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27114067300@joshco.nebular.co.za:5060) State EXECUTE
  6097. 2022-07-26 07:26:18.230694 [DEBUG] mod_sofia.c:198 sofia/default/27114067300@joshco.nebular.co.za:5060 SOFIA EXECUTE
  6098. 2022-07-26 07:26:18.230694 [DEBUG] switch_core_state_machine.c:328 sofia/default/27114067300@joshco.nebular.co.za:5060 Standard EXECUTE
  6099. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(effective_destination_number=0836345055)
  6100. 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [effective_destination_number]=[0836345055]
  6101. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  6102. 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  6103. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  6104. 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  6105. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(callstart=2022-07-26 07:26:18)
  6106. 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [callstart]=[2022-07-26 07:26:18]
  6107. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(hangup_after_bridge=true)
  6108. 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [hangup_after_bridge]=[true]
  6109. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(continue_on_fail=TRUE)
  6110. 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [continue_on_fail]=[TRUE]
  6111. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(account_id=19)
  6112. 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [account_id]=[19]
  6113. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(parent_id=5)
  6114. 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [parent_id]=[5]
  6115. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(entity_id=0)
  6116. 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [entity_id]=[0]
  6117. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(call_processed=internal)
  6118. 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [call_processed]=[internal]
  6119. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(call_direction=outbound)
  6120. 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [call_direction]=[outbound]
  6121. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(accountname=default)
  6122. 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [accountname]=[default]
  6123. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(filename1=astpp.pbx.lua)
  6124. 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [filename1]=[astpp.pbx.lua]
  6125. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(origination_rates=ID:1179103|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.69000|INC:1|INITIALBLOCK:1|RATEGROUP:71|MARKUP:0|CI:0|ACCID:19||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5)
  6126. 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [origination_rates]=[ID:1179103|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.69000|INC:1|INITIALBLOCK:1|RATEGROUP:71|MARKUP:0|CI:0|ACCID:19||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5]
  6127. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(original_caller_id_name=297534)
  6128. 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [original_caller_id_name]=[297534]
  6129. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(original_caller_id_number=27114067300)
  6130. 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [original_caller_id_number]=[27114067300]
  6131. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 limit(db 297534 user_297534 20 )
  6132. 2022-07-26 07:26:18.230694 [DEBUG] switch_limit.c:126 incr called: 297534_user_297534 max:20, interval:0
  6133. 2022-07-26 07:26:18.230694 [DEBUG] mod_db.c:194 Usage for 297534_user_297534 is now 1/20
  6134. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 limit(db 8566036685 user_8566036685 20 )
  6135. 2022-07-26 07:26:18.230694 [DEBUG] switch_limit.c:126 incr called: 8566036685_user_8566036685 max:20, interval:0
  6136. 2022-07-26 07:26:18.230694 [DEBUG] mod_db.c:194 Usage for 8566036685_user_8566036685 is now 2/20
  6137. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(effective_caller_id_name=297534)
  6138. 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [effective_caller_id_name]=[297534]
  6139. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(effective_caller_id_number=27114067300)
  6140. 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [effective_caller_id_number]=[27114067300]
  6141. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(calltype=STANDARD)
  6142. 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [calltype]=[STANDARD]
  6143. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3)
  6144. 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [termination_rates]=[ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3]
  6145. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(trunk_id=5)
  6146. 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [trunk_id]=[5]
  6147. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(provider_id=3)
  6148. 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [provider_id]=[3]
  6149. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(rate_flag=0)
  6150. 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [rate_flag]=[0]
  6151. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(force_trunk_flag=1179103)
  6152. 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [force_trunk_flag]=[1179103]
  6153. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 export(presence_data=trunk_id=5)
  6154. 2022-07-26 07:26:18.240658 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=5]
  6155. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(intcall=0)
  6156. 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [intcall]=[0]
  6157. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 export(presence_data=x//5|||Joscho(297534)|||^083.* // D083-MTN // 0.69000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^083.* // D083-MTN)
  6158. 2022-07-26 07:26:18.240658 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//5|||Joscho(297534)|||^083.* // D083-MTN // 0.69000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^083.* // D083-MTN]
  6159. EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0836345055;fs_path=sip:156.38.231.106:5060)
  6160. 2022-07-26 07:26:18.240658 [DEBUG] switch_channel.c:1250 sofia/default/27114067300@joshco.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//5|||Joscho(297534)|||^083.* // D083-MTN // 0.69000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^083.* // D083-MTN] to event
  6161. 2022-07-26 07:26:18.240658 [DEBUG] switch_channel.c:1250 sofia/default/27114067300@joshco.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//5|||Joscho(297534)|||^083.* // D083-MTN // 0.69000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^083.* // D083-MTN] to event
  6162. 2022-07-26 07:26:18.240658 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  6163. 2022-07-26 07:26:18.240658 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  6164. 2022-07-26 07:26:18.240658 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0836345055 [3d6b6d80-0cb4-11ed-bcc8-d3f1ef10c389]
  6165. 2022-07-26 07:26:18.240658 [DEBUG] mod_sofia.c:4819 (sofia/default/0836345055) State Change CS_NEW -> CS_INIT
  6166. 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836345055) Running State Change CS_INIT (Cur 4 Tot 118039)
  6167. 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0836345055) State INIT
  6168. 2022-07-26 07:26:18.240658 [DEBUG] mod_sofia.c:90 sofia/default/0836345055 SOFIA INIT
  6169. 2022-07-26 07:26:18.240658 [DEBUG] sofia_glue.c:1264 sip:156.38.231.106:5060 Setting proxy route to sofia/default/0836345055
  6170. 2022-07-26 07:26:18.240658 [DEBUG] sofia_glue.c:1295 sofia/default/0836345055 sending invite version: 1.6.20  64bit
  6171. Local SDP:
  6172. v=0
  6173. o=FreeSWITCH 1658796794 1658796795 IN IP4 156.38.231.107
  6174. s=FreeSWITCH
  6175. c=IN IP4 156.38.231.107
  6176. t=0 0
  6177. m=audio 23584 RTP/AVP 18 8 0 101
  6178. a=rtpmap:18 G729/8000
  6179. a=fmtp:18 annexb=no
  6180. a=rtpmap:8 PCMA/8000
  6181. a=rtpmap:0 PCMU/8000
  6182. a=rtpmap:101 telephone-event/8000
  6183. a=fmtp:101 0-16
  6184. a=ptime:20
  6185. a=sendrecv
  6186.  
  6187. 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:40 sofia/default/0836345055 Standard INIT
  6188. 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0836345055) State Change CS_INIT -> CS_ROUTING
  6189. 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0836345055) State INIT going to sleep
  6190. 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836345055) Running State Change CS_ROUTING (Cur 4 Tot 118039)
  6191. 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0836345055) State ROUTING
  6192. 2022-07-26 07:26:18.240658 [DEBUG] mod_sofia.c:143 sofia/default/0836345055 SOFIA ROUTING
  6193. 2022-07-26 07:26:18.240658 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0836345055) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  6194. 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0836345055) State ROUTING going to sleep
  6195. 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836345055) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 118039)
  6196. 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0836345055) State CONSUME_MEDIA
  6197. 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0836345055) State CONSUME_MEDIA going to sleep
  6198. 2022-07-26 07:26:18.240658 [DEBUG] sofia.c:7084 Channel sofia/default/0836345055 entering state [calling][0]
  6199. 2022-07-26 07:26:20.290675 [DEBUG] sofia.c:7084 Channel sofia/default/0836345055 entering state [proceeding][183]
  6200. 2022-07-26 07:26:20.290675 [DEBUG] sofia.c:7094 Remote SDP:
  6201. v=0
  6202. o=HuaweiSoftX3000 134832177391974 134832177391974 IN IP4 41.160.32.115
  6203. s=-
  6204. c=IN IP4 41.160.32.115
  6205. t=0 0
  6206. m=audio 20612 RTP/AVP 8 101
  6207. a=rtpmap:8 PCMA/8000
  6208. a=rtpmap:101 telephone-event/8000
  6209. a=fmtp:101 0-15
  6210. a=ptime:20
  6211.  
  6212. 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  6213. 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  6214. 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  6215. 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  6216. 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  6217. 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0836345055 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  6218. 2022-07-26 07:26:20.290675 [DEBUG] switch_core_codec.c:111 sofia/default/0836345055 Original read codec set to PCMA:8
  6219. 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  6220. 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:4767 sofia/default/0836345055 Set 2833 dtmf send payload to 101 recv payload to 101
  6221. 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0836345055] 156.38.231.107 port 23584 -> 41.160.32.115 port 20612 codec: 8 ms: 20
  6222. 2022-07-26 07:26:20.300678 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  6223. 2022-07-26 07:26:20.300678 [DEBUG] switch_core_media.c:7180 sofia/default/0836345055 Set 2833 dtmf send payload to 101
  6224. 2022-07-26 07:26:20.300678 [DEBUG] switch_core_media.c:7187 sofia/default/0836345055 Set 2833 dtmf receive payload to 101
  6225. 2022-07-26 07:26:20.300678 [DEBUG] switch_core_media.c:7210 sofia/default/0836345055 Set rtp dtmf delay to 40
  6226. 2022-07-26 07:26:20.300678 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0836345055!
  6227. 2022-07-26 07:26:20.300678 [DEBUG] switch_channel.c:3474 (sofia/default/0836345055) Callstate Change DOWN -> EARLY
  6228. 2022-07-26 07:26:20.320692 [INFO] switch_ivr_originate.c:3654 Sending early media
  6229. 2022-07-26 07:26:20.320692 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/27114067300@joshco.nebular.co.za:5060] 156.38.231.107 port 24762 -> 156.38.249.181 port 9838 codec: 18 ms: 60
  6230. 2022-07-26 07:26:20.320692 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 480 bytes per 60ms
  6231. 2022-07-26 07:26:20.320692 [DEBUG] switch_core_media.c:7180 sofia/default/27114067300@joshco.nebular.co.za:5060 Set 2833 dtmf send payload to 101
  6232. 2022-07-26 07:26:20.320692 [DEBUG] switch_core_media.c:7187 sofia/default/27114067300@joshco.nebular.co.za:5060 Set 2833 dtmf receive payload to 101
  6233. 2022-07-26 07:26:20.320692 [DEBUG] switch_core_media.c:7210 sofia/default/27114067300@joshco.nebular.co.za:5060 Set rtp dtmf delay to 40
  6234. 2022-07-26 07:26:20.320692 [DEBUG] mod_sofia.c:2364 Ring SDP:
  6235. v=0
  6236. o=FreeSWITCH 1658795618 1658795619 IN IP4 156.38.231.107
  6237. s=FreeSWITCH
  6238. c=IN IP4 156.38.231.107
  6239. t=0 0
  6240. m=audio 24762 RTP/AVP 18 101
  6241. a=rtpmap:18 G729/8000
  6242. a=fmtp:18 annexb=no
  6243. a=rtpmap:101 telephone-event/8000
  6244. a=fmtp:101 0-16
  6245. a=ptime:60
  6246. a=sendrecv
  6247.  
  6248. 2022-07-26 07:26:20.320692 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/27114067300@joshco.nebular.co.za:5060!
  6249. 2022-07-26 07:26:20.320692 [DEBUG] switch_channel.c:3474 (sofia/default/27114067300@joshco.nebular.co.za:5060) Callstate Change RINGING -> EARLY
  6250. 2022-07-26 07:26:20.320692 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0836345055]
  6251. 2022-07-26 07:26:20.330852 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0836345055) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  6252. 2022-07-26 07:26:20.330852 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836345055) Running State Change CS_EXCHANGE_MEDIA (Cur 4 Tot 118039)
  6253. 2022-07-26 07:26:20.330852 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0836345055) State EXCHANGE_MEDIA
  6254. 2022-07-26 07:26:20.330852 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  6255. 2022-07-26 07:26:20.330852 [DEBUG] sofia.c:7084 Channel sofia/default/27114067300@joshco.nebular.co.za:5060 entering state [early][183]
  6256. 2022-07-26 07:26:20.492826 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0836345055 Bridge execute app sched_hangup(+6000 normal_clearing)
  6257. 2022-07-26 07:26:20.492826 [INFO] mod_com_g729.c:178 DECODER LICENSE ALLOCATED--->0x7f3f089318c8 0x7f3f089318d0
  6258. 2022-07-26 07:26:20.492826 [INFO] mod_com_g729.c:185 DECODER CREATED------------->0x7f3f089318c8 0x7f3f089318d0
  6259. 2022-07-26 07:26:20.492826 [DEBUG] switch_core_io.c:1448 Engaging Write Buffer at 320 bytes to accommodate 960->320
  6260. 2022-07-26 07:26:20.510661 [DEBUG] switch_ivr.c:623 sofia/default/0836345055 Command Execute sched_hangup(+6000 normal_clearing)
  6261. EXECUTE sofia/default/0836345055 sched_hangup(+6000 normal_clearing)
  6262. 2022-07-26 07:26:20.510661 [DEBUG] switch_scheduler.c:249 Added task 47239 switch_ivr_schedule_hangup (3d6b6d80-0cb4-11ed-bcc8-d3f1ef10c389) to run at 1658826380
  6263. 2022-07-26 07:26:21.040717 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.249.181:9838 to 156.38.231.105:9838
  6264. 2022-07-26 07:26:21.300972 [DEBUG] sofia.c:7084 Channel sofia/default/0836345055 entering state [proceeding][180]
  6265. 2022-07-26 07:26:21.300972 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/0836345055!
  6266. 2022-07-26 07:26:21.300972 [DEBUG] switch_channel.c:3346 (sofia/default/0836345055) Callstate Change EARLY -> RINGING
  6267. 2022-07-26 07:26:21.380667 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  6268. 2022-07-26 07:26:21.380667 [DEBUG] switch_core_io.c:1448 Engaging Write Buffer at 960 bytes to accommodate 320->960
  6269. 2022-07-26 07:26:21.420674 [INFO] mod_com_g729.c:140 ENCODER LICENSE ALLOCATED--->0x7f3f08931948 0x7f3f08931948
  6270. 2022-07-26 07:26:21.420674 [INFO] mod_com_g729.c:147 ENCODER CREATED------------->0x7f3f08931948 0x7f3f08931948
  6271. 2022-07-26 07:26:34.000671 [DEBUG] sofia.c:7084 Channel sofia/default/0836345055 entering state [completing][200]
  6272. 2022-07-26 07:26:34.000671 [DEBUG] sofia.c:7091 Duplicate SDP
  6273. v=0
  6274. o=HuaweiSoftX3000 134832177391974 134832177391974 IN IP4 41.160.32.115
  6275. s=-
  6276. c=IN IP4 41.160.32.115
  6277. t=0 0
  6278. m=audio 20612 RTP/AVP 8 101
  6279. a=rtpmap:8 PCMA/8000
  6280. a=rtpmap:101 telephone-event/8000
  6281. a=fmtp:101 0-15
  6282. a=ptime:20
  6283.  
  6284. 2022-07-26 07:26:34.022137 [DEBUG] sofia.c:7084 Channel sofia/default/0836345055 entering state [ready][200]
  6285. 2022-07-26 07:26:34.022137 [NOTICE] sofia.c:8159 Channel [sofia/default/0836345055] has been answered
  6286. 2022-07-26 07:26:34.022137 [DEBUG] switch_channel.c:3773 (sofia/default/0836345055) Callstate Change RINGING -> ACTIVE
  6287. 2022-07-26 07:26:34.060736 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/27114067300@joshco.nebular.co.za:5060.
  6288. 2022-07-26 07:26:34.060736 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/27114067300@joshco.nebular.co.za:5060:
  6289. v=0
  6290. o=FreeSWITCH 1658795618 1658795620 IN IP4 156.38.231.107
  6291. s=FreeSWITCH
  6292. c=IN IP4 156.38.231.107
  6293. t=0 0
  6294. m=audio 24762 RTP/AVP 18 101
  6295. a=rtpmap:18 G729/8000
  6296. a=fmtp:18 annexb=no
  6297. a=rtpmap:101 telephone-event/8000
  6298. a=fmtp:101 0-16
  6299. a=ptime:60
  6300. a=sendrecv
  6301.  
  6302. 2022-07-26 07:26:34.060736 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/27114067300@joshco.nebular.co.za:5060] has been answered
  6303. 2022-07-26 07:26:34.060736 [DEBUG] switch_channel.c:3773 (sofia/default/27114067300@joshco.nebular.co.za:5060) Callstate Change EARLY -> ACTIVE
  6304. 2022-07-26 07:26:34.080659 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  6305. 2022-07-26 07:26:34.120672 [DEBUG] sofia.c:7084 Channel sofia/default/27114067300@joshco.nebular.co.za:5060 entering state [completed][200]
  6306. 2022-07-26 07:26:34.180670 [DEBUG] sofia.c:7084 Channel sofia/default/27114067300@joshco.nebular.co.za:5060 entering state [ready][200]
  6307. 2022-07-26 07:26:34.240675 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  6308. 2022-07-26 07:27:10.430658 [NOTICE] sofia.c:1012 Hangup sofia/default/0836345055 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  6309. 2022-07-26 07:27:10.444089 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0836345055]
  6310. 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0836345055) State EXCHANGE_MEDIA going to sleep
  6311. 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836345055) Running State Change CS_HANGUP (Cur 4 Tot 118039)
  6312. 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0836345055) Callstate Change ACTIVE -> HANGUP
  6313. 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0836345055) State HANGUP
  6314. 2022-07-26 07:27:10.444089 [DEBUG] mod_sofia.c:438 Channel sofia/default/0836345055 hanging up, cause: NORMAL_CLEARING
  6315. 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:60 sofia/default/0836345055 Standard HANGUP, cause: NORMAL_CLEARING
  6316. 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0836345055) State HANGUP going to sleep
  6317. 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0836345055) State Change CS_HANGUP -> CS_REPORTING
  6318. 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836345055) Running State Change CS_REPORTING (Cur 4 Tot 118039)
  6319. 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0836345055) State REPORTING
  6320. 2022-07-26 07:27:10.444089 [INFO] mod_json_cdr.c:271 Process [3d6b6d80-0cb4-11ed-bcc8-d3f1ef10c389.cdr.json]
  6321. 2022-07-26 07:27:10.461459 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0836345055 ending bridge by request from write function
  6322. 2022-07-26 07:27:10.461459 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/27114067300@joshco.nebular.co.za:5060]
  6323. 2022-07-26 07:27:10.461459 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0836345055 skip receive message [UNBRIDGE] (channel is hungup already)
  6324. 2022-07-26 07:27:10.461459 [NOTICE] switch_ivr_bridge.c:1764 Hangup sofia/default/27114067300@joshco.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  6325. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_session.c:2815 sofia/default/27114067300@joshco.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  6326. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27114067300@joshco.nebular.co.za:5060) State EXECUTE going to sleep
  6327. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27114067300@joshco.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 4 Tot 118039)
  6328. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:850 (sofia/default/27114067300@joshco.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP
  6329. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27114067300@joshco.nebular.co.za:5060) State HANGUP
  6330. 2022-07-26 07:27:10.486808 [DEBUG] mod_sofia.c:432 sofia/default/27114067300@joshco.nebular.co.za:5060 Overriding SIP cause 480 with 200 from the other leg
  6331. 2022-07-26 07:27:10.486808 [DEBUG] mod_sofia.c:438 Channel sofia/default/27114067300@joshco.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING
  6332. 2022-07-26 07:27:10.486808 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/27114067300@joshco.nebular.co.za:5060
  6333. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:60 sofia/default/27114067300@joshco.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING
  6334. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27114067300@joshco.nebular.co.za:5060) State HANGUP going to sleep
  6335. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:619 (sofia/default/27114067300@joshco.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING
  6336. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27114067300@joshco.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 4 Tot 118039)
  6337. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27114067300@joshco.nebular.co.za:5060) State REPORTING
  6338. 2022-07-26 07:27:10.486808 [INFO] mod_json_cdr.c:271 Process [3c79892a-0cb4-11ed-bca5-d3f1ef10c389.cdr.json]
  6339. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:174 sofia/default/0836345055 Standard REPORTING, cause: NORMAL_CLEARING
  6340. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0836345055) State REPORTING going to sleep
  6341. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0836345055) State Change CS_REPORTING -> CS_DESTROY
  6342. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_session.c:1665 Session 118039 (sofia/default/0836345055) Locked, Waiting on external entities
  6343. 2022-07-26 07:27:10.486808 [NOTICE] switch_core_session.c:1683 Session 118039 (sofia/default/0836345055) Ended
  6344. 2022-07-26 07:27:10.486808 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0836345055 [CS_DESTROY]
  6345. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0836345055) Running State Change CS_DESTROY (Cur 3 Tot 118039)
  6346. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0836345055) State DESTROY
  6347. 2022-07-26 07:27:10.486808 [DEBUG] mod_sofia.c:343 sofia/default/0836345055 SOFIA DESTROY
  6348. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:181 sofia/default/0836345055 Standard DESTROY
  6349. 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0836345055) State DESTROY going to sleep
  6350. 2022-07-26 07:27:10.551818 [DEBUG] switch_scheduler.c:144 Deleting task 47239 switch_ivr_schedule_hangup (3d6b6d80-0cb4-11ed-bcc8-d3f1ef10c389)
  6351. 2022-07-26 07:27:10.637732 [DEBUG] switch_core_state_machine.c:174 sofia/default/27114067300@joshco.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING
  6352. 2022-07-26 07:27:10.637732 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27114067300@joshco.nebular.co.za:5060) State REPORTING going to sleep
  6353. 2022-07-26 07:27:10.637732 [DEBUG] switch_core_state_machine.c:610 (sofia/default/27114067300@joshco.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY
  6354. 2022-07-26 07:27:10.637732 [DEBUG] switch_core_session.c:1665 Session 118038 (sofia/default/27114067300@joshco.nebular.co.za:5060) Locked, Waiting on external entities
  6355. 2022-07-26 07:27:10.637732 [NOTICE] switch_core_session.c:1683 Session 118038 (sofia/default/27114067300@joshco.nebular.co.za:5060) Ended
  6356. 2022-07-26 07:27:10.637732 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/27114067300@joshco.nebular.co.za:5060 [CS_DESTROY]
  6357. 2022-07-26 07:27:10.637732 [DEBUG] switch_core_state_machine.c:741 (sofia/default/27114067300@joshco.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 2 Tot 118039)
  6358. 2022-07-26 07:27:10.637732 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27114067300@joshco.nebular.co.za:5060) State DESTROY
  6359. 2022-07-26 07:27:10.637732 [DEBUG] mod_sofia.c:343 sofia/default/27114067300@joshco.nebular.co.za:5060 SOFIA DESTROY
  6360. 2022-07-26 07:27:10.637732 [INFO] mod_com_g729.c:109 DECODER DESTROYED----------->0x7f3f089318c8 0x7f3f089318d0
  6361. 2022-07-26 07:27:10.637732 [INFO] mod_com_g729.c:112 DECODER LICENSE DEALLOCATED->0x7f3f089318c8 0x7f3f089318d0
  6362. 2022-07-26 07:27:10.637732 [INFO] mod_com_g729.c:98 ENCODER DESTROYED----------->0x7f3f08931948 0x7f3f08931948
  6363. 2022-07-26 07:27:10.637732 [INFO] mod_com_g729.c:101 ENCODER LICENSE DEALLOCATED->0x7f3f08931948 0x7f3f08931948
  6364. 2022-07-26 07:27:10.637732 [DEBUG] switch_core_state_machine.c:181 sofia/default/27114067300@joshco.nebular.co.za:5060 Standard DESTROY
  6365. 2022-07-26 07:27:10.637732 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27114067300@joshco.nebular.co.za:5060) State DESTROY going to sleep
  6366. 2022-07-26 07:27:25.900660 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0160040462@41.160.32.115:5060 [65bff0c6-0cb4-11ed-bcce-d3f1ef10c389]
  6367. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0160040462@41.160.32.115:5060) Running State Change CS_NEW (Cur 3 Tot 118040)
  6368. 2022-07-26 07:27:25.900660 [DEBUG] sofia.c:9873 sofia/default/0160040462@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  6369. 2022-07-26 07:27:25.900660 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  6370. 2022-07-26 07:27:25.900660 [DEBUG] sofia.c:7084 Channel sofia/default/0160040462@41.160.32.115:5060 entering state [received][100]
  6371. 2022-07-26 07:27:25.900660 [DEBUG] sofia.c:7094 Remote SDP:
  6372. v=0
  6373. o=HuaweiSoftX3000 121247195900325 121247195900325 IN IP4 41.160.32.115
  6374. s=-
  6375. c=IN IP4 41.160.32.115
  6376. t=0 0
  6377. m=audio 20614 RTP/AVP 8 0 18 4 2 98 99 97
  6378. a=rtpmap:8 PCMA/8000
  6379. a=rtpmap:0 PCMU/8000
  6380. a=rtpmap:18 G729/8000
  6381. a=fmtp:18 annexb=yes
  6382. a=rtpmap:4 G723/8000
  6383. a=rtpmap:2 G726-32/8000
  6384. a=rtpmap:98 G726-40/8000
  6385. a=rtpmap:99 G726-32/8000
  6386. a=rtpmap:97 telephone-event/8000
  6387. a=fmtp:97 0-15
  6388. a=ptime:20
  6389.  
  6390. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  6391. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  6392. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  6393. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  6394. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  6395. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  6396. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  6397. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  6398. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  6399. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  6400. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  6401. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  6402. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  6403. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  6404. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  6405. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  6406. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:60:8000:1]
  6407. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  6408. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  6409. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  6410. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[G729:18:8000:60:8000:1]
  6411. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[G729:18:8000:20:8000:1]
  6412. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  6413. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  6414. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[G729:18:8000:60:8000:1]
  6415. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[G729:18:8000:20:8000:1]
  6416. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  6417. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  6418. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[G729:18:8000:60:8000:1]
  6419. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[G729:18:8000:20:8000:1]
  6420. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  6421. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  6422. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 97@8000
  6423. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0160040462@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  6424. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_codec.c:111 sofia/default/0160040462@41.160.32.115:5060 Original read codec set to PCMA:8
  6425. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 97@8000
  6426. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4767 sofia/default/0160040462@41.160.32.115:5060 Set 2833 dtmf send payload to 97 recv payload to 97
  6427. 2022-07-26 07:27:25.900660 [DEBUG] sofia.c:7507 (sofia/default/0160040462@41.160.32.115:5060) State Change CS_NEW -> CS_INIT
  6428. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0160040462@41.160.32.115:5060) State NEW
  6429. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0160040462@41.160.32.115:5060) Running State Change CS_INIT (Cur 3 Tot 118040)
  6430. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0160040462@41.160.32.115:5060) State INIT
  6431. 2022-07-26 07:27:25.900660 [DEBUG] mod_sofia.c:90 sofia/default/0160040462@41.160.32.115:5060 SOFIA INIT
  6432. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:40 sofia/default/0160040462@41.160.32.115:5060 Standard INIT
  6433. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0160040462@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING
  6434. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0160040462@41.160.32.115:5060) State INIT going to sleep
  6435. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0160040462@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 3 Tot 118040)
  6436. 2022-07-26 07:27:25.900660 [DEBUG] switch_channel.c:2249 (sofia/default/0160040462@41.160.32.115:5060) Callstate Change DOWN -> RINGING
  6437. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0160040462@41.160.32.115:5060) State ROUTING
  6438. 2022-07-26 07:27:25.900660 [DEBUG] mod_sofia.c:143 sofia/default/0160040462@41.160.32.115:5060 SOFIA ROUTING
  6439. 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:236 sofia/default/0160040462@41.160.32.115:5060 Standard ROUTING
  6440. 2022-07-26 07:27:25.900660 [INFO] mod_dialplan_xml.c:637 Processing 0160040462 <0160040462>->D9570114067300 in context default
  6441. 2022-07-26 07:27:25.971314 [NOTICE] switch_channel.c:1104 New Channel sofia/default/1000@wowtailssalon.nebular.co.za:5060 [65ca1b82-0cb4-11ed-bcd0-d3f1ef10c389]
  6442. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) Running State Change CS_NEW (Cur 4 Tot 118041)
  6443. 2022-07-26 07:27:25.971314 [DEBUG] sofia.c:9873 sofia/default/1000@wowtailssalon.nebular.co.za:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  6444. 2022-07-26 07:27:25.971314 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  6445. 2022-07-26 07:27:25.971314 [DEBUG] sofia.c:7084 Channel sofia/default/1000@wowtailssalon.nebular.co.za:5060 entering state [received][100]
  6446. 2022-07-26 07:27:25.971314 [DEBUG] sofia.c:7094 Remote SDP:
  6447. v=0
  6448. o=- 20006 20006 IN IP4 102.219.180.66
  6449. s=SDP data
  6450. c=IN IP4 102.219.180.66
  6451. t=0 0
  6452. m=audio 12542 RTP/AVP 18 0 8 9 101
  6453. a=rtpmap:18 G729/8000
  6454. a=fmtp:18 annexb=no
  6455. a=rtpmap:0 PCMU/8000
  6456. a=rtpmap:8 PCMA/8000
  6457. a=rtpmap:9 G722/8000
  6458. a=rtpmap:101 telephone-event/8000
  6459. a=fmtp:101 0-15
  6460. a=ptime:20
  6461.  
  6462. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  6463. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  6464. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  6465. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  6466. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  6467. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  6468. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  6469. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  6470. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  6471. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  6472. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  6473. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  6474. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  6475. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  6476. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  6477. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  6478. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  6479. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  6480. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  6481. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  6482. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  6483. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/1000@wowtailssalon.nebular.co.za:5060 G729/8000 20 ms 160 samples 8000 bits 1 channels
  6484. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_codec.c:111 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Original read codec set to G729:18
  6485. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  6486. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4767 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  6487. 2022-07-26 07:27:25.971314 [DEBUG] sofia.c:7507 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State Change CS_NEW -> CS_INIT
  6488. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:603 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State NEW
  6489. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) Running State Change CS_INIT (Cur 4 Tot 118041)
  6490. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:627 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State INIT
  6491. 2022-07-26 07:27:25.971314 [DEBUG] mod_sofia.c:90 sofia/default/1000@wowtailssalon.nebular.co.za:5060 SOFIA INIT
  6492. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:40 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Standard INIT
  6493. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State Change CS_INIT -> CS_ROUTING
  6494. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:627 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State INIT going to sleep
  6495. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) Running State Change CS_ROUTING (Cur 4 Tot 118041)
  6496. 2022-07-26 07:27:25.971314 [DEBUG] switch_channel.c:2249 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) Callstate Change DOWN -> RINGING
  6497. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:643 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State ROUTING
  6498. 2022-07-26 07:27:25.971314 [DEBUG] mod_sofia.c:143 sofia/default/1000@wowtailssalon.nebular.co.za:5060 SOFIA ROUTING
  6499. 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:236 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Standard ROUTING
  6500. 2022-07-26 07:27:25.971314 [INFO] mod_dialplan_xml.c:637 Processing WowTailsSalon | 1000 <1000>->0788049704 in context default
  6501. 2022-07-26 07:27:25.971314 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ea42362f0 Connected.
  6502. 2022-07-26 07:27:25.971314 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  6503. 2022-07-26 07:27:26.020799 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  6504. 2022-07-26 07:27:26.052576 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ec81d1530 Connected.
  6505. 2022-07-26 07:27:26.052576 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  6506. 2022-07-26 07:27:26.073653 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  6507. 2022-07-26 07:27:26.073653 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570114067300
  6508. 2022-07-26 07:27:26.073653 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570114067300' limit 1
  6509. 2022-07-26 07:27:26.111066 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570114067300' AND status=0 limit 1
  6510. 2022-07-26 07:27:26.127243 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  6511. 2022-07-26 07:27:26.135403 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570114067300' and status=0 LIMIT 1
  6512. 2022-07-26 07:27:26.181209 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  6513. 2022-07-26 07:27:26.181209 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 0160040462 / <null>
  6514. 2022-07-26 07:27:26.181209 [DEBUG] switch_cpp.cpp:1365 [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 ="D9570114067300" LIMIT 1
  6515. 2022-07-26 07:27:26.181209 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  6516. 2022-07-26 07:27:26.181209 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0788049704
  6517. 2022-07-26 07:27:26.181209 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0788049704' limit 1
  6518. 2022-07-26 07:27:26.213188 [DEBUG] switch_cpp.cpp:1365 [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="D9570114067300"  AND domains.domain="156.38.231.106" limit 1
  6519. 2022-07-26 07:27:26.232107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0788049704' AND status=0 limit 1
  6520. 2022-07-26 07:27:26.261479 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  6521. 2022-07-26 07:27:26.261479 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894]
  6522. 2022-07-26 07:27:26.261479 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  6523. 2022-07-26 07:27:26.286274 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0788049704' and status=0 LIMIT 1
  6524. 2022-07-26 07:27:26.301391 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570114067300.*' OR blocked_patterns = '^D957011406730.*' OR blocked_patterns = '^D95701140673.*' OR blocked_patterns = '^D9570114067.*' OR blocked_patterns = '^D957011406.*' OR blocked_patterns = '^D95701140.*' OR blocked_patterns = '^D9570114.*' OR blocked_patterns = '^D957011.*' OR blocked_patterns = '^D95701.*' OR blocked_patterns = '^D9570.*' OR blocked_patterns = '^D957.*' OR blocked_patterns = '^D95.*' OR blocked_patterns = '^D9.*' OR blocked_patterns = '^D.*' OR blocked_patterns ='--') AND accountid = 3 limit 1
  6525. 2022-07-26 07:27:26.321168 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  6526. 2022-07-26 07:27:26.321168 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : WowTailsSalon / 0103130040
  6527. 2022-07-26 07:27:26.321168 [DEBUG] switch_cpp.cpp:1365 [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 ="0788049704" LIMIT 1
  6528. 2022-07-26 07:27:26.344857 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570114067300" AND (accountid = 0 OR status = 1) LIMIT 1
  6529. 2022-07-26 07:27:26.383323 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  6530. 2022-07-26 07:27:26.383323 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1
  6531. 2022-07-26 07:27:26.383323 [DEBUG] switch_cpp.cpp:1365 [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="0788049704"  AND domains.domain="wowtailssalon.nebular.co.za" limit 1
  6532. 2022-07-26 07:27:26.421110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570114067300
  6533. 2022-07-26 07:27:26.421110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570114067300
  6534. 2022-07-26 07:27:26.421110 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570114067300
  6535. 2022-07-26 07:27:26.421110 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0114067300
  6536. 2022-07-26 07:27:26.421110 [DEBUG] switch_cpp.cpp:1365 [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 = '^0114067300.*' OR patterns = '^011406730.*' OR patterns = '^01140673.*' OR patterns = '^0114067.*' OR patterns = '^011406.*' OR patterns = '^01140.*' OR patterns = '^0114.*' OR patterns = '^011.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC
  6537. 2022-07-26 07:27:26.431972 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  6538. 2022-07-26 07:27:26.431972 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 200456]
  6539. 2022-07-26 07:27:26.431972 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "200456" AND deleted = 0 limit 1
  6540. 2022-07-26 07:27:26.444046 [DEBUG] switch_cpp.cpp:1365 [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 ="0114067300" AND A.accountid = '3' limit 1
  6541. 2022-07-26 07:27:26.487325 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0788049704.*' OR blocked_patterns = '^078804970.*' OR blocked_patterns = '^07880497.*' OR blocked_patterns = '^0788049.*' OR blocked_patterns = '^078804.*' OR blocked_patterns = '^07880.*' OR blocked_patterns = '^0788.*' OR blocked_patterns = '^078.*' OR blocked_patterns = '^07.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 95 limit 1
  6542. 2022-07-26 07:27:26.498008 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0114067300
  6543. 2022-07-26 07:27:26.498008 [DEBUG] switch_cpp.cpp:1365 [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 ="0114067300" LIMIT 1
  6544. 2022-07-26 07:27:26.535748 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound
  6545. 2022-07-26 07:27:26.535748 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0114067300' OR number = '011406730' OR number = '01140673' OR number = '0114067' OR number = '011406' OR number = '01140' OR number = '0114' OR number = '011' OR number = '01' OR number = '0' OR number ='--') OR (number = '0114067300*' OR number = '011406730*' OR number = '01140673*' OR number = '0114067*' OR number = '011406*' OR number = '01140*' OR number = '0114*' OR number = '011*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  6546. 2022-07-26 07:27:26.544081 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0788049704" AND (accountid = 0 OR status = 1) LIMIT 1
  6547. 2022-07-26 07:27:26.576099 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  6548. 2022-07-26 07:27:26.576099 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0114067300' OR routing_prefix = '011406730' OR routing_prefix = '01140673' OR routing_prefix = '0114067' OR routing_prefix = '011406' OR routing_prefix = '01140' OR routing_prefix = '0114' OR routing_prefix = '011' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  6549. 2022-07-26 07:27:26.595135 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3
  6550. 2022-07-26 07:27:26.595135 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1
  6551. 2022-07-26 07:27:26.640793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0788049704
  6552. 2022-07-26 07:27:26.640793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0788049704
  6553. 2022-07-26 07:27:26.640793 [DEBUG] switch_cpp.cpp:1365 [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 = '^0788049704.*' OR patterns = '^078804970.*' OR patterns = '^07880497.*' OR patterns = '^0788049.*' OR patterns = '^078804.*' OR patterns = '^07880.*' OR patterns = '^0788.*' OR patterns = '^078.*' OR patterns = '^07.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 95 ORDER BY LENGTH(PKGPTR.patterns) DESC
  6554. 2022-07-26 07:27:26.654024 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  6555. 2022-07-26 07:27:26.654024 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 3
  6556. 2022-07-26 07:27:26.654024 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 3673942894
  6557. 2022-07-26 07:27:26.654024 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  6558. 2022-07-26 07:27:26.654024 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  6559. 2022-07-26 07:27:26.654024 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 15
  6560. 2022-07-26 07:27:26.654024 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  6561. 2022-07-26 07:27:26.654024 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  6562. 2022-07-26 07:27:26.654024 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 15 AND status = 0
  6563. 2022-07-26 07:27:26.675485 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  6564. 2022-07-26 07:27:26.675485 [DEBUG] switch_cpp.cpp:1365 [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 ="0114067300" LIMIT 1
  6565. 2022-07-26 07:27:26.694299 [DEBUG] switch_cpp.cpp:1365 [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 ="0788049704" AND A.accountid = '95' limit 1
  6566. 2022-07-26 07:27:26.721520 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  6567. 2022-07-26 07:27:26.721520 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  6568. 2022-07-26 07:27:26.721520 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 4657
  6569. 2022-07-26 07:27:26.721520 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  6570. 2022-07-26 07:27:26.721520 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  6571. 2022-07-26 07:27:26.721520 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  6572. 2022-07-26 07:27:26.721520 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0114067300
  6573. 2022-07-26 07:27:26.721520 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  6574. 2022-07-26 07:27:26.721520 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 3
  6575. 2022-07-26 07:27:26.721520 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  6576. 2022-07-26 07:27:26.721520 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
  6577. 2022-07-26 07:27:26.721520 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  6578. 2022-07-26 07:27:26.721520 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  6579. 2022-07-26 07:27:26.721520 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  6580. 2022-07-26 07:27:26.721520 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  6581. 2022-07-26 07:27:26.721520 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 3 AND status=0 LIMIT 1
  6582. 2022-07-26 07:27:26.745117 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0788049704
  6583. 2022-07-26 07:27:26.745117 [DEBUG] switch_cpp.cpp:1365 [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 ="0788049704" LIMIT 1
  6584. 2022-07-26 07:27:26.761144 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++19
  6585. 2022-07-26 07:27:26.761144 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "19" AND deleted = 0 limit 1
  6586. 2022-07-26 07:27:26.804559 [DEBUG] switch_cpp.cpp:1365 [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="0788049704"  AND domains.domain="wowtailssalon.nebular.co.za" limit 1
  6587. 2022-07-26 07:27:26.804559 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  6588. 2022-07-26 07:27:26.804559 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:3
  6589. 2022-07-26 07:27:26.804559 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  6590. 2022-07-26 07:27:26.804559 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 19 limit 1
  6591. 2022-07-26 07:27:26.843749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : outbound
  6592. 2022-07-26 07:27:26.843749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0788049704' OR number = '078804970' OR number = '07880497' OR number = '0788049' OR number = '078804' OR number = '07880' OR number = '0788' OR number = '078' OR number = '07' OR number = '0' OR number ='--') OR (number = '0788049704*' OR number = '078804970*' OR number = '07880497*' OR number = '0788049*' OR number = '078804*' OR number = '07880*' OR number = '0788*' OR number = '078*' OR number = '07*' OR number = '0*' OR number ='--') OR (number = '0103130040' OR number = '010313004' OR number = '01031300' OR number = '0103130' OR number = '010313' OR number = '01031' OR number = '0103' OR number = '010' OR number = '01' OR number = '0' OR number ='--') OR (number = '0103130040*' OR number = '010313004*' OR number = '01031300*' OR number = '0103130*' OR number = '010313*' OR number = '01031*' OR number = '0103*' OR number = '010*' OR number = '01*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  6593. 2022-07-26 07:27:26.843749 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : joshco.nebular.co.za
  6594. 2022-07-26 07:27:26.843749 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  6595. 2022-07-26 07:27:26.843749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  6596. 2022-07-26 07:27:26.885552 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  6597. 2022-07-26 07:27:26.885552 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound
  6598. 2022-07-26 07:27:26.885552 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0160040462
  6599. 2022-07-26 07:27:26.885552 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0160040462
  6600. 2022-07-26 07:27:26.885552 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27160040462
  6601. 2022-07-26 07:27:26.885552 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....<null>
  6602. 2022-07-26 07:27:26.885552 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 19 limit 1
  6603. 2022-07-26 07:27:26.901486 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  6604. 2022-07-26 07:27:26.901486 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0788049704' OR routing_prefix = '078804970' OR routing_prefix = '07880497' OR routing_prefix = '0788049' OR routing_prefix = '078804' OR routing_prefix = '07880' OR routing_prefix = '0788' OR routing_prefix = '078' OR routing_prefix = '07' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1
  6605. 2022-07-26 07:27:26.922910 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : joshco.nebular.co.za
  6606. 2022-07-26 07:27:26.922910 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
  6607. 2022-07-26 07:27:26.922910 [DEBUG] switch_cpp.cpp:1365 [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="297534"  AND domains.domain="joshco.nebular.co.za" limit 1
  6608. 2022-07-26 07:27:26.955049 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Get Destination Number (0788049704)!!!!
  6609. 2022-07-26 07:27:26.955049 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Ported Number :27788049704
  6610. 2022-07-26 07:27:26.955049 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27788049704' limit 1
  6611. 2022-07-26 07:27:26.955049 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 165 limit 1
  6612. 2022-07-26 07:27:26.992785 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  6613. 2022-07-26 07:27:27.022285 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (0788049704)!!!!
  6614. 2022-07-26 07:27:27.033193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  6615. 2022-07-26 07:27:27.065515 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  6616. 2022-07-26 07:27:27.065515 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 95
  6617. 2022-07-26 07:27:27.065515 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 200456
  6618. 2022-07-26 07:27:27.065515 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 83.65
  6619. 2022-07-26 07:27:27.065515 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  6620. 2022-07-26 07:27:27.065515 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 81
  6621. 2022-07-26 07:27:27.065515 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  6622. 2022-07-26 07:27:27.065515 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  6623. 2022-07-26 07:27:27.065515 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforejoshco.nebular.co.za
  6624. 2022-07-26 07:27:27.065515 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str
  6625. 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START:
  6626. 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/
  6627. 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....WowTailsSalon
  6628. 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....WowTailsSalon
  6629. 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....0103130040
  6630. 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='297534' and uuid = '65bff0c6-0cb4-11ed-bcce-d3f1ef10c389' order by id desc limit 1
  6631. 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....0103130040
  6632. 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....WowTailsSalon
  6633. 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....WowTailsSalon
  6634. 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....0103130040
  6635. 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....0103130040
  6636. 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0
  6637. 2022-07-26 07:27:27.111430 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='297534' order by id desc limit 1
  6638. 2022-07-26 07:27:27.111430 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  6639. 2022-07-26 07:27:27.111430 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0
  6640. 2022-07-26 07:27:27.151244 [DEBUG] switch_cpp.cpp:1365 [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="297534"  AND domains.domain="joshco.nebular.co.za" limit 1
  6641. 2022-07-26 07:27:27.163415 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0788049704.*' OR pattern = '^078804970.*' OR pattern = '^07880497.*' OR pattern = '^0788049.*' OR pattern = '^078804.*' OR pattern = '^07880.*' OR pattern = '^0788.*' OR pattern = '^078.*' OR pattern = '^07.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 81 OR accountid=95)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  6642. 2022-07-26 07:27:27.184492 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 165 limit 1
  6643. 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : outbound
  6644. 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  6645. 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1802529
  6646. 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  6647. 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  6648. 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.49000
  6649. 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D083-MTN
  6650. 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  6651. 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 95
  6652. 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  6653. 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  6654. 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  6655. 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your83.65 balance Accountid 95 !!!
  6656. 2022-07-26 07:27:27.195076 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  6657. 2022-07-26 07:27:27.195076 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 5
  6658. 2022-07-26 07:27:27.195076 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  6659. 2022-07-26 07:27:27.231615 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  6660. <document type="freeswitch/xml">
  6661. <section name="dialplan" description="ASTPP Dialplan">
  6662. <context name="default">
  6663. <extension name="0114067300">
  6664. <condition field="destination_number" expression="D9570114067300">
  6665. <action application="set" data="effective_destination_number=0114067300"/>
  6666. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  6667. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  6668. <action application="set" data="callstart=2022-07-26 07:27:26"/>
  6669. <action application="set" data="hangup_after_bridge=true"/>
  6670. <action application="set" data="continue_on_fail=TRUE"/>
  6671. <action application="set" data="account_id=3"/>
  6672. <action application="set" data="parent_id=0"/>
  6673. <action application="set" data="entity_id=3"/>
  6674. <action application="set" data="call_processed=internal"/>
  6675. <action application="set" data="call_direction=inbound"/>
  6676. <action application="set" data="accountname=default"/>
  6677. <action application="set" data="filename1=astpp.pbx.lua"/>
  6678. <action application="set" data="origination_rates_did=ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19"/>
  6679. <action application="set" data="origination_rates=0"/>
  6680. <action application="set" data="original_caller_id_name=0160040462"/>
  6681. <action application="set" data="effective_caller_id_name=27160040462"/>
  6682. <action application="set" data="receiver_accid=19"/>
  6683. <action application="export" data="domain_name=joshco.nebular.co.za"/>
  6684. <action application="export" data="sip_to_host=joshco.nebular.co.za"/>
  6685. <action application="export" data="presence_data=x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115"/>
  6686. <action application="export" data="call_type=5"/>
  6687. <action application="set" data="calltype=SIP-DID"/>
  6688. <action application="db" data="insert/pickup_any_group_${callgroup}/297534/${uuid}"/>
  6689. <action application="set" data="dialed_extension=transfer_call"/>
  6690. <action application="export" data="dialed_extension=transfer_call"/>
  6691. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  6692. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  6693. <action application="set" data="hangup_after_bridge=true"/>
  6694. <action application="export" data="did_user_domain=joshco.nebular.co.za"/>
  6695. <action application="sleep" data="1000"/>
  6696. <action application="ring_ready"/>
  6697. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/297534@joshco.nebular.co.za^0114067300"/>
  6698. <action application="set" data="on_busy_flag=1"/>
  6699. <action application="set" data="on_busy_destination="/>
  6700. <action application="set" data="no_answer_flag=1"/>
  6701. <action application="set" data="no_answer_destination="/>
  6702. <action application="set" data="not_register_flag=1"/>
  6703. <action application="set" data="not_register_destination="/>
  6704. <action application="set" data="opensips_flag=0"/>
  6705. <action application="set" data="variable_sip_to_host=joshco.nebular.co.za"/>
  6706. <action application="set" data="opensips_domain=156.38.231.106"/>
  6707. <action application="set" data="leg_timeout=20"/>
  6708. <action application="set" data="userinfo_id=19"/>
  6709. <action application="set" data="sip_destination_number=297534"/>
  6710. <action application="set" data="destination_number=0114067300"/>
  6711. <action application="set" data="did_number=0114067300"/>
  6712. <action application="set" data="user_domain=joshco.nebular.co.za"/>
  6713. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  6714. <condition field="${cond(${user_data 297534@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  6715. <action application="answer"/>
  6716. <action application="export" data="voicemail_alternate_greet_id=0114067300"/>
  6717. <action application="voicemail" data="default $${domain_name} 297534"/>
  6718. <anti-action application="hangup" data="${originate_disposition}"/>
  6719. </condition>
  6720. </condition>
  6721. </extension>
  6722. </context>
  6723. </document>
  6724. 2022-07-26 07:27:27.231615 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ea42362f0 released.
  6725. Dialplan: sofia/default/0160040462@41.160.32.115:5060 parsing [default->0114067300] continue=false
  6726. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Regex (PASS) [0114067300] destination_number(D9570114067300) =~ /D9570114067300/ break=on-false
  6727. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(effective_destination_number=0114067300)
  6728. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  6729. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  6730. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(callstart=2022-07-26 07:27:26)
  6731. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  6732. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(continue_on_fail=TRUE)
  6733. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(account_id=3)
  6734. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(parent_id=0)
  6735. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(entity_id=3)
  6736. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(call_processed=internal)
  6737. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(call_direction=inbound)
  6738. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(accountname=default)
  6739. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua)
  6740. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(origination_rates_did=ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19)
  6741. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(origination_rates=0)
  6742. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(original_caller_id_name=0160040462)
  6743. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(effective_caller_id_name=27160040462)
  6744. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(receiver_accid=19)
  6745. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action export(domain_name=joshco.nebular.co.za)
  6746. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action export(sip_to_host=joshco.nebular.co.za)
  6747. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115)
  6748. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action export(call_type=5)
  6749. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(calltype=SIP-DID)
  6750. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/297534/${uuid})
  6751. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(dialed_extension=transfer_call)
  6752. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action export(dialed_extension=transfer_call)
  6753. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  6754. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  6755. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  6756. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action export(did_user_domain=joshco.nebular.co.za)
  6757. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action sleep(1000)
  6758. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action ring_ready()
  6759. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/297534@joshco.nebular.co.za^0114067300)
  6760. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(on_busy_flag=1)
  6761. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(on_busy_destination=)
  6762. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(no_answer_flag=1)
  6763. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(no_answer_destination=)
  6764. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(not_register_flag=1)
  6765. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(not_register_destination=)
  6766. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(opensips_flag=0)
  6767. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(variable_sip_to_host=joshco.nebular.co.za)
  6768. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106)
  6769. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(leg_timeout=20)
  6770. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(userinfo_id=19)
  6771. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(sip_destination_number=297534)
  6772. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(destination_number=0114067300)
  6773. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(did_number=0114067300)
  6774. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(user_domain=joshco.nebular.co.za)
  6775. Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  6776. |--- Dialplan: Processing recursive conditions level:1 [0114067300_recur_1] require-nested=TRUE
  6777. 2022-07-26 07:27:27.231615 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0788049704.*' OR blocked_patterns = '^078804970.*' OR blocked_patterns = '^07880497.*' OR blocked_patterns = '^0788049.*' OR blocked_patterns = '^078804.*' OR blocked_patterns = '^07880.*' OR blocked_patterns = '^0788.*' OR blocked_patterns = '^078.*' OR blocked_patterns = '^07.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 5 limit 1
  6778. 2022-07-26 07:27:27.282516 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information ===================
  6779. 2022-07-26 07:27:27.282516 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 5
  6780. 2022-07-26 07:27:27.282516 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8566036685
  6781. 2022-07-26 07:27:27.282516 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1985.0904
  6782. 2022-07-26 07:27:27.282516 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  6783. 2022-07-26 07:27:27.282516 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83
  6784. 2022-07-26 07:27:27.282516 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  6785. 2022-07-26 07:27:27.321774 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  6786. 2022-07-26 07:27:27.321774 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  6787. |--- Dialplan: sofia/default/0160040462@41.160.32.115:5060 Regex (FAIL) [0114067300_recur_1] ${cond(${user_data 297534@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  6788. |--- Dialplan: sofia/default/0160040462@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition})
  6789. 2022-07-26 07:27:27.364254 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0160040462@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE
  6790. 2022-07-26 07:27:27.364254 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0160040462@41.160.32.115:5060) State ROUTING going to sleep
  6791. 2022-07-26 07:27:27.364254 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0160040462@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 4 Tot 118041)
  6792. 2022-07-26 07:27:27.364254 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0160040462@41.160.32.115:5060) State EXECUTE
  6793. 2022-07-26 07:27:27.364254 [DEBUG] mod_sofia.c:198 sofia/default/0160040462@41.160.32.115:5060 SOFIA EXECUTE
  6794. 2022-07-26 07:27:27.364254 [DEBUG] switch_core_state_machine.c:328 sofia/default/0160040462@41.160.32.115:5060 Standard EXECUTE
  6795. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(effective_destination_number=0114067300)
  6796. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [effective_destination_number]=[0114067300]
  6797. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  6798. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  6799. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  6800. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  6801. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(callstart=2022-07-26 07:27:26)
  6802. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [callstart]=[2022-07-26 07:27:26]
  6803. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(hangup_after_bridge=true)
  6804. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [hangup_after_bridge]=[true]
  6805. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(continue_on_fail=TRUE)
  6806. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [continue_on_fail]=[TRUE]
  6807. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(account_id=3)
  6808. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [account_id]=[3]
  6809. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(parent_id=0)
  6810. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [parent_id]=[0]
  6811. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(entity_id=3)
  6812. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [entity_id]=[3]
  6813. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(call_processed=internal)
  6814. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [call_processed]=[internal]
  6815. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(call_direction=inbound)
  6816. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [call_direction]=[inbound]
  6817. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(accountname=default)
  6818. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [accountname]=[default]
  6819. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(filename1=astpp.pbx.lua)
  6820. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [filename1]=[astpp.pbx.lua]
  6821. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(origination_rates_did=ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19)
  6822. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [origination_rates_did]=[ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19]
  6823. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(origination_rates=0)
  6824. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [origination_rates]=[0]
  6825. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(original_caller_id_name=0160040462)
  6826. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [original_caller_id_name]=[0160040462]
  6827. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(effective_caller_id_name=27160040462)
  6828. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [effective_caller_id_name]=[27160040462]
  6829. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(receiver_accid=19)
  6830. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [receiver_accid]=[19]
  6831. EXECUTE sofia/default/0160040462@41.160.32.115:5060 export(domain_name=joshco.nebular.co.za)
  6832. 2022-07-26 07:27:27.364254 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[joshco.nebular.co.za]
  6833. EXECUTE sofia/default/0160040462@41.160.32.115:5060 export(sip_to_host=joshco.nebular.co.za)
  6834. 2022-07-26 07:27:27.364254 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[joshco.nebular.co.za]
  6835. EXECUTE sofia/default/0160040462@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115)
  6836. 2022-07-26 07:27:27.364254 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115]
  6837. EXECUTE sofia/default/0160040462@41.160.32.115:5060 export(call_type=5)
  6838. 2022-07-26 07:27:27.364254 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5]
  6839. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(calltype=SIP-DID)
  6840. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [calltype]=[SIP-DID]
  6841. EXECUTE sofia/default/0160040462@41.160.32.115:5060 db(insert/pickup_any_group_/297534/65bff0c6-0cb4-11ed-bcce-d3f1ef10c389)
  6842. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(dialed_extension=transfer_call)
  6843. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [dialed_extension]=[transfer_call]
  6844. EXECUTE sofia/default/0160040462@41.160.32.115:5060 export(dialed_extension=transfer_call)
  6845. 2022-07-26 07:27:27.364254 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  6846. EXECUTE sofia/default/0160040462@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  6847. 2022-07-26 07:27:27.364254 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  6848. EXECUTE sofia/default/0160040462@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  6849. 2022-07-26 07:27:27.364254 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  6850. EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(hangup_after_bridge=true)
  6851. 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [hangup_after_bridge]=[true]
  6852. EXECUTE sofia/default/0160040462@41.160.32.115:5060 export(did_user_domain=joshco.nebular.co.za)
  6853. 2022-07-26 07:27:27.364254 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[joshco.nebular.co.za]
  6854. EXECUTE sofia/default/0160040462@41.160.32.115:5060 sleep(1000)
  6855. 2022-07-26 07:27:27.364254 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0788049704.*' OR pattern = '^078804970.*' OR pattern = '^07880497.*' OR pattern = '^0788049.*' OR pattern = '^078804.*' OR pattern = '^07880.*' OR pattern = '^0788.*' OR pattern = '^078.*' OR pattern = '^07.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 83 OR accountid=5)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  6856. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : outbound
  6857. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  6858. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1426365
  6859. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  6860. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  6861. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.29000
  6862. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D083-MTN
  6863. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  6864. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 5
  6865. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  6866. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  6867. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  6868. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1985.0904 balance Accountid 5 !!!
  6869. 2022-07-26 07:27:27.410657 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  6870. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:1802529|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:95||ID:1426365|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5
  6871. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  6872. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1
  6873. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  6874. 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1802529
  6875. 2022-07-26 07:27:27.410657 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :0
  6876. 2022-07-26 07:27:27.410657 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=83 ORDER by id asc
  6877. 2022-07-26 07:27:27.440657 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^0788049704.*' OR pattern = '^078804970.*' OR pattern = '^07880497.*' OR pattern = '^0788049.*' OR pattern = '^078804.*' OR pattern = '^07880.*' OR pattern = '^0788.*' OR pattern = '^078.*' OR pattern = '^07.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5,7) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  6878. 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  6879. 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 183
  6880. 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^0.*
  6881. 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : SA
  6882. 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  6883. 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  6884. 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^0.*
  6885. 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip :
  6886. 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend :
  6887. 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 5
  6888. 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : liquid_primary
  6889. 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  6890. 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  6891. 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3
  6892. 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  6893. 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Liquid
  6894. 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  6895. 2022-07-26 07:27:27.520937 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 95 AND status=0 LIMIT 1
  6896. 2022-07-26 07:27:27.541980 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  6897. 2022-07-26 07:27:27.541980 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  6898. 2022-07-26 07:27:27.594214 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  6899. 2022-07-26 07:27:27.594214 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
  6900. 2022-07-26 07:27:27.594214 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  6901. 2022-07-26 07:27:27.630662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 5) AND status=0 limit 1
  6902. 2022-07-26 07:27:27.670804 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+27/0".....0788049704
  6903. 2022-07-26 07:27:27.670804 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  6904. 2022-07-26 07:27:27.712447 [DEBUG] switch_cpp.cpp:1365 [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 ="0788049704" LIMIT 1
  6905. 2022-07-26 07:27:27.751509 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  6906. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  6907. <document type="freeswitch/xml">
  6908. <section name="dialplan" description="ASTPP Dialplan">
  6909. <context name="default">
  6910. <extension name="0788049704">
  6911. <condition field="destination_number" expression="0788049704">
  6912. <action application="set" data="effective_destination_number=0788049704"/>
  6913. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  6914. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  6915. <action application="set" data="callstart=2022-07-26 07:27:27"/>
  6916. <action application="set" data="hangup_after_bridge=true"/>
  6917. <action application="set" data="continue_on_fail=TRUE"/>
  6918. <action application="set" data="account_id=95"/>
  6919. <action application="set" data="parent_id=5"/>
  6920. <action application="set" data="entity_id=0"/>
  6921. <action application="set" data="call_processed=internal"/>
  6922. <action application="set" data="call_direction=outbound"/>
  6923. <action application="set" data="accountname=default"/>
  6924. <action application="set" data="filename1=astpp.pbx.lua"/>
  6925. <action application="set" data="origination_rates=ID:1802529|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:95||ID:1426365|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5"/>
  6926. <action application="set" data="original_caller_id_name=WowTailsSalon"/>
  6927. <action application="set" data="original_caller_id_number=0103130040"/>
  6928. <action application="limit" data="db 200456 user_200456 5 "/>
  6929. <action application="limit" data="db 8566036685 user_8566036685 20 "/>
  6930. <action application="set" data="effective_caller_id_name=WowTailsSalon"/>
  6931. <action application="set" data="effective_caller_id_number=0103130040"/>
  6932. <action application="set" data="calltype=STANDARD"/>
  6933. <action application="set" data="termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3"/>
  6934. <action application="set" data="trunk_id=5"/>
  6935. <action application="set" data="provider_id=3"/>
  6936. <action application="set" data="rate_flag=0"/>
  6937. <action application="set" data="force_trunk_flag=1802529"/>
  6938. <action application="export" data="presence_data=trunk_id=5"/>
  6939. <action application="set" data="intcall=0"/>
  6940. <action application="export" data="presence_data=x//5|||Wow Tails Salon(200456)|||^078.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^078.* // D083-MTN"/>
  6941. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0788049704;fs_path=sip:156.38.231.106:5060"/>
  6942. </condition>
  6943. </extension>
  6944. </context>
  6945. </document>
  6946. 2022-07-26 07:27:27.751509 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ec81d1530 released.
  6947. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 parsing [default->0788049704] continue=false
  6948. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Regex (PASS) [0788049704] destination_number(0788049704) =~ /0788049704/ break=on-false
  6949. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(effective_destination_number=0788049704)
  6950. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  6951. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  6952. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(callstart=2022-07-26 07:27:27)
  6953. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(hangup_after_bridge=true)
  6954. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(continue_on_fail=TRUE)
  6955. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(account_id=95)
  6956. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(parent_id=5)
  6957. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(entity_id=0)
  6958. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(call_processed=internal)
  6959. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(call_direction=outbound)
  6960. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(accountname=default)
  6961. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(filename1=astpp.pbx.lua)
  6962. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(origination_rates=ID:1802529|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:95||ID:1426365|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5)
  6963. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(original_caller_id_name=WowTailsSalon)
  6964. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(original_caller_id_number=0103130040)
  6965. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action limit(db 200456 user_200456 5 )
  6966. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action limit(db 8566036685 user_8566036685 20 )
  6967. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(effective_caller_id_name=WowTailsSalon)
  6968. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(effective_caller_id_number=0103130040)
  6969. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(calltype=STANDARD)
  6970. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3)
  6971. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(trunk_id=5)
  6972. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(provider_id=3)
  6973. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(rate_flag=0)
  6974. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(force_trunk_flag=1802529)
  6975. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action export(presence_data=trunk_id=5)
  6976. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(intcall=0)
  6977. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action export(presence_data=x//5|||Wow Tails Salon(200456)|||^078.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^078.* // D083-MTN)
  6978. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0788049704;fs_path=sip:156.38.231.106:5060)
  6979. 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:286 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State Change CS_ROUTING -> CS_EXECUTE
  6980. 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:643 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State ROUTING going to sleep
  6981. 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) Running State Change CS_EXECUTE (Cur 4 Tot 118041)
  6982. 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State EXECUTE
  6983. 2022-07-26 07:27:27.751509 [DEBUG] mod_sofia.c:198 sofia/default/1000@wowtailssalon.nebular.co.za:5060 SOFIA EXECUTE
  6984. 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:328 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Standard EXECUTE
  6985. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(effective_destination_number=0788049704)
  6986. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [effective_destination_number]=[0788049704]
  6987. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  6988. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  6989. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  6990. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  6991. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(callstart=2022-07-26 07:27:27)
  6992. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [callstart]=[2022-07-26 07:27:27]
  6993. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(hangup_after_bridge=true)
  6994. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [hangup_after_bridge]=[true]
  6995. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(continue_on_fail=TRUE)
  6996. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [continue_on_fail]=[TRUE]
  6997. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(account_id=95)
  6998. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [account_id]=[95]
  6999. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(parent_id=5)
  7000. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [parent_id]=[5]
  7001. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(entity_id=0)
  7002. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [entity_id]=[0]
  7003. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(call_processed=internal)
  7004. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [call_processed]=[internal]
  7005. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(call_direction=outbound)
  7006. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [call_direction]=[outbound]
  7007. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(accountname=default)
  7008. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [accountname]=[default]
  7009. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(filename1=astpp.pbx.lua)
  7010. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [filename1]=[astpp.pbx.lua]
  7011. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(origination_rates=ID:1802529|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:95||ID:1426365|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5)
  7012. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [origination_rates]=[ID:1802529|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:95||ID:1426365|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5]
  7013. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(original_caller_id_name=WowTailsSalon)
  7014. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [original_caller_id_name]=[WowTailsSalon]
  7015. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(original_caller_id_number=0103130040)
  7016. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [original_caller_id_number]=[0103130040]
  7017. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 limit(db 200456 user_200456 5 )
  7018. 2022-07-26 07:27:27.751509 [DEBUG] switch_limit.c:126 incr called: 200456_user_200456 max:5, interval:0
  7019. 2022-07-26 07:27:27.751509 [DEBUG] mod_db.c:194 Usage for 200456_user_200456 is now 1/5
  7020. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 limit(db 8566036685 user_8566036685 20 )
  7021. 2022-07-26 07:27:27.751509 [DEBUG] switch_limit.c:126 incr called: 8566036685_user_8566036685 max:20, interval:0
  7022. 2022-07-26 07:27:27.751509 [DEBUG] mod_db.c:194 Usage for 8566036685_user_8566036685 is now 2/20
  7023. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(effective_caller_id_name=WowTailsSalon)
  7024. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [effective_caller_id_name]=[WowTailsSalon]
  7025. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(effective_caller_id_number=0103130040)
  7026. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [effective_caller_id_number]=[0103130040]
  7027. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(calltype=STANDARD)
  7028. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [calltype]=[STANDARD]
  7029. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3)
  7030. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [termination_rates]=[ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3]
  7031. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(trunk_id=5)
  7032. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [trunk_id]=[5]
  7033. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(provider_id=3)
  7034. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [provider_id]=[3]
  7035. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(rate_flag=0)
  7036. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [rate_flag]=[0]
  7037. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(force_trunk_flag=1802529)
  7038. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [force_trunk_flag]=[1802529]
  7039. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 export(presence_data=trunk_id=5)
  7040. 2022-07-26 07:27:27.751509 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=5]
  7041. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(intcall=0)
  7042. 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [intcall]=[0]
  7043. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 export(presence_data=x//5|||Wow Tails Salon(200456)|||^078.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^078.* // D083-MTN)
  7044. 2022-07-26 07:27:27.751509 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//5|||Wow Tails Salon(200456)|||^078.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^078.* // D083-MTN]
  7045. EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0788049704;fs_path=sip:156.38.231.106:5060)
  7046. 2022-07-26 07:27:27.751509 [DEBUG] switch_channel.c:1250 sofia/default/1000@wowtailssalon.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//5|||Wow Tails Salon(200456)|||^078.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^078.* // D083-MTN] to event
  7047. 2022-07-26 07:27:27.751509 [DEBUG] switch_channel.c:1250 sofia/default/1000@wowtailssalon.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//5|||Wow Tails Salon(200456)|||^078.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^078.* // D083-MTN] to event
  7048. 2022-07-26 07:27:27.751509 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  7049. 2022-07-26 07:27:27.751509 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  7050. 2022-07-26 07:27:27.751509 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0788049704 [66db1a30-0cb4-11ed-bd14-d3f1ef10c389]
  7051. 2022-07-26 07:27:27.751509 [DEBUG] mod_sofia.c:4819 (sofia/default/0788049704) State Change CS_NEW -> CS_INIT
  7052. 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0788049704) Running State Change CS_INIT (Cur 5 Tot 118042)
  7053. 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0788049704) State INIT
  7054. 2022-07-26 07:27:27.751509 [DEBUG] mod_sofia.c:90 sofia/default/0788049704 SOFIA INIT
  7055. 2022-07-26 07:27:27.751509 [DEBUG] sofia_glue.c:1264 sip:156.38.231.106:5060 Setting proxy route to sofia/default/0788049704
  7056. 2022-07-26 07:27:27.751509 [DEBUG] sofia_glue.c:1295 sofia/default/0788049704 sending invite version: 1.6.20  64bit
  7057. Local SDP:
  7058. v=0
  7059. o=FreeSWITCH 1658797279 1658797280 IN IP4 156.38.231.107
  7060. s=FreeSWITCH
  7061. c=IN IP4 156.38.231.107
  7062. t=0 0
  7063. m=audio 23168 RTP/AVP 18 8 0 101
  7064. a=rtpmap:18 G729/8000
  7065. a=fmtp:18 annexb=no
  7066. a=rtpmap:8 PCMA/8000
  7067. a=rtpmap:0 PCMU/8000
  7068. a=rtpmap:101 telephone-event/8000
  7069. a=fmtp:101 0-16
  7070. a=ptime:20
  7071. a=sendrecv
  7072.  
  7073. 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:40 sofia/default/0788049704 Standard INIT
  7074. 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0788049704) State Change CS_INIT -> CS_ROUTING
  7075. 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0788049704) State INIT going to sleep
  7076. 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0788049704) Running State Change CS_ROUTING (Cur 5 Tot 118042)
  7077. 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0788049704) State ROUTING
  7078. 2022-07-26 07:27:27.751509 [DEBUG] mod_sofia.c:143 sofia/default/0788049704 SOFIA ROUTING
  7079. 2022-07-26 07:27:27.751509 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0788049704) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  7080. 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0788049704) State ROUTING going to sleep
  7081. 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0788049704) Running State Change CS_CONSUME_MEDIA (Cur 5 Tot 118042)
  7082. 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0788049704) State CONSUME_MEDIA
  7083. 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0788049704) State CONSUME_MEDIA going to sleep
  7084. 2022-07-26 07:27:27.772184 [DEBUG] sofia.c:7084 Channel sofia/default/0788049704 entering state [calling][0]
  7085. EXECUTE sofia/default/0160040462@41.160.32.115:5060 ring_ready()
  7086. 2022-07-26 07:27:28.410673 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/0160040462@41.160.32.115:5060!
  7087. 2022-07-26 07:27:28.410673 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/0160040462@41.160.32.115:5060!
  7088. EXECUTE sofia/default/0160040462@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/297534@joshco.nebular.co.za^0114067300)
  7089. 2022-07-26 07:27:28.410673 [DEBUG] switch_channel.c:1250 sofia/default/0160040462@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[joshco.nebular.co.za] to event
  7090. 2022-07-26 07:27:28.410673 [DEBUG] switch_channel.c:1250 sofia/default/0160040462@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[joshco.nebular.co.za] to event
  7091. 2022-07-26 07:27:28.410673 [DEBUG] switch_channel.c:1250 sofia/default/0160040462@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115] to event
  7092. 2022-07-26 07:27:28.410673 [DEBUG] switch_channel.c:1250 sofia/default/0160040462@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event
  7093. 2022-07-26 07:27:28.410673 [DEBUG] switch_channel.c:1250 sofia/default/0160040462@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  7094. 2022-07-26 07:27:28.410673 [DEBUG] switch_channel.c:1250 sofia/default/0160040462@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[joshco.nebular.co.za] to event
  7095. 2022-07-26 07:27:28.410673 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  7096. 2022-07-26 07:27:28.410673 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  7097. 2022-07-26 07:27:28.410673 [NOTICE] switch_channel.c:1104 New Channel sofia/default/297534@joshco.nebular.co.za [673e3ffc-0cb4-11ed-bd1d-d3f1ef10c389]
  7098. 2022-07-26 07:27:28.410673 [DEBUG] mod_sofia.c:4819 (sofia/default/297534@joshco.nebular.co.za) State Change CS_NEW -> CS_INIT
  7099. 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_INIT (Cur 6 Tot 118043)
  7100. 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/297534@joshco.nebular.co.za) State INIT
  7101. 2022-07-26 07:27:28.410673 [DEBUG] mod_sofia.c:90 sofia/default/297534@joshco.nebular.co.za SOFIA INIT
  7102. 2022-07-26 07:27:28.410673 [DEBUG] sofia_glue.c:1295 sofia/default/297534@joshco.nebular.co.za sending invite version: 1.6.20  64bit
  7103. Local SDP:
  7104. v=0
  7105. o=FreeSWITCH 1658788184 1658788185 IN IP4 156.38.231.107
  7106. s=FreeSWITCH
  7107. c=IN IP4 156.38.231.107
  7108. t=0 0
  7109. m=audio 32264 RTP/AVP 8 101
  7110. a=rtpmap:8 PCMA/8000
  7111. a=rtpmap:101 telephone-event/8000
  7112. a=fmtp:101 0-16
  7113. a=ptime:20
  7114. a=sendrecv
  7115.  
  7116. 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:40 sofia/default/297534@joshco.nebular.co.za Standard INIT
  7117. 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:48 (sofia/default/297534@joshco.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  7118. 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/297534@joshco.nebular.co.za) State INIT going to sleep
  7119. 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_ROUTING (Cur 6 Tot 118043)
  7120. 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:643 (sofia/default/297534@joshco.nebular.co.za) State ROUTING
  7121. 2022-07-26 07:27:28.410673 [DEBUG] mod_sofia.c:143 sofia/default/297534@joshco.nebular.co.za SOFIA ROUTING
  7122. 2022-07-26 07:27:28.410673 [DEBUG] switch_ivr_originate.c:67 (sofia/default/297534@joshco.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  7123. 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:643 (sofia/default/297534@joshco.nebular.co.za) State ROUTING going to sleep
  7124. 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 6 Tot 118043)
  7125. 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:662 (sofia/default/297534@joshco.nebular.co.za) State CONSUME_MEDIA
  7126. 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:662 (sofia/default/297534@joshco.nebular.co.za) State CONSUME_MEDIA going to sleep
  7127. 2022-07-26 07:27:28.422552 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [calling][0]
  7128. 2022-07-26 07:27:28.422552 [DEBUG] sofia.c:7084 Channel sofia/default/0160040462@41.160.32.115:5060 entering state [early][180]
  7129. 2022-07-26 07:27:28.624797 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [proceeding][180]
  7130. 2022-07-26 07:27:28.624797 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/297534@joshco.nebular.co.za!
  7131. 2022-07-26 07:27:28.624797 [DEBUG] switch_channel.c:3346 (sofia/default/297534@joshco.nebular.co.za) Callstate Change DOWN -> RINGING
  7132. 2022-07-26 07:27:28.624797 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [completing][200]
  7133. 2022-07-26 07:27:28.624797 [DEBUG] sofia.c:7094 Remote SDP:
  7134. v=0
  7135. o=3cxPS 2812279926030336 20164510392254465 IN IP4 156.38.249.181
  7136. s=3cxPS Audio call
  7137. c=IN IP4 156.38.249.181
  7138. t=0 0
  7139. m=audio 9840 RTP/AVP 8 101
  7140. a=rtpmap:8 PCMA/8000
  7141. a=rtpmap:101 telephone-event/8000
  7142.  
  7143. 2022-07-26 07:27:28.624797 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [ready][200]
  7144. 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  7145. 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  7146. 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  7147. 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/297534@joshco.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  7148. 2022-07-26 07:27:28.624797 [DEBUG] switch_core_codec.c:111 sofia/default/297534@joshco.nebular.co.za Original read codec set to PCMA:8
  7149. 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  7150. 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:4767 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  7151. 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/297534@joshco.nebular.co.za] 156.38.231.107 port 32264 -> 156.38.249.181 port 9840 codec: 8 ms: 20
  7152. 2022-07-26 07:27:28.624797 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  7153. 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:7180 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf send payload to 101
  7154. 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:7187 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf receive payload to 101
  7155. 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:7210 sofia/default/297534@joshco.nebular.co.za Set rtp dtmf delay to 40
  7156. 2022-07-26 07:27:28.624797 [NOTICE] sofia.c:8218 Channel [sofia/default/297534@joshco.nebular.co.za] has been answered
  7157. 2022-07-26 07:27:28.624797 [DEBUG] switch_channel.c:3773 (sofia/default/297534@joshco.nebular.co.za) Callstate Change RINGING -> ACTIVE
  7158. 2022-07-26 07:27:28.624797 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/0160040462@41.160.32.115:5060!
  7159. 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0160040462@41.160.32.115:5060] 156.38.231.107 port 23920 -> 41.160.32.115 port 20614 codec: 8 ms: 20
  7160. 2022-07-26 07:27:28.624797 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  7161. 2022-07-26 07:27:28.647700 [DEBUG] switch_core_media.c:7180 sofia/default/0160040462@41.160.32.115:5060 Set 2833 dtmf send payload to 97
  7162. 2022-07-26 07:27:28.647700 [DEBUG] switch_core_media.c:7187 sofia/default/0160040462@41.160.32.115:5060 Set 2833 dtmf receive payload to 97
  7163. 2022-07-26 07:27:28.647700 [DEBUG] switch_core_media.c:7210 sofia/default/0160040462@41.160.32.115:5060 Set rtp dtmf delay to 40
  7164. 2022-07-26 07:27:28.647700 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0160040462@41.160.32.115:5060:
  7165. v=0
  7166. o=FreeSWITCH 1658796528 1658796529 IN IP4 156.38.231.107
  7167. s=FreeSWITCH
  7168. c=IN IP4 156.38.231.107
  7169. t=0 0
  7170. m=audio 23920 RTP/AVP 8 97
  7171. a=rtpmap:8 PCMA/8000
  7172. a=rtpmap:97 telephone-event/8000
  7173. a=fmtp:97 0-16
  7174. a=ptime:20
  7175. a=sendrecv
  7176.  
  7177. 2022-07-26 07:27:28.647700 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/0160040462@41.160.32.115:5060] has been answered
  7178. 2022-07-26 07:27:28.647700 [DEBUG] switch_channel.c:3773 (sofia/default/0160040462@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE
  7179. 2022-07-26 07:27:28.647700 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/297534@joshco.nebular.co.za]
  7180. 2022-07-26 07:27:28.647700 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/297534@joshco.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  7181. 2022-07-26 07:27:28.647700 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 6 Tot 118043)
  7182. 2022-07-26 07:27:28.647700 [DEBUG] switch_core_state_machine.c:653 (sofia/default/297534@joshco.nebular.co.za) State EXCHANGE_MEDIA
  7183. 2022-07-26 07:27:28.647700 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  7184. 2022-07-26 07:27:28.652719 [DEBUG] sofia.c:7084 Channel sofia/default/0160040462@41.160.32.115:5060 entering state [completed][200]
  7185. 2022-07-26 07:27:28.830681 [DEBUG] switch_ivr_bridge.c:546 sofia/default/297534@joshco.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  7186. 2022-07-26 07:27:28.850670 [DEBUG] switch_ivr.c:623 sofia/default/297534@joshco.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing)
  7187. EXECUTE sofia/default/297534@joshco.nebular.co.za sched_hangup(+6000 normal_clearing)
  7188. 2022-07-26 07:27:28.850670 [DEBUG] switch_scheduler.c:249 Added task 47240 switch_ivr_schedule_hangup (673e3ffc-0cb4-11ed-bd1d-d3f1ef10c389) to run at 1658826448
  7189. 2022-07-26 07:27:28.900685 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.249.181:9840 to 156.38.231.105:9840
  7190. 2022-07-26 07:27:28.924494 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  7191. 2022-07-26 07:27:28.980659 [DEBUG] sofia.c:7084 Channel sofia/default/0160040462@41.160.32.115:5060 entering state [ready][200]
  7192. 2022-07-26 07:27:31.000660 [DEBUG] sofia.c:7084 Channel sofia/default/0788049704 entering state [proceeding][183]
  7193. 2022-07-26 07:27:31.000660 [DEBUG] sofia.c:7094 Remote SDP:
  7194. v=0
  7195. o=HuaweiSoftX3000 12451379330453 12451379330453 IN IP4 41.160.32.115
  7196. s=-
  7197. c=IN IP4 41.160.32.115
  7198. t=0 0
  7199. m=audio 20616 RTP/AVP 8 101
  7200. a=rtpmap:8 PCMA/8000
  7201. a=rtpmap:101 telephone-event/8000
  7202. a=fmtp:101 0-15
  7203. a=ptime:20
  7204.  
  7205. 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  7206. 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  7207. 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  7208. 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  7209. 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  7210. 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0788049704 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  7211. 2022-07-26 07:27:31.000660 [DEBUG] switch_core_codec.c:111 sofia/default/0788049704 Original read codec set to PCMA:8
  7212. 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  7213. 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:4767 sofia/default/0788049704 Set 2833 dtmf send payload to 101 recv payload to 101
  7214. 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0788049704] 156.38.231.107 port 23168 -> 41.160.32.115 port 20616 codec: 8 ms: 20
  7215. 2022-07-26 07:27:31.000660 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  7216. 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:7180 sofia/default/0788049704 Set 2833 dtmf send payload to 101
  7217. 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:7187 sofia/default/0788049704 Set 2833 dtmf receive payload to 101
  7218. 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:7210 sofia/default/0788049704 Set rtp dtmf delay to 40
  7219. 2022-07-26 07:27:31.000660 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0788049704!
  7220. 2022-07-26 07:27:31.000660 [DEBUG] switch_channel.c:3474 (sofia/default/0788049704) Callstate Change DOWN -> EARLY
  7221. 2022-07-26 07:27:31.000660 [INFO] switch_ivr_originate.c:3654 Sending early media
  7222. 2022-07-26 07:27:31.010661 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/1000@wowtailssalon.nebular.co.za:5060] 156.38.231.107 port 23288 -> 102.219.180.66 port 12542 codec: 18 ms: 20
  7223. 2022-07-26 07:27:31.010661 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  7224. 2022-07-26 07:27:31.010661 [DEBUG] switch_core_media.c:7180 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Set 2833 dtmf send payload to 101
  7225. 2022-07-26 07:27:31.010661 [DEBUG] switch_core_media.c:7187 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Set 2833 dtmf receive payload to 101
  7226. 2022-07-26 07:27:31.010661 [DEBUG] switch_core_media.c:7210 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Set rtp dtmf delay to 40
  7227. 2022-07-26 07:27:31.010661 [DEBUG] mod_sofia.c:2364 Ring SDP:
  7228. v=0
  7229. o=FreeSWITCH 1658797163 1658797164 IN IP4 156.38.231.107
  7230. s=FreeSWITCH
  7231. c=IN IP4 156.38.231.107
  7232. t=0 0
  7233. m=audio 23288 RTP/AVP 18 101
  7234. a=rtpmap:18 G729/8000
  7235. a=fmtp:18 annexb=no
  7236. a=rtpmap:101 telephone-event/8000
  7237. a=fmtp:101 0-16
  7238. a=ptime:20
  7239. a=sendrecv
  7240.  
  7241. 2022-07-26 07:27:31.010661 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/1000@wowtailssalon.nebular.co.za:5060!
  7242. 2022-07-26 07:27:31.010661 [DEBUG] switch_channel.c:3474 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) Callstate Change RINGING -> EARLY
  7243. 2022-07-26 07:27:31.010661 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0788049704]
  7244. 2022-07-26 07:27:31.010661 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0788049704) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  7245. 2022-07-26 07:27:31.010661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0788049704) Running State Change CS_EXCHANGE_MEDIA (Cur 6 Tot 118043)
  7246. 2022-07-26 07:27:31.010661 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0788049704) State EXCHANGE_MEDIA
  7247. 2022-07-26 07:27:31.010661 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  7248. 2022-07-26 07:27:31.020672 [DEBUG] sofia.c:7084 Channel sofia/default/1000@wowtailssalon.nebular.co.za:5060 entering state [early][183]
  7249. 2022-07-26 07:27:31.140684 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  7250. 2022-07-26 07:27:31.152519 [INFO] mod_com_g729.c:178 DECODER LICENSE ALLOCATED--->0x7f3f08a6ee20 0x7f3f08a6ee28
  7251. 2022-07-26 07:27:31.152519 [INFO] mod_com_g729.c:185 DECODER CREATED------------->0x7f3f08a6ee20 0x7f3f08a6ee28
  7252. 2022-07-26 07:27:31.200682 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0788049704 Bridge execute app sched_hangup(+6000 normal_clearing)
  7253. 2022-07-26 07:27:31.221980 [DEBUG] switch_ivr.c:623 sofia/default/0788049704 Command Execute sched_hangup(+6000 normal_clearing)
  7254. EXECUTE sofia/default/0788049704 sched_hangup(+6000 normal_clearing)
  7255. 2022-07-26 07:27:31.221980 [DEBUG] switch_scheduler.c:249 Added task 47241 switch_ivr_schedule_hangup (66db1a30-0cb4-11ed-bd14-d3f1ef10c389) to run at 1658826451
  7256. 2022-07-26 07:27:33.180674 [DEBUG] sofia.c:7084 Channel sofia/default/0788049704 entering state [proceeding][180]
  7257. 2022-07-26 07:27:33.180674 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/0788049704!
  7258. 2022-07-26 07:27:33.180674 [DEBUG] switch_channel.c:3346 (sofia/default/0788049704) Callstate Change EARLY -> RINGING
  7259. 2022-07-26 07:27:33.300949 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  7260. 2022-07-26 07:27:33.300949 [INFO] mod_com_g729.c:140 ENCODER LICENSE ALLOCATED--->0x7f3f08a6eea0 0x7f3f08a6eea0
  7261. 2022-07-26 07:27:33.300949 [INFO] mod_com_g729.c:147 ENCODER CREATED------------->0x7f3f08a6eea0 0x7f3f08a6eea0
  7262. 2022-07-26 07:27:36.180994 [NOTICE] switch_channel.c:1104 New Channel sofia/default/172@mbvit.nebular.co.za:5060 [6be09b7c-0cb4-11ed-bd25-d3f1ef10c389]
  7263. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:584 (sofia/default/172@mbvit.nebular.co.za:5060) Running State Change CS_NEW (Cur 7 Tot 118044)
  7264. 2022-07-26 07:27:36.180994 [DEBUG] sofia.c:9873 sofia/default/172@mbvit.nebular.co.za:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  7265. 2022-07-26 07:27:36.180994 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  7266. 2022-07-26 07:27:36.180994 [DEBUG] sofia.c:7084 Channel sofia/default/172@mbvit.nebular.co.za:5060 entering state [received][100]
  7267. 2022-07-26 07:27:36.180994 [DEBUG] sofia.c:7094 Remote SDP:
  7268. v=0
  7269. o=- 20040 20040 IN IP4 102.219.180.66
  7270. s=SDP data
  7271. c=IN IP4 102.219.180.66
  7272. t=0 0
  7273. m=audio 12544 RTP/AVP 18 0 8 9 101
  7274. a=rtpmap:18 G729/8000
  7275. a=fmtp:18 annexb=no
  7276. a=rtpmap:0 PCMU/8000
  7277. a=rtpmap:8 PCMA/8000
  7278. a=rtpmap:9 G722/8000
  7279. a=rtpmap:101 telephone-event/8000
  7280. a=fmtp:101 0-15
  7281. a=ptime:20
  7282.  
  7283. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  7284. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  7285. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  7286. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  7287. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  7288. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  7289. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  7290. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  7291. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  7292. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  7293. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  7294. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  7295. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  7296. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  7297. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  7298. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  7299. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  7300. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  7301. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  7302. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  7303. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  7304. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/172@mbvit.nebular.co.za:5060 G729/8000 20 ms 160 samples 8000 bits 1 channels
  7305. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_codec.c:111 sofia/default/172@mbvit.nebular.co.za:5060 Original read codec set to G729:18
  7306. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  7307. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4767 sofia/default/172@mbvit.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  7308. 2022-07-26 07:27:36.180994 [DEBUG] sofia.c:7507 (sofia/default/172@mbvit.nebular.co.za:5060) State Change CS_NEW -> CS_INIT
  7309. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:603 (sofia/default/172@mbvit.nebular.co.za:5060) State NEW
  7310. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:584 (sofia/default/172@mbvit.nebular.co.za:5060) Running State Change CS_INIT (Cur 7 Tot 118044)
  7311. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:627 (sofia/default/172@mbvit.nebular.co.za:5060) State INIT
  7312. 2022-07-26 07:27:36.180994 [DEBUG] mod_sofia.c:90 sofia/default/172@mbvit.nebular.co.za:5060 SOFIA INIT
  7313. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:40 sofia/default/172@mbvit.nebular.co.za:5060 Standard INIT
  7314. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:48 (sofia/default/172@mbvit.nebular.co.za:5060) State Change CS_INIT -> CS_ROUTING
  7315. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:627 (sofia/default/172@mbvit.nebular.co.za:5060) State INIT going to sleep
  7316. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:584 (sofia/default/172@mbvit.nebular.co.za:5060) Running State Change CS_ROUTING (Cur 7 Tot 118044)
  7317. 2022-07-26 07:27:36.180994 [DEBUG] switch_channel.c:2249 (sofia/default/172@mbvit.nebular.co.za:5060) Callstate Change DOWN -> RINGING
  7318. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:643 (sofia/default/172@mbvit.nebular.co.za:5060) State ROUTING
  7319. 2022-07-26 07:27:36.180994 [DEBUG] mod_sofia.c:143 sofia/default/172@mbvit.nebular.co.za:5060 SOFIA ROUTING
  7320. 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:236 sofia/default/172@mbvit.nebular.co.za:5060 Standard ROUTING
  7321. 2022-07-26 07:27:36.180994 [INFO] mod_dialplan_xml.c:637 Processing Bonani | 172 <172>->0815399688 in context default
  7322. 2022-07-26 07:27:36.180994 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ec81d1530 Connected.
  7323. 2022-07-26 07:27:36.194914 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  7324. 2022-07-26 07:27:36.230661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  7325. 2022-07-26 07:27:36.290700 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  7326. 2022-07-26 07:27:36.290700 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0815399688
  7327. 2022-07-26 07:27:36.290700 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0815399688' limit 1
  7328. 2022-07-26 07:27:36.360662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0815399688' AND status=0 limit 1
  7329. 2022-07-26 07:27:36.441317 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0815399688' and status=0 LIMIT 1
  7330. 2022-07-26 07:27:36.503898 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  7331. 2022-07-26 07:27:36.503898 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : Bonani / 0103130001
  7332. 2022-07-26 07:27:36.503898 [DEBUG] switch_cpp.cpp:1365 [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 ="0815399688" LIMIT 1
  7333. 2022-07-26 07:27:36.560675 [DEBUG] switch_cpp.cpp:1365 [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="0815399688"  AND domains.domain="mbvit.nebular.co.za" limit 1
  7334. 2022-07-26 07:27:36.620670 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  7335. 2022-07-26 07:27:36.620670 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 862977]
  7336. 2022-07-26 07:27:36.620670 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "862977" AND deleted = 0 limit 1
  7337. 2022-07-26 07:27:36.671552 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0815399688.*' OR blocked_patterns = '^081539968.*' OR blocked_patterns = '^08153996.*' OR blocked_patterns = '^0815399.*' OR blocked_patterns = '^081539.*' OR blocked_patterns = '^08153.*' OR blocked_patterns = '^0815.*' OR blocked_patterns = '^081.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
  7338. 2022-07-26 07:27:36.702001 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0815399688" AND (accountid = 0 OR status = 1) LIMIT 1
  7339. 2022-07-26 07:27:36.760666 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3
  7340. 2022-07-26 07:27:36.760666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1
  7341. 2022-07-26 07:27:36.800659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0815399688
  7342. 2022-07-26 07:27:36.800659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0815399688
  7343. 2022-07-26 07:27:36.800659 [DEBUG] switch_cpp.cpp:1365 [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 = '^0815399688.*' OR patterns = '^081539968.*' OR patterns = '^08153996.*' OR patterns = '^0815399.*' OR patterns = '^081539.*' OR patterns = '^08153.*' OR patterns = '^0815.*' OR patterns = '^081.*' OR patterns = '^08.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  7344. 2022-07-26 07:27:36.822352 [DEBUG] switch_cpp.cpp:1365 [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 ="0815399688" AND A.accountid = '7' limit 1
  7345. 2022-07-26 07:27:36.865065 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0815399688
  7346. 2022-07-26 07:27:36.865065 [DEBUG] switch_cpp.cpp:1365 [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 ="0815399688" LIMIT 1
  7347. 2022-07-26 07:27:36.902153 [DEBUG] switch_cpp.cpp:1365 [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="0815399688"  AND domains.domain="mbvit.nebular.co.za" limit 1
  7348. 2022-07-26 07:27:36.943954 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : outbound
  7349. 2022-07-26 07:27:36.943954 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0815399688' OR number = '081539968' OR number = '08153996' OR number = '0815399' OR number = '081539' OR number = '08153' OR number = '0815' OR number = '081' OR number = '08' OR number = '0' OR number ='--') OR (number = '0815399688*' OR number = '081539968*' OR number = '08153996*' OR number = '0815399*' OR number = '081539*' OR number = '08153*' OR number = '0815*' OR number = '081*' OR number = '08*' OR number = '0*' OR number ='--') OR (number = '0103130001' OR number = '010313000' OR number = '01031300' OR number = '0103130' OR number = '010313' OR number = '01031' OR number = '0103' OR number = '010' OR number = '01' OR number = '0' OR number ='--') OR (number = '0103130001*' OR number = '010313000*' OR number = '01031300*' OR number = '0103130*' OR number = '010313*' OR number = '01031*' OR number = '0103*' OR number = '010*' OR number = '01*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  7350. 2022-07-26 07:27:37.000944 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  7351. 2022-07-26 07:27:37.000944 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0815399688' OR routing_prefix = '081539968' OR routing_prefix = '08153996' OR routing_prefix = '0815399' OR routing_prefix = '081539' OR routing_prefix = '08153' OR routing_prefix = '0815' OR routing_prefix = '081' OR routing_prefix = '08' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1
  7352. 2022-07-26 07:27:37.041966 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Get Destination Number (0815399688)!!!!
  7353. 2022-07-26 07:27:37.041966 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Ported Number :27815399688
  7354. 2022-07-26 07:27:37.041966 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27815399688' limit 1
  7355. 2022-07-26 07:27:37.090661 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (0815399688)!!!!
  7356. 2022-07-26 07:27:37.121032 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  7357. 2022-07-26 07:27:37.121032 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 7
  7358. 2022-07-26 07:27:37.121032 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 862977
  7359. 2022-07-26 07:27:37.121032 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 2183.5994
  7360. 2022-07-26 07:27:37.121032 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  7361. 2022-07-26 07:27:37.121032 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 81
  7362. 2022-07-26 07:27:37.121032 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  7363. 2022-07-26 07:27:37.121032 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  7364. 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....Bonani
  7365. 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....Bonani
  7366. 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....0103130001
  7367. 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....0103130001
  7368. 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....Bonani
  7369. 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....Bonani
  7370. 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....0103130001
  7371. 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....0103130001
  7372. 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0
  7373. 2022-07-26 07:27:37.182369 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  7374. 2022-07-26 07:27:37.182369 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0
  7375. 2022-07-26 07:27:37.250655 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0815399688.*' OR pattern = '^081539968.*' OR pattern = '^08153996.*' OR pattern = '^0815399.*' OR pattern = '^081539.*' OR pattern = '^08153.*' OR pattern = '^0815.*' OR pattern = '^081.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 81 OR accountid=7)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  7376. 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : outbound
  7377. 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  7378. 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1802551
  7379. 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  7380. 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  7381. 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.49000
  7382. 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D004-TELKMOBL
  7383. 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  7384. 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 7
  7385. 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  7386. 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  7387. 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  7388. 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your2183.5994 balance Accountid 7 !!!
  7389. 2022-07-26 07:27:37.311300 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  7390. 2022-07-26 07:27:37.311300 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 5
  7391. 2022-07-26 07:27:37.311300 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  7392. 2022-07-26 07:27:37.345124 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0815399688.*' OR blocked_patterns = '^081539968.*' OR blocked_patterns = '^08153996.*' OR blocked_patterns = '^0815399.*' OR blocked_patterns = '^081539.*' OR blocked_patterns = '^08153.*' OR blocked_patterns = '^0815.*' OR blocked_patterns = '^081.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 5 limit 1
  7393. 2022-07-26 07:27:37.381894 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information ===================
  7394. 2022-07-26 07:27:37.381894 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 5
  7395. 2022-07-26 07:27:37.381894 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8566036685
  7396. 2022-07-26 07:27:37.381894 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1985.0904
  7397. 2022-07-26 07:27:37.381894 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  7398. 2022-07-26 07:27:37.381894 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83
  7399. 2022-07-26 07:27:37.381894 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  7400. 2022-07-26 07:27:37.460669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  7401. 2022-07-26 07:27:37.460669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  7402. 2022-07-26 07:27:37.521123 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0815399688.*' OR pattern = '^081539968.*' OR pattern = '^08153996.*' OR pattern = '^0815399.*' OR pattern = '^081539.*' OR pattern = '^08153.*' OR pattern = '^0815.*' OR pattern = '^081.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 83 OR accountid=5)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  7403. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : outbound
  7404. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  7405. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1426387
  7406. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  7407. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  7408. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.29000
  7409. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D004-TELKMOBL
  7410. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  7411. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 5
  7412. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  7413. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  7414. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  7415. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1985.0904 balance Accountid 5 !!!
  7416. 2022-07-26 07:27:37.570766 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  7417. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:1802551|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426387|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5
  7418. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  7419. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1
  7420. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  7421. 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1802551
  7422. 2022-07-26 07:27:37.570766 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :0
  7423. 2022-07-26 07:27:37.570766 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=83 ORDER by id asc
  7424. 2022-07-26 07:27:37.633429 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^0815399688.*' OR pattern = '^081539968.*' OR pattern = '^08153996.*' OR pattern = '^0815399.*' OR pattern = '^081539.*' OR pattern = '^08153.*' OR pattern = '^0815.*' OR pattern = '^081.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5,7) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  7425. 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  7426. 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 183
  7427. 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^0.*
  7428. 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : SA
  7429. 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  7430. 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  7431. 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^0.*
  7432. 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip :
  7433. 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend :
  7434. 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 5
  7435. 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : liquid_primary
  7436. 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  7437. 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  7438. 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3
  7439. 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  7440. 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Liquid
  7441. 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  7442. 2022-07-26 07:27:37.751165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1
  7443. 2022-07-26 07:27:37.810661 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  7444. 2022-07-26 07:27:37.810661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  7445. 2022-07-26 07:27:37.852651 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  7446. 2022-07-26 07:27:37.852651 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
  7447. 2022-07-26 07:27:37.852651 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  7448. 2022-07-26 07:27:37.930657 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 5) AND status=0 limit 1
  7449. 2022-07-26 07:27:37.980661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+27/0".....0815399688
  7450. 2022-07-26 07:27:37.980661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  7451. 2022-07-26 07:27:38.022904 [DEBUG] switch_cpp.cpp:1365 [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 ="0815399688" LIMIT 1
  7452. 2022-07-26 07:27:38.080682 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  7453. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  7454. <document type="freeswitch/xml">
  7455. <section name="dialplan" description="ASTPP Dialplan">
  7456. <context name="default">
  7457. <extension name="0815399688">
  7458. <condition field="destination_number" expression="0815399688">
  7459. <action application="set" data="effective_destination_number=0815399688"/>
  7460. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  7461. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  7462. <action application="set" data="callstart=2022-07-26 07:27:37"/>
  7463. <action application="set" data="hangup_after_bridge=true"/>
  7464. <action application="set" data="continue_on_fail=TRUE"/>
  7465. <action application="set" data="account_id=7"/>
  7466. <action application="set" data="parent_id=5"/>
  7467. <action application="set" data="entity_id=0"/>
  7468. <action application="set" data="call_processed=internal"/>
  7469. <action application="set" data="call_direction=outbound"/>
  7470. <action application="set" data="accountname=default"/>
  7471. <action application="set" data="filename1=astpp.pbx.lua"/>
  7472. <action application="set" data="origination_rates=ID:1802551|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426387|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5"/>
  7473. <action application="set" data="original_caller_id_name=Bonani"/>
  7474. <action application="set" data="original_caller_id_number=0103130001"/>
  7475. <action application="limit" data="db 862977 user_862977 5 "/>
  7476. <action application="limit" data="db 8566036685 user_8566036685 20 "/>
  7477. <action application="set" data="effective_caller_id_name=Bonani"/>
  7478. <action application="set" data="effective_caller_id_number=0103130001"/>
  7479. <action application="set" data="calltype=STANDARD"/>
  7480. <action application="set" data="termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3"/>
  7481. <action application="set" data="trunk_id=5"/>
  7482. <action application="set" data="provider_id=3"/>
  7483. <action application="set" data="rate_flag=0"/>
  7484. <action application="set" data="force_trunk_flag=1802551"/>
  7485. <action application="export" data="presence_data=trunk_id=5"/>
  7486. <action application="set" data="intcall=0"/>
  7487. <action application="export" data="presence_data=x//5|||MBV IT Office(862977)|||^0815.* // D004-TELKMOBL // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^0815.* // D004-TELKMOBL"/>
  7488. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0815399688;fs_path=sip:156.38.231.106:5060"/>
  7489. </condition>
  7490. </extension>
  7491. </context>
  7492. </document>
  7493. 2022-07-26 07:27:38.080682 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ec81d1530 released.
  7494. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 parsing [default->0815399688] continue=false
  7495. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Regex (PASS) [0815399688] destination_number(0815399688) =~ /0815399688/ break=on-false
  7496. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(effective_destination_number=0815399688)
  7497. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  7498. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  7499. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(callstart=2022-07-26 07:27:37)
  7500. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(hangup_after_bridge=true)
  7501. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(continue_on_fail=TRUE)
  7502. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(account_id=7)
  7503. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(parent_id=5)
  7504. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(entity_id=0)
  7505. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(call_processed=internal)
  7506. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(call_direction=outbound)
  7507. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(accountname=default)
  7508. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(filename1=astpp.pbx.lua)
  7509. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(origination_rates=ID:1802551|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426387|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5)
  7510. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(original_caller_id_name=Bonani)
  7511. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(original_caller_id_number=0103130001)
  7512. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action limit(db 862977 user_862977 5 )
  7513. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action limit(db 8566036685 user_8566036685 20 )
  7514. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(effective_caller_id_name=Bonani)
  7515. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(effective_caller_id_number=0103130001)
  7516. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(calltype=STANDARD)
  7517. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3)
  7518. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(trunk_id=5)
  7519. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(provider_id=3)
  7520. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(rate_flag=0)
  7521. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(force_trunk_flag=1802551)
  7522. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action export(presence_data=trunk_id=5)
  7523. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(intcall=0)
  7524. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action export(presence_data=x//5|||MBV IT Office(862977)|||^0815.* // D004-TELKMOBL // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^0815.* // D004-TELKMOBL)
  7525. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0815399688;fs_path=sip:156.38.231.106:5060)
  7526. 2022-07-26 07:27:38.080682 [DEBUG] switch_core_state_machine.c:286 (sofia/default/172@mbvit.nebular.co.za:5060) State Change CS_ROUTING -> CS_EXECUTE
  7527. 2022-07-26 07:27:38.080682 [DEBUG] switch_core_state_machine.c:643 (sofia/default/172@mbvit.nebular.co.za:5060) State ROUTING going to sleep
  7528. 2022-07-26 07:27:38.080682 [DEBUG] switch_core_state_machine.c:584 (sofia/default/172@mbvit.nebular.co.za:5060) Running State Change CS_EXECUTE (Cur 7 Tot 118044)
  7529. 2022-07-26 07:27:38.080682 [DEBUG] switch_core_state_machine.c:650 (sofia/default/172@mbvit.nebular.co.za:5060) State EXECUTE
  7530. 2022-07-26 07:27:38.080682 [DEBUG] mod_sofia.c:198 sofia/default/172@mbvit.nebular.co.za:5060 SOFIA EXECUTE
  7531. 2022-07-26 07:27:38.080682 [DEBUG] switch_core_state_machine.c:328 sofia/default/172@mbvit.nebular.co.za:5060 Standard EXECUTE
  7532. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(effective_destination_number=0815399688)
  7533. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [effective_destination_number]=[0815399688]
  7534. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  7535. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  7536. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  7537. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  7538. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(callstart=2022-07-26 07:27:37)
  7539. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [callstart]=[2022-07-26 07:27:37]
  7540. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(hangup_after_bridge=true)
  7541. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [hangup_after_bridge]=[true]
  7542. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(continue_on_fail=TRUE)
  7543. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [continue_on_fail]=[TRUE]
  7544. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(account_id=7)
  7545. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [account_id]=[7]
  7546. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(parent_id=5)
  7547. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [parent_id]=[5]
  7548. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(entity_id=0)
  7549. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [entity_id]=[0]
  7550. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(call_processed=internal)
  7551. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [call_processed]=[internal]
  7552. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(call_direction=outbound)
  7553. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [call_direction]=[outbound]
  7554. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(accountname=default)
  7555. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [accountname]=[default]
  7556. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(filename1=astpp.pbx.lua)
  7557. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [filename1]=[astpp.pbx.lua]
  7558. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(origination_rates=ID:1802551|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426387|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5)
  7559. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [origination_rates]=[ID:1802551|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426387|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5]
  7560. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(original_caller_id_name=Bonani)
  7561. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [original_caller_id_name]=[Bonani]
  7562. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(original_caller_id_number=0103130001)
  7563. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [original_caller_id_number]=[0103130001]
  7564. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 limit(db 862977 user_862977 5 )
  7565. 2022-07-26 07:27:38.080682 [DEBUG] switch_limit.c:126 incr called: 862977_user_862977 max:5, interval:0
  7566. 2022-07-26 07:27:38.080682 [DEBUG] mod_db.c:194 Usage for 862977_user_862977 is now 1/5
  7567. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 limit(db 8566036685 user_8566036685 20 )
  7568. 2022-07-26 07:27:38.080682 [DEBUG] switch_limit.c:126 incr called: 8566036685_user_8566036685 max:20, interval:0
  7569. 2022-07-26 07:27:38.080682 [DEBUG] mod_db.c:194 Usage for 8566036685_user_8566036685 is now 3/20
  7570. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(effective_caller_id_name=Bonani)
  7571. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [effective_caller_id_name]=[Bonani]
  7572. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(effective_caller_id_number=0103130001)
  7573. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [effective_caller_id_number]=[0103130001]
  7574. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(calltype=STANDARD)
  7575. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [calltype]=[STANDARD]
  7576. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3)
  7577. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [termination_rates]=[ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3]
  7578. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(trunk_id=5)
  7579. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [trunk_id]=[5]
  7580. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(provider_id=3)
  7581. 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [provider_id]=[3]
  7582. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(rate_flag=0)
  7583. 2022-07-26 07:27:38.092161 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [rate_flag]=[0]
  7584. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(force_trunk_flag=1802551)
  7585. 2022-07-26 07:27:38.092161 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [force_trunk_flag]=[1802551]
  7586. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 export(presence_data=trunk_id=5)
  7587. 2022-07-26 07:27:38.092161 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=5]
  7588. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(intcall=0)
  7589. 2022-07-26 07:27:38.092161 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [intcall]=[0]
  7590. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 export(presence_data=x//5|||MBV IT Office(862977)|||^0815.* // D004-TELKMOBL // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^0815.* // D004-TELKMOBL)
  7591. 2022-07-26 07:27:38.092161 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//5|||MBV IT Office(862977)|||^0815.* // D004-TELKMOBL // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^0815.* // D004-TELKMOBL]
  7592. EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0815399688;fs_path=sip:156.38.231.106:5060)
  7593. 2022-07-26 07:27:38.092161 [DEBUG] switch_channel.c:1250 sofia/default/172@mbvit.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^0815.* // D004-TELKMOBL // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^0815.* // D004-TELKMOBL] to event
  7594. 2022-07-26 07:27:38.092161 [DEBUG] switch_channel.c:1250 sofia/default/172@mbvit.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^0815.* // D004-TELKMOBL // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^0815.* // D004-TELKMOBL] to event
  7595. 2022-07-26 07:27:38.092161 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  7596. 2022-07-26 07:27:38.092161 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  7597. 2022-07-26 07:27:38.092161 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0815399688 [6d035076-0cb4-11ed-bd48-d3f1ef10c389]
  7598. 2022-07-26 07:27:38.092161 [DEBUG] mod_sofia.c:4819 (sofia/default/0815399688) State Change CS_NEW -> CS_INIT
  7599. 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0815399688) Running State Change CS_INIT (Cur 8 Tot 118045)
  7600. 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0815399688) State INIT
  7601. 2022-07-26 07:27:38.092161 [DEBUG] mod_sofia.c:90 sofia/default/0815399688 SOFIA INIT
  7602. 2022-07-26 07:27:38.092161 [DEBUG] sofia_glue.c:1264 sip:156.38.231.106:5060 Setting proxy route to sofia/default/0815399688
  7603. 2022-07-26 07:27:38.092161 [DEBUG] sofia_glue.c:1295 sofia/default/0815399688 sending invite version: 1.6.20  64bit
  7604. Local SDP:
  7605. v=0
  7606. o=FreeSWITCH 1658790248 1658790249 IN IP4 156.38.231.107
  7607. s=FreeSWITCH
  7608. c=IN IP4 156.38.231.107
  7609. t=0 0
  7610. m=audio 30210 RTP/AVP 18 8 0 101
  7611. a=rtpmap:18 G729/8000
  7612. a=fmtp:18 annexb=no
  7613. a=rtpmap:8 PCMA/8000
  7614. a=rtpmap:0 PCMU/8000
  7615. a=rtpmap:101 telephone-event/8000
  7616. a=fmtp:101 0-16
  7617. a=ptime:20
  7618. a=sendrecv
  7619.  
  7620. 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:40 sofia/default/0815399688 Standard INIT
  7621. 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0815399688) State Change CS_INIT -> CS_ROUTING
  7622. 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0815399688) State INIT going to sleep
  7623. 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0815399688) Running State Change CS_ROUTING (Cur 8 Tot 118045)
  7624. 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0815399688) State ROUTING
  7625. 2022-07-26 07:27:38.092161 [DEBUG] mod_sofia.c:143 sofia/default/0815399688 SOFIA ROUTING
  7626. 2022-07-26 07:27:38.092161 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0815399688) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  7627. 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0815399688) State ROUTING going to sleep
  7628. 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0815399688) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 118045)
  7629. 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0815399688) State CONSUME_MEDIA
  7630. 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0815399688) State CONSUME_MEDIA going to sleep
  7631. 2022-07-26 07:27:38.092161 [DEBUG] sofia.c:7084 Channel sofia/default/0815399688 entering state [calling][0]
  7632. 2022-07-26 07:27:39.140669 [DEBUG] sofia.c:7084 Channel sofia/default/0788049704 entering state [completing][200]
  7633. 2022-07-26 07:27:39.140669 [DEBUG] sofia.c:7091 Duplicate SDP
  7634. v=0
  7635. o=HuaweiSoftX3000 12451379330453 12451379330453 IN IP4 41.160.32.115
  7636. s=-
  7637. c=IN IP4 41.160.32.115
  7638. t=0 0
  7639. m=audio 20616 RTP/AVP 8 101
  7640. a=rtpmap:8 PCMA/8000
  7641. a=rtpmap:101 telephone-event/8000
  7642. a=fmtp:101 0-15
  7643. a=ptime:20
  7644.  
  7645. 2022-07-26 07:27:39.160661 [DEBUG] sofia.c:7084 Channel sofia/default/0788049704 entering state [ready][200]
  7646. 2022-07-26 07:27:39.160661 [NOTICE] sofia.c:8159 Channel [sofia/default/0788049704] has been answered
  7647. 2022-07-26 07:27:39.160661 [DEBUG] switch_channel.c:3773 (sofia/default/0788049704) Callstate Change RINGING -> ACTIVE
  7648. 2022-07-26 07:27:39.170666 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/1000@wowtailssalon.nebular.co.za:5060.
  7649. 2022-07-26 07:27:39.170666 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/1000@wowtailssalon.nebular.co.za:5060:
  7650. v=0
  7651. o=FreeSWITCH 1658797163 1658797165 IN IP4 156.38.231.107
  7652. s=FreeSWITCH
  7653. c=IN IP4 156.38.231.107
  7654. t=0 0
  7655. m=audio 23288 RTP/AVP 18 101
  7656. a=rtpmap:18 G729/8000
  7657. a=fmtp:18 annexb=no
  7658. a=rtpmap:101 telephone-event/8000
  7659. a=fmtp:101 0-16
  7660. a=ptime:20
  7661. a=sendrecv
  7662.  
  7663. 2022-07-26 07:27:39.170666 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/1000@wowtailssalon.nebular.co.za:5060] has been answered
  7664. 2022-07-26 07:27:39.170666 [DEBUG] switch_channel.c:3773 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) Callstate Change EARLY -> ACTIVE
  7665. 2022-07-26 07:27:39.190668 [DEBUG] sofia.c:7084 Channel sofia/default/1000@wowtailssalon.nebular.co.za:5060 entering state [completed][200]
  7666. 2022-07-26 07:27:39.190668 [DEBUG] sofia.c:7084 Channel sofia/default/1000@wowtailssalon.nebular.co.za:5060 entering state [ready][200]
  7667. 2022-07-26 07:27:39.220660 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  7668. 2022-07-26 07:27:39.230662 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  7669. 2022-07-26 07:27:39.230662 [DEBUG] sofia.c:7084 Channel sofia/default/1000@wowtailssalon.nebular.co.za:5060 entering state [calling][0]
  7670. 2022-07-26 07:27:39.250677 [DEBUG] sofia.c:7084 Channel sofia/default/1000@wowtailssalon.nebular.co.za:5060 entering state [ready][200]
  7671. 2022-07-26 07:27:39.250677 [DEBUG] sofia.c:7094 Remote SDP:
  7672. v=0
  7673. o=- 20006 20007 IN IP4 102.219.180.66
  7674. s=SDP data
  7675. c=IN IP4 102.219.180.66
  7676. t=0 0
  7677. m=audio 12542 RTP/AVP 18 101
  7678. a=rtpmap:18 G729/8000
  7679. a=fmtp:18 annexb=no
  7680. a=rtpmap:101 telephone-event/8000
  7681. a=fmtp:101 0-15
  7682. a=ptime:20
  7683.  
  7684. 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  7685. 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  7686. 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  7687. 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  7688. 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  7689. 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  7690. 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  7691. 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  7692. 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4767 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  7693. 2022-07-26 07:27:39.250677 [DEBUG] sofia.c:8061 Processing updated SDP
  7694. 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/1000@wowtailssalon.nebular.co.za:5060.
  7695. 2022-07-26 07:27:41.410686 [DEBUG] sofia.c:7084 Channel sofia/default/0815399688 entering state [proceeding][183]
  7696. 2022-07-26 07:27:41.410686 [DEBUG] sofia.c:7094 Remote SDP:
  7697. v=0
  7698. o=HuaweiSoftX3000 109272827094598 109272827094598 IN IP4 41.160.32.115
  7699. s=-
  7700. c=IN IP4 41.160.32.115
  7701. t=0 0
  7702. m=audio 20618 RTP/AVP 18 101
  7703. a=rtpmap:18 G729/8000
  7704. a=fmtp:18 annexb=no
  7705. a=rtpmap:101 telephone-event/8000
  7706. a=fmtp:101 0-15
  7707. a=ptime:20
  7708.  
  7709. 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  7710. 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  7711. 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  7712. 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  7713. 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  7714. 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0815399688 G729/8000 20 ms 160 samples 8000 bits 1 channels
  7715. 2022-07-26 07:27:41.410686 [DEBUG] switch_core_codec.c:111 sofia/default/0815399688 Original read codec set to G729:18
  7716. 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  7717. 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:4767 sofia/default/0815399688 Set 2833 dtmf send payload to 101 recv payload to 101
  7718. 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0815399688] 156.38.231.107 port 30210 -> 41.160.32.115 port 20618 codec: 18 ms: 20
  7719. 2022-07-26 07:27:41.420660 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  7720. 2022-07-26 07:27:41.420660 [DEBUG] switch_core_media.c:7180 sofia/default/0815399688 Set 2833 dtmf send payload to 101
  7721. 2022-07-26 07:27:41.420660 [DEBUG] switch_core_media.c:7187 sofia/default/0815399688 Set 2833 dtmf receive payload to 101
  7722. 2022-07-26 07:27:41.420660 [DEBUG] switch_core_media.c:7210 sofia/default/0815399688 Set rtp dtmf delay to 40
  7723. 2022-07-26 07:27:41.420660 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0815399688!
  7724. 2022-07-26 07:27:41.420660 [DEBUG] switch_channel.c:3474 (sofia/default/0815399688) Callstate Change DOWN -> EARLY
  7725. 2022-07-26 07:27:41.420660 [INFO] switch_ivr_originate.c:3654 Sending early media
  7726. 2022-07-26 07:27:41.420660 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/172@mbvit.nebular.co.za:5060] 156.38.231.107 port 17650 -> 102.219.180.66 port 12544 codec: 18 ms: 20
  7727. 2022-07-26 07:27:41.420660 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  7728. 2022-07-26 07:27:41.430663 [DEBUG] switch_core_media.c:7180 sofia/default/172@mbvit.nebular.co.za:5060 Set 2833 dtmf send payload to 101
  7729. 2022-07-26 07:27:41.430663 [DEBUG] switch_core_media.c:7187 sofia/default/172@mbvit.nebular.co.za:5060 Set 2833 dtmf receive payload to 101
  7730. 2022-07-26 07:27:41.430663 [DEBUG] switch_core_media.c:7210 sofia/default/172@mbvit.nebular.co.za:5060 Set rtp dtmf delay to 40
  7731. 2022-07-26 07:27:41.430663 [DEBUG] mod_sofia.c:2364 Ring SDP:
  7732. v=0
  7733. o=FreeSWITCH 1658802811 1658802812 IN IP4 156.38.231.107
  7734. s=FreeSWITCH
  7735. c=IN IP4 156.38.231.107
  7736. t=0 0
  7737. m=audio 17650 RTP/AVP 18 101
  7738. a=rtpmap:18 G729/8000
  7739. a=fmtp:18 annexb=no
  7740. a=rtpmap:101 telephone-event/8000
  7741. a=fmtp:101 0-16
  7742. a=ptime:20
  7743. a=sendrecv
  7744.  
  7745. 2022-07-26 07:27:41.430663 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/172@mbvit.nebular.co.za:5060!
  7746. 2022-07-26 07:27:41.430663 [DEBUG] switch_channel.c:3474 (sofia/default/172@mbvit.nebular.co.za:5060) Callstate Change RINGING -> EARLY
  7747. 2022-07-26 07:27:41.430663 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0815399688]
  7748. 2022-07-26 07:27:41.430663 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0815399688) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  7749. 2022-07-26 07:27:41.430663 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0815399688) Running State Change CS_EXCHANGE_MEDIA (Cur 8 Tot 118045)
  7750. 2022-07-26 07:27:41.430663 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0815399688) State EXCHANGE_MEDIA
  7751. 2022-07-26 07:27:41.430663 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  7752. 2022-07-26 07:27:41.440680 [DEBUG] sofia.c:7084 Channel sofia/default/172@mbvit.nebular.co.za:5060 entering state [early][183]
  7753. 2022-07-26 07:27:41.531537 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  7754. 2022-07-26 07:27:41.592672 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  7755. 2022-07-26 07:27:41.622138 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0815399688 Bridge execute app sched_hangup(+6000 normal_clearing)
  7756. 2022-07-26 07:27:41.633256 [DEBUG] sofia.c:7084 Channel sofia/default/0815399688 entering state [proceeding][180]
  7757. 2022-07-26 07:27:41.633256 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/0815399688!
  7758. 2022-07-26 07:27:41.633256 [DEBUG] switch_channel.c:3346 (sofia/default/0815399688) Callstate Change EARLY -> RINGING
  7759. 2022-07-26 07:27:41.633256 [DEBUG] switch_ivr.c:623 sofia/default/0815399688 Command Execute sched_hangup(+6000 normal_clearing)
  7760. EXECUTE sofia/default/0815399688 sched_hangup(+6000 normal_clearing)
  7761. 2022-07-26 07:27:41.633256 [DEBUG] switch_scheduler.c:249 Added task 47242 switch_ivr_schedule_hangup (6d035076-0cb4-11ed-bd48-d3f1ef10c389) to run at 1658826461
  7762. 2022-07-26 07:27:56.080661 [DEBUG] sofia.c:7084 Channel sofia/default/0815399688 entering state [completing][200]
  7763. 2022-07-26 07:27:56.080661 [DEBUG] sofia.c:7091 Duplicate SDP
  7764. v=0
  7765. o=HuaweiSoftX3000 109272827094598 109272827094598 IN IP4 41.160.32.115
  7766. s=-
  7767. c=IN IP4 41.160.32.115
  7768. t=0 0
  7769. m=audio 20618 RTP/AVP 18 101
  7770. a=rtpmap:18 G729/8000
  7771. a=fmtp:18 annexb=no
  7772. a=rtpmap:101 telephone-event/8000
  7773. a=fmtp:101 0-15
  7774. a=ptime:20
  7775.  
  7776. 2022-07-26 07:27:56.100662 [DEBUG] sofia.c:7084 Channel sofia/default/0815399688 entering state [ready][200]
  7777. 2022-07-26 07:27:56.100662 [NOTICE] sofia.c:8159 Channel [sofia/default/0815399688] has been answered
  7778. 2022-07-26 07:27:56.100662 [DEBUG] switch_channel.c:3773 (sofia/default/0815399688) Callstate Change RINGING -> ACTIVE
  7779. 2022-07-26 07:27:56.111065 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/172@mbvit.nebular.co.za:5060.
  7780. 2022-07-26 07:27:56.111065 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/172@mbvit.nebular.co.za:5060:
  7781. v=0
  7782. o=FreeSWITCH 1658802811 1658802813 IN IP4 156.38.231.107
  7783. s=FreeSWITCH
  7784. c=IN IP4 156.38.231.107
  7785. t=0 0
  7786. m=audio 17650 RTP/AVP 18 101
  7787. a=rtpmap:18 G729/8000
  7788. a=fmtp:18 annexb=no
  7789. a=rtpmap:101 telephone-event/8000
  7790. a=fmtp:101 0-16
  7791. a=ptime:20
  7792. a=sendrecv
  7793.  
  7794. 2022-07-26 07:27:56.111065 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/172@mbvit.nebular.co.za:5060] has been answered
  7795. 2022-07-26 07:27:56.111065 [DEBUG] switch_channel.c:3773 (sofia/default/172@mbvit.nebular.co.za:5060) Callstate Change EARLY -> ACTIVE
  7796. 2022-07-26 07:27:56.130682 [DEBUG] sofia.c:7084 Channel sofia/default/172@mbvit.nebular.co.za:5060 entering state [completed][200]
  7797. 2022-07-26 07:27:56.130682 [DEBUG] sofia.c:7084 Channel sofia/default/172@mbvit.nebular.co.za:5060 entering state [ready][200]
  7798. 2022-07-26 07:27:56.151215 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  7799. 2022-07-26 07:27:56.151215 [DEBUG] sofia.c:7084 Channel sofia/default/172@mbvit.nebular.co.za:5060 entering state [calling][0]
  7800. 2022-07-26 07:27:56.173002 [DEBUG] sofia.c:7084 Channel sofia/default/172@mbvit.nebular.co.za:5060 entering state [ready][200]
  7801. 2022-07-26 07:27:56.173002 [DEBUG] sofia.c:7094 Remote SDP:
  7802. v=0
  7803. o=- 20040 20041 IN IP4 102.219.180.66
  7804. s=SDP data
  7805. c=IN IP4 102.219.180.66
  7806. t=0 0
  7807. m=audio 12544 RTP/AVP 18 101
  7808. a=rtpmap:18 G729/8000
  7809. a=fmtp:18 annexb=no
  7810. a=rtpmap:101 telephone-event/8000
  7811. a=fmtp:101 0-15
  7812. a=ptime:20
  7813.  
  7814. 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  7815. 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  7816. 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  7817. 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  7818. 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  7819. 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  7820. 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  7821. 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  7822. 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4767 sofia/default/172@mbvit.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  7823. 2022-07-26 07:27:56.190688 [DEBUG] sofia.c:8061 Processing updated SDP
  7824. 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/172@mbvit.nebular.co.za:5060.
  7825. 2022-07-26 07:27:56.500682 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  7826. 2022-07-26 07:28:00.650673 [NOTICE] sofia.c:1012 Hangup sofia/default/27124713846@ecic.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  7827. 2022-07-26 07:28:00.660679 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/27124713846@ecic.nebular.co.za:5060]
  7828. 2022-07-26 07:28:00.660679 [DEBUG] switch_ivr_bridge.c:706 sofia/default/27124713846@ecic.nebular.co.za:5060 ending bridge by request from write function
  7829. 2022-07-26 07:28:00.660679 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0119368421]
  7830. 2022-07-26 07:28:00.660679 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0119368421 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  7831. 2022-07-26 07:28:00.660679 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0119368421 skip receive message [UNBRIDGE] (channel is hungup already)
  7832. 2022-07-26 07:28:00.660679 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/27124713846@ecic.nebular.co.za:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  7833. 2022-07-26 07:28:00.660679 [DEBUG] switch_core_session.c:2815 sofia/default/27124713846@ecic.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  7834. 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27124713846@ecic.nebular.co.za:5060) State EXECUTE going to sleep
  7835. 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124713846@ecic.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 8 Tot 118045)
  7836. 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:850 (sofia/default/27124713846@ecic.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP
  7837. 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27124713846@ecic.nebular.co.za:5060) State HANGUP
  7838. 2022-07-26 07:28:00.660679 [DEBUG] mod_sofia.c:438 Channel sofia/default/27124713846@ecic.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING
  7839. 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:60 sofia/default/27124713846@ecic.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING
  7840. 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27124713846@ecic.nebular.co.za:5060) State HANGUP going to sleep
  7841. 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:619 (sofia/default/27124713846@ecic.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING
  7842. 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124713846@ecic.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 8 Tot 118045)
  7843. 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27124713846@ecic.nebular.co.za:5060) State REPORTING
  7844. 2022-07-26 07:28:00.660679 [INFO] mod_json_cdr.c:271 Process [a8c05452-0cb3-11ed-bb54-d3f1ef10c389.cdr.json]
  7845. 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0119368421) State EXCHANGE_MEDIA going to sleep
  7846. 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0119368421) Running State Change CS_HANGUP (Cur 8 Tot 118045)
  7847. 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0119368421) Callstate Change ACTIVE -> HANGUP
  7848. 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0119368421) State HANGUP
  7849. 2022-07-26 07:28:00.660679 [DEBUG] mod_sofia.c:432 sofia/default/0119368421 Overriding SIP cause 480 with 200 from the other leg
  7850. 2022-07-26 07:28:00.660679 [DEBUG] mod_sofia.c:438 Channel sofia/default/0119368421 hanging up, cause: NORMAL_CLEARING
  7851. 2022-07-26 07:28:00.670658 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0119368421
  7852. 2022-07-26 07:28:00.670658 [DEBUG] switch_core_state_machine.c:60 sofia/default/0119368421 Standard HANGUP, cause: NORMAL_CLEARING
  7853. 2022-07-26 07:28:00.670658 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0119368421) State HANGUP going to sleep
  7854. 2022-07-26 07:28:00.670658 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0119368421) State Change CS_HANGUP -> CS_REPORTING
  7855. 2022-07-26 07:28:00.670658 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0119368421) Running State Change CS_REPORTING (Cur 8 Tot 118045)
  7856. 2022-07-26 07:28:00.670658 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0119368421) State REPORTING
  7857. 2022-07-26 07:28:00.670658 [INFO] mod_json_cdr.c:271 Process [a9d17f4c-0cb3-11ed-bb79-d3f1ef10c389.cdr.json]
  7858. 2022-07-26 07:28:00.731998 [DEBUG] switch_core_state_machine.c:174 sofia/default/0119368421 Standard REPORTING, cause: NORMAL_CLEARING
  7859. 2022-07-26 07:28:00.731998 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0119368421) State REPORTING going to sleep
  7860. 2022-07-26 07:28:00.731998 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0119368421) State Change CS_REPORTING -> CS_DESTROY
  7861. 2022-07-26 07:28:00.731998 [DEBUG] switch_core_session.c:1665 Session 118022 (sofia/default/0119368421) Locked, Waiting on external entities
  7862. 2022-07-26 07:28:00.731998 [NOTICE] switch_core_session.c:1683 Session 118022 (sofia/default/0119368421) Ended
  7863. 2022-07-26 07:28:00.731998 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0119368421 [CS_DESTROY]
  7864. 2022-07-26 07:28:00.731998 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0119368421) Running State Change CS_DESTROY (Cur 7 Tot 118045)
  7865. 2022-07-26 07:28:00.731998 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0119368421) State DESTROY
  7866. 2022-07-26 07:28:00.731998 [DEBUG] mod_sofia.c:343 sofia/default/0119368421 SOFIA DESTROY
  7867. 2022-07-26 07:28:00.731998 [INFO] mod_com_g729.c:109 DECODER DESTROYED----------->0x7f3eb43236e0 0x7f3eb43236e8
  7868. 2022-07-26 07:28:00.731998 [INFO] mod_com_g729.c:112 DECODER LICENSE DEALLOCATED->0x7f3eb43236e0 0x7f3eb43236e8
  7869. 2022-07-26 07:28:00.731998 [INFO] mod_com_g729.c:98 ENCODER DESTROYED----------->0x7f3eb4323760 0x7f3eb4323760
  7870. 2022-07-26 07:28:00.731998 [INFO] mod_com_g729.c:101 ENCODER LICENSE DEALLOCATED->0x7f3eb4323760 0x7f3eb4323760
  7871. 2022-07-26 07:28:00.731998 [DEBUG] switch_core_state_machine.c:181 sofia/default/0119368421 Standard DESTROY
  7872. 2022-07-26 07:28:00.731998 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0119368421) State DESTROY going to sleep
  7873. 2022-07-26 07:28:00.790658 [DEBUG] switch_core_state_machine.c:174 sofia/default/27124713846@ecic.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING
  7874. 2022-07-26 07:28:00.790658 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27124713846@ecic.nebular.co.za:5060) State REPORTING going to sleep
  7875. 2022-07-26 07:28:00.790658 [DEBUG] switch_core_state_machine.c:610 (sofia/default/27124713846@ecic.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY
  7876. 2022-07-26 07:28:00.790658 [DEBUG] switch_core_session.c:1665 Session 118021 (sofia/default/27124713846@ecic.nebular.co.za:5060) Locked, Waiting on external entities
  7877. 2022-07-26 07:28:00.790658 [NOTICE] switch_core_session.c:1683 Session 118021 (sofia/default/27124713846@ecic.nebular.co.za:5060) Ended
  7878. 2022-07-26 07:28:00.790658 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/27124713846@ecic.nebular.co.za:5060 [CS_DESTROY]
  7879. 2022-07-26 07:28:00.790658 [DEBUG] switch_core_state_machine.c:741 (sofia/default/27124713846@ecic.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 6 Tot 118045)
  7880. 2022-07-26 07:28:00.790658 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27124713846@ecic.nebular.co.za:5060) State DESTROY
  7881. 2022-07-26 07:28:00.790658 [DEBUG] mod_sofia.c:343 sofia/default/27124713846@ecic.nebular.co.za:5060 SOFIA DESTROY
  7882. 2022-07-26 07:28:00.790658 [DEBUG] switch_core_state_machine.c:181 sofia/default/27124713846@ecic.nebular.co.za:5060 Standard DESTROY
  7883. 2022-07-26 07:28:00.790658 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27124713846@ecic.nebular.co.za:5060) State DESTROY going to sleep
  7884. 2022-07-26 07:28:01.150672 [DEBUG] switch_scheduler.c:144 Deleting task 47233 switch_ivr_schedule_hangup (a9d17f4c-0cb3-11ed-bb79-d3f1ef10c389)
  7885. 2022-07-26 07:28:52.720729 [NOTICE] sofia.c:1012 Hangup sofia/default/0160040462@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  7886. 2022-07-26 07:28:52.730676 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0160040462@41.160.32.115:5060]
  7887. 2022-07-26 07:28:52.730676 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0160040462@41.160.32.115:5060 ending bridge by request from write function
  7888. 2022-07-26 07:28:52.730676 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/297534@joshco.nebular.co.za]
  7889. 2022-07-26 07:28:52.730676 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/297534@joshco.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  7890. 2022-07-26 07:28:52.730676 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/297534@joshco.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  7891. 2022-07-26 07:28:52.730676 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0160040462@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  7892. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_session.c:2815 sofia/default/0160040462@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  7893. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0160040462@41.160.32.115:5060) State EXECUTE going to sleep
  7894. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0160040462@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 6 Tot 118045)
  7895. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0160040462@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP
  7896. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0160040462@41.160.32.115:5060) State HANGUP
  7897. 2022-07-26 07:28:52.730676 [DEBUG] mod_sofia.c:438 Channel sofia/default/0160040462@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING
  7898. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:60 sofia/default/0160040462@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING
  7899. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0160040462@41.160.32.115:5060) State HANGUP going to sleep
  7900. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:653 (sofia/default/297534@joshco.nebular.co.za) State EXCHANGE_MEDIA going to sleep
  7901. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_HANGUP (Cur 6 Tot 118045)
  7902. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0160040462@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING
  7903. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0160040462@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 6 Tot 118045)
  7904. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0160040462@41.160.32.115:5060) State REPORTING
  7905. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:850 (sofia/default/297534@joshco.nebular.co.za) Callstate Change ACTIVE -> HANGUP
  7906. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:852 (sofia/default/297534@joshco.nebular.co.za) State HANGUP
  7907. 2022-07-26 07:28:52.730676 [DEBUG] mod_sofia.c:432 sofia/default/297534@joshco.nebular.co.za Overriding SIP cause 480 with 200 from the other leg
  7908. 2022-07-26 07:28:52.730676 [DEBUG] mod_sofia.c:438 Channel sofia/default/297534@joshco.nebular.co.za hanging up, cause: NORMAL_CLEARING
  7909. 2022-07-26 07:28:52.730676 [INFO] mod_json_cdr.c:271 Process [65bff0c6-0cb4-11ed-bcce-d3f1ef10c389.cdr.json]
  7910. 2022-07-26 07:28:52.730676 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/297534@joshco.nebular.co.za
  7911. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:60 sofia/default/297534@joshco.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING
  7912. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:852 (sofia/default/297534@joshco.nebular.co.za) State HANGUP going to sleep
  7913. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:619 (sofia/default/297534@joshco.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  7914. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_REPORTING (Cur 6 Tot 118045)
  7915. 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:938 (sofia/default/297534@joshco.nebular.co.za) State REPORTING
  7916. 2022-07-26 07:28:52.730676 [INFO] mod_json_cdr.c:271 Process [673e3ffc-0cb4-11ed-bd1d-d3f1ef10c389.cdr.json]
  7917. 2022-07-26 07:28:52.793069 [DEBUG] switch_core_state_machine.c:174 sofia/default/297534@joshco.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING
  7918. 2022-07-26 07:28:52.793069 [DEBUG] switch_core_state_machine.c:938 (sofia/default/297534@joshco.nebular.co.za) State REPORTING going to sleep
  7919. 2022-07-26 07:28:52.793069 [DEBUG] switch_core_state_machine.c:610 (sofia/default/297534@joshco.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  7920. 2022-07-26 07:28:52.793069 [DEBUG] switch_core_session.c:1665 Session 118043 (sofia/default/297534@joshco.nebular.co.za) Locked, Waiting on external entities
  7921. 2022-07-26 07:28:52.793069 [NOTICE] switch_core_session.c:1683 Session 118043 (sofia/default/297534@joshco.nebular.co.za) Ended
  7922. 2022-07-26 07:28:52.793069 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/297534@joshco.nebular.co.za [CS_DESTROY]
  7923. 2022-07-26 07:28:52.793069 [DEBUG] switch_core_state_machine.c:741 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_DESTROY (Cur 5 Tot 118045)
  7924. 2022-07-26 07:28:52.793069 [DEBUG] switch_core_state_machine.c:751 (sofia/default/297534@joshco.nebular.co.za) State DESTROY
  7925. 2022-07-26 07:28:52.793069 [DEBUG] mod_sofia.c:343 sofia/default/297534@joshco.nebular.co.za SOFIA DESTROY
  7926. 2022-07-26 07:28:52.793069 [DEBUG] switch_core_state_machine.c:181 sofia/default/297534@joshco.nebular.co.za Standard DESTROY
  7927. 2022-07-26 07:28:52.793069 [DEBUG] switch_core_state_machine.c:751 (sofia/default/297534@joshco.nebular.co.za) State DESTROY going to sleep
  7928. 2022-07-26 07:28:52.850661 [DEBUG] switch_core_state_machine.c:174 sofia/default/0160040462@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING
  7929. 2022-07-26 07:28:52.850661 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0160040462@41.160.32.115:5060) State REPORTING going to sleep
  7930. 2022-07-26 07:28:52.850661 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0160040462@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY
  7931. 2022-07-26 07:28:52.850661 [DEBUG] switch_core_session.c:1665 Session 118040 (sofia/default/0160040462@41.160.32.115:5060) Locked, Waiting on external entities
  7932. 2022-07-26 07:28:52.850661 [NOTICE] switch_core_session.c:1683 Session 118040 (sofia/default/0160040462@41.160.32.115:5060) Ended
  7933. 2022-07-26 07:28:52.850661 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0160040462@41.160.32.115:5060 [CS_DESTROY]
  7934. 2022-07-26 07:28:52.850661 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0160040462@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 4 Tot 118045)
  7935. 2022-07-26 07:28:52.850661 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0160040462@41.160.32.115:5060) State DESTROY
  7936. 2022-07-26 07:28:52.850661 [DEBUG] mod_sofia.c:343 sofia/default/0160040462@41.160.32.115:5060 SOFIA DESTROY
  7937. 2022-07-26 07:28:52.850661 [DEBUG] switch_core_state_machine.c:181 sofia/default/0160040462@41.160.32.115:5060 Standard DESTROY
  7938. 2022-07-26 07:28:52.850661 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0160040462@41.160.32.115:5060) State DESTROY going to sleep
  7939. 2022-07-26 07:28:53.210664 [DEBUG] switch_scheduler.c:144 Deleting task 47240 switch_ivr_schedule_hangup (673e3ffc-0cb4-11ed-bd1d-d3f1ef10c389)
  7940. freeswitch@primary> /exit
  7941.