Re: [asterisk-users] Websockets on Asterisk 11 and SipML5

2012-08-15 Thread James Mortensen
Joshua Colp digium.com> writes: > > James Mortensen wrote: > > Hi Joshua, > > > > I'm still getting the same result. > > I apparently flipped a bit mentally. Try nat=yes for kicks. Otherwise > place this info on the issue if not already there and I shall attempt to > get to it when I can for

Re: [asterisk-users] Websockets on Asterisk 11 and SipML5

2012-08-15 Thread Joshua Colp
James Mortensen wrote: Hi Joshua, I'm still getting the same result. I apparently flipped a bit mentally. Try nat=yes for kicks. Otherwise place this info on the issue if not already there and I shall attempt to get to it when I can for a deeper inspection. -- Joshua Colp Digium, Inc. | So

Re: [asterisk-users] Websockets on Asterisk 11 and SipML5

2012-08-15 Thread James Mortensen
Joshua Colp digium.com> writes: > > Hi James, > > I've trimmed the thread down, well, completely. ^_^ > > From looking at your information and reading the code it looks as > though there is a case where this may occur if certain NAT options are > enabled. This is certainly a bug as the code

Re: [asterisk-users] Websockets on Asterisk 11 and SipML5

2012-08-15 Thread Joshua Colp
Hi James, I've trimmed the thread down, well, completely. ^_^ From looking at your information and reading the code it looks as though there is a case where this may occur if certain NAT options are enabled. This is certainly a bug as the code should just not execute when WebSocket is involve

Re: [asterisk-users] Websockets on Asterisk 11 and SipML5

2012-08-15 Thread James Mortensen
James Mortensen a-cti.com> writes: > > James Mortensen a-cti.com> writes: > > > > > > > mailsvb gmail.com> writes: > > > > > > > > > > > Hi James, > > > after applying the patch, I got the 400 bad request message as well... > > > This seems to be related to the sipml5 client (same issue

Re: [asterisk-users] Websockets on Asterisk 11 and SipML5

2012-08-15 Thread James Mortensen
James Mortensen a-cti.com> writes: > > > mailsvb gmail.com> writes: > > > > > > > Hi James, > > after applying the patch, I got the 400 bad request message as well... > > This seems to be related to the sipml5 client (same issue with sip-js) > generating a wrong request. Take a look at the

Re: [asterisk-users] Websockets on Asterisk 11 and SipML5

2012-08-14 Thread James Mortensen
mailsvb gmail.com> writes: > > > Hi James, > after applying the patch, I got the 400 bad request message as well... > This seems to be related to the sipml5 client (same issue with sip-js) generating a wrong request. Take a look at the contact header in the REGISTER message. > > I was not a

Re: [asterisk-users] Websockets on Asterisk 11 and SipML5

2012-08-14 Thread mailsvb
Hi James, after applying the patch, I got the 400 bad request message as well... This seems to be related to the sipml5 client (same issue with sip-js) generating a wrong request. Take a look at the contact header in the REGISTER message. I was not able to fix the js code to generate the correct r

Re: [asterisk-users] Websockets on Asterisk 11 and SipML5

2012-08-14 Thread James Mortensen
Andrew Latham gmail.com> writes: > > On Tue, Aug 14, 2012 at 1:20 PM, James Mortensen > a-cti.com> wrote: > > mailsvb gmail.com> writes: > > > >> > >> > >> Hi, > >> > >> I was facing the very same issue and created a ticket... > >> > >> > >> https://issues.asterisk.org/jira/browse/ASTERISK-202

Re: [asterisk-users] Websockets on Asterisk 11 and SipML5

2012-08-14 Thread Andrew Latham
On Tue, Aug 14, 2012 at 1:20 PM, James Mortensen wrote: > mailsvb gmail.com> writes: > >> >> >> Hi, >> >> I was facing the very same issue and created a ticket... >> >> >> https://issues.asterisk.org/jira/browse/ASTERISK-20221 >> >> best regards, >> Sven2012/8/13 James Mortensen a-cti.com> >> An

Re: [asterisk-users] Websockets on Asterisk 11 and SipML5

2012-08-14 Thread James Mortensen
mailsvb gmail.com> writes: > > > Hi, > > I was facing the very same issue and created a ticket... > > > https://issues.asterisk.org/jira/browse/ASTERISK-20221  > > best regards, > Sven2012/8/13 James Mortensen a-cti.com> > Andrew Latham gmail.com> writes: > > > > On Mon, Aug 13, 2012 at 2

Re: [asterisk-users] Websockets on Asterisk 11 and SipML5

2012-08-14 Thread mailsvb
Hi, I was facing the very same issue and created a ticket... https://issues.asterisk.org/jira/browse/ASTERISK-20221 best regards, Sven 2012/8/13 James Mortensen > Andrew Latham gmail.com> writes: > > > > > On Mon, Aug 13, 2012 at 2:58 PM, James Mortensen > > a-cti.com> wrote: > > > Hello, >

Re: [asterisk-users] Websockets on Asterisk 11 and SipML5

2012-08-13 Thread James Mortensen
Andrew Latham gmail.com> writes: > > On Mon, Aug 13, 2012 at 2:58 PM, James Mortensen > a-cti.com> wrote: > > Hello, > > > > I'm trying to register a user using sipml5 on Asterisk 11. I followed the > > instructions here: > > http://thr3ads.net/asterisk-users/2012/08/1972342-Asterisk-Websockets

Re: [asterisk-users] Websockets on Asterisk 11 and SipML5

2012-08-13 Thread Andrew Latham
On Mon, Aug 13, 2012 at 2:58 PM, James Mortensen wrote: > Hello, > > I'm trying to register a user using sipml5 on Asterisk 11. I followed the > instructions here: > http://thr3ads.net/asterisk-users/2012/08/1972342-Asterisk-Websockets > > I added transport=ws to my sip.conf file: > > [3002] > use

[asterisk-users] Websockets on Asterisk 11 and SipML5

2012-08-13 Thread James Mortensen
Hello, I'm trying to register a user using sipml5 on Asterisk 11. I followed the instructions here: http://thr3ads.net/asterisk-users/2012/08/1972342-Asterisk-Websockets I added transport=ws to my sip.conf file: [3002] username=3002 secret=X host=dynamic type=friend context=test disallow