From Harsh, 3 Months ago, written in Plain Text.
- go back
Embed
Viewing differences between and Debug DID number issue
  1. 2024-08-23 16:22:07.745934 0.00% [NOTICE] switch_channel.c:1142 New Channel sofia/external/+919925595922@116.202.195.158:5080 [87e3e81f-153e-42d3-bf5e-7018e818375b]
  2. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_state_machine.c:581 (sofia/external/+919925595922@116.202.195.158:5080) Running State Change CS_NEW (Cur 1 Tot 347)
  3. 2024-08-23 16:22:07.762005 0.00% [INFO] sofia.c:10459 sofia/external/+919925595922@116.202.195.158:5080 receiving invite from 116.202.195.158:5080 version: 1.10.11 -release-25-f24064f7c9 64bit call-id: 6da77a7940a0a2ed26b468a928da9761@116.202.195.158:5080
  4. 2024-08-23 16:22:07.762005 0.00% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 116.202.195.158:0.
  5. 2024-08-23 16:22:07.762005 0.00% [DEBUG] sofia.c:10582 IP 116.202.195.158 Approved by acl "default[]". Access Granted.
  6. 2024-08-23 16:22:07.762005 0.00% [DEBUG] sofia.c:7493 Channel sofia/external/+919925595922@116.202.195.158:5080 entering state [received][100]
  7. 2024-08-23 16:22:07.762005 0.00% [DEBUG] sofia.c:7503 Remote SDP:
  8. v=0
  9. o=root 1363044922 1363044922 IN IP4 116.202.195.158
  10. s=Asterisk PBX 13.19.1
  11. c=IN IP4 116.202.195.158
  12. t=0 0
  13. m=audio 10408 RTP/AVP 0 18 101
  14. a=rtpmap:0 PCMU/8000
  15. a=rtpmap:18 G729/8000
  16. a=fmtp:18 annexb=no
  17. a=rtpmap:101 telephone-event/8000
  18. a=fmtp:101 0-16
  19. a=ptime:20
  20. a=maxptime:150
  21.  
  22. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  23. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  24. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  25. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  26. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  27. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  28. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_media.c:3731 Set Codec sofia/external/+919925595922@116.202.195.158:5080 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  29. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_codec.c:111 sofia/external/+919925595922@116.202.195.158:5080 Original read codec set to PCMU:0
  30. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  31. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_media.c:5856 sofia/external/+919925595922@116.202.195.158:5080 Set 2833 dtmf send payload to 101 recv payload to 101
  32. 2024-08-23 16:22:07.762005 0.00% [DEBUG] sofia.c:7927 (sofia/external/+919925595922@116.202.195.158:5080) State Change CS_NEW -> CS_INIT
  33. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_state_machine.c:600 (sofia/external/+919925595922@116.202.195.158:5080) State NEW
  34. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_state_machine.c:581 (sofia/external/+919925595922@116.202.195.158:5080) Running State Change CS_INIT (Cur 1 Tot 347)
  35. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_state_machine.c:624 (sofia/external/+919925595922@116.202.195.158:5080) State INIT
  36. 2024-08-23 16:22:07.762005 0.00% [DEBUG] mod_sofia.c:97 sofia/external/+919925595922@116.202.195.158:5080 SOFIA INIT
  37. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_state_machine.c:40 sofia/external/+919925595922@116.202.195.158:5080 Standard INIT
  38. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_state_machine.c:48 (sofia/external/+919925595922@116.202.195.158:5080) State Change CS_INIT -> CS_ROUTING
  39. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_state_machine.c:624 (sofia/external/+919925595922@116.202.195.158:5080) State INIT going to sleep
  40. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_state_machine.c:581 (sofia/external/+919925595922@116.202.195.158:5080) Running State Change CS_ROUTING (Cur 1 Tot 347)
  41. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_channel.c:2399 (sofia/external/+919925595922@116.202.195.158:5080) Callstate Change DOWN -> RINGING
  42. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_state_machine.c:640 (sofia/external/+919925595922@116.202.195.158:5080) State ROUTING
  43. 2024-08-23 16:22:07.762005 0.00% [DEBUG] mod_sofia.c:158 sofia/external/+919925595922@116.202.195.158:5080 SOFIA ROUTING
  44. 2024-08-23 16:22:07.762005 0.00% [DEBUG] switch_core_state_machine.c:230 sofia/external/+919925595922@116.202.195.158:5080 Standard ROUTING
  45. 2024-08-23 16:22:07.762005 0.00% [INFO] mod_dialplan_xml.c:639 Processing +919925595922 <+919925595922>->18889878765 in context default
  46. 2024-08-23 16:22:07.798113 0.00% [NOTICE] switch_cpp.cpp:1466 [main.lua][xml_REQUEST] section: dialplan
  47. 2024-08-23 16:22:07.798113 0.00% [NOTICE] switch_cpp.cpp:1466 [main.lua][xml_REQUEST] key_value:
  48. 2024-08-23 16:22:07.798113 0.00% [NOTICE] switch_cpp.cpp:1466 [main.lua][xml_REQUEST] tag_name:
  49. 2024-08-23 16:22:07.798113 0.00% [NOTICE] switch_cpp.cpp:1466 [main.lua][xml_REQUEST] key_name:
  50. 2024-08-23 16:22:07.798113 0.00% [NOTICE] switch_cpp.cpp:1466 [main.lua]/usr/share/freeswitch/scripts/dialplan/index.lua
  51. 2024-08-23 16:22:07.798113 0.00% [INFO] switch_cpp.cpp:1466 [dialplan/index.lua][xml_handler] Params:
  52. Event-Name: REQUEST_PARAMS
  53. Core-UUID: 765ce64e-b31c-43a8-8097-1807e2c4473d
  54. FreeSWITCH-Hostname: ip-172-31-22-34
  55. FreeSWITCH-Switchname: ip-172-31-22-34
  56. FreeSWITCH-IPv4: 172.31.22.34
  57. FreeSWITCH-IPv6: %3A%3A1
  58. Event-Date-Local: 2024-08-23%2016%3A22%3A07
  59. Event-Date-GMT: Fri,%2023%20Aug%202024%2016%3A22%3A07%20GMT
  60. Event-Date-Timestamp: 1724430127762005
  61. Event-Calling-File: mod_dialplan_xml.c
  62. Event-Calling-Function: dialplan_xml_locate
  63. Event-Calling-Line-Number: 610
  64. Event-Sequence: 168436
  65. Channel-State: CS_ROUTING
  66. Channel-Call-State: RINGING
  67. Channel-State-Number: 2
  68. Channel-Name: sofia/external/%2B919925595922%40116.202.195.158%3A5080
  69. Unique-ID: 87e3e81f-153e-42d3-bf5e-7018e818375b
  70. Call-Direction: inbound
  71. Presence-Call-Direction: inbound
  72. Channel-HIT-Dialplan: true
  73. Channel-Presence-ID: %2B919925595922%40116.202.195.158
  74. Channel-Call-UUID: 87e3e81f-153e-42d3-bf5e-7018e818375b
  75. Answer-State: ringing
  76. Channel-Read-Codec-Name: PCMU
  77. Channel-Read-Codec-Rate: 8000
  78. Channel-Read-Codec-Bit-Rate: 64000
  79. Channel-Write-Codec-Name: PCMU
  80. Channel-Write-Codec-Rate: 8000
  81. Channel-Write-Codec-Bit-Rate: 64000
  82. Caller-Direction: inbound
  83. Caller-Logical-Direction: inbound
  84. Caller-Username: %2B919925595922
  85. Caller-Dialplan: XML
  86. Caller-Caller-ID-Name: %2B919925595922
  87. Caller-Caller-ID-Number: %2B919925595922
  88. Caller-Orig-Caller-ID-Name: %2B919925595922
  89. Caller-Orig-Caller-ID-Number: %2B919925595922
  90. Caller-Network-Addr: 116.202.195.158
  91. Caller-ANI: %2B919925595922
  92. Caller-Destination-Number: 18889878765
  93. Caller-Unique-ID: 87e3e81f-153e-42d3-bf5e-7018e818375b
  94. Caller-Source: mod_sofia
  95. Caller-Context: default
  96. Caller-Channel-Name: sofia/external/%2B919925595922%40116.202.195.158%3A5080
  97. Caller-Profile-Index: 1
  98. Caller-Profile-Created-Time: 1724430127762005
  99. Caller-Channel-Created-Time: 1724430127762005
  100. Caller-Channel-Answered-Time: 0
  101. Caller-Channel-Progress-Time: 0
  102. Caller-Channel-Progress-Media-Time: 0
  103. Caller-Channel-Hangup-Time: 0
  104. Caller-Channel-Transfer-Time: 0
  105. Caller-Channel-Resurrect-Time: 0
  106. Caller-Channel-Bridged-Time: 0
  107. Caller-Channel-Last-Hold: 0
  108. Caller-Channel-Hold-Accum: 0
  109. Caller-Screen-Bit: true
  110. Caller-Privacy-Hide-Name: false
  111. Caller-Privacy-Hide-Number: false
  112. variable_direction: inbound
  113. variable_uuid: 87e3e81f-153e-42d3-bf5e-7018e818375b
  114. variable_session_id: 347
  115. variable_sip_from_user: %2B919925595922
  116. variable_sip_from_port: 5080
  117. variable_sip_from_uri: %2B919925595922%40116.202.195.158%3A5080
  118. variable_sip_from_host: 116.202.195.158
  119. variable_video_media_flow: disabled
  120. variable_text_media_flow: disabled
  121. variable_channel_name: sofia/external/%2B919925595922%40116.202.195.158%3A5080
  122. variable_sip_call_id: 6da77a7940a0a2ed26b468a928da9761%40116.202.195.158%3A5080
  123. variable_sip_local_network_addr: 18.212.244.146
  124. variable_sip_network_ip: 116.202.195.158
  125. variable_sip_network_port: 5080
  126. variable_sip_invite_stamp: 1724430127762005
  127. variable_sip_received_ip: 116.202.195.158
  128. variable_sip_received_port: 5080
  129. variable_sip_via_protocol: udp
  130. variable_sip_authorized: true
  131. variable_sip_acl_authed_by: default
  132. variable_sip_from_user_stripped: 919925595922
  133. variable_sip_from_tag: as5c6c9259
  134. variable_sofia_profile_name: external
  135. variable_sofia_profile_url: sip%3Amod_sofia%4018.212.244.146%3A5080
  136. variable_recovery_profile_name: external
  137. variable_sip_full_via: SIP/2.0/UDP%20116.202.195.158%3A5080%3Bbranch%3Dz9hG4bK34baec94%3Brport%3D5080
  138. variable_sip_from_display: %2B919925595922
  139. variable_sip_full_from: %22%2B919925595922%22%20%3Csip%3A%2B919925595922%40116.202.195.158%3A5080%3E%3Btag%3Das5c6c9259
  140. variable_sip_full_to: %3Csip%3A18889878765%4018.212.244.146%3A5080%3E
  141. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  142. variable_sip_req_user: 18889878765
  143. variable_sip_req_port: 5080
  144. variable_sip_req_uri: 18889878765%4018.212.244.146%3A5080
  145. variable_sip_req_host: 18.212.244.146
  146. variable_sip_to_user: 18889878765
  147. variable_sip_to_port: 5080
  148. variable_sip_to_uri: 18889878765%4018.212.244.146%3A5080
  149. variable_sip_to_host: 18.212.244.146
  150. variable_sip_contact_user: %2B919925595922
  151. variable_sip_contact_port: 5080
  152. variable_sip_contact_uri: %2B919925595922%40116.202.195.158%3A5080
  153. variable_sip_contact_host: 116.202.195.158
  154. variable_sip_user_agent: Asterisk%20PBX%2013.19.1
  155. variable_sip_via_host: 116.202.195.158
  156. variable_sip_via_port: 5080
  157. variable_sip_via_rport: 5080
  158. variable_max_forwards: 70
  159. variable_presence_id: %2B919925595922%40116.202.195.158
  160. variable_sip_date_epoch_time: 1724430127
  161. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201363044922%201363044922%20IN%20IP4%20116.202.195.158%0D%0As%3DAsterisk%20PBX%2013.19.1%0D%0Ac%3DIN%20IP4%20116.202.195.158%0D%0At%3D0%200%0D%0Am%3Daudio%2010408%20RTP/AVP%200%2018%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dmaxptime%3A150%0D%0A
  162. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  163. variable_rtp_use_codec_string: PCMA,PCMU
  164. variable_remote_video_media_flow: inactive
  165. variable_remote_text_media_flow: inactive
  166. variable_remote_audio_media_flow: sendrecv
  167. variable_audio_media_flow: sendrecv
  168. variable_remote_media_ip: 116.202.195.158
  169. variable_remote_media_port: 10408
  170. variable_rtp_audio_recv_pt: 0
  171. variable_rtp_use_codec_name: PCMU
  172. variable_rtp_use_codec_rate: 8000
  173. variable_rtp_use_codec_ptime: 20
  174. variable_rtp_use_codec_channels: 1
  175. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  176. variable_read_codec: PCMU
  177. variable_original_read_codec: PCMU
  178. variable_read_rate: 8000
  179. variable_original_read_rate: 8000
  180. variable_write_codec: PCMU
  181. variable_write_rate: 8000
  182. variable_dtmf_type: rfc2833
  183. variable_endpoint_disposition: RECEIVED
  184. variable_call_uuid: 87e3e81f-153e-42d3-bf5e-7018e818375b
  185. Hunt-Direction: inbound
  186. Hunt-Logical-Direction: inbound
  187. Hunt-Username: %2B919925595922
  188. Hunt-Dialplan: XML
  189. Hunt-Caller-ID-Name: %2B919925595922
  190. Hunt-Caller-ID-Number: %2B919925595922
  191. Hunt-Orig-Caller-ID-Name: %2B919925595922
  192. Hunt-Orig-Caller-ID-Number: %2B919925595922
  193. Hunt-Network-Addr: 116.202.195.158
  194. Hunt-ANI: %2B919925595922
  195. Hunt-Destination-Number: 18889878765
  196. Hunt-Unique-ID: 87e3e81f-153e-42d3-bf5e-7018e818375b
  197. Hunt-Source: mod_sofia
  198. Hunt-Context: default
  199. Hunt-Channel-Name: sofia/external/%2B919925595922%40116.202.195.158%3A5080
  200. Hunt-Profile-Index: 1
  201. Hunt-Profile-Created-Time: 1724430127762005
  202. Hunt-Channel-Created-Time: 1724430127762005
  203. Hunt-Channel-Answered-Time: 0
  204. Hunt-Channel-Progress-Time: 0
  205. Hunt-Channel-Progress-Media-Time: 0
  206. Hunt-Channel-Hangup-Time: 0
  207. Hunt-Channel-Transfer-Time: 0
  208. Hunt-Channel-Resurrect-Time: 0
  209. Hunt-Channel-Bridged-Time: 0
  210. Hunt-Channel-Last-Hold: 0
  211. Hunt-Channel-Hold-Accum: 0
  212. Hunt-Screen-Bit: true
  213. Hunt-Privacy-Hide-Name: false
  214. Hunt-Privacy-Hide-Number: false
  215.  
  216. 2024-08-23 16:22:07.798113 0.00% [WARNING] switch_cpp.cpp:1466 [dialplan/index.lua:: CHECK FOR IP MAP:::116.202.195.158:::
  217. 2024-08-23 16:22:08.103086 0.00% [NOTICE] switch_cpp.cpp:1466 [common/index.lua:: destination_number::18889878765
  218. 2024-08-23 16:22:08.103086 0.00% [WARNING] switch_cpp.cpp:1466 [common/custom.lua:: DID Destination Array: NIL::
  219. 2024-08-23 16:22:08.103086 0.00% [NOTICE] switch_cpp.cpp:1466 [main.lua]
  220. 2024-08-23 16:22:08.103086 0.00% [NOTICE] switch_cpp.cpp:1466 [main.lua]Return Nil value