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.<br><br><br><br><div class="gmail_quote">On Thu, Jan 29, 2009 at 8:10 AM, Helmut Kuper <span dir="ltr">&lt;<a href="mailto:helmut.kuper@ewetel.de">helmut.kuper@ewetel.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div>Hi Stefan,<br>
<br>
I&#39;m not sure what you want to tell me with the diff. Maybe I should hook<br>
into the CallBack log function to get the span_id?<br>
<br>
After your hint I looked into FS&#39;s concole log and found that even the<br>
Q931 callback log function displays span_id 0<br>
<br>
I think this line:<br>
<br>
zap_log(&quot;Span&quot;, &quot;Q.931&quot;, span-&gt;span_id, (int)level, &quot;%s&quot;, msg);<br>
<br>
<br>
produces this line:<br>
<br>
2009-01-29 11:16:20 [DEBUG] Span:0 Q.931() Receiving message from Layer4<br>
(size: 212, type: 69)<br>
<br>
in FS console. There span_id is zero despite the fact that span_id in<br>
openzap.conf.xml is &quot;1&quot;<br>
<br>
openzap seems to set the span_id during zap_span_create(). The first<br>
span gets the span_id 1.<br>
<br>
Unfortuantely neither FS console nor my code displays the span id as<br>
expected.<br>
<br>
I would like to have it, because I want to put it into pcap file to give<br>
a hint in wireshark from which span the traffic is.<br>
<div class="Ih2E3d"><br>
<br>
regards<br>
Helmut<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (MingW32)<br>
<br>
</div>iEYEARECAAYFAkmBuNcACgkQ4tZeNddg3dw5ugCgl2E1E/wiaGrebuh8G0WM9+gr<br>
iMoAoI0DmmkIC2B/CwxNiZQKYB7EmcDP<br>
=jDTx<br>
-----END PGP SIGNATURE-----<br>
<div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>