Unfortunately at this time the standalone Yate client is not fully compatible with our service. To register a client with OnSIP, we ask that the Authorization Username be independently configurable.

The Yate client supplants the authorization user name with the AOR username. This means that only users who have the same authentication and AOR usernames will register with OnSIP. The inability to configure an authentication username is extremely limiting and is effectively incompatible with OnSIP.

Here is a trace of the registration attempt (the problem is bolded):

U 2011/02/03 10:08:43.001907 173.210.1.18:1515 -> 66.227.100.25:5060
REGISTER sip:example.onsip.com SIP/2.0.
Contact: <sip:hiro@173.210.1.18:1515>.
Expires: 600.
To: <sip:hiro@example.onsip.com>.
Call-ID: 987987334@example.onsip.com.
Via: SIP/2.0/UDP 173.210.1.18:1515;rport;branch=z9hG4bK108375482.
From: <sip:hiro@example.onsip.com>;tag=202550399.
CSeq: 11 REGISTER.
User-Agent: YATE/3.1.0.
Max-Forwards: 70.
Allow: ACK, INVITE, BYE, CANCEL, OPTIONS, INFO.
Content-Length: 0.
.

U 2011/02/03 10:08:43.002251 66.227.100.25:5060 -> 173.210.1.18:1515
SIP/2.0 401 Unauthorized.
To: <sip:hiro@example.onsip.com>;tag=75d09fb22ceadb40012c6e771a69dc74.fd4b.
Call-ID: 987987334@example.onsip.com.
Via: SIP/2.0/UDP 173.210.1.18:1515;received=173.210.1.18;rport=1515;branch=z9hG4bK108375482.
From: <sip:hiro@example.onsip.com>;tag=202550399.
CSeq: 11 REGISTER.
WWW-Authenticate: Digest realm="jnctn.net",
nonce="4d4ac51900011b24cd56468e9ce54a9b95cbb9e90aa18873", qop="auth".
Server: OpenSIPS (1.5.3-notls (x86_64/linux)).
Content-Length: 0.
.

U 2011/02/03 10:08:43.009277 173.210.1.18:1515 -> 66.227.100.25:5060
REGISTER sip:example.onsip.com SIP/2.0.
Contact: <sip:hiro@173.210.1.18:1515>.
Expires: 600.
To: <sip:hiro@example.onsip.com>.
Call-ID: 987987334@example.onsip.com.
Via: SIP/2.0/UDP 173.210.1.18:1515;rport;branch=z9hG4bK1738076217.
From: <sip:hiro@example.onsip.com>;tag=202550399.
User-Agent: YATE/3.1.0.
Max-Forwards: 70.
Allow: ACK, INVITE, BYE, CANCEL, OPTIONS, INFO.
CSeq: 12 REGISTER.
Authorization: Digest username="hiro", realm="jnctn.net",
nonce="4d4ac51900011b24cd56468e9ce54a9b95cbb9e90aa18873", uri="sip:example.onsip.com",
response="a36923be1b1a6eee2a65416a87a3744e", algorithm=MD5.
Content-Length: 0.
.

U 2011/02/03 10:08:43.010083 66.227.100.25:5060 -> 173.210.1.18:1515
SIP/2.0 403 Forbidden.
To: <sip:hiro@example.onsip.com>;tag=75d09fb22ceadb40012c6e771a69dc74.bb9c.
Call-ID: 987987334@example.onsip.com.
Via: SIP/2.0/UDP 173.210.1.18:1515;received=173.210.1.18;rport=1515;branch=z9hG4bK1738076217.
From: <sip:hiro@example.onsip.com>;tag=202550399.
CSeq: 12 REGISTER.
Server: OpenSIPS (1.5.3-notls (x86_64/linux)).
Content-Length: 0.

No votes yet

yateclient 3.1

Posted by: diana
Wed, 2/09/11 12:09 pm EST

Drop me an e-mail and we will fix it in YateClient 3.2


Thanks

Posted by: leo
Thu, 2/17/11 10:53 am EST

Will do.