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 <[email protected]>wrote:

> Am Thursday 29 January 2009 schrieb Helmut Kuper:
> > 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: [email protected]
> IRC:    #freeswitch-de @ irc.freenode.net
>
> _______________________________________________
> Freeswitch-users mailing list
> [email protected]
> 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:[email protected] <msn%[email protected]>
GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected] <sip%[email protected]>
iax:[email protected]/888
googletalk:[email protected]<googletalk%3aconf%[email protected]>
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to