When using the pjsip show channelstats
command, the displayed SIP numbers are truncated to 18 digits. In our system, SIP numbers are 20 digits long, and full visibility is required for accurate analysis. Is there any way to obtain and display the entire 20-digit SIP number through the CLI or another method?
Example output:
xxxxxx*CLI> pjsip show channelstats
...........Receive......... .........Transmit..........
BridgeId ChannelId ........ UpTime.. Codec. Count Lost Pct Jitter Count Lost Pct Jitter RTT....
===========================================================================================================
db75b401 250000001800000006 00:00:08 ulaw 332 0 0 0.000 353 0 0 0.000 0.000
db75b401 250000001800000006 00:00:08 ulaw 324 0 0 0.000 345 0 0 0.002 0.000
db75b401 250000001800000006 00:00:09 ulaw 349 0 0 0.000 347 0 0 0.001 0.000
Objects found: 3
actual SIP numbers are, “25000000180000000628”, “25000000180000000629”, “25000000180000000630”. But as shown above, the ChannelId column does not display the full 20 digits.
Could you let us know if there’s a configuration or a workaround to retrieve the complete SIP number?
Asterisk version: 18.21.0