Any ideas about this?<br>
<br>The SIP provider is offering H323, but I&#39;m not quite sure about that, is mod_opal working right?<br><br>Thanks!<br><br>Nicolas<br><br><div class="gmail_quote">On Tue, Sep 29, 2009 at 6:42 PM, Nicolas Brenner <span dir="ltr">&lt;<a href="mailto:nicolas@medularis.com">nicolas@medularis.com</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;">Anthony, thanks. Below are my config files for the two gateways from the sip trace. Both files are located in conf/directory/default.<br>
<br>
---------------------<br><br>redvoiss.xml (the one that works)<br><br>&lt;include&gt;<br>  &lt;user id=&quot;gateway_redvoiss&quot;&gt;<br>    &lt;gateways&gt;<br>      &lt;gateway name=&quot;redvoiss-pp&quot;&gt;<br>        &lt;param name=&quot;username&quot; value=&quot;xxxxxxx&quot;/&gt;<br>

        &lt;param name=&quot;password&quot; value=&quot;xxxxxxx&quot;/&gt;<br>        &lt;param name=&quot;from-domain&quot; value=&quot;<a href="http://pxextmy.redvoiss.net" target="_blank">pxextmy.redvoiss.net</a>&quot;/&gt;<br>
        &lt;param name=&quot;realm&quot; value=&quot;<a href="http://pxextmy.redvoiss.net" target="_blank">pxextmy.redvoiss.net</a>&quot;/&gt;<br>
        &lt;param name=&quot;proxy&quot; value=&quot;<a href="http://pxextmy.redvoiss.net" target="_blank">pxextmy.redvoiss.net</a>&quot;/&gt;<br>        &lt;param name=&quot;from-user&quot; value=&quot;xxxxxxx&quot;/&gt;<br>
        &lt;param name=&quot;caller-id-in-from&quot; value=&quot;false&quot;/&gt;<br>
        &lt;param name=&quot;expire-seconds&quot; value=&quot;600&quot;/&gt;<br>        &lt;param name=&quot;register&quot; value=&quot;true&quot;/&gt;<br>        &lt;param name=&quot;retry_seconds&quot; value=&quot;5&quot;/&gt;<br>

        &lt;param name=&quot;extension&quot; value=&quot;2010&quot;/&gt;<br>        &lt;param name=&quot;context&quot; value=&quot;public&quot;/&gt;<br>        &lt;param name=&quot;codec-prefs&quot; value=&quot;G729&quot;/&gt;<br>

        &lt;param name=&quot;rfc2833-pt&quot; value=&quot;101&quot;/&gt;<br>      &lt;/gateway&gt;<br>    &lt;/gateways&gt;<br>    &lt;params&gt;<br>      &lt;param name=&quot;password&quot; value=&quot;4321&quot;/&gt;<br>

    &lt;/params&gt;<br>  &lt;/user&gt;<br>&lt;/include&gt;<br><br>---------------------<br><br>orange.xml (the one that doesn&#39;t work)<br><br>&lt;include&gt;<br>  &lt;user id=&quot;gateway_orange&quot;&gt;<br>    &lt;gateways&gt;<br>

      &lt;gateway name=&quot;orange&quot;&gt;<br>        &lt;param name=&quot;username&quot; value=&quot;xxxxxxx&quot;/&gt;<br>        &lt;param name=&quot;password&quot; value=&quot;xxxxxxx&quot;/&gt;<br>        &lt;param name=&quot;from-domain&quot; value=&quot;216.72.10.39&quot;/&gt;<br>

        &lt;param name=&quot;realm&quot; value=&quot;216.72.10.39&quot;/&gt;<br>        &lt;param name=&quot;proxy&quot; value=&quot;216.72.10.39&quot;/&gt;<br>        &lt;param name=&quot;from-user&quot; value=&quot;xxxxxxx&quot;/&gt;<br>

        &lt;param name=&quot;caller-id-in-from&quot; value=&quot;false&quot;/&gt;<br>        &lt;param name=&quot;expire-seconds&quot; value=&quot;600&quot;/&gt;<br>        &lt;param name=&quot;register&quot; value=&quot;true&quot;/&gt;<br>

        &lt;param name=&quot;retry_seconds&quot; value=&quot;5&quot;/&gt;<br>        &lt;param name=&quot;extension&quot; value=&quot;2011&quot;/&gt;<br>        &lt;param name=&quot;context&quot; value=&quot;public&quot;/&gt;<br>

        &lt;param name=&quot;codec-prefs&quot; value=&quot;G729&quot;/&gt;<br>        &lt;param name=&quot;rfc2833-pt&quot; value=&quot;101&quot;/&gt;<br>      &lt;/gateway&gt;<br>    &lt;/gateways&gt;<br>    &lt;params&gt;<br>

      &lt;param name=&quot;password&quot; value=&quot;4321&quot;/&gt;<br>    &lt;/params&gt;<br>  &lt;/user&gt;<br>&lt;/include&gt;<br>
<br>---------------------<br><br>If I remove the register=true param for the non-working gateway, I don&#39;t get the registration error on the cli, but then all call attempts get rejected with a 401 Unauthorized, and I get a hangup cause of NORMAL_UNSPECIFIED.<br>

<br><br>Best,<br><font color="#888888"><br>Nicolas</font><div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Tue, Sep 29, 2009 at 2:22 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</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;">900 level errors are sofia internal errors so probably something is wrong with your gateway config xml.<br>

if you want to send it with any critical info replaced with XXX maybe we can see the issue for you.<br><br><br><br>
<div class="gmail_quote"><div><div></div><div>On Tue, Sep 29, 2009 at 1:05 PM, Nicolas Brenner <span dir="ltr">&lt;<a href="mailto:nicolas@medularis.com" target="_blank">nicolas@medularis.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>
Hello everyone,<br><br>I am trying to add a gateway, but after configuring it just like the others gateways I have, it is failing to register with a message like this:<br><br>2009-09-29 12:54:40.853440 [ERR] sofia_reg.c:1402 orange Registration Failed with status Operation has no matching challenge  [904]. failure #1<br>





2009-09-29 12:54:40.906798 [WARNING] sofia_reg.c:364 orange Failed Registration, setting retry to 10 seconds.<br><br>I captured the sip traffic and noticed that when trying to register with one gateway (the one that works), I get a &quot;Trying&quot; reply immediately followed by a &quot;401 Unauthorized&quot; which contains a &quot;WWW-Authenticate: digest&quot; with a &quot;qop=auth&quot; parameter. Then Freeswitch replies with a second REGISTER including a large &quot;Authorization: digest&quot; section with cnonce and nc=00000001 parameters.<br>




<br>The gateway which doesn&#39;t register, doesn&#39;t send the &quot;qop=auth&quot; parameter together with the &quot;401 Unauthorized&quot;, and then Freeswitch sends a &quot;Authorization: digest&quot; section on the second REGISTER with no cnonce or nc parameters.<br>




<br>I know very little abouth SIP, so I&#39;m wondering what this &quot;qop=auth&quot; parameter means and how does it affect the registration process. Is there any way to do without the qop=auth parameter?<br><br>Also, I tried registering with X-Lite directly to the gateway, and it worked, so it appears to be a problem in the Freeswitch/gateway combination. (Note: X-Lite sends an &quot;Authorization: digest&quot; section on the _first_ REGISTER, apparently this makes a difference)<br>





<br>Attached is a sip trace for the registration traffic when doing &quot;sofia profile external restart reloadxml&quot; on the cli, captured with &quot;tshark -i eth0 -o &quot;rtp.heuristic_rtp: TRUE&quot; -w /tmp/capture.pcap -b filesize:51200 -b files:100 -R &#39;sip or rtp or icmp or dns or rtcp or t38&#39;&quot;<br>




<br>Thanks!<br><font color="#888888"><br>Nicolas<br><br>
<br><br>
</font><br></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>


Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>

GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>

<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
<br></blockquote></div><br>
</div></div></blockquote></div><br>