VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
helmut.kuper at ewetel.de Guest
|
Posted: Sat Jan 24, 2009 7:14 am Post subject: [Freeswitch-users] Q931 decoding Update |
|
|
Hello,
to keep you informed. The stand alone c code is fully working now.
wireshark can decode and display the generated packets containing Q931
hex dump samples I copied from FS log into the c code. So now I will
start to put it into openzap/mod_openzap.
regards
helmut
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
helmut.kuper at ewetel.de Guest
|
Posted: Tue Jan 27, 2009 9:41 am Post subject: [Freeswitch-users] Q931 decoding Update |
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
again an update to my little project:
I enhanced mod_openzap and ozmod_isdn so that I'm able to start and stop
q931ToPcap generation in ozmod_isdn from FS's console. q931ToPcap itself
isn't implemented yet.
To give you an idea about the enhanced oz command - it's like this:
freeswitch@ippbx-prod-node0> oz
API CALL [oz()] output:
list || dump <span_id> [<chan_id>] || bounce <span_id> [<chan_id>] ||
q931_pcap <span_id> on|off
freeswitch@ippbx-prod-node0> oz q931_pcap
API CALL [oz(q931_pcap)] output:
- -ERR Usage: oz q931_pcap <span_id> on|off
freeswitch@ippbx-prod-node0> oz q931_pcap 0 on
API CALL [oz(q931_pcap 0 on)] output:
- -ERR invalid span
freeswitch@ippbx-prod-node0> oz q931_pcap 1 on
API CALL [oz(q931_pcap 1 on)] output:
2009-01-27 15:21:55 [INFO] mod_openzap.c:2172 oz_function() Starting
Q931-to-pcap
2009-01-27 15:21:55 [DEBUG] ozmod_isdn.c:1712 zap_isdn_configure_span()
Enabling Q931ToPcap
freeswitch@ippbx-prod-node0> oz q931_pcap 1 off
API CALL [oz(q931_pcap 1 off)] output:
2009-01-27 15:21:58 [INFO] mod_openzap.c:2178 oz_function() Stopping
Q931-to-pcap
2009-01-27 15:21:58 [DEBUG] ozmod_isdn.c:1717 zap_isdn_configure_span()
Disabling Q931ToPcap
freeswitch@ippbx-prod-node0>
As you can see, ozmod_isdn, where I will implement the code receives the
oz command option.
I appreciate your comments.
regards
helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iEYEARECAAYFAkl/GeMACgkQ4tZeNddg3dzurACgszPDA573+uZjmY5TWXF9yj5F
Vz8An2FvK0FsDLr0JQaHFDETWnLoPSkD
=0hkL
-----END PGP SIGNATURE-----
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Tue Jan 27, 2009 10:21 am Post subject: [Freeswitch-users] Q931 decoding Update |
|
|
Looks good, you might want to consider making the file name that is generated be an optional argument but it's not necessary just a suggestion.
On Tue, Jan 27, 2009 at 8:27 AM, Helmut Kuper <helmut.kuper@ewetel.de (helmut.kuper@ewetel.de)> wrote:
Quote: | -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
again an update to my little project:
I enhanced mod_openzap and ozmod_isdn so that I'm able to start and stop
q931ToPcap generation in ozmod_isdn from FS's console. q931ToPcap itself
isn't implemented yet.
To give you an idea about the enhanced oz command - it's like this:
freeswitch@ippbx-prod-node0> oz
API CALL [oz()] output:
list || dump <span_id> [<chan_id>] || bounce <span_id> [<chan_id>] ||
q931_pcap <span_id> on|off
freeswitch@ippbx-prod-node0> oz q931_pcap
API CALL [oz(q931_pcap)] output:
- -ERR Usage: oz q931_pcap <span_id> on|off
freeswitch@ippbx-prod-node0> oz q931_pcap 0 on
API CALL [oz(q931_pcap 0 on)] output:
- -ERR invalid span
freeswitch@ippbx-prod-node0> oz q931_pcap 1 on
API CALL [oz(q931_pcap 1 on)] output:
2009-01-27 15:21:55 [INFO] mod_openzap.c:2172 oz_function() Starting
Q931-to-pcap
2009-01-27 15:21:55 [DEBUG] ozmod_isdn.c:1712 zap_isdn_configure_span()
Enabling Q931ToPcap
freeswitch@ippbx-prod-node0> oz q931_pcap 1 off
API CALL [oz(q931_pcap 1 off)] output:
2009-01-27 15:21:58 [INFO] mod_openzap.c:2178 oz_function() Stopping
Q931-to-pcap
2009-01-27 15:21:58 [DEBUG] ozmod_isdn.c:1717 zap_isdn_configure_span()
Disabling Q931ToPcap
freeswitch@ippbx-prod-node0>
As you can see, ozmod_isdn, where I will implement the code receives the
oz command option.
I appreciate your comments.
regards
helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iEYEARECAAYFAkl/GeMACgkQ4tZeNddg3dzurACgszPDA573+uZjmY5TWXF9yj5F
Vz8An2FvK0FsDLr0JQaHFDETWnLoPSkD
=0hkL
-----END PGP SIGNATURE-----
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Jan 27, 2009 2:02 pm Post subject: [Freeswitch-users] Q931 decoding Update |
|
|
Helmut,
Nice work! Thanks for doing this.
-MC
On Tue, Jan 27, 2009 at 7:15 AM, Anthony Minessale
<anthony.minessale@gmail.com> wrote:
Quote: | Looks good, you might want to consider making the file name that is
generated be an optional argument but it's not necessary just a suggestion.
On Tue, Jan 27, 2009 at 8:27 AM, Helmut Kuper <helmut.kuper@ewetel.de>
wrote:
Quote: |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
again an update to my little project:
I enhanced mod_openzap and ozmod_isdn so that I'm able to start and stop
q931ToPcap generation in ozmod_isdn from FS's console. q931ToPcap itself
isn't implemented yet.
To give you an idea about the enhanced oz command - it's like this:
freeswitch@ippbx-prod-node0> oz
API CALL [oz()] output:
list || dump <span_id> [<chan_id>] || bounce <span_id> [<chan_id>] ||
q931_pcap <span_id> on|off
freeswitch@ippbx-prod-node0> oz q931_pcap
API CALL [oz(q931_pcap)] output:
- -ERR Usage: oz q931_pcap <span_id> on|off
freeswitch@ippbx-prod-node0> oz q931_pcap 0 on
API CALL [oz(q931_pcap 0 on)] output:
- -ERR invalid span
freeswitch@ippbx-prod-node0> oz q931_pcap 1 on
API CALL [oz(q931_pcap 1 on)] output:
2009-01-27 15:21:55 [INFO] mod_openzap.c:2172 oz_function() Starting
Q931-to-pcap
2009-01-27 15:21:55 [DEBUG] ozmod_isdn.c:1712 zap_isdn_configure_span()
Enabling Q931ToPcap
freeswitch@ippbx-prod-node0> oz q931_pcap 1 off
API CALL [oz(q931_pcap 1 off)] output:
2009-01-27 15:21:58 [INFO] mod_openzap.c:2178 oz_function() Stopping
Q931-to-pcap
2009-01-27 15:21:58 [DEBUG] ozmod_isdn.c:1717 zap_isdn_configure_span()
Disabling Q931ToPcap
freeswitch@ippbx-prod-node0>
As you can see, ozmod_isdn, where I will implement the code receives the
oz command option.
I appreciate your comments.
regards
helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iEYEARECAAYFAkl/GeMACgkQ4tZeNddg3dzurACgszPDA573+uZjmY5TWXF9yj5F
Vz8An2FvK0FsDLr0JQaHFDETWnLoPSkD
=0hkL
-----END PGP SIGNATURE-----
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
helmut.kuper at ewetel.de Guest
|
Posted: Wed Jan 28, 2009 4:58 am Post subject: [Freeswitch-users] Q931 decoding Update |
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Guys,
today I tried to decode a q931 pcap file directly in a linux cli. I had
success and the result looks like this:
- -- SENDING ------- Packet number: 00001 --- SpanID: 1 ----------------
Protocol discriminator: Q.931
Call reference value length: 2
Call reference flag: Message sent from originating side
Call reference value: 0002
Message type: RELEASE (0x4d)
Display 'HK@FreeSWITCH'
Information element: Display
Length: 13
Display information: HK@FreeSWITCH
- -- SENDING ------- Packet number: 00002 --- SpanID: 1 ----------------
Protocol discriminator: Q.931
Call reference value length: 2
Call reference flag: Message sent to originating side
Call reference value: 0002
Message type: DISCONNECT (0x45)
Cause
Information element: Cause
Length: 2
.... 0000 = Cause location: User (U) (0)
.00. .... = Coding standard: ITU-T standardized coding (0x00)
1... .... = Extension indicator: last octet
.001 0000 = Cause value: Normal call clearing (16)
1... .... = Extension indicator: last octet
I think this helps server admins to get a much faster access to the
decoded packages on a pure server where they have no GUI and hence no
wireshark. tshark is needed for this of course.
regards
Helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iEYEARECAAYFAkmAK38ACgkQ4tZeNddg3dxAEACgsf+GC3jqTvBUYD2pqsgtZgUs
s8QAoLIitPAc0I55zKXyw6yTe4MDaDaK
=/Ir7
-----END PGP SIGNATURE-----
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Wed Jan 28, 2009 12:09 pm Post subject: [Freeswitch-users] Q931 decoding Update |
|
|
Nice work! Let us know when you'd like others to try it out.
-MC
On Wed, Jan 28, 2009 at 1:55 AM, Helmut Kuper <helmut.kuper@ewetel.de> wrote:
Quote: | -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Guys,
today I tried to decode a q931 pcap file directly in a linux cli. I had
success and the result looks like this:
- -- SENDING ------- Packet number: 00001 --- SpanID: 1 ----------------
Protocol discriminator: Q.931
Call reference value length: 2
Call reference flag: Message sent from originating side
Call reference value: 0002
Message type: RELEASE (0x4d)
Display 'HK@FreeSWITCH'
Information element: Display
Length: 13
Display information: HK@FreeSWITCH
- -- SENDING ------- Packet number: 00002 --- SpanID: 1 ----------------
Protocol discriminator: Q.931
Call reference value length: 2
Call reference flag: Message sent to originating side
Call reference value: 0002
Message type: DISCONNECT (0x45)
Cause
Information element: Cause
Length: 2
.... 0000 = Cause location: User (U) (0)
.00. .... = Coding standard: ITU-T standardized coding (0x00)
1... .... = Extension indicator: last octet
.001 0000 = Cause value: Normal call clearing (16)
1... .... = Extension indicator: last octet
I think this helps server admins to get a much faster access to the
decoded packages on a pure server where they have no GUI and hence no
wireshark. tshark is needed for this of course.
regards
Helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iEYEARECAAYFAkmAK38ACgkQ4tZeNddg3dxAEACgsf+GC3jqTvBUYD2pqsgtZgUs
s8QAoLIitPAc0I55zKXyw6yTe4MDaDaK
=/Ir7
-----END PGP SIGNATURE-----
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
helmut.kuper at ewetel.de Guest
|
Posted: Thu Jan 29, 2009 5:57 am Post subject: [Freeswitch-users] Q931 decoding Update |
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
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
zero.
Any ideas?
regards
helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iEYEARECAAYFAkmBiugACgkQ4tZeNddg3dwQ+QCfTzb3Notfkx0NlLqXd6xHeE1J
UYYAn1uzMBoFvUTB1uMK0wdD1IMnS3tX
=p/F4
-----END PGP SIGNATURE-----
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
stkn at freeswitch.org Guest
|
Posted: Thu Jan 29, 2009 6:05 am Post subject: [Freeswitch-users] Q931 decoding Update |
|
|
Am Thursday 29 January 2009 schrieb Helmut Kuper:
Quote: | Hello,
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
zero.
Any ideas?
regards
helmut
|
Hi,
--- a/src/ozmod/ozmod_isdn/ozmod_isdn.c
+++ b/src/ozmod/ozmod_isdn/ozmod_isdn.c
@@ -1970,7 +1993,7 @@ static ZIO_SIG_CONFIGURE_FUNCTION(isdn_configure_span)
span,
&isdn_data->q931);
- Q921SetLogCB(&isdn_data->q921, &zap_isdn_q921_log, isdn_data);
+ Q921SetLogCB(&isdn_data->q921, &zap_isdn_q921_log, span);
Q921SetLogLevel(&isdn_data->q921, (Q921LogLevel_t)q921loglevel);
Q931InitTrunk(&isdn_data->q931,
@@ -1983,7 +2006,7 @@ static ZIO_SIG_CONFIGURE_FUNCTION(isdn_configure_span)
&isdn_data->q921,
span);
- Q931SetLogCB(&isdn_data->q931, &zap_isdn_q931_log, isdn_data);
+ Q931SetLogCB(&isdn_data->q931, &zap_isdn_q931_log, span);
Q931SetLogLevel(&isdn_data->q931, (Q931LogLevel_t)q931loglevel);
/* Register new event hander CB */
--
Stefan Knoblich
Web: http://stkn.techmage.de/ http://oss.axsentis.de/people/stkn/
Email: stkn@freeswitch.org
IRC: #freeswitch-de @ irc.freenode.net
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Thu Jan 29, 2009 8:53 am Post subject: [Freeswitch-users] Q931 decoding Update |
|
|
Would you like to check in the patch into tree now?
We can give you commit access and we call all work on it together.
On Thu, Jan 29, 2009 at 5:02 AM, Stefan Knoblich <stkn@freeswitch.org (stkn@freeswitch.org)> wrote:
Quote: | Am Thursday 29 January 2009 schrieb Helmut Kuper:
Quote: | Hello,
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
zero.
Any ideas?
regards
helmut
|
Hi,
--- a/src/ozmod/ozmod_isdn/ozmod_isdn.c
+++ b/src/ozmod/ozmod_isdn/ozmod_isdn.c
@@ -1970,7 +1993,7 @@ static ZIO_SIG_CONFIGURE_FUNCTION(isdn_configure_span)
span,
&isdn_data->q931);
- Q921SetLogCB(&isdn_data->q921, &zap_isdn_q921_log, isdn_data);
+ Q921SetLogCB(&isdn_data->q921, &zap_isdn_q921_log, span);
Q921SetLogLevel(&isdn_data->q921, (Q921LogLevel_t)q921loglevel);
Q931InitTrunk(&isdn_data->q931,
@@ -1983,7 +2006,7 @@ static ZIO_SIG_CONFIGURE_FUNCTION(isdn_configure_span)
&isdn_data->q921,
span);
- Q931SetLogCB(&isdn_data->q931, &zap_isdn_q931_log, isdn_data);
+ Q931SetLogCB(&isdn_data->q931, &zap_isdn_q931_log, span);
Q931SetLogLevel(&isdn_data->q931, (Q931LogLevel_t)q931loglevel);
/* Register new event hander CB */
--
Stefan Knoblich
Web: http://stkn.techmage.de/ http://oss.axsentis.de/people/stkn/
Email: stkn@freeswitch.org (stkn@freeswitch.org)
IRC: #freeswitch-de @ irc.freenode.net
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
helmut.kuper at ewetel.de Guest
|
Posted: Thu Jan 29, 2009 9:13 am Post subject: [Freeswitch-users] Q931 decoding Update |
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Anthony,
yes, I think I can upload it. Can you send me the datails please?
regards
Helmut
Am 29.01.2009 14:49, schrieb Anthony Minessale:
Quote: | Would you like to check in the patch into tree now?
We can give you commit access and we call all work on it together.
| -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iEYEARECAAYFAkmBuOUACgkQ4tZeNddg3dwkHQCgpxFkyHGJJO6Pii0zI1C3jx26
RdUAnRi5g0cjCzeFQ+0pwC5Zz2kKE93E
=YpxO
-----END PGP SIGNATURE-----
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
helmut.kuper at ewetel.de Guest
|
Posted: Thu Jan 29, 2009 9:14 am Post subject: [Freeswitch-users] Q931 decoding Update |
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Stefan,
I'm not sure what you want to tell me with the diff. Maybe I should hook
into the CallBack log function to get the span_id?
After your hint I looked into FS's concole log and found that even the
Q931 callback log function displays span_id 0
I think this line:
zap_log("Span", "Q.931", span->span_id, (int)level, "%s", msg);
produces this line:
2009-01-29 11:16:20 [DEBUG] Span:0 Q.931() Receiving message from Layer4
(size: 212, type: 69)
in FS console. There span_id is zero despite the fact that span_id in
openzap.conf.xml is "1"
openzap seems to set the span_id during zap_span_create(). The first
span gets the span_id 1.
Unfortuantely neither FS console nor my code displays the span id as
expected.
I would like to have it, because I want to put it into pcap file to give
a hint in wireshark from which span the traffic is.
regards
Helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iEYEARECAAYFAkmBuNcACgkQ4tZeNddg3dw5ugCgl2E1E/wiaGrebuh8G0WM9+gr
iMoAoI0DmmkIC2B/CwxNiZQKYB7EmcDP
=jDTx
-----END PGP SIGNATURE-----
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Thu Jan 29, 2009 11:07 am Post subject: [Freeswitch-users] Q931 decoding Update |
|
|
How do you want to do this? Do you currently have an SVN account? Or
do you wanna do this via Jira?
/b
On Jan 29, 2009, at 8:10 AM, Helmut Kuper wrote:
Quote: | -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Anthony,
yes, I think I can upload it. Can you send me the datails please?
regards
Helmut
Am 29.01.2009 14:49, schrieb Anthony Minessale:
Quote: | Would you like to check in the patch into tree now?
We can give you commit access and we call all work on it together.
| -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iEYEARECAAYFAkmBuOUACgkQ4tZeNddg3dwkHQCgpxFkyHGJJO6Pii0zI1C3jx26
RdUAnRi5g0cjCzeFQ+0pwC5Zz2kKE93E
=YpxO
-----END PGP SIGNATURE-----
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Thu Jan 29, 2009 11:21 am Post subject: [Freeswitch-users] Q931 decoding Update |
|
|
I think his patch was setting the span itself as the private data to the callback rather than the private_data which was currently being set.
On Thu, Jan 29, 2009 at 8:10 AM, Helmut Kuper <helmut.kuper@ewetel.de (helmut.kuper@ewetel.de)> wrote:
Quote: | -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Stefan,
I'm not sure what you want to tell me with the diff. Maybe I should hook
into the CallBack log function to get the span_id?
After your hint I looked into FS's concole log and found that even the
Q931 callback log function displays span_id 0
I think this line:
zap_log("Span", "Q.931", span->span_id, (int)level, "%s", msg);
produces this line:
2009-01-29 11:16:20 [DEBUG] Span:0 Q.931() Receiving message from Layer4
(size: 212, type: 69)
in FS console. There span_id is zero despite the fact that span_id in
openzap.conf.xml is "1"
openzap seems to set the span_id during zap_span_create(). The first
span gets the span_id 1.
Unfortuantely neither FS console nor my code displays the span id as
expected.
I would like to have it, because I want to put it into pcap file to give
a hint in wireshark from which span the traffic is.
regards
Helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iEYEARECAAYFAkmBuNcACgkQ4tZeNddg3dw5ugCgl2E1E/wiaGrebuh8G0WM9+gr
iMoAoI0DmmkIC2B/CwxNiZQKYB7EmcDP
=jDTx
-----END PGP SIGNATURE-----
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
helmut.kuper at ewetel.de Guest
|
Posted: Thu Jan 29, 2009 11:21 am Post subject: [Freeswitch-users] Q931 decoding Update |
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Brian,
no, I have no FS SVN account and I have no experience with jira and only
a few with svn. So I'm looking for the easiest way ...
I'm not sure if it is possible to do a svn commit in my openzap
directory and svn then merges the code correctly with current openzap in
trunk.
regards
Helmut
Am 29.01.2009 17:01, schrieb Brian West:
Quote: | How do you want to do this? Do you currently have an SVN account? Or
do you wanna do this via Jira?
/b
| -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iEYEARECAAYFAkmB1vgACgkQ4tZeNddg3dzWGQCeOB+JJLY/Ns6HaYRarMhF6EVj
UCgAn1Cu1BDfuSuBquZMWL6cLLioNeMb
=rDEe
-----END PGP SIGNATURE-----
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Thu Jan 29, 2009 11:33 am Post subject: [Freeswitch-users] Q931 decoding Update |
|
|
Can you join irc and we can make you an account and give you the instructions?
irc.freenode.net #freeswitch or just the java applet on our homepage.
On Thu, Jan 29, 2009 at 10:19 AM, Helmut Kuper <helmut.kuper@ewetel.de (helmut.kuper@ewetel.de)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|