Hi
I just got version 1.30 notification and I installed it.
I found few bugs in your sip implementation as its not work according to rfc3261.
In our system we use Proxy, Outbound proxy, sip account (phone number), Authentication username and Password.
In your sip2skype there are place to configure all those parameter, but your application not use it correctly.
In uplink I set:
Sip Number: 358753250902
Password: 02958xxxxxxxx
Server (proxy and domain): 193.65.55.4
In Advanced SIP Server Setting:
Use different outbound server -outbound server: 193.65.55.7 Use different username just for authentication Auth ID: liorh
This is the result I get with the errors:
Session Initiation Protocol
Request-Line: REGISTER sip:193.65.55.7 SIP/2.0
Method: REGISTER
Message Header
Via: SIP/2.0/UDP 223.1.1.128:5071;rport;branch=z9hG4bK123724
Max-Forwards: 20
To: <sip:liorh@193.65.55.7>
From: <sip:liorh@193.65.55.7>;tag=9500
Call-ID: 1162540844-3724-LIORAMILO@223.1.1.128
CSeq: 9 REGISTER
Contact: <sip:liorh@223.1.1.128:5071>;expires=3600;q=0.00
Authorization: Digest username="liorh",realm="193.65.55.4",nonce="b259315ca81758a4f3380702b2",uri="sip:193.65.55.7",response="60f1424e8fe8882d5fb2a2d67b964d90",opaque=""
User-Agent: Uplink Skype2Sip 1.30
Content-Length: 0
Bug1: TO and FROM should be To: <sip:358753250902@193.65.55.4>
Explain: you send the message to Outbound proxy but you use the domain ip in TO and FROM in header. In Header TO and FROM you use the SIP account not the Auth ID.
Bug2: CONTACT: Contact:<sip:358753250902@223.1.1.128:5071>;expires=3600;q=0.00
Explain: again SIP account should be used not Auth ID.
The Auth-ID is used only in- Authorization: Digest username="liorh",realm="193.65.55.4",nonce="b259315ca81758a4f3380702b2",uri="sip:193.65.55.7",response="60f1424e8fe8882d5fb2a2d67b964d90",opaque=""
Username="liorh" is right.
SO in short when using outbound proxy and Auth ID the Register message should be as followed:
TO/ From: Sip Number@ domain
Contact: sip number@ host ip
Auth-ID is used only in Authorization: Digest username="Auth-ID"....
You should construct the sip Register message like you don’t have Outbound proxy (using the domain), but send it to the Outbound proxy IP.
Auth-ID if different then SIP Number is used only in Authorization: Digest username. NOT in TO/FROM headers.
This is the right Message to send:
Session Initiation Protocol
Request-Line: REGISTER sip:193.65.55.7 SIP/2.0
Method: REGISTER
Message Header
Via: SIP/2.0/UDP 223.1.1.128:5071;rport;branch=z9hG4bK123724
Max-Forwards: 20
To: <sip:35875320902@193.65.55.4>
From: <sip:358753250902@193.65.55.4>;tag=9500
Call-ID: 1162540844-3724-LIORAMILO@223.1.1.128
CSeq: 9 REGISTER
Contact: <sip:358753250902@223.1.1.128:5071>;expires=3600;q=0.00
Authorization: Digest username="liorh",realm="193.65.55.4",nonce="b259315ca81758a4f3380702b2",uri="sip:193.65.55.7",response="60f1424e8fe8882d5fb2a2d67b964d90",opaque=""
User-Agent: Uplink Skype2Sip 1.30
Content-Length: 0