[asterisk-users] Troubleshooting TDMs (Packet capture like debugging)
Steve Totaro
stotaro at totarotechnologies.com
Thu Jun 13 08:29:00 CDT 2013
On Thu, Jun 13, 2013 at 9:23 AM, James Bensley <jwbensley at gmail.com> wrote:
> Hi All,
>
> I am looking for a way to troubleshoot issues with TDM (E1) trunks
> with a provider.
>
> Currently with SIP trunks I am using tcpdump to perform packet
> captures between our gateways and the SIP providers IPs, capturing
> traffic on all ports, to include both the SIP messages and the RTP
> stream.
>
> How can I achieve a similar result on TDM links connected to TDM cards
> in Asterisk servers, where by I can see the signalling (like the SIP
> message) and the audio stream (like the RTP stream) in my packet
> captures?
>
> If it helps, the end goal is to create something like the packet
> captures I am making so I can see the control signals and audio
> streams (in and out) for troubleshooting one way audio issues for
> example. So, am I sending audio to the TDM provider, are they sending
> it to me, have we both signalled correctly to start/stop sending
> audio, etc.
>
> Many thanks,
> James.
>
>
Is it PRI? You can see PRI debug info on the console. Extremely valuable
in troubleshooting. http://www.voip-info.org/wiki/view/Asterisk+CLI
Zap channel commands
zap destroy channel: Destroy a channel
zap show channels: Show active zapata channels
zap show channel: Show information on a channel
zap show status: lists all the Zaptel spans. A span will apear here whether
or not its channels are configured with chan_zap.
zap show cadences: Show the configured ring cadences (available e.g with
Zap/1r2).
zap set swgain(<= 1.6): set the (software) gain for a hannel. Temporary
equivalents of rxgain and txgain in zapata.conf.
zap set hwgain(<=1.6): set the hardware gain for channels that support it.
zap set dnd(<=1.6) set a channel's do-not-disturb mode on or off.
The following commands are available if the channel is built with support
for libpri:
pri debug span: Enables PRI debugging on a span
pri intense debug span: Enables REALLY INTENSE PRI debugging
pri no debug span: Disables PRI debugging on a span
pri show spans: List spans and their status.
pri show span: Information about a span.
pri show debug: show where debug is enabled.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130613/9761b3be/attachment.htm>
More information about the asterisk-users
mailing list