<p style="margin:0;padding:0;" align="left">Sorry, I just see that I've put my subject here ...<br />What is gdb ? <br /></p> <br /> <br /> <br /><br /><blockquote style="padding-left: 5px; margin-left: 5px; border-left: 2px solid #ff0000">&gt; Message du 09/02/10 10:43<br />&gt; De : &quot;Anca Vamanu&quot; <br />&gt; A : &quot;marie.gremillot&quot; , &quot;OpenSIPS users mailling list&quot; <br />&gt; Copie &agrave; : <br />&gt; Objet : Re: [OpenSIPS-Users] B2BUA help<br />&gt;<br />&gt; <br />&gt; Hi Marie,<br />&gt; <br />&gt; Can you please investigate the core with gdb?<br />&gt; <br />&gt; Regards,<br />&gt; <br />&gt; -- <br />&gt; Anca Vamanu<br />&gt; www.voice-system.ro<br />&gt; <br />&gt; <br />&gt; marie.gremillot wrote:<br />&gt; &gt;<br />&gt; &gt; Hello every body,<br />&gt; &gt;<br />&gt; &gt; I have installed opensips and b2bua and I often have these errors <br />&gt; &gt; (followed by the crash of the server) :<br />&gt; &gt;<br />&gt; &gt; segfault at 646e657b ip 080de8dc sp bfbcceb0 error 6 in <br />&gt; &gt; opensips[8048000+10f000]<br />&gt; &gt; CRITICAL:core:receive_fd: EOF on 15<br />&gt; &gt;<br />&gt; &gt;<br />&gt; &gt; It appears at different moments : when I connect, when I call, when <br />&gt; &gt; the server is up too many time...<br />&gt; &gt;<br />&gt; &gt;<br />&gt; &gt;<br />&gt; &gt;<br />&gt; &gt;<br />&gt; &gt;     &gt; Message du 08/02/10 18:43<br />&gt; &gt;     &gt; De : &quot;Anca Vamanu&quot;<br />&gt; &gt;     &gt; A : &quot;OpenSIPS users mailling list&quot;<br />&gt; &gt;     &gt; Copie &agrave; :<br />&gt; &gt;     &gt; Objet : Re: [OpenSIPS-Users] B2BUA help<br />&gt; &gt;     &gt;<br />&gt; &gt;     &gt;<br />&gt; &gt;     &gt; opensipslist@encambio.com wrote:<br />&gt; &gt;     &gt; &gt; Hello Anca,<br />&gt; &gt;     &gt; &gt;<br />&gt; &gt;     &gt; &gt; An lun., f&eacute;vr 08, 2010, Anca VAMANU schrieb:<br />&gt; &gt;     &gt; &gt;<br />&gt; &gt;     &gt; &gt;&gt; The scenario that you want - authorizing the user at the media<br />&gt; &gt;     &gt; &gt;&gt; server in a bridging scenario will not work. You can not call<br />&gt; &gt;     &gt; &gt;&gt; b2b_init twice for the same dialog. The B2B implementation<br />&gt; &gt;     does not<br />&gt; &gt;     &gt; &gt;&gt; include the authorization requirements. And in fact I believe<br />&gt; &gt;     that<br />&gt; &gt;     &gt; &gt;&gt; you are complicating things by wanting the user to authorize<br />&gt; &gt;     to the<br />&gt; &gt;     &gt; &gt;&gt; media server. The normal approach will be for the user to<br />&gt; &gt;     authorize<br />&gt; &gt;     &gt; &gt;&gt; to the proxy and only after it has been authorize to call<br />&gt; &gt;     b2b_init<br />&gt; &gt;     &gt; &gt;&gt; function. And for the media server not to ask for authorization<br />&gt; &gt;     &gt; &gt;&gt; because the proxy should be in a trusted source list and the<br />&gt; &gt;     &gt; &gt;&gt; requests coming from it should not be challenged.<br />&gt; &gt;     &gt; &gt;&gt;<br />&gt; &gt;     &gt; &gt;&gt;<br />&gt; &gt;     &gt; &gt; Okay now it's clear, thanks for the help. But the problem is not<br />&gt; &gt;     &gt; &gt; solved, because there are situations in which the INVITE from your<br />&gt; &gt;     &gt; &gt; B2B logic should be challenged. In my case, the media server is<br />&gt; &gt;     &gt; &gt; serving voicemail as well. It must challenge incoming INVITEs<br />&gt; &gt;     &gt; &gt; because sometimes the 'From' URI describes a voicemail user that<br />&gt; &gt;     &gt; &gt; will be authorized to listen to their messages by way of the<br />&gt; &gt;     &gt; &gt; standard WWW-Authenticate.<br />&gt; &gt;     &gt; &gt;<br />&gt; &gt;     &gt; &gt; At the same time, I'm sure there's no problem in passing the<br />&gt; &gt;     &gt; &gt; 'Authorization' header if I make a new B2B module or simply patch<br />&gt; &gt;     &gt; &gt; the existing one. Is it true that calling b2b_init a second time<br />&gt; &gt;     &gt; &gt; will be no problem, because as b2b_logic sees the 401<br />&gt; &gt;     &gt; &gt; WWW-AUthenticate it will close the dialog started by the INVITE?<br />&gt; &gt;     &gt; &gt;<br />&gt; &gt;     &gt; &gt; Can you please advise me whether the needed change to pass the<br />&gt; &gt;     &gt; &gt; 'Authorization' header is in b2b_entities or b2b_logic? Do you<br />&gt; &gt;     &gt; &gt; see any problem in doing this?<br />&gt; &gt;     &gt; &gt;<br />&gt; &gt;     &gt; &gt; I have some other ideas of implementing B2B modules ontop of<br />&gt; &gt;     &gt; &gt; b2b_entities, so this would be a good way to become introduced<br />&gt; &gt;     &gt; &gt; to the code.<br />&gt; &gt;     &gt; &gt;<br />&gt; &gt;     &gt; &gt; Regards,<br />&gt; &gt;     &gt; &gt; Brian<br />&gt; &gt;     &gt; &gt;<br />&gt; &gt;     &gt; Yes, the authorization header should pass no matter what. I will<br />&gt; &gt;     try<br />&gt; &gt;     &gt; this myself and check if there is a bug.<br />&gt; &gt;     &gt;<br />&gt; &gt;     &gt; Regards,<br />&gt; &gt;     &gt;<br />&gt; &gt;     &gt; --<br />&gt; &gt;     &gt; Anca Vamanu<br />&gt; &gt;     &gt; www.voice-system.ro<br />&gt; &gt;     &gt;<br />&gt; &gt;     &gt;<br />&gt; &gt;     &gt; &gt; _______________________________________________<br />&gt; &gt;     &gt; &gt; Users mailing list<br />&gt; &gt;     &gt; &gt; Users@lists.opensips.org<br />&gt; &gt;     &gt; &gt; http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br />&gt; &gt;     &gt; &gt;<br />&gt; &gt;     &gt; &gt;<br />&gt; &gt;     &gt;<br />&gt; &gt;     &gt; _______________________________________________<br />&gt; &gt;     &gt; Users mailing list<br />&gt; &gt;     &gt; Users@lists.opensips.org<br />&gt; &gt;     &gt; http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br />&gt; &gt;     &gt;<br />&gt; &gt;     &gt; <br />&gt; &gt;<br />&gt; &gt;<br />&gt; &gt;<br />&gt; &gt; Pieddemail <br />&gt; &gt; <br />&gt; &gt;<br />&gt; &gt; ------------------------------------------------------------------------<br />&gt; &gt;<br />&gt; &gt; _______________________________________________<br />&gt; &gt; Users mailing list<br />&gt; &gt; Users@lists.opensips.org<br />&gt; &gt; http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br />&gt; <br />&gt; </blockquote><BR><BR><a target=_blank href=https://compte.laposte.net/inscription/index.do?jeux=201001FOOTER><img style="margin: 0pt;" src="http://webmail.laposte.net/webmail/fr_FR/panels/images/laposte-pieddemail-conqueteOK.jpg" alt="Pieddemail"><a>