[Freeswitch-users] Q931 decoding Update
helmut.kuper at ewetel.de
Thu Jan 29 02:54:33 PST 2009
-----BEGIN PGP SIGNED MESSAGE-----
a further update:
The code is implemented and seems to work as it should. I still can do
outgoing calls when q931ToPcap is active :) So it shouldn't be too wrong
what I did in the openzap code.
The pcap File is generated in FS's log dir either with default filename
or with optional given filename. Existing files of same name will be
overwritten without a warning.
I attached a screenshot of such a pcap file viewed in wireshark.
Currently I work on a little linux cli perl script, which displays the
decoded Q931 packets on a CLI as showed in my yesterday mail.
One thing I couldn't solve is, how to get the span_id when FS receives
or send a Q931 packet?
In ozmod_isdn functions "static int zap_isdn_921_23" (Receive) and
"static int q931_rx_32" (Send) I'm converting *pvt to zap_span_t like this:
zap_span_t *span = (zap_span_t *) pvt;
Then I try to access span_id by span->span_id, but it seems it's allways
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 153860 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090129/73be2660/attachment-0002.jpg
More information about the FreeSWITCH-users