Mike, how exactly should I format the file? I got the pcap file, how do I convert it to text so that you can easily read it? <br>
<br><br><div class="gmail_quote">On Sun, Oct 4, 2009 at 6:48 PM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com">mike@jerris.com</a>></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 style="">I've never been able to read these, why exactly do I need a text protocol to be decoded for me? Ends up being too much noise so I just don't bother.<div><br></div><div>Mike</div><div><div></div><div class="h5">
<div><br><div><div>On Oct 4, 2009, at 6:19 PM, Nicolas Brenner wrote:</div><br><blockquote type="cite">Here it is:<br><br>- <a href="http://pastebin.freeswitch.org/10582" target="_blank">http://pastebin.freeswitch.org/10582</a><br>
<br>(it is the pcap file I sent on the first email of this thread, converted to text with 'tshark -V -r')<br>
<br><div class="gmail_quote">On Sun, Oct 4, 2009 at 5:40 PM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></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>can you send a link of a text sip trace please.<div><div></div><div><div><br><div><div>On Oct 1, 2009, at 3:29 PM, Nicolas Brenner wrote:</div><br><blockquote type="cite">Any ideas about this?<br>
<br>The SIP provider is offering H323, but I'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"><<a href="mailto:nicolas@medularis.com" target="_blank">nicolas@medularis.com</a>></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><include><br> <user id="gateway_redvoiss"><br> <gateways><br> <gateway name="redvoiss-pp"><br> <param name="username" value="xxxxxxx"/><br>
<param name="password" value="xxxxxxx"/><br> <param name="from-domain" value="<a href="http://pxextmy.redvoiss.net/" target="_blank">pxextmy.redvoiss.net</a>"/><br>
<param name="realm" value="<a href="http://pxextmy.redvoiss.net/" target="_blank">pxextmy.redvoiss.net</a>"/><br>
<param name="proxy" value="<a href="http://pxextmy.redvoiss.net/" target="_blank">pxextmy.redvoiss.net</a>"/><br> <param name="from-user" value="xxxxxxx"/><br>
<param name="caller-id-in-from" value="false"/><br>
<param name="expire-seconds" value="600"/><br> <param name="register" value="true"/><br> <param name="retry_seconds" value="5"/><br>
<param name="extension" value="2010"/><br> <param name="context" value="public"/><br> <param name="codec-prefs" value="G729"/><br>
<param name="rfc2833-pt" value="101"/><br> </gateway><br> </gateways><br> <params><br> <param name="password" value="4321"/><br>
</params><br> </user><br></include><br><br>---------------------<br><br>orange.xml (the one that doesn't work)<br><br><include><br> <user id="gateway_orange"><br> <gateways><br>
<gateway name="orange"><br> <param name="username" value="xxxxxxx"/><br> <param name="password" value="xxxxxxx"/><br> <param name="from-domain" value="216.72.10.39"/><br>
<param name="realm" value="216.72.10.39"/><br> <param name="proxy" value="216.72.10.39"/><br> <param name="from-user" value="xxxxxxx"/><br>
<param name="caller-id-in-from" value="false"/><br> <param name="expire-seconds" value="600"/><br> <param name="register" value="true"/><br>
<param name="retry_seconds" value="5"/><br> <param name="extension" value="2011"/><br> <param name="context" value="public"/><br>
<param name="codec-prefs" value="G729"/><br> <param name="rfc2833-pt" value="101"/><br> </gateway><br> </gateways><br> <params><br>
<param name="password" value="4321"/><br> </params><br> </user><br></include><br>
<br>---------------------<br><br>If I remove the register=true param for the non-working gateway, I don'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><br><br><br><div class="gmail_quote">On Tue, Sep 29, 2009 at 2:22 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></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"><<a href="mailto:nicolas@medularis.com" target="_blank">nicolas@medularis.com</a>></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 "Trying" reply immediately followed by a "401 Unauthorized" which contains a "WWW-Authenticate: digest" with a "qop=auth" parameter. Then Freeswitch replies with a second REGISTER including a large "Authorization: digest" section with cnonce and nc=00000001 parameters.<br>
<br>The gateway which doesn't register, doesn't send the "qop=auth" parameter together with the "401 Unauthorized", and then Freeswitch sends a "Authorization: digest" section on the second REGISTER with no cnonce or nc parameters.<br>
<br>I know very little abouth SIP, so I'm wondering what this "qop=auth" 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 "Authorization: digest" section on the _first_ REGISTER, apparently this makes a difference)<br>
<br>Attached is a sip trace for the registration traffic when doing "sofia profile external restart reloadxml" on the cli, captured with "tshark -i eth0 -o "rtp.heuristic_rtp: TRUE" -w /tmp/capture.pcap -b filesize:51200 -b files:100 -R 'sip or rtp or icmp or dns or rtcp or t38'"<br>
<br></div></div></blockquote></div></blockquote></div></div></div></blockquote></div></blockquote></div></div></div></div></div><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>
_______________________________________________<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>
</blockquote></div><br></div></div></div></div><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>
<br></blockquote></div><br>