|
|
| SIP will not register from Windows XP (Denmark) |
|
|
We are preparing some machines for small customers, and we are going to use SIP on them.
My problem is that the SIP will not register, i have looked through the trace, and maybe its to do with the internal and external IP adress, i have triede with or without STUN, same result.
Has any of you guys seen this, and have you got an idea of how to solve it ?
Tom Larsen
(Swyx T.A.G Member )
Competence is Expensive, Incompetence is about double the price. |
|
|
|
 |  |
|
|
| Re: SIP will not register from Windows XP (Norway) |
|
|
Are you trying to access the SwyxServer by using Internet or is the XP machine on the same LAN as the SwyxServer. Which SIP-client are you using? XTen/eyeBeam?
Set SIP=6 in the regsettings and check the REGISTER message, look for what the SIP-client is using as Realm and if it is IP-address, is it XP Machine IP or the WAN-IP of the router if you try to connect using Internet.
Morten Rokosz (Swyx T.A.G Member)
Captain of the Golgafrinchan Ark Fleet Ship B
The best way to predict the future is to invent it. |
|
|
|
 |  |
|
|
| Re: SIP will not register from Windows XP (Denmark) |
|
|
Sorry Morten,
I did not explain correctly.
We are installing Swyxware Compact on Windows XP, and the SIP-Trunk wont register.
Tom Larsen
(Swyx T.A.G Member )
Competence is Expensive, Incompetence is about double the price. |
|
|
|
 |  |
|
|
| Re: SIP will not register from Windows XP (Norway) |
|
|
Check in the REGISTRAR field of the Trunk that you have not accindently added a white-space in the end of the name of the registrar for the provider. You should also run wireshark to see the communication, because then you will see if it is caused by DNS issues as well.
Morten Rokosz (Swyx T.A.G Member)
Captain of the Golgafrinchan Ark Fleet Ship B
The best way to predict the future is to invent it. |
|
|
|
 |  |
|
|
| Re: SIP will not register from Windows XP (Denmark) |
|
|
i dont really get anything out of wireshark i can use, but my sip trace gives this :
~REGISTER sip:sip.pbx01.dk SIP/2.0
~Via: SIP/2.0/UDP 10.45.0.34:65002;branch=z9hG4bK-d87543-1a1cc347d708af17-1--d87543-;rport
~Max-Forwards: 70
~Contact: <sip:svardk3@10.45.0.34:65002>
~To: <sip:svardk3@sip.pbx01.dk>
~From: <sip:svardk3@sip.pbx01.dk>
~Call-ID: f713c42e5505061f@VGVzdFN3eXhQYw..
~CSeq: 1148413172 REGISTER
~Expires: 120
~Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, INFO, SUBSCRIBE
~User-Agent: Swyx-LinkMgr/6.0.2.104
~Content-Length: 0
~
~
2007/09/27 15:57:25 1188 Inf2 SIP 00D953C0 00000000 Transport.cxx:165 () Adding message to tx buffer to: [ V4 62.61.147.193:5060 UDP target domain=sip.pbx01.dk received on: Transport: [ V4 0.0.0.0:65002 UDP target domain=unspecified connectionId=0 ] connectionId=0 ]
2007/09/27 15:57:25 1188 Inf3 STUN 00D96BD0 00000000 SSTUNSocket::ReadFrom () received SIP data at STUN socket, len=444
2007/09/27 15:57:25 1188 Inf2 SIP 00D953C0 00000000 Transport.cxx:214 () incoming from: [ V4 62.61.147.193:5060 UDP target domain=unspecified received on: Transport: [ V4 0.0.0.0:65002 UDP target domain=unspecified connectionId=0 ] connectionId=0 ]
2007/09/27 15:57:25 1188 Inf2 SIP 00D953C0 00000000 Transport.cxx:215 ()
~
~SIP/2.0 404 Not found
~Via: SIP/2.0/UDP 10.45.0.34:65002;branch=z9hG4bK-d87543-1a1cc347d708af17-1--d87543-;received=87.60.90.82;rport=33322
~Contact: <sip:svardk3@62.61.147.193>
~To: <sip:svardk3@sip.pbx01.dk>;tag=as1e9efd89
~From: <sip:svardk3@sip.pbx01.dk>
~Call-ID: f713c42e5505061f@VGVzdFN3eXhQYw..
~CSeq: 1148413172 REGISTER
~Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
~User-Agent: VG14-ARROW
~Content-Length: 0
it looks like windows xp mess something up, does anybody know what this meens ?
Tom Larsen
(Swyx T.A.G Member )
Competence is Expensive, Incompetence is about double the price. |
|
|
|
 |  |
|
|
| Re: SIP will not register from Windows XP (Germany) |
|
|
If I got you right you are trying to register a sip trunk against a sip provider.
It think the trace snippet is from the linkmgr, right ?
What you can see inside the trace is, that the linkmgr sends a SIP REGISTER message towards the SIP provider which seems to be located at IP 62.61.147.193, port 5060. You are trying to register with the account svardk3@sip.pbx01.dk. You already got an answer from this SIP provider with the 404 message and the SIP provider complains, that he does not know the account svardk3 (therefore the 404 NOT FOUND).
Are you sure, that you are using a valid account ?
Stefan Ditscheid
Team Leader Protocols Development, Swyx
|
|
|
|
 |  |
|
|
| Re: SIP will not register from Windows XP (Denmark) |
|
|
No the account is svardk3 not svardk3@sip.pbx01.dk
Where is that defined in the system that it should use the domain after the @
Tom Larsen
(Swyx T.A.G Member )
Competence is Expensive, Incompetence is about double the price. |
|
|
|
 |  |
|
|
| Re: SIP will not register from Windows XP (Germany) |
|
|
| Tom Larsen wrote
No the account is svardk3 not svardk3@sip.pbx01.dk
Where is that defined in the system that it should use the domain after the @
|
Seems I didn't describe exactly enough what I wanted to say ;)
My guess was, that the account svardk3 is not known by the registrar/proxy (I didn't want to suggest to add the domain to register).
I think it's not a problem with Windows XP here, because you got an answer from your provider, but the answer is the 404 Not Found.
Therefore I thought, there seems to be something wrong with the account svardk3 itself.
Stefan Ditscheid
Team Leader Protocols Development, Swyx
|
|
|
|
 |  |
|
|
| Re: SIP will not register from Windows XP (Denmark) |
|
|
I have tried with several accounts, always the same result, the accounts register with no problems from a server 2003, but will not do it from XP.
I will try and contact the provider to see what he gets through to his end.
Tom Larsen
(Swyx T.A.G Member )
Competence is Expensive, Incompetence is about double the price. |
|
|
|
 |  |
|
|
| Re: SIP will not register from Windows XP (Germany) |
|
|
| Tom Larsen wrote
I have tried with several accounts, always the same result, the accounts register with no problems from a server 2003, but will not do it from XP.
I will try and contact the provider to see what he gets through to his end.
|
Just one additional question:
The provider you want to use is part of the internet (public IP) and your XP box is part of a local area network (private IPs) ?
If yes, then it's strange, that the REGISTER you are sending out has a local (private) IP (=10.45.0.34) inside it's contact:
>>
~Contact: <sip:svardk3@10.45.0.34:65002>
<<
This means, that STUN did not work for your XP box to determine the masquerading entry of the NAT router in use for your XP box.
Maybe the difference between your 2003 server installation and the XP box is, that the 2003 server had a public IP or a different firewall rule or a different port forwarding at the (NAT) router in use ?
Anyway - WireShark is your friend to track this down ;)
Stefan Ditscheid
Team Leader Protocols Development, Swyx
|
|
|
|
 |  |
|
|
| Re: SIP will not register from Windows XP (Denmark) |
|
|
No, sorry ... The server 2003 is placed on the floor next to the XP machine in our lab.
I looked at that to, an i have tried both with and without STUN enabled in the configuration.
I have also disabled the firewall, with no luck.
No port forwardings is made in the router, normally, we have no problems running 3 or 4 machines with SIP behind our firewall at the same time.
I tried to install Swyxware on my XP laptop, and that gives the same problem, it will not register, and i have tried it behind different firewalls where there is no SIP in use allready.
Any more suggestions ?
Tom Larsen
(Swyx T.A.G Member )
Competence is Expensive, Incompetence is about double the price. |
|
|
|
 |  |
|
|
| Re: SIP will not register from Windows XP (Germany) |
|
|
| Tom Larsen wrote
.... Any more suggestions ?
|
I'm running out of ideas ;)
It's time to take a look into a complete linkmgr-trace with sip, swsip, stun etc. set to info3=6 and if possible a WireShark trace of all UDP traffic.
Stefan Ditscheid
Team Leader Protocols Development, Swyx
|
|
|
|
 |  |
|
|
| Re: SIP will not register from Windows XP (Denmark) |
|
|
Ok, i have made the traces now, where do i put them ?
Should i mail them to you maybe ?
Tom Larsen
(Swyx T.A.G Member )
Competence is Expensive, Incompetence is about double the price. |
|
|
|
 |  |
|
|
| Re: SIP will not register from Windows XP (Norway) |
|
|
I have to agree with Stefan. The trace clearly shows that SIP-messages floats correctly through the router. You get the 404 from the provider. This has to indicate that it is not possible for the provider to authenticate the account.
I think it would be very interresting to see what the trace shows when exactly the same setup is done on a 2003 server. It should be different.
As far as I know the Windows Messenger is SIP-based and is installed by default in XP, but not in 2003 server. This means that there is some SIP-stack already present in XP. Try to uninstall Windows Messenger. Just an idea. Have no clue if it will help. I have never tried to use SIP trunks with Swyx Compact running on XP.
Morten Rokosz (Swyx T.A.G Member)
Captain of the Golgafrinchan Ark Fleet Ship B
The best way to predict the future is to invent it. |
|
|
|
 |  |
|
|
| Re: SIP will not register from Windows XP (Germany) |
|
|
Seems we need the functionality to attach something binary to the posts - hello Tom Wellige, you are reading this ? ;)
What about using e.g. rapidshare ? http://rapidshare.com/
Simple service to share files for free. Just upload the traces and I will take a look at them.
BTW: SwyxIt! Now is working on Windows XP and basically it's using the same SIP stack and mechanisms - therefore I think here's something wrong with the environment/XP machine at Tom's site.
I remember something strange in the past regarding H.323 and Microsoft OS. We saw modified H.323 messages coming from the OS, but we sent them correctly. We found out, that a special service (something like InternetConnectionService) was running on the machine which modified the H.323 messages - maybe here happens something similar).
Stefan Ditscheid
Team Leader Protocols Development, Swyx
|
|
|
|
 |  |
|
|
| Re: SIP will not register from Windows XP (Norway) |
|
|
| stefan.ditscheid wrote
Seems we need the functionality to attach something binary to the posts - hello Tom Wellige, you are reading this ? ;)
What about using e.g. rapidshare ? http://rapidshare.com/
Simple service to share files for free. Just upload the traces and I will take a look at them.
|
Excellent service Stefan, and a good idea. I think that is a better approach for user uploads than to use storage and bandwith on this site.
| stefan.ditscheid wrote
BTW: SwyxIt! Now is working on Windows XP and basically it's using the same SIP stack and mechanisms - therefore I think here's something wrong with the environment/XP machine at Tom's site.
I remember something strange in the past regarding H.323 and Microsoft OS. We saw modified H.323 messages coming from the OS, but we sent them correctly. We found out, that a special service (something like InternetConnectionService) was running on the machine which modified the H.323 messages - maybe here happens something similar).
|
There is however one huge difference using SwyxIt! Now. It uses the well-known port 5060 for SIP-messages. The LinkManager uses 65002, might be enough to confuse the OS.
Morten Rokosz (Swyx T.A.G Member)
Captain of the Golgafrinchan Ark Fleet Ship B
The best way to predict the future is to invent it. |
|
|
|
 |  |
|
|
| Re: SIP will not register from Windows XP (Germany) |
|
|
| morten.rokosz wrote
| stefan.ditscheid wrote Seems we need the functionality to attach something binary to the posts - hello Tom Wellige, you are reading this ? ;) What about using e.g. rapidshare ? http://rapidshare.com/ Simple service to share files for free. Just upload the traces and I will take a look at them. |
Excellent service Stefan, and a good idea. I think that is a better approach for user uploads than to use storage and bandwith on this site.
|
I would prefer that as well. Currently swyx-forum does not run on it's own machine and webspace is kind of limited. Stefan, do you know how huge the raid in our support file server is ? 
The rapidshare website seems to be sufficient for sharing traces.
Tom Wellige (Lead Solution Consultant, Swyx)
"It is a capital mistake to theorize before you have all the evidence. It biases the judgment." Sir Arthur Conan Doyle - Sherlock Holmes - A Study in Scarlet |
|
|
|
 |  |
|
|