Re: [Freeswitch-users] Problem with gateway registration

2009-10-08 Thread Michael Collins
On Wed, Oct 7, 2009 at 7:43 AM, Nicolas Brenner nico...@medularis.comwrote: You are missing the point, it is only rejecting auth for FS, Asterisk and X-Lite work fine with the same config for that gateway. Did you figure this one out yet? If not, snag some SIP captures of working vs.

Re: [Freeswitch-users] Problem with gateway registration

2009-10-07 Thread Nicolas Brenner
Is there some way to make FS register with the gateway that is rejecting the authentication? is it FS or the SIP server at fault? Why would X-Lite work and FS not? Thanks again for your time and help. On Tue, Oct 6, 2009 at 5:46 PM, Brian West br...@freeswitch.org wrote: btw My mistake it

Re: [Freeswitch-users] Problem with gateway registration

2009-10-07 Thread Brian West
I would suspect its a PEBKAC. I mean if you could register to a gateway that rejected auth... what purpose would auth serve in the first place? /b On Oct 7, 2009, at 8:48 AM, Nicolas Brenner wrote: Is there some way to make FS register with the gateway that is rejecting the

Re: [Freeswitch-users] Problem with gateway registration

2009-10-07 Thread Nicolas Brenner
You are missing the point, it is only rejecting auth for FS, Asterisk and X-Lite work fine with the same config for that gateway. On Wed, Oct 7, 2009 at 10:20 AM, Brian West br...@freeswitch.org wrote: I would suspect its a PEBKAC. I mean if you could register to a gateway that rejected

Re: [Freeswitch-users] Problem with gateway registration

2009-10-06 Thread Brian West
This looks like you have an ALG messing with packets... notice it says rport 5080 but we are sending to 5060. /b On Oct 5, 2009, at 11:42 PM, Nicolas Brenner wrote: Ignore my previous email, the traces were incomplete, got much better (and complete) traces with ngrep (found a suggestion

Re: [Freeswitch-users] Problem with gateway registration

2009-10-06 Thread Nicolas Brenner
That happens with both gateways though, one works and the other doesn't. Would the rport have anything to do with the registration failing? The big difference to me is that the working gateway replies a 401 Unauthorized containing: WWW-Authenticate: Digest realm=pxextmy.redvoiss.net,

Re: [Freeswitch-users] Problem with gateway registration

2009-10-06 Thread Brian West
First off you have to fully understand how SIP authentication works the two authorization line are different because one is for a challenge and one is a response to a challenge. http://en.wikipedia.org/wiki/Digest_access_authentication On Oct 6, 2009, at 4:22 PM, Nicolas Brenner wrote:

Re: [Freeswitch-users] Problem with gateway registration

2009-10-06 Thread Brian West
btw My mistake it doesn't assume auth it just calculates the response hash differently on this case where qop isn't present. /b On Oct 6, 2009, at 4:22 PM, Nicolas Brenner wrote: What does the qop parameter stand for? Apparently because of that parameter, FS sends a new REGISTER

Re: [Freeswitch-users] Problem with gateway registration

2009-10-05 Thread Michael Collins
On Sun, Oct 4, 2009 at 4:09 PM, Nicolas Brenner nico...@medularis.comwrote: 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? you can open it with wireshark, follow the TCP or UDP stream, then just copy paste the text

Re: [Freeswitch-users] Problem with gateway registration

2009-10-05 Thread Nicolas Brenner
There was no sane way of doing that, so I ended up logging the trace from the cli. Here's the bad registration: - http://pastebin.freeswitch.org/10605 Here's the good one: - http://pastebin.freeswitch.org/10606 I am not sure if the second one is complete because for some reason the first few

Re: [Freeswitch-users] Problem with gateway registration

2009-10-05 Thread Nicolas Brenner
Ignore my previous email, the traces were incomplete, got much better (and complete) traces with ngrep (found a suggestion from Brian in the list archive, thanks!) The gateway that registers: - http://pastebin.freeswitch.org/10607 The one that doesn't: - http://pastebin.freeswitch.org/10608

Re: [Freeswitch-users] Problem with gateway registration

2009-10-04 Thread Michael Jerris
can you send a link of a text sip trace please. On Oct 1, 2009, at 3:29 PM, Nicolas Brenner wrote: Any ideas about this? The SIP provider is offering H323, but I'm not quite sure about that, is mod_opal working right? Thanks! Nicolas On Tue, Sep 29, 2009 at 6:42 PM, Nicolas Brenner

Re: [Freeswitch-users] Problem with gateway registration

2009-10-04 Thread Nicolas Brenner
Here it is: - http://pastebin.freeswitch.org/10582 (it is the pcap file I sent on the first email of this thread, converted to text with 'tshark -V -r') On Sun, Oct 4, 2009 at 5:40 PM, Michael Jerris m...@jerris.com wrote: can you send a link of a text sip trace please. On Oct 1, 2009, at

Re: [Freeswitch-users] Problem with gateway registration

2009-10-04 Thread Nicolas Brenner
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? On Sun, Oct 4, 2009 at 6:48 PM, Michael Jerris m...@jerris.com wrote: I've never been able to read these, why exactly do I need a text protocol to be decoded for me?

Re: [Freeswitch-users] Problem with gateway registration

2009-10-01 Thread Nicolas Brenner
Any ideas about this? The SIP provider is offering H323, but I'm not quite sure about that, is mod_opal working right? Thanks! Nicolas On Tue, Sep 29, 2009 at 6:42 PM, Nicolas Brenner nico...@medularis.comwrote: Anthony, thanks. Below are my config files for the two gateways from the sip

[Freeswitch-users] Problem with gateway registration

2009-09-29 Thread Nicolas Brenner
Hello everyone, 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: 2009-09-29 12:54:40.853440 [ERR] sofia_reg.c:1402 orange Registration Failed with status Operation has no matching challenge [904].

Re: [Freeswitch-users] Problem with gateway registration

2009-09-29 Thread Anthony Minessale
900 level errors are sofia internal errors so probably something is wrong with your gateway config xml. if you want to send it with any critical info replaced with XXX maybe we can see the issue for you. On Tue, Sep 29, 2009 at 1:05 PM, Nicolas Brenner nico...@medularis.comwrote: Hello

Re: [Freeswitch-users] Problem with gateway registration

2009-09-29 Thread Nicolas Brenner
Anthony, thanks. Below are my config files for the two gateways from the sip trace. Both files are located in conf/directory/default. - redvoiss.xml (the one that works) include user id=gateway_redvoiss gateways gateway name=redvoiss-pp param