From MOM TR vietnam, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: goldenrod; font-weight: bold;"> 6-09 13:56:36.448313 [DEBUG] mod_sofia.c:453 Channel sofia/default/31251279042 hanging up, cause: NORMAL_CLEARING
  2. 2023-06-09 13:56:36.448313 [DEBUG] switch_core_state_machine.c:60 sofia/default/31251279042 Standard HANGUP, cause: NORMAL_CLEARING
  3. 2023-06-09 13:56:36.448313 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31251279042) State HANGUP going to sleep
  4. 2023-06-09 13:56:36.448313 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31251279042) State Change CS_HANGUP -> CS_REPORTING
  5. 2023-06-09 13:56:36.448313 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251279042) Running State Change CS_REPORTING (Cur 66 Tot 1486446)
  6. 2023-06-09 13:56:36.448313 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31251279042) State REPORTING
  7. 2023-06-09 13:56:36.448313 [INFO] mod_json_cdr.c:271 Process [bd08ca45-efd6-4718-b545-0238076cdfd7.cdr.json]
  8. 2023-06-09 13:56:36.448313 [DEBUG] switch_ivr_bridge.c:820 sofia/default/31251279042 ending bridge by request from write function
  9. 2023-06-09 13:56:36.448313 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31251260900@10.200.0.4]
  10. 2023-06-09 13:56:36.448313 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31251279042 skip receive message [UNBRIDGE] (channel is hungup already)
  11. 2023-06-09 13:56:36.448313 [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/31251260900@10.200.0.4 [CS_EXECUTE] [NORMAL_CLEARING]
  12. 2023-06-09 13:56:36.448313 [DEBUG] mod_hash.c:296 Usage for CPS_510514_CPS_user_510514 is now 3
  13. 2023-06-09 13:56:36.448313 [DEBUG] switch_core_session.c:2905 sofia/default/31251260900@10.200.0.4 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  14. 2023-06-09 13:56:36.448313 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31251260900@10.200.0.4) State EXECUTE going to sleep
  15. 2023-06-09 13:56:36.448313 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_HANGUP (Cur 66 Tot 1486446)
  16. 2023-06-09 13:56:36.448313 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31251260900@10.200.0.4) Callstate Change ACTIVE -> HANGUP
  17. 2023-06-09 13:56:36.448313 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31251260900@10.200.0.4) State HANGUP
  18. 2023-06-09 13:56:36.448313 [DEBUG] mod_sofia.c:447 sofia/default/31251260900@10.200.0.4 Overriding SIP cause 480 with 200 from the other leg
  19. 2023-06-09 13:56:36.448313 [DEBUG] mod_sofia.c:453 Channel sofia/default/31251260900@10.200.0.4 hanging up, cause: NORMAL_CLEARING
  20. 2023-06-09 13:56:36.448313 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/31251260900@10.200.0.4
  21. 2023-06-09 13:56:36.448313 [DEBUG] switch_core_state_machine.c:60 sofia/default/31251260900@10.200.0.4 Standard HANGUP, cause: NORMAL_CLEARING
  22. 2023-06-09 13:56:36.448313 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31251260900@10.200.0.4) State HANGUP going to sleep
  23. 2023-06-09 13:56:36.448313 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31251260900@10.200.0.4) State Change CS_HANGUP -> CS_REPORTING
  24. 2023-06-09 13:56:36.448313 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_REPORTING (Cur 66 Tot 1486446)
  25. 2023-06-09 13:56:36.448313 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31251260900@10.200.0.4) State REPORTING
  26. 2023-06-09 13:56:36.448313 [INFO] mod_json_cdr.c:271 Process [0c28a858-98ab-438e-8ae9-1984f2b839d2.cdr.json]
  27. 2023-06-09 13:56:36.468312 [DEBUG] switch_core_state_machine.c:174 sofia/default/31251279042 Standard REPORTING, cause: NORMAL_CLEARING
  28. 2023-06-09 13:56:36.468312 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31251279042) State REPORTING going to sleep
  29. 2023-06-09 13:56:36.468312 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31251279042) State Change CS_REPORTING -> CS_DESTROY
  30. 2023-06-09 13:56:36.468312 [DEBUG] switch_core_session.c:1726 Session 1486226 (sofia/default/31251279042) Locked, Waiting on external entities
  31. 2023-06-09 13:56:36.468312 [NOTICE] switch_core_session.c:1744 Session 1486226 (sofia/default/31251279042) Ended
  32. 2023-06-09 13:56:36.468312 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31251279042 [CS_DESTROY]
  33. 2023-06-09 13:56:36.468312 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31251279042) Running State Change CS_DESTROY (Cur 65 Tot 1486446)
  34. 2023-06-09 13:56:36.468312 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31251279042) State DESTROY
  35. 2023-06-09 13:56:36.468312 [DEBUG] mod_sofia.c:364 sofia/default/31251279042 SOFIA DESTROY
  36. 2023-06-09 13:56:36.468312 [DEBUG] switch_core_state_machine.c:181 sofia/default/31251279042 Standard DESTROY
  37. 2023-06-09 13:56:36.468312 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31251279042) State DESTROY going to sleep
  38. 2023-06-09 13:56:36.488313 [DEBUG] switch_core_state_machine.c:174 sofia/default/31251260900@10.200.0.4 Standard REPORTING, cause: NORMAL_CLEARING
  39. 2023-06-09 13:56:36.488313 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31251260900@10.200.0.4) State REPORTING going to sleep
  40. 2023-06-09 13:56:36.488313 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31251260900@10.200.0.4) State Change CS_REPORTING -> CS_DESTROY
  41. 2023-06-09 13:56:36.488313 [DEBUG] switch_core_session.c:1726 Session 1486225 (sofia/default/31251260900@10.200.0.4) Locked, Waiting on external entities
  42. 2023-06-09 13:56:36.488313 [NOTICE] switch_core_session.c:1744 Session 1486225 (sofia/default/31251260900@10.200.0.4) Ended
  43. 2023-06-09 13:56:36.488313 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31251260900@10.200.0.4 [CS_DESTROY]
  44. 2023-06-09 13:56:36.488313 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31251260900@10.200.0.4) Running State Change CS_DESTROY (Cur 64 Tot 1486446)
  45. 2023-06-09 13:56:36.488313 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31251260900@10.200.0.4) State DESTROY
  46. 2023-06-09 13:56:36.488313 [DEBUG] mod_sofia.c:364 sofia/default/31251260900@10.200.0.4 SOFIA DESTROY
  47. 2023-06-09 13:56:36.488313 [DEBUG] switch_core_state_machine.c:181 sofia/default/31251260900@10.200.0.4 Standard DESTROY
  48. 2023-06-09 13:56:36.488313 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31251260900@10.200.0.4) State DESTROY going to sleep
  49. 2023-06-09 13:56:36.568312 [DEBUG] switch_scheduler.c:147 Deleting task 251990 switch_ivr_schedule_hangup (bd08ca45-efd6-4718-b545-0238076cdfd7)
  50. 2023-06-09 13:56:37.468309 [WARNING] switch_core_state_machine.c:688 2ef33100-6dce-41fb-8a83-2af6600b78e4 sofia/default/3711@185.249.40.236 Abandoned
  51. 2023-06-09 13:56:37.468309 [NOTICE] switch_core_state_machine.c:691 Hangup sofia/default/3711@185.249.40.236 [CS_NEW] [WRONG_CALL_STATE]
  52. 2023-06-09 13:56:37.468309 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3711@185.249.40.236) Running State Change CS_HANGUP (Cur 64 Tot 1486446)
  53. 2023-06-09 13:56:37.468309 [DEBUG] switch_core_state_machine.c:848 (sofia/default/3711@185.249.40.236) Callstate Change DOWN -> HANGUP
  54. 2023-06-09 13:56:37.468309 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3711@185.249.40.236) State HANGUP
  55. 2023-06-09 13:56:37.468309 [DEBUG] mod_sofia.c:453 Channel sofia/default/3711@185.249.40.236 hanging up, cause: WRONG_CALL_STATE
  56. 2023-06-09 13:56:37.468309 [DEBUG] switch_core_state_machine.c:60 sofia/default/3711@185.249.40.236 Standard HANGUP, cause: WRONG_CALL_STATE
  57. 2023-06-09 13:56:37.468309 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3711@185.249.40.236) State HANGUP going to sleep
  58. 2023-06-09 13:56:37.468309 [DEBUG] switch_core_state_machine.c:620 (sofia/default/3711@185.249.40.236) State Change CS_HANGUP -> CS_REPORTING
  59. 2023-06-09 13:56:37.468309 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3711@185.249.40.236) Running State Change CS_REPORTING (Cur 64 Tot 1486446)
  60. 2023-06-09 13:56:37.468309 [DEBUG] switch_core_state_machine.c:936 (sofia/default/3711@185.249.40.236) State REPORTING
  61. 2023-06-09 13:56:37.468309 [DEBUG] switch_core_state_machine.c:174 sofia/default/3711@185.249.40.236 Standard REPORTING, cause: WRONG_CALL_STATE
  62. 2023-06-09 13:56:37.468309 [DEBUG] switch_core_state_machine.c:936 (sofia/default/3711@185.249.40.236) State REPORTING going to sleep
  63. 2023-06-09 13:56:37.468309 [DEBUG] switch_core_state_machine.c:611 (sofia/default/3711@185.249.40.236) State Change CS_REPORTING -> CS_DESTROY
  64. 2023-06-09 13:56:37.468309 [DEBUG] switch_core_session.c:1726 Session 1486446 (sofia/default/3711@185.249.40.236) Locked, Waiting on external entities
  65. 2023-06-09 13:56:37.468309 [NOTICE] switch_core_session.c:1744 Session 1486446 (sofia/default/3711@185.249.40.236) Ended
  66. 2023-06-09 13:56:37.468309 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/3711@185.249.40.236 [CS_DESTROY]
  67. 2023-06-09 13:56:37.468309 [DEBUG] switch_core_state_machine.c:739 (sofia/default/3711@185.249.40.236) Running State Change CS_DESTROY (Cur 63 Tot 1486446)
  68. 2023-06-09 13:56:37.468309 [DEBUG] switch_core_state_machine.c:749 (sofia/default/3711@185.249.40.236) State DESTROY
  69. 2023-06-09 13:56:37.468309 [DEBUG] mod_sofia.c:364 sofia/default/3711@185.249.40.236 SOFIA DESTROY
  70. 2023-06-09 13:56:37.468309 [DEBUG] switch_core_state_machine.c:181 sofia/default/3711@185.249.40.236 Standard DESTROY
  71. 2023-06-09 13:56:37.468309 [DEBUG] switch_core_state_machine.c:749 (sofia/default/3711@185.249.40.236) State DESTROY going to sleep
  72. 2023-06-09 13:56:37.808313 [NOTICE] switch_channel.c:1118 New Channel sofia/default/3711@185.249.40.236 [4f5f6769-1589-45e5-bb69-9df7a8d80f96]
  73. 2023-06-09 13:56:37.808313 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3711@185.249.40.236) Running State Change CS_NEW (Cur 64 Tot 1486447)
  74. 2023-06-09 13:56:37.808313 [DEBUG] sofia.c:10280 sofia/default/3711@185.249.40.236 receiving invite from 149.202.67.181:60413 version: 1.10.5 -release-17-25569c1631 64bit
  75. 2023-06-09 13:56:37.808313 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 149.202.67.181:0.
  76. 2023-06-09 13:56:37.808313 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [30012172810178@185.249.40.236] from ip 149.202.67.181
  77. 2023-06-09 13:56:37.808313 [DEBUG] switch_core_state_machine.c:604 (sofia/default/3711@185.249.40.236) State NEW
  78. 2023-06-09 13:56:37.868308 [DEBUG] sofia.c:2434 detaching session 4f5f6769-1589-45e5-bb69-9df7a8d80f96
  79. 2023-06-09 13:56:38.008343 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [104@401433.yoursipcloud.com] from ip 45.129.146.163
  80. 2023-06-09 13:56:38.408326 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [102@401433.yoursipcloud.com] from ip 45.129.146.163
  81. 2023-06-09 13:56:38.488328 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF *:1120
  82. 2023-06-09 13:56:38.488328 [INFO] switch_channel.c:522 RECV DTMF *:1120
  83. 2023-06-09 13:56:38.488328 [DEBUG] switch_rtp.c:5585 Send start packet for [*] ts=343803924 dur=160/160/1120 seq=38237 lw=343803924
  84. 2023-06-09 13:56:38.508311 [DEBUG] switch_rtp.c:5484 Send middle packet for [*] ts=343803924 dur=320/320/1120 seq=38238 lw=343804084
  85. 2023-06-09 13:56:38.528310 [DEBUG] switch_rtp.c:5484 Send middle packet for [*] ts=343803924 dur=480/480/1120 seq=38239 lw=343804244
  86. 2023-06-09 13:56:38.548317 [DEBUG] switch_rtp.c:5484 Send middle packet for [*] ts=343803924 dur=640/640/1120 seq=38240 lw=343804404
  87. 2023-06-09 13:56:38.548317 [NOTICE] sofia.c:1089 Hangup sofia/default/31683073888@185.249.40.253 [CS_EXECUTE] [NORMAL_CLEARING]
  88. 2023-06-09 13:56:38.548317 [DEBUG] switch_ivr_play_say.c:1933 done playing file /var/www/html/astpp/upload/pbx/Apelbynewvoice_.wav
  89. 2023-06-09 13:56:38.548317 [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000
  90. 2023-06-09 13:56:38.548317 [DEBUG] switch_ivr_menu.c:425 digits ''
  91. 2023-06-09 13:56:38.548317 [DEBUG] switch_ivr_menu.c:664 IVR menu 'Apelby new voice12' no input detected
  92. 2023-06-09 13:56:38.548317 [DEBUG] switch_ivr_menu.c:676 exit-sound '(null)'
  93. 2023-06-09 13:56:38.548317 [DEBUG] switch_core_session.c:2905 sofia/default/31683073888@185.249.40.253 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  94. 2023-06-09 13:56:38.548317 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31683073888@185.249.40.253) State EXECUTE going to sleep
  95. 2023-06-09 13:56:38.548317 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31683073888@185.249.40.253) Running State Change CS_HANGUP (Cur 64 Tot 1486447)
  96. 2023-06-09 13:56:38.548317 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31683073888@185.249.40.253) Callstate Change ACTIVE -> HANGUP
  97. 2023-06-09 13:56:38.548317 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31683073888@185.249.40.253) State HANGUP
  98. 2023-06-09 13:56:38.548317 [DEBUG] mod_sofia.c:453 Channel sofia/default/31683073888@185.249.40.253 hanging up, cause: NORMAL_CLEARING
  99. 2023-06-09 13:56:38.568319 [DEBUG] switch_core_state_machine.c:60 sofia/default/31683073888@185.249.40.253 Standard HANGUP, cause: NORMAL_CLEARING
  100. 2023-06-09 13:56:38.568319 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31683073888@185.249.40.253) State HANGUP going to sleep
  101. 2023-06-09 13:56:38.568319 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31683073888@185.249.40.253) State Change CS_HANGUP -> CS_REPORTING
  102. 2023-06-09 13:56:38.568319 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31683073888@185.249.40.253) Running State Change CS_REPORTING (Cur 64 Tot 1486447)
  103. 2023-06-09 13:56:38.568319 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31683073888@185.249.40.253) State REPORTING
  104. 2023-06-09 13:56:38.568319 [INFO] mod_json_cdr.c:271 Process [15b7581e-5d08-4c53-a854-0b043b74ced8.cdr.json]
  105. 2023-06-09 13:56:38.568319 [DEBUG] switch_rtp.c:5484 Send middle packet for [*] ts=343803924 dur=800/800/1120 seq=38241 lw=343804564
  106. 2023-06-09 13:56:38.588309 [DEBUG] switch_core_state_machine.c:174 sofia/default/31683073888@185.249.40.253 Standard REPORTING, cause: NORMAL_CLEARING
  107. 2023-06-09 13:56:38.588309 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31683073888@185.249.40.253) State REPORTING going to sleep
  108. 2023-06-09 13:56:38.588309 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31683073888@185.249.40.253) State Change CS_REPORTING -> CS_DESTROY
  109. 2023-06-09 13:56:38.588309 [DEBUG] switch_core_session.c:1726 Session 1486443 (sofia/default/31683073888@185.249.40.253) Locked, Waiting on external entities
  110. 2023-06-09 13:56:38.588309 [NOTICE] switch_core_session.c:1744 Session 1486443 (sofia/default/31683073888@185.249.40.253) Ended
  111. 2023-06-09 13:56:38.588309 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31683073888@185.249.40.253 [CS_DESTROY]
  112. 2023-06-09 13:56:38.588309 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31683073888@185.249.40.253) Running State Change CS_DESTROY (Cur 63 Tot 1486447)
  113. 2023-06-09 13:56:38.588309 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31683073888@185.249.40.253) State DESTROY
  114. 2023-06-09 13:56:38.588309 [DEBUG] mod_sofia.c:364 sofia/default/31683073888@185.249.40.253 SOFIA DESTROY
  115. 2023-06-09 13:56:38.588309 [DEBUG] switch_core_state_machine.c:181 sofia/default/31683073888@185.249.40.253 Standard DESTROY
  116. 2023-06-09 13:56:38.588309 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31683073888@185.249.40.253) State DESTROY going to sleep
  117. 2023-06-09 13:56:38.588309 [DEBUG] switch_rtp.c:5484 Send middle packet for [*] ts=343803924 dur=960/960/1120 seq=38242 lw=343804724
  118. 2023-06-09 13:56:38.608318 [DEBUG] switch_rtp.c:5484 Send end packet for [*] ts=343803924 dur=1120/1120/1120 seq=38243 lw=343804724
  119. 2023-06-09 13:56:38.608318 [DEBUG] switch_rtp.c:5484 Send end packet for [*] ts=343803924 dur=1120/1120/1120 seq=38244 lw=343804724
  120. 2023-06-09 13:56:38.608318 [DEBUG] switch_rtp.c:5484 Send end packet for [*] ts=343803924 dur=1120/1120/1120 seq=38245 lw=343804724
  121. 2023-06-09 13:56:38.608318 [DEBUG] switch_rtp.c:5432 Queue digit delay of 40ms
  122. 2023-06-09 13:56:40.068315 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_789314_CPS_user_789314
  123. 2023-06-09 13:56:40.068315 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_429133_CPS_user_429133
  124. 2023-06-09 13:56:40.068315 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_262661_CPS_user_262661
  125. 2023-06-09 13:56:40.068315 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_401309_CPS_user_401309
  126. 2023-06-09 13:56:40.068315 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_980749_CPS_user_980749
  127. 2023-06-09 13:56:40.068315 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_693802_CPS_user_693802
  128. 2023-06-09 13:56:40.068315 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_289764_CPS_user_289764
  129. 2023-06-09 13:56:40.068315 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_260052_CPS_user_260052
  130. 2023-06-09 13:56:40.068315 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_523454_CPS_user_523454
  131. 2023-06-09 13:56:40.068315 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_164118_CPS_user_164118
  132. 2023-06-09 13:56:40.068315 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_946192_CPS_user_946192
  133. 2023-06-09 13:56:40.068315 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_775053_CPS_user_775053
  134. 2023-06-09 13:56:40.068315 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_512206_CPS_user_512206
  135. 2023-06-09 13:56:40.068315 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_141826_CPS_user_141826
  136. 2023-06-09 13:56:40.068315 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_00135880_CPS_user_00135880
  137. 2023-06-09 13:56:40.068315 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_401433_CPS_user_401433
  138. 2023-06-09 13:56:40.528323 [NOTICE] switch_channel.c:1118 New Channel sofia/default/172240@ASM980.yoursipcloud.com [3495f518-8111-4c7d-a68b-ee8771e80082]
  139. 2023-06-09 13:56:40.528323 [DEBUG] switch_core_state_machine.c:585 (sofia/default/172240@ASM980.yoursipcloud.com) Running State Change CS_NEW (Cur 64 Tot 1486448)
  140. 2023-06-09 13:56:40.528323 [DEBUG] sofia.c:10280 sofia/default/172240@ASM980.yoursipcloud.com receiving invite from 130.105.10.113:60616 version: 1.10.5 -release-17-25569c1631 64bit
  141. 2023-06-09 13:56:40.528323 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 130.105.10.113:0.
  142. 2023-06-09 13:56:40.528323 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [84705689828@ASM980.yoursipcloud.com] from ip 130.105.10.113
  143. 2023-06-09 13:56:40.528323 [DEBUG] switch_core_state_machine.c:604 (sofia/default/172240@ASM980.yoursipcloud.com) State NEW
  144. 2023-06-09 13:56:40.528323 [DEBUG] sofia.c:2434 detaching session 3495f518-8111-4c7d-a68b-ee8771e80082
  145. 2023-06-09 13:56:40.828325 [DEBUG] sofia.c:2544 Re-attaching to session 3495f518-8111-4c7d-a68b-ee8771e80082
  146. 2023-06-09 13:56:40.848332 [DEBUG] sofia.c:10280 sofia/default/172240@ASM980.yoursipcloud.com receiving invite from 130.105.10.113:60616 version: 1.10.5 -release-17-25569c1631 64bit
  147. 2023-06-09 13:56:40.848332 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 130.105.10.113:0.
  148. 2023-06-09 13:56:40.848332 [DEBUG] sofia.c:11477 Setting NAT mode based on via received
  149. 2023-06-09 13:56:40.848332 [DEBUG] sofia.c:7326 Channel sofia/default/172240@ASM980.yoursipcloud.com entering state [received][100]
  150. 2023-06-09 13:56:40.848332 [DEBUG] sofia.c:7336 Remote SDP:
  151. v=0
  152. o=Z 0 2057354334 IN IP4 130.105.10.113
  153. s=Z
  154. c=IN IP4 130.105.10.113
  155. t=0 0
  156. m=audio 53859 RTP/AVP 106 9 98 101 0 8 3
  157. a=rtpmap:106 opus/48000/2
  158. a=fmtp:106 sprop-maxcapturerate=16000; minptime=20; useinbandfec=1
  159. a=rtpmap:98 telephone-event/48000
  160. a=fmtp:98 0-16
  161. a=rtpmap:101 telephone-event/8000
  162. a=fmtp:101 0-16
  163.  
  164. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  165. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
  166. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [opus:106:48000:20:0:2]/[G722:9:8000:20:64000:1]
  167. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  168. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  169. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  170. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match
  171. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 98@48000
  172. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  173. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  174. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  175. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  176. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  177. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  178. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  179. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  180. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  181. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  182. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G722:9:8000:20:64000:1]
  183. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/172240@ASM980.yoursipcloud.com G722/8000 20 ms 160 samples 64000 bits 1 channels
  184. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_codec.c:111 sofia/default/172240@ASM980.yoursipcloud.com Original read codec set to G722:9
  185. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  186. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_media.c:5911 sofia/default/172240@ASM980.yoursipcloud.com Set 2833 dtmf send payload to 101 recv payload to 101
  187. 2023-06-09 13:56:40.848332 [DEBUG] sofia.c:7760 (sofia/default/172240@ASM980.yoursipcloud.com) State Change CS_NEW -> CS_INIT
  188. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_state_machine.c:585 (sofia/default/172240@ASM980.yoursipcloud.com) Running State Change CS_INIT (Cur 64 Tot 1486448)
  189. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_state_machine.c:628 (sofia/default/172240@ASM980.yoursipcloud.com) State INIT
  190. 2023-06-09 13:56:40.848332 [DEBUG] mod_sofia.c:93 sofia/default/172240@ASM980.yoursipcloud.com SOFIA INIT
  191. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_state_machine.c:40 sofia/default/172240@ASM980.yoursipcloud.com Standard INIT
  192. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_state_machine.c:48 (sofia/default/172240@ASM980.yoursipcloud.com) State Change CS_INIT -> CS_ROUTING
  193. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_state_machine.c:628 (sofia/default/172240@ASM980.yoursipcloud.com) State INIT going to sleep
  194. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_state_machine.c:585 (sofia/default/172240@ASM980.yoursipcloud.com) Running State Change CS_ROUTING (Cur 64 Tot 1486448)
  195. 2023-06-09 13:56:40.848332 [DEBUG] switch_channel.c:2332 (sofia/default/172240@ASM980.yoursipcloud.com) Callstate Change DOWN -> RINGING
  196. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_state_machine.c:644 (sofia/default/172240@ASM980.yoursipcloud.com) State ROUTING
  197. 2023-06-09 13:56:40.848332 [DEBUG] mod_sofia.c:154 sofia/default/172240@ASM980.yoursipcloud.com SOFIA ROUTING
  198. 2023-06-09 13:56:40.848332 [DEBUG] switch_core_state_machine.c:236 sofia/default/172240@ASM980.yoursipcloud.com Standard ROUTING
  199. 2023-06-09 13:56:40.848332 [INFO] mod_dialplan_xml.c:637 Processing 172240 <172240>->84705689828 in context default
  200. 2023-06-09 13:56:40.848332 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  201. 2023-06-09 13:56:40.848332 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  202. 2023-06-09 13:56:40.868312 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
  203. Event-Name: REQUEST_PARAMS
  204. Core-UUID: ea9d74c5-64c7-47f9-8036-72e9783891f2
  205. FreeSWITCH-Hostname: multitenant-1
  206. FreeSWITCH-Switchname: multitenant-1
  207. FreeSWITCH-IPv4: 185.249.40.236
  208. FreeSWITCH-IPv6: %3A%3A1
  209. Event-Date-Local: 2023-06-09%2013%3A56%3A40
  210. Event-Date-GMT: Fri,%2009%20Jun%202023%2011%3A56%3A40%20GMT
  211. Event-Date-Timestamp: 1686311800848332
  212. Event-Calling-File: mod_dialplan_xml.c
  213. Event-Calling-Function: dialplan_xml_locate
  214. Event-Calling-Line-Number: 608
  215. Event-Sequence: 109040480
  216. Channel-State: CS_ROUTING
  217. Channel-Call-State: RINGING
  218. Channel-State-Number: 2
  219. Channel-Name: sofia/default/172240%40ASM980.yoursipcloud.com
  220. Unique-ID: 3495f518-8111-4c7d-a68b-ee8771e80082
  221. Call-Direction: inbound
  222. Presence-Call-Direction: inbound
  223. Channel-HIT-Dialplan: true
  224. Channel-Presence-ID: 172240%40ASM980.yoursipcloud.com
  225. Channel-Call-UUID: 3495f518-8111-4c7d-a68b-ee8771e80082
  226. Answer-State: ringing
  227. Channel-Read-Codec-Name: G722
  228. Channel-Read-Codec-Rate: 16000
  229. Channel-Read-Codec-Bit-Rate: 64000
  230. Channel-Write-Codec-Name: G722
  231. Channel-Write-Codec-Rate: 16000
  232. Channel-Write-Codec-Bit-Rate: 64000
  233. Caller-Direction: inbound
  234. Caller-Logical-Direction: inbound
  235. Caller-Username: 172240
  236. Caller-Dialplan: XML
  237. Caller-Caller-ID-Name: 172240
  238. Caller-Caller-ID-Number: 172240
  239. Caller-Orig-Caller-ID-Name: 172240
  240. Caller-Orig-Caller-ID-Number: 172240
  241. Caller-Network-Addr: 130.105.10.113
  242. Caller-ANI: 172240
  243. Caller-Destination-Number: 84705689828
  244. Caller-Unique-ID: 3495f518-8111-4c7d-a68b-ee8771e80082
  245. Caller-Source: mod_sofia
  246. Caller-Context: default
  247. Caller-Channel-Name: sofia/default/172240%40ASM980.yoursipcloud.com
  248. Caller-Profile-Index: 1
  249. Caller-Profile-Created-Time: 1686311800848332
  250. Caller-Channel-Created-Time: 1686311800848332
  251. Caller-Channel-Answered-Time: 0
  252. Caller-Channel-Progress-Time: 0
  253. Caller-Channel-Progress-Media-Time: 0
  254. Caller-Channel-Hangup-Time: 0
  255. Caller-Channel-Transfer-Time: 0
  256. Caller-Channel-Resurrect-Time: 0
  257. Caller-Channel-Bridged-Time: 0
  258. Caller-Channel-Last-Hold: 0
  259. Caller-Channel-Hold-Accum: 0
  260. Caller-Screen-Bit: true
  261. Caller-Privacy-Hide-Name: false
  262. Caller-Privacy-Hide-Number: false
  263. variable_direction: inbound
  264. variable_uuid: 3495f518-8111-4c7d-a68b-ee8771e80082
  265. variable_session_id: 1486448
  266. variable_sip_from_params: transport%3DUDP
  267. variable_sip_from_user: 172240
  268. variable_sip_from_uri: 172240%40ASM980.yoursipcloud.com
  269. variable_sip_from_host: ASM980.yoursipcloud.com
  270. variable_video_media_flow: disabled
  271. variable_text_media_flow: disabled
  272. variable_channel_name: sofia/default/172240%40ASM980.yoursipcloud.com
  273. variable_sip_call_id: qWSh1GTtoIFVPD1hPpJdug..
  274. variable_sip_local_network_addr: 185.249.40.236
  275. variable_sip_network_ip: 130.105.10.113
  276. variable_sip_network_port: 60616
  277. variable_sip_invite_stamp: 1686311800848332
  278. variable_sip_received_ip: 130.105.10.113
  279. variable_sip_received_port: 60616
  280. variable_sip_via_protocol: udp
  281. variable_sip_authorized: true
  282. variable_Event-Name: REQUEST_PARAMS
  283. variable_Core-UUID: ea9d74c5-64c7-47f9-8036-72e9783891f2
  284. variable_FreeSWITCH-Hostname: multitenant-1
  285. variable_FreeSWITCH-Switchname: multitenant-1
  286. variable_FreeSWITCH-IPv4: 185.249.40.236
  287. variable_FreeSWITCH-IPv6: %3A%3A1
  288. variable_Event-Date-Local: 2023-06-09%2013%3A56%3A40
  289. variable_Event-Date-GMT: Fri,%2009%20Jun%202023%2011%3A56%3A40%20GMT
  290. variable_Event-Date-Timestamp: 1686311800848332
  291. variable_Event-Calling-File: sofia.c
  292. variable_Event-Calling-Function: sofia_handle_sip_i_invite
  293. variable_Event-Calling-Line-Number: 10542
  294. variable_Event-Sequence: 109040471
  295. variable_sip_number_alias: 172240
  296. variable_sip_auth_username: 172240
  297. variable_sip_auth_realm: ASM980.yoursipcloud.com
  298. variable_number_alias: 172240
  299. variable_requested_user_name: 172240
  300. variable_requested_domain_name: ASM980.yoursipcloud.com
  301. variable_sipcall: true
  302. variable_sip_user: 172240
  303. variable_accountcode: 172240
  304. variable_user_name: 172240
  305. variable_domain_name: ASM980.yoursipcloud.com
  306. variable_sip_from_user_stripped: 172240
  307. variable_sip_from_tag: a80b2468
  308. variable_sofia_profile_name: default
  309. variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
  310. variable_recovery_profile_name: default
  311. variable_sip_full_via: SIP/2.0/UDP%2010.14.165.251%3A60616%3Bbranch%3Dz9hG4bK-524287-1---4466c965597f473c%3Brport%3D60616%3Breceived%3D130.105.10.113
  312. variable_sip_full_from: %3Csip%3A172240%40ASM980.yoursipcloud.com%3Btransport%3DUDP%3E%3Btag%3Da80b2468
  313. variable_sip_full_to: %3Csip%3A84705689828%40ASM980.yoursipcloud.com%3E
  314. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20INFO,%20SUBSCRIBE
  315. variable_sip_req_params: transport%3DUDP
  316. variable_sip_req_user: 84705689828
  317. variable_sip_req_uri: 84705689828%40ASM980.yoursipcloud.com
  318. variable_sip_req_host: ASM980.yoursipcloud.com
  319. variable_sip_to_user: 84705689828
  320. variable_sip_to_uri: 84705689828%40ASM980.yoursipcloud.com
  321. variable_sip_to_host: ASM980.yoursipcloud.com
  322. variable_sip_contact_params: transport%3DUDP
  323. variable_sip_contact_user: 172240
  324. variable_sip_contact_port: 60616
  325. variable_sip_contact_uri: 172240%40130.105.10.113%3A60616
  326. variable_sip_contact_host: 130.105.10.113
  327. variable_sip_user_agent: Z%205.5.13%20v2.10.18.3
  328. variable_sip_via_host: 10.14.165.251
  329. variable_sip_via_port: 60616
  330. variable_sip_via_rport: 60616
  331. variable_max_forwards: 70
  332. variable_presence_id: 172240%40ASM980.yoursipcloud.com
  333. variable_sip_nat_detected: true
  334. variable_switch_r_sdp: v%3D0%0D%0Ao%3DZ%200%202057354334%20IN%20IP4%20130.105.10.113%0D%0As%3DZ%0D%0Ac%3DIN%20IP4%20130.105.10.113%0D%0At%3D0%200%0D%0Am%3Daudio%2053859%20RTP/AVP%20106%209%2098%20101%200%208%203%0D%0Aa%3Drtpmap%3A106%20opus/48000/2%0D%0Aa%3Dfmtp%3A106%20sprop-maxcapturerate%3D16000%3B%20minptime%3D20%3B%20useinbandfec%3D1%0D%0Aa%3Drtpmap%3A98%20telephone-event/48000%0D%0Aa%3Dfmtp%3A98%200-16%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0A
  335. variable_ep_codec_string: mod_spandsp.G722%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
  336. variable_rtp_use_codec_string: PCMA,PCMU,G722
  337. variable_remote_video_media_flow: inactive
  338. variable_remote_text_media_flow: inactive
  339. variable_remote_audio_media_flow: sendrecv
  340. variable_audio_media_flow: sendrecv
  341. variable_remote_media_ip: 130.105.10.113
  342. variable_remote_media_port: 53859
  343. variable_rtp_audio_recv_pt: 9
  344. variable_rtp_use_codec_name: G722
  345. variable_rtp_use_codec_rate: 8000
  346. variable_rtp_use_codec_ptime: 20
  347. variable_rtp_use_codec_channels: 1
  348. variable_rtp_last_audio_codec_string: G722%408000h%4020i%401c
  349. variable_read_codec: G722
  350. variable_original_read_codec: G722
  351. variable_read_rate: 16000
  352. variable_original_read_rate: 16000
  353. variable_write_codec: G722
  354. variable_write_rate: 16000
  355. variable_dtmf_type: rfc2833
  356. variable_endpoint_disposition: RECEIVED
  357. variable_call_uuid: 3495f518-8111-4c7d-a68b-ee8771e80082
  358. Hunt-Direction: inbound
  359. Hunt-Logical-Direction: inbound
  360. Hunt-Username: 172240
  361. Hunt-Dialplan: XML
  362. Hunt-Caller-ID-Name: 172240
  363. Hunt-Caller-ID-Number: 172240
  364. Hunt-Orig-Caller-ID-Name: 172240
  365. Hunt-Orig-Caller-ID-Number: 172240
  366. Hunt-Network-Addr: 130.105.10.113
  367. Hunt-ANI: 172240
  368. Hunt-Destination-Number: 84705689828
  369. Hunt-Unique-ID: 3495f518-8111-4c7d-a68b-ee8771e80082
  370. Hunt-Source: mod_sofia
  371. Hunt-Context: default
  372. Hunt-Channel-Name: sofia/default/172240%40ASM980.yoursipcloud.com
  373. Hunt-Profile-Index: 1
  374. Hunt-Profile-Created-Time: 1686311800848332
  375. Hunt-Channel-Created-Time: 1686311800848332
  376. Hunt-Channel-Answered-Time: 0
  377. Hunt-Channel-Progress-Time: 0
  378. Hunt-Channel-Progress-Media-Time: 0
  379. Hunt-Channel-Hangup-Time: 0
  380. Hunt-Channel-Transfer-Time: 0
  381. Hunt-Channel-Resurrect-Time: 0
  382. Hunt-Channel-Bridged-Time: 0
  383. Hunt-Channel-Last-Hold: 0
  384. Hunt-Channel-Hold-Accum: 0
  385. Hunt-Screen-Bit: true
  386. Hunt-Privacy-Hide-Name: false
  387. Hunt-Privacy-Hide-Number: false
  388.  
  389.  
  390. 2023-06-09 13:56:40.868312 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
  391. 2023-06-09 13:56:40.868312 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
  392. 2023-06-09 13:56:40.868312 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
  393. 2023-06-09 13:56:40.868312 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
  394. 2023-06-09 13:56:40.868312 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  395. 2023-06-09 13:56:40.868312 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 84705689828
  396. 2023-06-09 13:56:40.868312 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '84705689828' limit 1
  397. 2023-06-09 13:56:40.868312 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '84705689828' AND status=0 limit 1
  398. 2023-06-09 13:56:40.868312 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '84705689828' and status=0 LIMIT 1
  399. 2023-06-09 13:56:40.868312 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
  400. 2023-06-09 13:56:40.868312 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 172240 / 172240
  401. 2023-06-09 13:56:40.868312 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="84705689828" LIMIT 1
  402. 2023-06-09 13:56:40.868312 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="84705689828"  AND domains.domain="ASM980.yoursipcloud.com" limit 1
  403. 2023-06-09 13:56:40.868312 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  404. 2023-06-09 13:56:40.868312 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 172240]
  405. 2023-06-09 13:56:40.868312 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "172240" AND deleted = 0 limit 1
  406. 2023-06-09 13:56:40.868312 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^84705689828.*' OR blocked_patterns = '^8470568982.*' OR blocked_patterns = '^847056898.*' OR blocked_patterns = '^84705689.*' OR blocked_patterns = '^8470568.*' OR blocked_patterns = '^847056.*' OR blocked_patterns = '^84705.*' OR blocked_patterns = '^8470.*' OR blocked_patterns = '^847.*' OR blocked_patterns = '^84.*' OR blocked_patterns = '^8.*' OR blocked_patterns ='--') AND accountid = 1238 limit 1
  407. 2023-06-09 13:56:40.868312 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="84705689828" AND (accountid = 0 OR status = 1) LIMIT 1
  408. 2023-06-09 13:56:40.868312 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
  409. 2023-06-09 13:56:40.868312 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  410. 2023-06-09 13:56:40.868312 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31,+/".....84705689828
  411. 2023-06-09 13:56:40.868312 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31,+/".....84705689828
  412. 2023-06-09 13:56:40.868312 [DEBUG] switch_cpp.cpp:1447 [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 = '^84705689828.*' OR patterns = '^8470568982.*' OR patterns = '^847056898.*' OR patterns = '^84705689.*' OR patterns = '^8470568.*' OR patterns = '^847056.*' OR patterns = '^84705.*' OR patterns = '^8470.*' OR patterns = '^847.*' OR patterns = '^84.*' OR patterns = '^8.*' OR patterns ='--') AND accountid = 1238 ORDER BY LENGTH(PKGPTR.patterns) DESC
  413. 2023-06-09 13:56:40.868312 [DEBUG] switch_cpp.cpp:1447 [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 ="84705689828" AND A.accountid = '1238' limit 1
  414. 2023-06-09 13:56:40.888317 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 84705689828
  415. 2023-06-09 13:56:40.888317 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="84705689828" LIMIT 1
  416. 2023-06-09 13:56:40.888317 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="84705689828"  AND domains.domain="ASM980.yoursipcloud.com" limit 1
  417. 2023-06-09 13:56:40.888317 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
  418. 2023-06-09 13:56:40.888317 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '84705689828' OR number = '8470568982' OR number = '847056898' OR number = '84705689' OR number = '8470568' OR number = '847056' OR number = '84705' OR number = '8470' OR number = '847' OR number = '84' OR number = '8' OR number ='--') OR (number = '84705689828*' OR number = '8470568982*' OR number = '847056898*' OR number = '84705689*' OR number = '8470568*' OR number = '847056*' OR number = '84705*' OR number = '8470*' OR number = '847*' OR number = '84*' OR number = '8*' OR number ='--') OR (number = '172240' OR number = '17224' OR number = '1722' OR number = '172' OR number = '17' OR number = '1' OR number ='--') OR (number = '172240*' OR number = '17224*' OR number = '1722*' OR number = '172*' OR number = '17*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  419. 2023-06-09 13:56:40.888317 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  420. 2023-06-09 13:56:40.888317 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '84705689828' OR routing_prefix = '8470568982' OR routing_prefix = '847056898' OR routing_prefix = '84705689' OR routing_prefix = '8470568' OR routing_prefix = '847056' OR routing_prefix = '84705' OR routing_prefix = '8470' OR routing_prefix = '847' OR routing_prefix = '84' OR routing_prefix = '8' OR routing_prefix ='--') AND status = 0 and reseller_id = 80 limit 1
  421. 2023-06-09 13:56:40.888317 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  422. 2023-06-09 13:56:40.888317 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 1238
  423. 2023-06-09 13:56:40.888317 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 172240
  424. 2023-06-09 13:56:40.888317 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 95.85684
  425. 2023-06-09 13:56:40.888317 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  426. 2023-06-09 13:56:40.888317 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 77
  427. 2023-06-09 13:56:40.888317 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  428. 2023-06-09 13:56:40.888317 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  429. 2023-06-09 13:56:40.888317 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 77 AND status = 0
  430. 2023-06-09 13:56:40.888317 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  431. 2023-06-09 13:56:40.888317 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 77 AND status = 0
  432. 2023-06-09 13:56:40.888317 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^84705689828.*' OR pattern = '^8470568982.*' OR pattern = '^847056898.*' OR pattern = '^84705689.*' OR pattern = '^8470568.*' OR pattern = '^847056.*' OR pattern = '^84705.*' OR pattern = '^8470.*' OR pattern = '^847.*' OR pattern = '^84.*' OR pattern = '^8.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 77 OR accountid=1238)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  433. 2023-06-09 13:56:40.908322 [NOTICE] sofia.c:1089 Hangup sofia/default/502@45.129.144.227 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  434. 2023-06-09 13:56:40.908322 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/502@45.129.144.227]
  435. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:654 (sofia/default/502@45.129.144.227) State EXCHANGE_MEDIA going to sleep
  436. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:585 (sofia/default/502@45.129.144.227) Running State Change CS_HANGUP (Cur 64 Tot 1486448)
  437. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:848 (sofia/default/502@45.129.144.227) Callstate Change ACTIVE -> HANGUP
  438. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:850 (sofia/default/502@45.129.144.227) State HANGUP
  439. 2023-06-09 13:56:40.908322 [DEBUG] mod_sofia.c:453 Channel sofia/default/502@45.129.144.227 hanging up, cause: NORMAL_CLEARING
  440. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:60 sofia/default/502@45.129.144.227 Standard HANGUP, cause: NORMAL_CLEARING
  441. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:850 (sofia/default/502@45.129.144.227) State HANGUP going to sleep
  442. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:620 (sofia/default/502@45.129.144.227) State Change CS_HANGUP -> CS_REPORTING
  443. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:585 (sofia/default/502@45.129.144.227) Running State Change CS_REPORTING (Cur 64 Tot 1486448)
  444. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:936 (sofia/default/502@45.129.144.227) State REPORTING
  445. 2023-06-09 13:56:40.908322 [INFO] mod_json_cdr.c:271 Process [f16794d9-22c6-4cd2-bb58-1552225f423b.cdr.json]
  446. 2023-06-09 13:56:40.908322 [DEBUG] switch_ivr_bridge.c:820 sofia/default/502@45.129.144.227 ending bridge by request from write function
  447. 2023-06-09 13:56:40.908322 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/3292233338@185.249.40.253]
  448. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  449. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  450. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 3981140
  451. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.03968
  452. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 1
  453. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.39677
  454. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Vietnam Mobile Mobifone
  455. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
  456. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 1238
  457. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 0
  458. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  459. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  460. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your95.85684 balance Accountid 1238 !!!
  461. 2023-06-09 13:56:40.908322 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  462. 2023-06-09 13:56:40.908322 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 80
  463. 2023-06-09 13:56:40.908322 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "80" AND deleted = 0 limit 1
  464. 2023-06-09 13:56:40.908322 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/502@45.129.144.227 skip receive message [UNBRIDGE] (channel is hungup already)
  465. 2023-06-09 13:56:40.908322 [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/3292233338@185.249.40.253 [CS_EXECUTE] [NORMAL_CLEARING]
  466. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_session.c:2905 sofia/default/3292233338@185.249.40.253 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  467. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:651 (sofia/default/3292233338@185.249.40.253) State EXECUTE going to sleep
  468. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3292233338@185.249.40.253) Running State Change CS_HANGUP (Cur 64 Tot 1486448)
  469. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:848 (sofia/default/3292233338@185.249.40.253) Callstate Change ACTIVE -> HANGUP
  470. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3292233338@185.249.40.253) State HANGUP
  471. 2023-06-09 13:56:40.908322 [DEBUG] mod_sofia.c:447 sofia/default/3292233338@185.249.40.253 Overriding SIP cause 480 with 200 from the other leg
  472. 2023-06-09 13:56:40.908322 [DEBUG] mod_sofia.c:453 Channel sofia/default/3292233338@185.249.40.253 hanging up, cause: NORMAL_CLEARING
  473. 2023-06-09 13:56:40.908322 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/3292233338@185.249.40.253
  474. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:60 sofia/default/3292233338@185.249.40.253 Standard HANGUP, cause: NORMAL_CLEARING
  475. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3292233338@185.249.40.253) State HANGUP going to sleep
  476. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:620 (sofia/default/3292233338@185.249.40.253) State Change CS_HANGUP -> CS_REPORTING
  477. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3292233338@185.249.40.253) Running State Change CS_REPORTING (Cur 64 Tot 1486448)
  478. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:936 (sofia/default/3292233338@185.249.40.253) State REPORTING
  479. 2023-06-09 13:56:40.908322 [INFO] mod_json_cdr.c:271 Process [d0964e1c-dae1-40a4-aa3f-a773d74dec26.cdr.json]
  480. 2023-06-09 13:56:40.908322 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^84705689828.*' OR blocked_patterns = '^8470568982.*' OR blocked_patterns = '^847056898.*' OR blocked_patterns = '^84705689.*' OR blocked_patterns = '^8470568.*' OR blocked_patterns = '^847056.*' OR blocked_patterns = '^84705.*' OR blocked_patterns = '^8470.*' OR blocked_patterns = '^847.*' OR blocked_patterns = '^84.*' OR blocked_patterns = '^8.*' OR blocked_patterns ='--') AND accountid = 80 limit 1
  481. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information ===================
  482. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 80
  483. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 156557
  484. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 9997.86391
  485. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  486. 2023-06-09 13:56:40.908322 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 8
  487. 2023-06-09 13:56:40.908322 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 8 AND status = 0
  488. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:174 sofia/default/502@45.129.144.227 Standard REPORTING, cause: NORMAL_CLEARING
  489. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:936 (sofia/default/502@45.129.144.227) State REPORTING going to sleep
  490. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:611 (sofia/default/502@45.129.144.227) State Change CS_REPORTING -> CS_DESTROY
  491. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_session.c:1726 Session 1486298 (sofia/default/502@45.129.144.227) Locked, Waiting on external entities
  492. 2023-06-09 13:56:40.908322 [NOTICE] switch_core_session.c:1744 Session 1486298 (sofia/default/502@45.129.144.227) Ended
  493. 2023-06-09 13:56:40.908322 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/502@45.129.144.227 [CS_DESTROY]
  494. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:739 (sofia/default/502@45.129.144.227) Running State Change CS_DESTROY (Cur 63 Tot 1486448)
  495. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:749 (sofia/default/502@45.129.144.227) State DESTROY
  496. 2023-06-09 13:56:40.908322 [DEBUG] mod_sofia.c:364 sofia/default/502@45.129.144.227 SOFIA DESTROY
  497. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:181 sofia/default/502@45.129.144.227 Standard DESTROY
  498. 2023-06-09 13:56:40.908322 [DEBUG] switch_core_state_machine.c:749 (sofia/default/502@45.129.144.227) State DESTROY going to sleep
  499. 2023-06-09 13:56:40.908322 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  500. 2023-06-09 13:56:40.908322 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 8 AND status = 0
  501. 2023-06-09 13:56:40.908322 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^84705689828.*' OR pattern = '^8470568982.*' OR pattern = '^847056898.*' OR pattern = '^84705689.*' OR pattern = '^8470568.*' OR pattern = '^847056.*' OR pattern = '^84705.*' OR pattern = '^8470.*' OR pattern = '^847.*' OR pattern = '^84.*' OR pattern = '^8.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 8 OR accountid=80)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  502. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  503. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  504. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 3237366
  505. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.03607
  506. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 1
  507. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.03607
  508. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Vietnam Mobile Mobifone
  509. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
  510. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 80
  511. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 4
  512. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  513. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  514. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your9997.86391 balance Accountid 80 !!!
  515. 2023-06-09 13:56:40.928313 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  516. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Reseller xml_user_rates : ID:3981140|CODE:^8470.*|DESTINATION:Vietnam Mobile Mobifone|CONNECTIONCOST:0.03968|INCLUDEDSECONDS:1|CT:|COST:0.39677|INC:1|INITIALBLOCK:1|RATEGROUP:77|MARKUP:0|CI:0|ACCID:1238||ID:3237366|CODE:^8470.*|DESTINATION:Vietnam Mobile Mobifone|CONNECTIONCOST:0.03607|INCLUDEDSECONDS:1|CT:|COST:0.03607|INC:1|INITIALBLOCK:1|RATEGROUP:8|MARKUP:0|CI:0|ACCID:80
  517. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  518. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Lossless Routing Status : 1
  519. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
  520. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 3981140
  521. 2023-06-09 13:56:40.928313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :4
  522. 2023-06-09 13:56:40.928313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^84705689828.*' OR pattern = '^8470568982.*' OR pattern = '^847056898.*' OR pattern = '^84705689.*' OR pattern = '^8470568.*' OR pattern = '^847056.*' OR pattern = '^84705.*' OR pattern = '^8470.*' OR pattern = '^847.*' OR pattern = '^84.*' OR pattern = '^8.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4)  AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  523. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
  524. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 122742
  525. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^8470.*
  526. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Vietnam Mobile Mobifone
  527. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  528. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
  529. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^8470.*
  530. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
  531. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
  532. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 4
  533. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1
  534. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
  535. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : SBC2
  536. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231
  537. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
  538. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs
  539. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
  540. 2023-06-09 13:56:40.928313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 1238 AND status=0 LIMIT 1
  541. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP]  Maxlength : 100
  542. 2023-06-09 13:56:40.928313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  543. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
  544. 2023-06-09 13:56:40.928313 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
  545. 2023-06-09 13:56:40.928313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 8 AND status = 0
  546. 2023-06-09 13:56:40.928313 [DEBUG] switch_cpp.cpp:1447 [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 = 231) AND status=0 limit 1
  547. 2023-06-09 13:56:40.928313 [DEBUG] switch_cpp.cpp:1447 [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 = 4) AND status=0 limit 1
  548. 2023-06-09 13:56:40.928313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Anonymous CHECK:172240
  549. 2023-06-09 13:56:40.928313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="84705689828" LIMIT 1
  550. 2023-06-09 13:56:40.928313 [DEBUG] switch_cpp.cpp:1447 [ASTPP]  Post Cdrs : 0
  551. 2023-06-09 13:56:40.928313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 1238
  552. 2023-06-09 13:56:40.928313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Generated XML:
  553. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  554. <document type="freeswitch/xml">
  555. <section name="dialplan" description="ASTPP Dialplan">
  556. <context name="default">
  557. <extension name="84705689828">
  558. <condition field="destination_number" expression="84705689828">
  559. <action application="log" data="WARNING Accountcode 172240. Dialed number (84705689828) termination rates not found!!"/>
  560. <action application="set" data="original_caller_id_name=172240"/>
  561. <action application="set" data="original_caller_id_number=172240"/>
  562. <action application="set" data="error_cdr=1"/>
  563. <action application="set" data="callstart=2023-06-09 11:56:40"/>
  564. <action application="set" data="account_id=1238"/>
  565. <action application="set" data="parent_id=80"/>
  566. <action application="set" data="call_direction=outbound"/>
  567. <action application="set" data="sip_ignore_remote_cause=true"/>
  568. <action application="set" data="call_processed=internal"/>
  569. <action application="set" data="effective_destination_number=84705689828"/>
  570. <action application="set" data="last_bridge_hangup_cause=TERMINATION_RATE_NOT_FOUND"/>
  571. <action application="hangup" data="TERMINATION_RATE_NOT_FOUND"/>
  572. </condition>
  573. </extension>
  574. </context>
  575. </section>
  576. </document>
  577. Dialplan: sofia/default/172240@ASM980.yoursipcloud.com parsing [default->84705689828] continue=false
  578. Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Regex (PASS) [84705689828] destination_number(84705689828) =~ /84705689828/ break=on-false
  579. Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action log(WARNING Accountcode 172240. Dialed number (84705689828) termination rates not found!!)
  580. Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(original_caller_id_name=172240)
  581. Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(original_caller_id_number=172240)
  582. Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(error_cdr=1)
  583. Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(callstart=2023-06-09 11:56:40)
  584. Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(account_id=1238)
  585. Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(parent_id=80)
  586. Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(call_direction=outbound)
  587. Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(sip_ignore_remote_cause=true)
  588. Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(call_processed=internal)
  589. Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(effective_destination_number=84705689828)
  590. Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(last_bridge_hangup_cause=TERMINATION_RATE_NOT_FOUND)
  591. Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action hangup(TERMINATION_RATE_NOT_FOUND)
  592. 2023-06-09 13:56:40.928313 [DEBUG] switch_core_state_machine.c:287 (sofia/default/172240@ASM980.yoursipcloud.com) State Change CS_ROUTING -> CS_EXECUTE
  593. 2023-06-09 13:56:40.928313 [DEBUG] switch_core_state_machine.c:644 (sofia/default/172240@ASM980.yoursipcloud.com) State ROUTING going to sleep
  594. 2023-06-09 13:56:40.928313 [DEBUG] switch_core_state_machine.c:585 (sofia/default/172240@ASM980.yoursipcloud.com) Running State Change CS_EXECUTE (Cur 63 Tot 1486448)
  595. 2023-06-09 13:56:40.928313 [DEBUG] switch_core_state_machine.c:651 (sofia/default/172240@ASM980.yoursipcloud.com) State EXECUTE
  596. 2023-06-09 13:56:40.928313 [DEBUG] mod_sofia.c:209 sofia/default/172240@ASM980.yoursipcloud.com SOFIA EXECUTE
  597. 2023-06-09 13:56:40.928313 [DEBUG] switch_core_state_machine.c:329 sofia/default/172240@ASM980.yoursipcloud.com Standard EXECUTE
  598. EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com log(WARNING Accountcode 172240. Dialed number (84705689828) termination rates not found!!)
  599. 2023-06-09 13:56:40.928313 [WARNING] mod_dptools.c:1866 Accountcode 172240. Dialed number (84705689828) termination rates not found!!
  600. EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(original_caller_id_name=172240)
  601. 2023-06-09 13:56:40.928313 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [original_caller_id_name]=[172240]
  602. EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(original_caller_id_number=172240)
  603. 2023-06-09 13:56:40.928313 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [original_caller_id_number]=[172240]
  604. EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(error_cdr=1)
  605. 2023-06-09 13:56:40.928313 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [error_cdr]=[1]
  606. EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(callstart=2023-06-09 11:56:40)
  607. 2023-06-09 13:56:40.928313 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [callstart]=[2023-06-09 11:56:40]
  608. EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(account_id=1238)
  609. 2023-06-09 13:56:40.928313 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [account_id]=[1238]
  610. EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(parent_id=80)
  611. 2023-06-09 13:56:40.928313 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [parent_id]=[80]
  612. EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(call_direction=outbound)
  613. 2023-06-09 13:56:40.928313 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [call_direction]=[outbound]
  614. EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(sip_ignore_remote_cause=true)
  615. 2023-06-09 13:56:40.928313 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [sip_ignore_remote_cause]=[true]
  616. EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(call_processed=internal)
  617. 2023-06-09 13:56:40.928313 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [call_processed]=[internal]
  618. EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(effective_destination_number=84705689828)
  619. 2023-06-09 13:56:40.928313 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [effective_destination_number]=[84705689828]
  620. EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(last_bridge_hangup_cause=TERMINATION_RATE_NOT_FOUND)
  621. 2023-06-09 13:56:40.928313 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [last_bridge_hangup_cause]=[TERMINATION_RATE_NOT_FOUND]
  622. EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com hangup(TERMINATION_RATE_NOT_FOUND)
  623. 2023-06-09 13:56:40.928313 [NOTICE] mod_dptools.c:1380 Hangup sofia/default/172240@ASM980.yoursipcloud.com [CS_EXECUTE] [NORMAL_CLEARING]
  624. 2023-06-09 13:56:40.928313 [DEBUG] switch_core_session.c:2905 sofia/default/172240@ASM980.yoursipcloud.com skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  625. 2023-06-09 13:56:40.928313 [DEBUG] switch_core_state_machine.c:651 (sofia/default/172240@ASM980.yoursipcloud.com) State EXECUTE going to sleep
  626. 2023-06-09 13:56:40.928313 [DEBUG] switch_core_state_machine.c:585 (sofia/default/172240@ASM980.yoursipcloud.com) Running State Change CS_HANGUP (Cur 63 Tot 1486448)
  627. 2023-06-09 13:56:40.928313 [DEBUG] switch_core_state_machine.c:848 (sofia/default/172240@ASM980.yoursipcloud.com) Callstate Change RINGING -> HANGUP
  628. 2023-06-09 13:56:40.928313 [DEBUG] switch_core_state_machine.c:850 (sofia/default/172240@ASM980.yoursipcloud.com) State HANGUP
  629. 2023-06-09 13:56:40.928313 [DEBUG] mod_sofia.c:453 Channel sofia/default/172240@ASM980.yoursipcloud.com hanging up, cause: NORMAL_CLEARING
  630. 2023-06-09 13:56:40.928313 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 480
  631. 2023-06-09 13:56:40.928313 [DEBUG] switch_core_state_machine.c:60 sofia/default/172240@ASM980.yoursipcloud.com Standard HANGUP, cause: NORMAL_CLEARING
  632. 2023-06-09 13:56:40.928313 [DEBUG] switch_core_state_machine.c:850 (sofia/default/172240@ASM980.yoursipcloud.com) State HANGUP going to sleep
  633. 2023-06-09 13:56:40.928313 [DEBUG] switch_core_state_machine.c:620 (sofia/default/172240@ASM980.yoursipcloud.com) State Change CS_HANGUP -> CS_REPORTING
  634. 2023-06-09 13:56:40.928313 [DEBUG] switch_core_state_machine.c:585 (sofia/default/172240@ASM980.yoursipcloud.com) Running State Change CS_REPORTING (Cur 63 Tot 1486448)
  635. 2023-06-09 13:56:40.928313 [DEBUG] switch_core_state_machine.c:936 (sofia/default/172240@ASM980.yoursipcloud.com) State REPORTING
  636. 2023-06-09 13:56:40.928313 [INFO] mod_json_cdr.c:271 Process [3495f518-8111-4c7d-a68b-ee8771e80082.cdr.json]
  637. 2023-06-09 13:56:40.948314 [DEBUG] switch_core_state_machine.c:174 sofia/default/172240@ASM980.yoursipcloud.com Stan