From Colossal Matamata, 11 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2024-01-16 10:22:12.008836 99.93% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/27876303960!
  2. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_channel.c:3622 (sofia/default/27876303960) Callstate Change DOWN -> EARLY
  3. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  4. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  5. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  6. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  7. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  8. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876303960 G729/8000 20 ms 160 samples 8000 bits 1 channels
  9. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_codec.c:111 sofia/default/27876303960 Original read codec set to G729:18
  10. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  11. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_media.c:5973 sofia/default/27876303960 Set 2833 dtmf send payload to 101 recv payload to 101
  12. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876303960] 102.220.232.19 port 27144 -> 196.31.25.87 port 19730 codec: 18 ms: 20
  13. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_rtp.c:4641 Not using a timer
  14. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_media.c:9089 sofia/default/27876303960 Set 2833 dtmf send payload to 101
  15. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_media.c:9096 sofia/default/27876303960 Set 2833 dtmf receive payload to 101
  16. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_media.c:9119 sofia/default/27876303960 Set rtp dtmf delay to 40
  17. 2024-01-16 10:22:12.008836 99.93% [INFO] switch_ivr_originate.c:3841 Sending early media
  18. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876300018@196.7.219.43:8356] 102.220.232.19 port 28624 -> 196.7.219.43 port 48760 codec: 8 ms: 20
  19. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_rtp.c:4641 Not using a timer
  20. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_media.c:9089 sofia/default/27876300018@196.7.219.43:8356 Set 2833 dtmf send payload to 101
  21. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_media.c:9096 sofia/default/27876300018@196.7.219.43:8356 Set 2833 dtmf receive payload to 101
  22. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_media.c:9119 sofia/default/27876300018@196.7.219.43:8356 Set rtp dtmf delay to 40
  23. 2024-01-16 10:22:12.008836 99.93% [DEBUG] mod_sofia.c:2610 Ring SDP:
  24. v=0                                                                                                                                                                                                                
  25. o=FreeSWITCH 1705371908 1705371909 IN IP4 102.220.232.19                                                                                                                                                          
  26. s=FreeSWITCH                                                                                                                                                                                                      
  27. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  28. t=0 0                                                                                                                                                                                                              
  29. m=audio 28624 RTP/AVP 8 101                                                                                                                                                                                        
  30. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  31. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  32. a=fmtp:101 0-15                                                                                                                                                                                                    
  33. a=ptime:20                                                                                                                                                                                                        
  34. a=sendrecv                                                                                                                                                                                                        
  35.  
  36. 2024-01-16 10:22:12.008836 99.93% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/27876300018@196.7.219.43:8356!
  37. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_channel.c:3622 (sofia/default/27876300018@196.7.219.43:8356) Callstate Change RINGING -> EARLY
  38. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/27876303960] Peer UUID: 58ef0bea-1091-4c44-a3a5-aea731e0cf62
  39. 2024-01-16 10:22:12.008836 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27876300018@196.7.219.43:8356 entering state [early][183]
  40. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/27876303960) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  41. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303960) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 20578)
  42. 2024-01-16 10:22:12.008836 99.93% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27876303960) State EXCHANGE_MEDIA
  43. 2024-01-16 10:22:12.008836 99.93% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  44. 2024-01-16 10:22:12.048844 99.93% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  45. 2024-01-16 10:22:12.228840 99.93% [DEBUG] switch_ivr_bridge.c:655 sofia/default/27876303960 Bridge execute app sched_hangup(+3600 normal_clearing)
  46. 2024-01-16 10:22:12.228840 99.93% [DEBUG] switch_ivr.c:632 sofia/default/27876303960 Command Execute [depth=0] sched_hangup(+3600 normal_clearing)
  47. EXECUTE [depth=0] sofia/default/27876303960 sched_hangup(+3600 normal_clearing)
  48. 2024-01-16 10:22:12.248836 99.93% [DEBUG] switch_scheduler.c:263 Added task 6924 switch_ivr_schedule_hangup (58ef0bea-1091-4c44-a3a5-aea731e0cf62) to run at 1705404132
  49. 2024-01-16 10:22:14.028835 99.87% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  50. 2024-01-16 10:22:16.808844 99.87% [INFO] sofia.c:1348 sofia/default/27876303960 Update Callee ID to "Outbound Call" <27876303960>
  51. 2024-01-16 10:22:16.808844 99.87% [DEBUG] sofia.c:7499 Channel sofia/default/27876303960 entering state [completing][200]
  52. 2024-01-16 10:22:16.808844 99.87% [DEBUG] sofia.c:7506 Duplicate SDP
  53. v=0                                                                                                                                                                                                                
  54. o=FreeSWITCH 1705380800 1705380801 IN IP4 196.31.25.87                                                                                                                                                            
  55. s=FreeSWITCH                                                                                                                                                                                                      
  56. c=IN IP4 196.31.25.87                                                                                                                                                                                              
  57. t=0 0                                                                                                                                                                                                              
  58. m=audio 19730 RTP/AVP 18 101                                                                                                                                                                                      
  59. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  60. a=fmtp:18 annexb=no                                                                                                                                                                                                
  61. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  62. a=fmtp:101 0-16                                                                                                                                                                                                    
  63. a=ptime:20                                                                                                                                                                                                        
  64.  
  65. 2024-01-16 10:22:16.808844 99.87% [DEBUG] sofia.c:7499 Channel sofia/default/27876303960 entering state [ready][200]
  66. 2024-01-16 10:22:16.808844 99.87% [NOTICE] sofia.c:8624 Channel [sofia/default/27876303960] has been answered
  67. EXECUTE [depth=0] sofia/default/27876303960 record_session(/usr/local/freeswitch/recordings/0b96be4f-5cf5-43e5-897a-e445f5705f86.wav)
  68. 2024-01-16 10:22:16.828843 99.87% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/27876300018@196.7.219.43:8356.
  69. 2024-01-16 10:22:16.828843 99.87% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27876300018@196.7.219.43:8356:
  70. v=0                                                                                                                                                                                                                
  71. o=FreeSWITCH 1705371908 1705371910 IN IP4 102.220.232.19                                                                                                                                                          
  72. s=FreeSWITCH                                                                                                                                                                                                      
  73. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  74. t=0 0                                                                                                                                                                                                              
  75. m=audio 28624 RTP/AVP 8 101                                                                                                                                                                                        
  76. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  77. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  78. a=fmtp:101 0-15                                                                                                                                                                                                    
  79. a=ptime:20                                                                                                                                                                                                        
  80. a=sendrecv                                                                                                                                                                                                        
  81.  
  82. 2024-01-16 10:22:16.828843 99.87% [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/27876300018@196.7.219.43:8356] has been answered
  83. 2024-01-16 10:22:16.828843 99.87% [DEBUG] sofia.c:7499 Channel sofia/default/27876300018@196.7.219.43:8356 entering state [completed][200]
  84. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 record_session(/usr/local/freeswitch/recordings/0b96be4f-5cf5-43e5-897a-e445f5705f86.wav)
  85. 2024-01-16 10:22:16.848847 99.87% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  86. 2024-01-16 10:22:16.848847 99.87% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27876303960
  87. 2024-01-16 10:22:16.848847 99.87% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  88. 2024-01-16 10:22:16.848847 99.87% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27876300018@196.7.219.43:8356
  89. 2024-01-16 10:22:16.848847 99.87% [DEBUG] switch_channel.c:3950 (sofia/default/27876303960) Callstate Change EARLY -> ACTIVE
  90. 2024-01-16 10:22:16.848847 99.87% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  91. 2024-01-16 10:22:16.848847 99.87% [DEBUG] switch_channel.c:3950 (sofia/default/27876300018@196.7.219.43:8356) Callstate Change EARLY -> ACTIVE
  92. 2024-01-16 10:22:16.868845 99.87% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  93. 2024-01-16 10:22:16.868845 99.87% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  94. 2024-01-16 10:22:16.868845 99.87% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18
  95. 2024-01-16 10:22:16.988836 99.87% [DEBUG] sofia.c:7499 Channel sofia/default/27876300018@196.7.219.43:8356 entering state [ready][200]
  96. 2024-01-16 10:22:17.388841 99.83% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  97. 2024-01-16 10:22:17.388841 99.83% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  98. 2024-01-16 10:22:20.588849 99.83% [NOTICE] sofia.c:1065 Hangup sofia/default/27876303960 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  99. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27876303960]
  100. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27876303960) State EXCHANGE_MEDIA going to sleep
  101. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303960) Running State Change CS_HANGUP (Cur 2 Tot 20578)
  102. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/0b96be4f-5cf5-43e5-897a-e445f5705f86.wav
  103. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  104. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27876303960
  105. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876303960) Callstate Change ACTIVE -> HANGUP
  106. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876303960) State HANGUP
  107. 2024-01-16 10:22:20.588849 99.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876303960 hanging up, cause: NORMAL_CLEARING
  108. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876303960 Standard HANGUP, cause: NORMAL_CLEARING
  109. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876303960) State HANGUP going to sleep
  110. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876303960) State Change CS_HANGUP -> CS_REPORTING
  111. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303960) Running State Change CS_REPORTING (Cur 2 Tot 20578)
  112. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876303960) State REPORTING
  113. 2024-01-16 10:22:20.588849 99.83% [INFO] mod_json_cdr.c:271 Process [58ef0bea-1091-4c44-a3a5-aea731e0cf62.cdr.json]
  114. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_ivr_bridge.c:820 sofia/default/27876303960 ending bridge by request from write function
  115. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27876300018@196.7.219.43:8356]
  116. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/27876303960 skip receive message [UNBRIDGE] (channel is hungup already)
  117. 2024-01-16 10:22:20.588849 99.83% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/27876300018@196.7.219.43:8356 [CS_EXECUTE] [NORMAL_CLEARING]
  118. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_session.c:2983 sofia/default/27876300018@196.7.219.43:8356 skip receive message [PHONE_EVENT] (channel is hungup already)
  119. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300018@196.7.219.43:8356) State EXECUTE going to sleep
  120. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300018@196.7.219.43:8356) Running State Change CS_HANGUP (Cur 2 Tot 20578)
  121. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/0b96be4f-5cf5-43e5-897a-e445f5705f86.wav
  122. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  123. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27876300018@196.7.219.43:8356
  124. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876300018@196.7.219.43:8356) Callstate Change ACTIVE -> HANGUP
  125. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300018@196.7.219.43:8356) State HANGUP
  126. 2024-01-16 10:22:20.588849 99.83% [DEBUG] mod_sofia.c:462 sofia/default/27876300018@196.7.219.43:8356 Overriding SIP cause 480 with 200 from the other leg
  127. 2024-01-16 10:22:20.588849 99.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876300018@196.7.219.43:8356 hanging up, cause: NORMAL_CLEARING
  128. 2024-01-16 10:22:20.588849 99.83% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/27876300018@196.7.219.43:8356
  129. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876300018@196.7.219.43:8356 Standard HANGUP, cause: NORMAL_CLEARING
  130. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300018@196.7.219.43:8356) State HANGUP going to sleep
  131. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876300018@196.7.219.43:8356) State Change CS_HANGUP -> CS_REPORTING
  132. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300018@196.7.219.43:8356) Running State Change CS_REPORTING (Cur 2 Tot 20578)
  133. 2024-01-16 10:22:20.588849 99.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300018@196.7.219.43:8356) State REPORTING
  134. 2024-01-16 10:22:20.588849 99.83% [INFO] mod_json_cdr.c:271 Process [0b96be4f-5cf5-43e5-897a-e445f5705f86.cdr.json]
  135. 2024-01-16 10:22:20.628845 99.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876303960 Standard REPORTING, cause: NORMAL_CLEARING
  136. 2024-01-16 10:22:20.628845 99.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876303960) State REPORTING going to sleep
  137. 2024-01-16 10:22:20.628845 99.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876303960) State Change CS_REPORTING -> CS_DESTROY
  138. 2024-01-16 10:22:20.628845 99.83% [DEBUG] switch_core_session.c:1753 Session 20578 (sofia/default/27876303960) Locked, Waiting on external entities
  139. 2024-01-16 10:22:20.628845 99.83% [NOTICE] switch_core_session.c:1771 Session 20578 (sofia/default/27876303960) Ended
  140. 2024-01-16 10:22:20.628845 99.83% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876303960 [CS_DESTROY]
  141. 2024-01-16 10:22:20.628845 99.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876303960) Running State Change CS_DESTROY (Cur 1 Tot 20578)
  142. 2024-01-16 10:22:20.628845 99.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876303960) State DESTROY
  143. 2024-01-16 10:22:20.628845 99.83% [DEBUG] mod_sofia.c:379 sofia/default/27876303960 SOFIA DESTROY
  144. 2024-01-16 10:22:20.628845 99.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876303960 Standard DESTROY
  145. 2024-01-16 10:22:20.628845 99.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876303960) State DESTROY going to sleep
  146. 2024-01-16 10:22:20.648846 99.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876300018@196.7.219.43:8356 Standard REPORTING, cause: NORMAL_CLEARING
  147. 2024-01-16 10:22:20.648846 99.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300018@196.7.219.43:8356) State REPORTING going to sleep
  148. 2024-01-16 10:22:20.648846 99.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876300018@196.7.219.43:8356) State Change CS_REPORTING -> CS_DESTROY
  149. 2024-01-16 10:22:20.648846 99.83% [DEBUG] switch_core_session.c:1753 Session 20577 (sofia/default/27876300018@196.7.219.43:8356) Locked, Waiting on external entities
  150. 2024-01-16 10:22:20.648846 99.83% [NOTICE] switch_core_session.c:1771 Session 20577 (sofia/default/27876300018@196.7.219.43:8356) Ended
  151. 2024-01-16 10:22:20.648846 99.83% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876300018@196.7.219.43:8356 [CS_DESTROY]
  152. 2024-01-16 10:22:20.648846 99.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876300018@196.7.219.43:8356) Running State Change CS_DESTROY (Cur 0 Tot 20578)
  153. 2024-01-16 10:22:20.648846 99.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300018@196.7.219.43:8356) State DESTROY
  154. 2024-01-16 10:22:20.648846 99.83% [DEBUG] mod_sofia.c:379 sofia/default/27876300018@196.7.219.43:8356 SOFIA DESTROY
  155. 2024-01-16 10:22:20.648846 99.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876300018@196.7.219.43:8356 Standard DESTROY
  156. 2024-01-16 10:22:20.648846 99.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300018@196.7.219.43:8356) State DESTROY going to sleep
  157. 2024-01-16 10:22:20.748849 99.83% [DEBUG] switch_scheduler.c:147 Deleting task 6924 switch_ivr_schedule_hangup (58ef0bea-1091-4c44-a3a5-aea731e0cf62)
  158. 2024-01-16 10:22:29.228837 99.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [2a075960-3194-4212-8961-c797e1e49b55]
  159. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) Running State Change CS_NEW (Cur 1 Tot 20579)
  160. 2024-01-16 10:22:29.228837 99.50% [INFO] sofia.c:10462 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: 473156861
  161. 2024-01-16 10:22:29.228837 99.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
  162. 2024-01-16 10:22:29.228837 99.50% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
  163. 2024-01-16 10:22:29.228837 99.50% [DEBUG] sofia.c:7499 Channel sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za entering state [received][100]
  164. 2024-01-16 10:22:29.228837 99.50% [DEBUG] sofia.c:7509 Remote SDP:
  165. v=0                                                                                                                                                                                                                
  166. o=Dinstar 1705429348 1705429348 IN IP4 102.220.234.128                                                                                                                                                            
  167. s=Talk                                                                                                                                                                                                            
  168. c=IN IP4 102.220.234.128                                                                                                                                                                                          
  169. t=0 0                                                                                                                                                                                                              
  170. m=audio 11800 RTP/AVP 9 0 8 18 101                                                                                                                                                                                
  171. a=rtpmap:9 G722/8000                                                                                                                                                                                              
  172. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  173. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  174. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  175. a=fmtp:18 annexb=no                                                                                                                                                                                                
  176. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  177. a=fmtp:101 0-15                                                                                                                                                                                                    
  178. a=ptime:20                                                                                                                                                                                                        
  179. a=oldoip:192.168.55.2                                                                                                                                                                                              
  180. a=oldcip:192.168.55.2                                                                                                                                                                                              
  181.  
  182. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  183. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  184. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  185. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  186. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match
  187. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  188. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  189. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  190. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  191. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  192. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  193. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  194. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  195. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  196. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  197. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  198. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  199. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  200. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  201. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
  202. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  203. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za G722/8000 20 ms 160 samples 64000 bits 1 channels
  204. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_codec.c:111 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Original read codec set to G722:9
  205. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  206. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_media.c:5973 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  207. 2024-01-16 10:22:29.228837 99.50% [DEBUG] sofia.c:7933 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State Change CS_NEW -> CS_INIT
  208. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State NEW
  209. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) Running State Change CS_INIT (Cur 1 Tot 20579)
  210. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State INIT
  211. 2024-01-16 10:22:29.228837 99.50% [DEBUG] mod_sofia.c:97 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za SOFIA INIT
  212. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Standard INIT
  213. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State Change CS_INIT -> CS_ROUTING
  214. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State INIT going to sleep
  215. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) Running State Change CS_ROUTING (Cur 1 Tot 20579)
  216. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_channel.c:2380 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) Callstate Change DOWN -> RINGING
  217. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State ROUTING
  218. 2024-01-16 10:22:29.228837 99.50% [DEBUG] mod_sofia.c:158 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za SOFIA ROUTING
  219. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Standard ROUTING
  220. 2024-01-16 10:22:29.228837 99.50% [INFO] mod_dialplan_xml.c:639 Processing 27876304007 <27876304007>->0825638465 in context default
  221. 2024-01-16 10:22:29.228837 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  222. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  223. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                                                                                                
  224. 2024-01-16 10:22:29.228837 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  225. 2024-01-16 10:22:29.248843 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0825638465
  226. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0825638465' AND status=0 limit 1
  227. 2024-01-16 10:22:29.248843 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER27876304007
  228. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  229. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '0825638465' limit 1
  230. 2024-01-16 10:22:29.248843 99.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  231. 2024-01-16 10:22:29.248843 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 27876304007 / 27876304007
  232. 2024-01-16 10:22:29.248843 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  233. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  234. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0825638465
  235. 2024-01-16 10:22:29.248843 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0825638465
  236. 2024-01-16 10:22:29.248843 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27825638465
  237. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27825638465
  238. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27825638465
  239. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27825638465" LIMIT 1                                    
  240. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  241. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="0825638465" limit 1                                                                                                                                                                    
  242. 2024-01-16 10:22:29.248843 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  243. 2024-01-16 10:22:29.248843 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 102.220.234.128
  244. 2024-01-16 10:22:29.248843 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2416605974]
  245. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "2416605974" OR id = "2416605974") AND deleted = 0 limit 1
  246. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0825638465.*' OR blocked_patterns = '^082563846.*' OR blocked_patterns = '^08256384.*' OR blocked_patterns = '^0825638.*' OR blocked_patterns = '^082563.*' OR blocked_patterns = '^08256.*' OR blocked_patterns = '^0825.*' OR blocked_patterns = '^082.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 427 limit 1                                                                                                              
  247. 2024-01-16 10:22:29.248843 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  248. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  249. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0825638465
  250. 2024-01-16 10:22:29.248843 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0825638465
  251. 2024-01-16 10:22:29.248843 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27825638465
  252. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27825638465
  253. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27825638465
  254. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27825638465" AND (accountid = 0 OR status = 1) LIMIT 1
  255. 2024-01-16 10:22:29.248843 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 43
  256. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  257. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0825638465
  258. 2024-01-16 10:22:29.248843 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0825638465
  259. 2024-01-16 10:22:29.248843 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27825638465
  260. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27825638465
  261. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27825638465
  262. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^27825638465.*' OR patterns = '^2782563846.*' OR patterns = '^278256384.*' OR patterns = '^27825638.*' OR patterns = '^2782563.*' OR patterns = '^278256.*' OR patterns = '^27825.*' OR patterns = '^2782.*' OR patterns = '^278.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 427 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                                                            
  263. 2024-01-16 10:22:29.248843 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Package ID : 607
  264. 2024-01-16 10:22:29.248843 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Product ID : 257
  265. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from products WHERE id = 257 AND status = 0
  266. 2024-01-16 10:22:29.248843 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Apply On Rategroups For Free Product :
  267. 2024-01-16 10:22:29.248843 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Package Type : 1 Call Direction : outbound [0:inbound,1:outbound,2:both]
  268. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNTER_INFO] Query :SELECT used_seconds FROM counters  WHERE  accountid = 427 AND package_id = 607 AND status=1 LIMIT 1
  269. 2024-01-16 10:22:29.248843 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Remaining Minutes : 0.066666666666667
  270. 2024-01-16 10:22:29.248843 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Package Id : 607
  271. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="27825638465" AND A.accountid = '427' limit 1                                                                                                                                                                
  272. 2024-01-16 10:22:29.248843 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27825638465
  273. 2024-01-16 10:22:29.248843 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  274. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  275. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27825638465
  276. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27825638465
  277. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27825638465
  278. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27825638465" LIMIT 1                                    
  279. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  280. 2024-01-16 10:22:29.248843 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="27825638465" limit 1                                                                                                                                                                  
  281. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  282. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '27825638465' OR number = '2782563846' OR number = '278256384' OR number = '27825638' OR number = '2782563' OR number = '278256' OR number = '27825' OR number = '2782' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27825638465*' OR number = '2782563846*' OR number = '278256384*' OR number = '27825638*' OR number = '2782563*' OR number = '278256*' OR number = '27825*' OR number = '2782*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '27876304007' OR number = '2787630400' OR number = '278763040' OR number = '27876304' OR number = '2787630' OR number = '278763' OR number = '27876' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27876304007*' OR number = '2787630400*' OR number = '278763040*' OR number = '27876304*' OR number = '2787630*' OR number = '278763*' OR number = '27876*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                                                                                                                                  
  283. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  284. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 27876304007
  285. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 1
  286. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from dids where number='27876304007' and accountid = "427" and status=0
  287. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNT] COUNT: 1
  288. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27825638465' OR routing_prefix = '2782563846' OR routing_prefix = '278256384' OR routing_prefix = '27825638' OR routing_prefix = '2782563' OR routing_prefix = '278256' OR routing_prefix = '27825' OR routing_prefix = '2782' OR routing_prefix = '278' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 425 limit 1                                                                          
  289. 2024-01-16 10:22:29.268844 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (27825638465)!!!!
  290. 2024-01-16 10:22:29.268844 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (27825638465)!!!!
  291. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  292. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 427
  293. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2416605974
  294. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 20
  295. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  296. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 195
  297. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 1
  298. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  299. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 195 AND status = 0
  300. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  301. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 195 AND status = 0
  302. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27825638465.*' OR pattern = '^2782563846.*' OR pattern = '^278256384.*' OR pattern = '^27825638.*' OR pattern = '^2782563.*' OR pattern = '^278256.*' OR pattern = '^27825.*' OR pattern = '^2782.*' OR pattern = '^278.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND (caller_id_pattern = '^27876304007.*' OR caller_id_pattern = '^2787630400.*' OR caller_id_pattern = '^278763040.*' OR caller_id_pattern = '^27876304.*' OR caller_id_pattern = '^2787630.*' OR caller_id_pattern = '^278763.*' OR caller_id_pattern = '^27876.*' OR caller_id_pattern = '^2787.*' OR caller_id_pattern = '^278.*' OR caller_id_pattern = '^27.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 195 OR accountid=427)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1                      
  303. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  304. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  305. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 12391203
  306. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  307. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  308. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.59000
  309. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : RSA Vodacom Mobile
  310. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  311. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 427
  312. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 97
  313. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  314. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  315. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your20 balance Accountid 427 !!!
  316. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : 8.4745762711864
  317. 2024-01-16 10:22:29.268844 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 425
  318. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "425" OR number = "425") AND deleted = 0 limit 1
  319. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^27825638465.*' OR blocked_patterns = '^2782563846.*' OR blocked_patterns = '^278256384.*' OR blocked_patterns = '^27825638.*' OR blocked_patterns = '^2782563.*' OR blocked_patterns = '^278256.*' OR blocked_patterns = '^27825.*' OR blocked_patterns = '^2782.*' OR blocked_patterns = '^278.*' OR blocked_patterns = '^27.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 425 limit 1                                                                        
  320. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  321. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 425
  322. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4375278430
  323. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 500
  324. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  325. 2024-01-16 10:22:29.268844 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 193
  326. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 193 AND status = 0
  327. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  328. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 193 AND status = 0
  329. 2024-01-16 10:22:29.268844 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27825638465.*' OR pattern = '^2782563846.*' OR pattern = '^278256384.*' OR pattern = '^27825638.*' OR pattern = '^2782563.*' OR pattern = '^278256.*' OR pattern = '^27825.*' OR pattern = '^2782.*' OR pattern = '^278.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND (caller_id_pattern = '^27876304007.*' OR caller_id_pattern = '^2787630400.*' OR caller_id_pattern = '^278763040.*' OR caller_id_pattern = '^27876304.*' OR caller_id_pattern = '^2787630.*' OR caller_id_pattern = '^278763.*' OR caller_id_pattern = '^27876.*' OR caller_id_pattern = '^2787.*' OR caller_id_pattern = '^278.*' OR caller_id_pattern = '^27.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 193 OR accountid=425)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1                      
  330. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  331. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  332. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 12220095
  333. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  334. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  335. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.53100
  336. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : RSA Vodacom Mobile
  337. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  338. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 425
  339. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 97
  340. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  341. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  342. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your500 balance Accountid 425 !!!
  343. 2024-01-16 10:22:29.288845 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins!
  344. 2024-01-16 10:22:29.288845 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins!
  345. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : 60
  346. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:12391203|CODE:^2782.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.59000|INC:1|INITIALBLOCK:1|RATEGROUP:195|MARKUP:0|CI:0|ACCID:427||ID:12220095|CODE:^2782.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.53100|INC:1|INITIALBLOCK:1|RATEGROUP:193|MARKUP:0|CI:0|ACCID:425                                                                                                                                                                                                
  347. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  348. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0
  349. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 0.066666666666667 minutes
  350. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 12391203
  351. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :97
  352. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,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 = '^27825638465.*' OR pattern = '^2782563846.*' OR pattern = '^278256384.*' OR pattern = '^27825638.*' OR pattern = '^2782563.*' OR pattern = '^278256.*' OR pattern = '^27825.*' OR pattern = '^2782.*' OR pattern = '^278.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (97)  AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,97),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC                                                                            
  353. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  354. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  355. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3636227
  356. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^2782.*
  357. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : RSA Vodacom Mobile
  358. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  359. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  360. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^2782.*
  361. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  362. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  363. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 97
  364. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Goldtel
  365. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  366. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : Goldtel
  367. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 159
  368. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 20
  369. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  370. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 427 AND status=0 LIMIT 1                                                                                                                                                                                      
  371. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 0.066666666666667
  372. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '27876304007' and status = 0 limit 1
  373. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  374. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_recording_call] Query :SELECT username FROM sip_devices WHERE username = '27876304007' and status = 0 limit 1
  375. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE (number = 427 or id = 427 ) and status = 0 limit 1
  376. 2024-01-16 10:22:29.288845 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  377. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 193 AND status = 0
  378. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [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 = 159) AND status=0 limit 1                                                                                                                                                                
  379. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [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 = 97) AND status=0 limit 1                                                                                                                                                                    
  380. 2024-01-16 10:22:29.288845 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  381. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  382. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0825638465
  383. 2024-01-16 10:22:29.288845 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0825638465
  384. 2024-01-16 10:22:29.288845 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27825638465
  385. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27825638465
  386. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27825638465
  387. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27825638465" LIMIT 1                                    
  388. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  389. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  390. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  391. <document type="freeswitch/xml">                                                                                                                                                                                  
  392. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  393. <context name="default">                                                                                                                                                                                          
  394. <extension name="27825638465">                                                                                                                                                                                    
  395. <condition field="destination_number" expression="0825638465">                                                                                                                                                    
  396. <action application="set" data="effective_destination_number=27825638465"/>                                                                                                                                        
  397. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  398. <action application="set" data="bridge_pre_execute_bleg_data=+4 normal_clearing"/>                                                                                                                                
  399. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  400. <action application="set" data="notify_credit_limit=1.00000"/>                                                                                                                                                    
  401. <action application="set" data="type=0"/>                                                                                                                                                                          
  402. <action application="set" data="callstart=2024-01-16 10:22:29"/>                                                                                                                                                  
  403. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  404. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  405. <action application="set" data="account_id=427"/>                                                                                                                                                                  
  406. <action application="set" data="parent_id=425"/>                                                                                                                                                                  
  407. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  408. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  409. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  410. <action application="set" data="accountname=default"/>                                                                                                                                                            
  411. <action application="set" data="package_id=607"/>                                                                                                                                                                  
  412. <action application="export" data="t38_passthru=true"/>                                                                                                                                                            
  413. <action application="set" data="fax_enable_t38=true"/>                                                                                                                                                            
  414. <action application="set" data="fax_enable_t38_request=true"/>                                                                                                                                                    
  415. <action application="set" data="filename1=astpp.pbx.lua"/>                                                                                                                                                        
  416. <action application="set" data="origination_rates=ID:12391203|CODE:^2782.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.59000|INC:1|INITIALBLOCK:1|RATEGROUP:195|MARKUP:0|CI:0|ACCID:427||ID:12220095|CODE:^2782.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.53100|INC:1|INITIALBLOCK:1|RATEGROUP:193|MARKUP:0|CI:0|ACCID:425"/>                      
  417. <action application="set" data="original_caller_id_name=27876304007"/>                                                                                                                                            
  418. <action application="set" data="original_caller_id_number=27876304007"/>                                                                                                                                          
  419. <action application="limit" data="db 2416605974 user_2416605974 5 "/>                                                                                                                                              
  420. <action application="limit" data="db 4375278430 user_4375278430 10 "/>                                                                                                                                            
  421. <action application="export" data="is_recording=1"/>                                                                                                                                                              
  422. <action application="export" data="media_bug_answer_req=true"/>                                                                                                                                                    
  423. <action application="export" data="record_sample_rate=8000"/>                                                                                                                                                      
  424. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>                                                                                                              
  425. <action application="set" data="effective_caller_id_name=27876304007"/>                                                                                                                                            
  426. <action application="set" data="effective_caller_id_number=27876304007"/>                                                                                                                                          
  427. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  428. <action application="set" data="termination_rates=ID:3636227|CODE:^2782.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159"/>      
  429. <action application="set" data="trunk_id=97"/>                                                                                                                                                                    
  430. <action application="set" data="provider_id=159"/>                                                                                                                                                                
  431. <action application="set" data="rate_flag=0"/>                                                                                                                                                                    
  432. <action application="set" data="daily_call_credit_limit=100.00000"/>                                                                                                                                              
  433. <action application="set" data="monthly_call_credit_limit=300.00000"/>                                                                                                                                            
  434. <action application="set" data="daily_call_used_limit=0.00000"/>                                                                                                                                                  
  435. <action application="set" data="monthly_call_used_limit=0.00000"/>                                                                                                                                                
  436. <action application="set" data="quality_trunk_seq=97"/>                                                                                                                                                            
  437. <action application="set" data="force_trunk_flag=12391203"/>                                                                                                                                                      
  438. <action application="export" data="presence_data=trunk_id=97"/>                                                                                                                                                    
  439. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  440. <action application="export" data="presence_id=27825638465"/>                                                                                                                                                      
  441. <action application="export" data="presence_data=x//425|||Anywhere Test Customer(2416605974)|||^2782.* // RSA Vodacom Mobile // 0.59000 |||Goldtel // ^2782.* // RSA Vodacom Mobile // 0.12000 // trunk_id=97|||STD|||102.220.234.128|||0.53100 // ^2782.* // RSA Vodacom Mobile"/>                                                                                                                                                  
  442. <action application="limit" data="db Goldtel gw_Goldtel 20 "/>                                                                                                                                                    
  443. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/Goldtel/27825638465;fs_path=sip:102.220.232.100:5060"/>                                
  444. </condition>                                                                                                                                                                                                      
  445. </extension>                                                                                                                                                                                                      
  446. </context>                                                                                                                                                                                                        
  447. </section>                                                                                                                                                                                                        
  448. </document>                                                                                                                                                                                                        
  449. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za parsing [default->27825638465] continue=false
  450. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Regex (PASS) [27825638465] destination_number(0825638465) =~ /0825638465/ break=on-false
  451. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(effective_destination_number=27825638465)
  452. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(bridge_pre_execute_bleg_app=sched_hangup)
  453. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(bridge_pre_execute_bleg_data=+4 normal_clearing)
  454. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(notify_flag=0)
  455. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(notify_credit_limit=1.00000)
  456. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(type=0)
  457. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(callstart=2024-01-16 10:22:29)
  458. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(hangup_after_bridge=true)
  459. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(continue_on_fail=TRUE)
  460. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(account_id=427)
  461. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(parent_id=425)
  462. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(entity_id=0)
  463. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(call_processed=internal)
  464. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(call_direction=outbound)
  465. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(accountname=default)
  466. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(package_id=607)
  467. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action export(t38_passthru=true)
  468. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(fax_enable_t38=true)
  469. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(fax_enable_t38_request=true)
  470. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(filename1=astpp.pbx.lua)
  471. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(origination_rates=ID:12391203|CODE:^2782.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.59000|INC:1|INITIALBLOCK:1|RATEGROUP:195|MARKUP:0|CI:0|ACCID:427||ID:12220095|CODE:^2782.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.53100|INC:1|INITIALBLOCK:1|RATEGROUP:193|MARKUP:0|CI:0|ACCID:425)                                                                                                                                                                                                  
  472. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(original_caller_id_name=27876304007)
  473. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(original_caller_id_number=27876304007)
  474. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action limit(db 2416605974 user_2416605974 5 )
  475. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action limit(db 4375278430 user_4375278430 10 )
  476. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action export(is_recording=1)
  477. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action export(media_bug_answer_req=true)
  478. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action export(record_sample_rate=8000)
  479. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  480. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(effective_caller_id_name=27876304007)
  481. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(effective_caller_id_number=27876304007)
  482. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(calltype=STANDARD)
  483. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(termination_rates=ID:3636227|CODE:^2782.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159)                                                                                                                                                                                  
  484. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(trunk_id=97)
  485. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(provider_id=159)
  486. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(rate_flag=0)
  487. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(daily_call_credit_limit=100.00000)
  488. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(monthly_call_credit_limit=300.00000)
  489. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(daily_call_used_limit=0.00000)
  490. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(monthly_call_used_limit=0.00000)
  491. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(quality_trunk_seq=97)
  492. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(force_trunk_flag=12391203)
  493. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action export(presence_data=trunk_id=97)
  494. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action set(intcall=0)
  495. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action export(presence_id=27825638465)
  496. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action export(presence_data=x//425|||Anywhere Test Customer(2416605974)|||^2782.* // RSA Vodacom Mobile // 0.59000 |||Goldtel // ^2782.* // RSA Vodacom Mobile // 0.12000 // trunk_id=97|||STD|||102.220.234.128|||0.53100 // ^2782.* // RSA Vodacom Mobile)                                                                                                          
  497. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action limit(db Goldtel gw_Goldtel 20 )
  498. Dialplan: sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Action bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/Goldtel/27825638465;fs_path=sip:102.220.232.100:5060)                                                                                                                                                                                                            
  499. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State Change CS_ROUTING -> CS_EXECUTE
  500. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State ROUTING going to sleep
  501. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) Running State Change CS_EXECUTE (Cur 1 Tot 20579)
  502. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State EXECUTE
  503. 2024-01-16 10:22:29.288845 99.50% [DEBUG] mod_sofia.c:213 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za SOFIA EXECUTE
  504. 2024-01-16 10:22:29.288845 99.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Standard EXECUTE
  505. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(effective_destination_number=27825638465)
  506. 2024-01-16 10:22:29.288845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [effective_destination_number]=[27825638465]
  507. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(bridge_pre_execute_bleg_app=sched_hangup)
  508. 2024-01-16 10:22:29.288845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [bridge_pre_execute_bleg_app]=[sched_hangup]
  509. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(bridge_pre_execute_bleg_data=+4 normal_clearing)
  510. 2024-01-16 10:22:29.288845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [bridge_pre_execute_bleg_data]=[+4 normal_clearing]
  511. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(notify_flag=0)
  512. 2024-01-16 10:22:29.288845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [notify_flag]=[0]
  513. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(notify_credit_limit=1.00000)
  514. 2024-01-16 10:22:29.288845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [notify_credit_limit]=[1.00000]
  515. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(type=0)
  516. 2024-01-16 10:22:29.288845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [type]=[0]
  517. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(callstart=2024-01-16 10:22:29)
  518. 2024-01-16 10:22:29.288845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [callstart]=[2024-01-16 10:22:29]
  519. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(hangup_after_bridge=true)
  520. 2024-01-16 10:22:29.288845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [hangup_after_bridge]=[true]
  521. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(continue_on_fail=TRUE)
  522. 2024-01-16 10:22:29.288845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [continue_on_fail]=[TRUE]
  523. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(account_id=427)
  524. 2024-01-16 10:22:29.288845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [account_id]=[427]
  525. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(parent_id=425)
  526. 2024-01-16 10:22:29.288845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [parent_id]=[425]
  527. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(entity_id=0)
  528. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [entity_id]=[0]
  529. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(call_processed=internal)
  530. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [call_processed]=[internal]
  531. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(call_direction=outbound)
  532. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [call_direction]=[outbound]
  533. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(accountname=default)
  534. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [accountname]=[default]
  535. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(package_id=607)
  536. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [package_id]=[607]
  537. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za export(t38_passthru=true)
  538. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  539. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(fax_enable_t38=true)
  540. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [fax_enable_t38]=[true]
  541. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(fax_enable_t38_request=true)
  542. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [fax_enable_t38_request]=[true]
  543. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(filename1=astpp.pbx.lua)
  544. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [filename1]=[astpp.pbx.lua]
  545. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(origination_rates=ID:12391203|CODE:^2782.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.59000|INC:1|INITIALBLOCK:1|RATEGROUP:195|MARKUP:0|CI:0|ACCID:427||ID:12220095|CODE:^2782.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.53100|INC:1|INITIALBLOCK:1|RATEGROUP:193|MARKUP:0|CI:0|ACCID:425)                                                                                                                                                                                                
  546. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [origination_rates]=[ID:12391203|CODE:^2782.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.59000|INC:1|INITIALBLOCK:1|RATEGROUP:195|MARKUP:0|CI:0|ACCID:427||ID:12220095|CODE:^2782.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.53100|INC:1|INITIALBLOCK:1|RATEGROUP:193|MARKUP:0|CI:0|ACCID:425]                                                                                                                                                  
  547. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(original_caller_id_name=27876304007)
  548. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [original_caller_id_name]=[27876304007]
  549. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(original_caller_id_number=27876304007)
  550. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [original_caller_id_number]=[27876304007]
  551. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za limit(db 2416605974 user_2416605974 5 )
  552. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_limit.c:124 incr called: 2416605974_user_2416605974 max:5, interval:0
  553. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_db.c:194 Usage for 2416605974_user_2416605974 is now 1/5
  554. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za limit(db 4375278430 user_4375278430 10 )
  555. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_limit.c:124 incr called: 4375278430_user_4375278430 max:10, interval:0
  556. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_db.c:194 Usage for 4375278430_user_4375278430 is now 1/10
  557. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za export(is_recording=1)
  558. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  559. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za export(media_bug_answer_req=true)
  560. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  561. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za export(record_sample_rate=8000)
  562. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  563. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za export(execute_on_answer=record_session /usr/local/freeswitch/recordings/2a075960-3194-4212-8961-c797e1e49b55.wav)
  564. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/2a075960-3194-4212-8961-c797e1e49b55.wav]
  565. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(effective_caller_id_name=27876304007)
  566. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [effective_caller_id_name]=[27876304007]
  567. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(effective_caller_id_number=27876304007)
  568. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [effective_caller_id_number]=[27876304007]
  569. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(calltype=STANDARD)
  570. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [calltype]=[STANDARD]
  571. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(termination_rates=ID:3636227|CODE:^2782.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159)                                                                                                                                                                                
  572. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [termination_rates]=[ID:3636227|CODE:^2782.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159]                                                                                                                                  
  573. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(trunk_id=97)
  574. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [trunk_id]=[97]
  575. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(provider_id=159)
  576. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [provider_id]=[159]
  577. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(rate_flag=0)
  578. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [rate_flag]=[0]
  579. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(daily_call_credit_limit=100.00000)
  580. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [daily_call_credit_limit]=[100.00000]
  581. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(monthly_call_credit_limit=300.00000)
  582. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [monthly_call_credit_limit]=[300.00000]
  583. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(daily_call_used_limit=0.00000)
  584. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [daily_call_used_limit]=[0.00000]
  585. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(monthly_call_used_limit=0.00000)
  586. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [monthly_call_used_limit]=[0.00000]
  587. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(quality_trunk_seq=97)
  588. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [quality_trunk_seq]=[97]
  589. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(force_trunk_flag=12391203)
  590. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [force_trunk_flag]=[12391203]
  591. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za export(presence_data=trunk_id=97)
  592. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=97]
  593. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za set(intcall=0)
  594. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [intcall]=[0]
  595. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za export(presence_id=27825638465)
  596. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[27825638465]
  597. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za export(presence_data=x//425|||Anywhere Test Customer(2416605974)|||^2782.* // RSA Vodacom Mobile // 0.59000 |||Goldtel // ^2782.* // RSA Vodacom Mobile // 0.12000 // trunk_id=97|||STD|||102.220.234.128|||0.53100 // ^2782.* // RSA Vodacom Mobile)                                                                                                          
  598. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//425|||Anywhere Test Customer(2416605974)|||^2782.* // RSA Vodacom Mobile // 0.59000 |||Goldtel // ^2782.* // RSA Vodacom Mobile // 0.12000 // trunk_id=97|||STD|||102.220.234.128|||0.53100 // ^2782.* // RSA Vodacom Mobile]                                                                                                
  599. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za limit(db Goldtel gw_Goldtel 20 )
  600. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_limit.c:124 incr called: Goldtel_gw_Goldtel max:20, interval:0
  601. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_db.c:194 Usage for Goldtel_gw_Goldtel is now 1/20
  602. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/Goldtel/27825638465;fs_path=sip:102.220.232.100:5060)                                                                                                                                                                                                          
  603. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za EXPORTING[export_vars] [t38_passthru]=[true] to event
  604. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za EXPORTING[export_vars] [is_recording]=[1] to event
  605. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  606. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  607. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/2a075960-3194-4212-8961-c797e1e49b55.wav] to event                                                                                                                                                                  
  608. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za EXPORTING[export_vars] [presence_data]=[x//425|||Anywhere Test Customer(2416605974)|||^2782.* // RSA Vodacom Mobile // 0.59000 |||Goldtel // ^2782.* // RSA Vodacom Mobile // 0.12000 // trunk_id=97|||STD|||102.220.234.128|||0.53100 // ^2782.* // RSA Vodacom Mobile] to event                                
  609. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za EXPORTING[export_vars] [presence_id]=[27825638465] to event
  610. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_channel.c:1269 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za EXPORTING[export_vars] [presence_data]=[x//425|||Anywhere Test Customer(2416605974)|||^2782.* // RSA Vodacom Mobile // 0.59000 |||Goldtel // ^2782.* // RSA Vodacom Mobile // 0.12000 // trunk_id=97|||STD|||102.220.234.128|||0.53100 // ^2782.* // RSA Vodacom Mobile] to event                                
  611. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  612. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  613. 2024-01-16 10:22:29.308845 99.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27825638465 [4558b34f-7067-4d08-9b58-aa6d5b13f666]
  614. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_sofia.c:5121 (sofia/default/27825638465) State Change CS_NEW -> CS_INIT
  615. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27825638465) Running State Change CS_INIT (Cur 2 Tot 20580)
  616. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27825638465) State INIT
  617. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_sofia.c:97 sofia/default/27825638465 SOFIA INIT
  618. 2024-01-16 10:22:29.308845 99.50% [DEBUG] sofia_glue.c:1620 sip:102.220.232.100 Setting proxy route to sofia/default/27825638465
  619. 2024-01-16 10:22:29.308845 99.50% [INFO] sofia_glue.c:1651 sofia/default/27825638465 sending invite call-id: (null)
  620. 2024-01-16 10:22:29.308845 99.50% [DEBUG] sofia_glue.c:1654 sofia/default/27825638465 sending invite version: 1.10.7 -release 64bit
  621. Local SDP:                                                                                                                                                                                                        
  622. v=0                                                                                                                                                                                                                
  623. o=FreeSWITCH 1705370117 1705370118 IN IP4 102.220.232.19                                                                                                                                                          
  624. s=FreeSWITCH                                                                                                                                                                                                      
  625. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  626. t=0 0                                                                                                                                                                                                              
  627. m=audio 30432 RTP/AVP 18 8 0 101                                                                                                                                                                                  
  628. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  629. a=fmtp:18 annexb=no                                                                                                                                                                                                
  630. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  631. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  632. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  633. a=fmtp:101 0-15                                                                                                                                                                                                    
  634. a=ptime:20                                                                                                                                                                                                        
  635. a=sendrecv                                                                                                                                                                                                        
  636.  
  637. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/27825638465 Standard INIT
  638. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27825638465) State Change CS_INIT -> CS_ROUTING
  639. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27825638465) State INIT going to sleep
  640. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27825638465) Running State Change CS_ROUTING (Cur 2 Tot 20580)
  641. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27825638465) State ROUTING
  642. 2024-01-16 10:22:29.308845 99.50% [DEBUG] mod_sofia.c:158 sofia/default/27825638465 SOFIA ROUTING
  643. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/27825638465) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  644. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27825638465) State ROUTING going to sleep
  645. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27825638465) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 20580)
  646. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27825638465) State CONSUME_MEDIA
  647. 2024-01-16 10:22:29.308845 99.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27825638465) State CONSUME_MEDIA going to sleep
  648. 2024-01-16 10:22:29.308845 99.50% [DEBUG] sofia.c:7499 Channel sofia/default/27825638465 entering state [calling][0]
  649. 2024-01-16 10:22:31.468837 99.47% [INFO] sofia.c:1348 sofia/default/27825638465 Update Callee ID to "Outbound Call" <27825638465>
  650. 2024-01-16 10:22:31.468837 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27825638465 entering state [proceeding][183]
  651. 2024-01-16 10:22:31.468837 99.47% [DEBUG] sofia.c:7509 Remote SDP:
  652. v=0                                                                                                                                                                                                                
  653. o=FreeSWITCH 1705382825 1705382826 IN IP4 196.31.25.87                                                                                                                                                            
  654. s=FreeSWITCH                                                                                                                                                                                                      
  655. c=IN IP4 196.31.25.87                                                                                                                                                                                              
  656. t=0 0                                                                                                                                                                                                              
  657. m=audio 17724 RTP/AVP 18 101                                                                                                                                                                                      
  658. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  659. a=fmtp:18 annexb=no                                                                                                                                                                                                
  660. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  661. a=fmtp:101 0-16                                                                                                                                                                                                    
  662. a=ptime:20                                                                                                                                                                                                        
  663.  
  664. 2024-01-16 10:22:31.468837 99.47% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/27825638465!
  665. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_channel.c:3622 (sofia/default/27825638465) Callstate Change DOWN -> EARLY
  666. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  667. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  668. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  669. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  670. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  671. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27825638465 G729/8000 20 ms 160 samples 8000 bits 1 channels
  672. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_codec.c:111 sofia/default/27825638465 Original read codec set to G729:18
  673. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  674. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_media.c:5973 sofia/default/27825638465 Set 2833 dtmf send payload to 101 recv payload to 101
  675. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27825638465] 102.220.232.19 port 30432 -> 196.31.25.87 port 17724 codec: 18 ms: 20
  676. 2024-01-16 10:22:31.468837 99.47% [INFO] switch_ivr_originate.c:3841 Sending early media
  677. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_rtp.c:4641 Not using a timer
  678. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za] 102.220.232.19 port 32192 -> 102.220.234.128 port 11800 codec: 9 ms: 20
  679. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_rtp.c:4641 Not using a timer
  680. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_media.c:9089 sofia/default/27825638465 Set 2833 dtmf send payload to 101
  681. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_media.c:9096 sofia/default/27825638465 Set 2833 dtmf receive payload to 101
  682. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_media.c:9119 sofia/default/27825638465 Set rtp dtmf delay to 40
  683. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_media.c:9089 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf send payload to 101
  684. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_media.c:9096 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf receive payload to 101
  685. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_media.c:9119 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Set rtp dtmf delay to 40
  686. 2024-01-16 10:22:31.468837 99.47% [DEBUG] mod_sofia.c:2610 Ring SDP:
  687. v=0                                                                                                                                                                                                                
  688. o=FreeSWITCH 1705368359 1705368360 IN IP4 102.220.232.19                                                                                                                                                          
  689. s=FreeSWITCH                                                                                                                                                                                                      
  690. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  691. t=0 0                                                                                                                                                                                                              
  692. m=audio 32192 RTP/AVP 9 101                                                                                                                                                                                        
  693. a=rtpmap:9 G722/8000                                                                                                                                                                                              
  694. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  695. a=fmtp:101 0-15                                                                                                                                                                                                    
  696. a=ptime:20                                                                                                                                                                                                        
  697. a=sendrecv                                                                                                                                                                                                        
  698.  
  699. 2024-01-16 10:22:31.468837 99.47% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za!
  700. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_channel.c:3622 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) Callstate Change RINGING -> EARLY
  701. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/27825638465] Peer UUID: 4558b34f-7067-4d08-9b58-aa6d5b13f666
  702. 2024-01-16 10:22:31.468837 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za entering state [early][183]
  703. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/27825638465) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  704. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27825638465) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 20580)
  705. 2024-01-16 10:22:31.468837 99.47% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27825638465) State EXCHANGE_MEDIA
  706. 2024-01-16 10:22:31.468837 99.47% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  707. 2024-01-16 10:22:31.608836 99.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  708. 2024-01-16 10:22:31.608836 99.47% [NOTICE] switch_core_media.c:16151 Activating write resampler
  709. 2024-01-16 10:22:31.668839 99.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  710. 2024-01-16 10:22:31.668839 99.47% [NOTICE] switch_core_media.c:16151 Activating write resampler
  711. 2024-01-16 10:22:31.828835 99.47% [DEBUG] switch_ivr_bridge.c:655 sofia/default/27825638465 Bridge execute app sched_hangup(+4 normal_clearing)
  712. 2024-01-16 10:22:31.848843 99.47% [DEBUG] switch_ivr.c:632 sofia/default/27825638465 Command Execute [depth=0] sched_hangup(+4 normal_clearing)
  713. EXECUTE [depth=0] sofia/default/27825638465 sched_hangup(+4 normal_clearing)
  714. 2024-01-16 10:22:31.848843 99.47% [DEBUG] switch_scheduler.c:263 Added task 6925 switch_ivr_schedule_hangup (4558b34f-7067-4d08-9b58-aa6d5b13f666) to run at 1705400555
  715. 2024-01-16 10:22:34.128835 99.37% [DEBUG] sofia.c:7499 Channel sofia/default/27825638465 entering state [completing][200]
  716. 2024-01-16 10:22:34.128835 99.37% [DEBUG] sofia.c:7506 Duplicate SDP
  717. v=0                                                                                                                                                                                                                
  718. o=FreeSWITCH 1705382825 1705382826 IN IP4 196.31.25.87                                                                                                                                                            
  719. s=FreeSWITCH                                                                                                                                                                                                      
  720. c=IN IP4 196.31.25.87                                                                                                                                                                                              
  721. t=0 0                                                                                                                                                                                                              
  722. m=audio 17724 RTP/AVP 18 101                                                                                                                                                                                      
  723. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  724. a=fmtp:18 annexb=no                                                                                                                                                                                                
  725. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  726. a=fmtp:101 0-16                                                                                                                                                                                                    
  727. a=ptime:20                                                                                                                                                                                                        
  728.  
  729. 2024-01-16 10:22:34.128835 99.37% [DEBUG] sofia.c:7499 Channel sofia/default/27825638465 entering state [ready][200]
  730. 2024-01-16 10:22:34.128835 99.37% [NOTICE] sofia.c:8624 Channel [sofia/default/27825638465] has been answered
  731. EXECUTE [depth=0] sofia/default/27825638465 record_session(/usr/local/freeswitch/recordings/2a075960-3194-4212-8961-c797e1e49b55.wav)
  732. 2024-01-16 10:22:34.128835 99.37% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za.
  733. 2024-01-16 10:22:34.128835 99.37% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za:
  734. v=0                                                                                                                                                                                                                
  735. o=FreeSWITCH 1705368359 1705368361 IN IP4 102.220.232.19                                                                                                                                                          
  736. s=FreeSWITCH                                                                                                                                                                                                      
  737. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  738. t=0 0                                                                                                                                                                                                              
  739. m=audio 32192 RTP/AVP 9 101                                                                                                                                                                                        
  740. a=rtpmap:9 G722/8000                                                                                                                                                                                              
  741. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  742. a=fmtp:101 0-15                                                                                                                                                                                                    
  743. a=ptime:20                                                                                                                                                                                                        
  744. a=sendrecv                                                                                                                                                                                                        
  745.  
  746. 2024-01-16 10:22:34.128835 99.37% [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za] has been answered
  747. 2024-01-16 10:22:34.128835 99.37% [DEBUG] sofia.c:7499 Channel sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za entering state [completed][200]
  748. EXECUTE [depth=0] sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za record_session(/usr/local/freeswitch/recordings/2a075960-3194-4212-8961-c797e1e49b55.wav)
  749. 2024-01-16 10:22:34.128835 99.37% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/recordings/2a075960-3194-4212-8961-c797e1e49b55.wav sample rate 8000 doesn't match requested rate 16000
  750. 2024-01-16 10:22:34.128835 99.37% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  751. 2024-01-16 10:22:34.128835 99.37% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27825638465
  752. 2024-01-16 10:22:34.128835 99.37% [DEBUG] switch_channel.c:3950 (sofia/default/27825638465) Callstate Change EARLY -> ACTIVE
  753. 2024-01-16 10:22:34.128835 99.37% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 16000 -> 8000
  754. 2024-01-16 10:22:34.128835 99.37% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za
  755. 2024-01-16 10:22:34.128835 99.37% [DEBUG] switch_channel.c:3950 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) Callstate Change EARLY -> ACTIVE
  756. 2024-01-16 10:22:34.148845 99.37% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  757. 2024-01-16 10:22:34.148845 99.37% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  758. 2024-01-16 10:22:34.168843 99.37% [DEBUG] sofia.c:7499 Channel sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za entering state [ready][200]
  759. 2024-01-16 10:22:34.188846 99.37% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  760. 2024-01-16 10:22:34.188846 99.37% [DEBUG] switch_core_io.c:448 Setting BUG Codec G722:9
  761. 2024-01-16 10:22:34.388836 99.33% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  762. 2024-01-16 10:22:34.388836 99.33% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18
  763. 2024-01-16 10:22:35.348836 99.33% [NOTICE] switch_ivr_async.c:5519 Hangup sofia/default/27825638465 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  764. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_scheduler.c:147 Deleting task 6925 switch_ivr_schedule_hangup (4558b34f-7067-4d08-9b58-aa6d5b13f666)
  765. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_ivr_bridge.c:826 sofia/default/27825638465 ending bridge by request from read function
  766. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27825638465]
  767. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27825638465) State EXCHANGE_MEDIA going to sleep
  768. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27825638465) Running State Change CS_HANGUP (Cur 2 Tot 20580)
  769. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/2a075960-3194-4212-8961-c797e1e49b55.wav
  770. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  771. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27825638465
  772. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27825638465) Callstate Change ACTIVE -> HANGUP
  773. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27825638465) State HANGUP
  774. 2024-01-16 10:22:35.348836 99.33% [DEBUG] mod_sofia.c:468 Channel sofia/default/27825638465 hanging up, cause: NORMAL_CLEARING
  775. 2024-01-16 10:22:35.348836 99.33% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/27825638465
  776. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:59 sofia/default/27825638465 Standard HANGUP, cause: NORMAL_CLEARING
  777. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27825638465) State HANGUP going to sleep
  778. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27825638465) State Change CS_HANGUP -> CS_REPORTING
  779. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27825638465) Running State Change CS_REPORTING (Cur 2 Tot 20580)
  780. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27825638465) State REPORTING
  781. 2024-01-16 10:22:35.348836 99.33% [INFO] mod_json_cdr.c:271 Process [4558b34f-7067-4d08-9b58-aa6d5b13f666.cdr.json]
  782. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_ivr_bridge.c:820 sofia/default/27825638465 ending bridge by request from write function
  783. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za]
  784. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/27825638465 skip receive message [UNBRIDGE] (channel is hungup already)
  785. 2024-01-16 10:22:35.348836 99.33% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [CS_EXECUTE] [NORMAL_CLEARING]
  786. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_session.c:2983 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za skip receive message [PHONE_EVENT] (channel is hungup already)
  787. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State EXECUTE going to sleep
  788. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) Running State Change CS_HANGUP (Cur 2 Tot 20580)
  789. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/2a075960-3194-4212-8961-c797e1e49b55.wav
  790. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  791. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za
  792. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) Callstate Change ACTIVE -> HANGUP
  793. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State HANGUP
  794. 2024-01-16 10:22:35.348836 99.33% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za hanging up, cause: NORMAL_CLEARING
  795. 2024-01-16 10:22:35.348836 99.33% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za
  796. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Standard HANGUP, cause: NORMAL_CLEARING
  797. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State HANGUP going to sleep
  798. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State Change CS_HANGUP -> CS_REPORTING
  799. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) Running State Change CS_REPORTING (Cur 2 Tot 20580)
  800. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State REPORTING
  801. 2024-01-16 10:22:35.348836 99.33% [INFO] mod_json_cdr.c:271 Process [2a075960-3194-4212-8961-c797e1e49b55.cdr.json]
  802. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:168 sofia/default/27825638465 Standard REPORTING, cause: NORMAL_CLEARING
  803. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27825638465) State REPORTING going to sleep
  804. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27825638465) State Change CS_REPORTING -> CS_DESTROY
  805. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_session.c:1753 Session 20580 (sofia/default/27825638465) Locked, Waiting on external entities
  806. 2024-01-16 10:22:35.348836 99.33% [NOTICE] switch_core_session.c:1771 Session 20580 (sofia/default/27825638465) Ended
  807. 2024-01-16 10:22:35.348836 99.33% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27825638465 [CS_DESTROY]
  808. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27825638465) Running State Change CS_DESTROY (Cur 1 Tot 20580)
  809. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27825638465) State DESTROY
  810. 2024-01-16 10:22:35.348836 99.33% [DEBUG] mod_sofia.c:379 sofia/default/27825638465 SOFIA DESTROY
  811. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:175 sofia/default/27825638465 Standard DESTROY
  812. 2024-01-16 10:22:35.348836 99.33% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27825638465) State DESTROY going to sleep
  813. 2024-01-16 10:22:35.368843 99.33% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Standard REPORTING, cause: NORMAL_CLEARING
  814. 2024-01-16 10:22:35.368843 99.33% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State REPORTING going to sleep
  815. 2024-01-16 10:22:35.368843 99.33% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State Change CS_REPORTING -> CS_DESTROY
  816. 2024-01-16 10:22:35.368843 99.33% [DEBUG] switch_core_session.c:1753 Session 20579 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) Locked, Waiting on external entities
  817. 2024-01-16 10:22:35.368843 99.33% [NOTICE] switch_core_session.c:1771 Session 20579 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) Ended
  818. 2024-01-16 10:22:35.368843 99.33% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za [CS_DESTROY]
  819. 2024-01-16 10:22:35.368843 99.33% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) Running State Change CS_DESTROY (Cur 0 Tot 20580)
  820. 2024-01-16 10:22:35.368843 99.33% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State DESTROY
  821. 2024-01-16 10:22:35.368843 99.33% [DEBUG] mod_sofia.c:379 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za SOFIA DESTROY
  822. 2024-01-16 10:22:35.368843 99.33% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za Standard DESTROY
  823. 2024-01-16 10:22:35.368843 99.33% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876304007@sbc-jb1.goldtelcloud.co.za) State DESTROY going to sleep