From MNP, 6 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2024-05-04 18:08:22.894078 98.20% [NOTICE] switch_channel.c:1142 New Channel sofia/default/5587894125@192.141.126.93 [e7e95d78-13f9-4756-8ea0-a9b45c4a1574]
  2. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5587894125@192.141.126.93) Running State Change CS_NEW (Cur 1 Tot 16453)
  3. 2024-05-04 18:08:22.914394 98.20% [INFO] sofia.c:10459 sofia/default/5587894125@192.141.126.93 receiving invite from 192.141.126.93:5060 version: 1.10.10-release  64bit call-id: 22f44225-84e4-123d-6ab3-3ab41d8f3981
  4. 2024-05-04 18:08:22.914394 98.20% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 192.141.126.93:0.
  5. 2024-05-04 18:08:22.914394 98.20% [DEBUG] sofia.c:10582 IP 192.141.126.93 Approved by acl "default[]". Access Granted.
  6. 2024-05-04 18:08:22.914394 98.20% [DEBUG] sofia.c:7493 Channel sofia/default/5587894125@192.141.126.93 entering state [received][100]
  7. 2024-05-04 18:08:22.914394 98.20% [DEBUG] sofia.c:7503 Remote SDP:
  8. v=0
  9. o=FreeSWITCH 1714828620 1714828621 IN IP4 192.141.126.93
  10. s=FreeSWITCH
  11. c=IN IP4 192.141.126.93
  12. t=0 0
  13. m=audio 17484 RTP/AVP 8 101
  14. a=rtpmap:8 PCMA/8000
  15. a=rtpmap:101 telephone-event/8000
  16. a=fmtp:101 0-15
  17. a=ptime:20
  18.  
  19. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  20. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  21. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  22. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  23. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/5587894125@192.141.126.93 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  24. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_codec.c:111 sofia/default/5587894125@192.141.126.93 Original read codec set to PCMA:8
  25. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  26. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_media.c:5856 sofia/default/5587894125@192.141.126.93 Set 2833 dtmf send payload to 101 recv payload to 101
  27. 2024-05-04 18:08:22.914394 98.20% [DEBUG] sofia.c:7927 (sofia/default/5587894125@192.141.126.93) State Change CS_NEW -> CS_INIT
  28. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_state_machine.c:600 (sofia/default/5587894125@192.141.126.93) State NEW
  29. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5587894125@192.141.126.93) Running State Change CS_INIT (Cur 1 Tot 16453)
  30. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5587894125@192.141.126.93) State INIT
  31. 2024-05-04 18:08:22.914394 98.20% [DEBUG] mod_sofia.c:97 sofia/default/5587894125@192.141.126.93 SOFIA INIT
  32. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/5587894125@192.141.126.93 Standard INIT
  33. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/5587894125@192.141.126.93) State Change CS_INIT -> CS_ROUTING
  34. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5587894125@192.141.126.93) State INIT going to sleep
  35. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5587894125@192.141.126.93) Running State Change CS_ROUTING (Cur 1 Tot 16453)
  36. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_channel.c:2399 (sofia/default/5587894125@192.141.126.93) Callstate Change DOWN -> RINGING
  37. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5587894125@192.141.126.93) State ROUTING
  38. 2024-05-04 18:08:22.914394 98.20% [DEBUG] mod_sofia.c:158 sofia/default/5587894125@192.141.126.93 SOFIA ROUTING
  39. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_core_state_machine.c:230 sofia/default/5587894125@192.141.126.93 Standard ROUTING
  40. 2024-05-04 18:08:22.914394 98.20% [INFO] mod_dialplan_xml.c:639 Processing 5587894125 <5587894125>->1811526321210499 in context default
  41. 2024-05-04 18:08:22.914394 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  42. 2024-05-04 18:08:22.914394 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  43. 2024-05-04 18:08:22.914394 98.20% [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')
  44. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  45. 2024-05-04 18:08:22.934071 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1811526321210499
  46. 2024-05-04 18:08:22.934071 98.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] [Dialplan] MNP Prefix : 181
  47. 2024-05-04 18:08:22.934071 98.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] [Dialplan] dest_start : 181
  48. 2024-05-04 18:08:22.934071 98.20% [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 ="6321210499" LIMIT 1
  49. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  50. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  51. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  52. <document type="freeswitch/xml">
  53. <section name="dialplan" description="ASTPP Dialplan">
  54. <context name="default">
  55. <extension name="6321210499">
  56. <condition field="destination_number" expression="6321210499">
  57. <action application="log" data="INFO MNP - Invalid Number!!"/>
  58. <action application="hangup" data="No Route Found"/>
  59. <action application="set" data="process_cdr=false"/>
  60. </condition>
  61. </extension>
  62. </context>
  63. </section>
  64. </document>
  65. Dialplan: sofia/default/5587894125@192.141.126.93 parsing [default->6321210499] continue=false
  66. Dialplan: sofia/default/5587894125@192.141.126.93 Regex (PASS) [6321210499] destination_number(1811526321210499) =~ /6321210499/ break=on-false
  67. Dialplan: sofia/default/5587894125@192.141.126.93 Action log(INFO MNP - Invalid Number!!)
  68. Dialplan: sofia/default/5587894125@192.141.126.93 Action hangup(No Route Found)
  69. Dialplan: sofia/default/5587894125@192.141.126.93 Action set(process_cdr=false)
  70. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_core_state_machine.c:281 (sofia/default/5587894125@192.141.126.93) State Change CS_ROUTING -> CS_EXECUTE
  71. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5587894125@192.141.126.93) State ROUTING going to sleep
  72. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5587894125@192.141.126.93) Running State Change CS_EXECUTE (Cur 1 Tot 16453)
  73. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/5587894125@192.141.126.93) State EXECUTE
  74. 2024-05-04 18:08:22.934071 98.20% [DEBUG] mod_sofia.c:213 sofia/default/5587894125@192.141.126.93 SOFIA EXECUTE
  75. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_core_state_machine.c:323 sofia/default/5587894125@192.141.126.93 Standard EXECUTE
  76. EXECUTE [depth=0] sofia/default/5587894125@192.141.126.93 log(INFO MNP - Invalid Number!!)
  77. 2024-05-04 18:08:22.934071 98.20% [INFO] mod_dptools.c:1865 MNP - Invalid Number!!
  78. EXECUTE [depth=0] sofia/default/5587894125@192.141.126.93 hangup(No Route Found)
  79. 2024-05-04 18:08:22.934071 98.20% [NOTICE] mod_dptools.c:1374 Hangup sofia/default/5587894125@192.141.126.93 [CS_EXECUTE] [NORMAL_CLEARING]
  80. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_core_session.c:2979 sofia/default/5587894125@192.141.126.93 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  81. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/5587894125@192.141.126.93) State EXECUTE going to sleep
  82. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5587894125@192.141.126.93) Running State Change CS_HANGUP (Cur 1 Tot 16453)
  83. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/5587894125@192.141.126.93) Callstate Change RINGING -> HANGUP
  84. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5587894125@192.141.126.93) State HANGUP
  85. 2024-05-04 18:08:22.934071 98.20% [DEBUG] mod_sofia.c:469 Channel sofia/default/5587894125@192.141.126.93 hanging up, cause: NORMAL_CLEARING
  86. 2024-05-04 18:08:22.934071 98.20% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 480
  87. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/5587894125@192.141.126.93 Standard HANGUP, cause: NORMAL_CLEARING
  88. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5587894125@192.141.126.93) State HANGUP going to sleep
  89. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/5587894125@192.141.126.93) State Change CS_HANGUP -> CS_REPORTING
  90. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5587894125@192.141.126.93) Running State Change CS_REPORTING (Cur 1 Tot 16453)
  91. 2024-05-04 18:08:22.934071 98.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5587894125@192.141.126.93) State REPORTING
  92. 2024-05-04 18:08:22.934071 98.20% [INFO] mod_json_cdr.c:272 Process [e7e95d78-13f9-4756-8ea0-a9b45c4a1574.cdr.json]
  93. 2024-05-04 18:08:22.973968 98.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/5587894125@192.141.126.93 Standard REPORTING, cause: NORMAL_CLEARING
  94. 2024-05-04 18:08:22.973968 98.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5587894125@192.141.126.93) State REPORTING going to sleep
  95. 2024-05-04 18:08:22.973968 98.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/5587894125@192.141.126.93) State Change CS_REPORTING -> CS_DESTROY
  96. 2024-05-04 18:08:22.973968 98.20% [DEBUG] switch_core_session.c:1744 Session 16453 (sofia/default/5587894125@192.141.126.93) Locked, Waiting on external entities