Try to use "username" only (without domain part) when configure Username, Auth-username and other at such clients.

If this is not helped then this is bug at this version of X-lite

On 07.04.2010 9:33, Douglas Lane wrote:
Iñaki Baz Castillo wrote:
2010/4/6 Douglas Lane<[email protected]>:

My clients register as username [at] domain [dot] com, which works
perfectly. CDRTool then checks the billing party portion, and bills
accordingly.

Recently, I've noticed the odd client registering as username [at]
domain [dot] com [at] domain [dot] com. This causes a problem in the
billing server, as it tries to find subscriber username [at] domain
[dot] com [at] domain [dot] com instead of username [at] domain [dot] com



Which exact REGISTER field you mean? From URI? To URI? Contact URI?
credentials username? credentials realm?

Could you please paste an example of such REGISTER?





Hi Inaki,

As requested, please find below REGISTER request:

IP 1.2.3.4 is the client
IP 5.6.7.8 is the server
domain.com is the domain/realm used to register

T 1.2.3.4:58889 ->  5.6.7.8:5060 [AP]
REGISTER sip:domain.com SIP/2.0.
Via: SIP/2.0/TCP
192.168.0.236:10990;branch=z9hG4bK-d8754z-375adf06ebab9063-1---d8754z-;rport.
Max-Forwards: 70.
Contact:
<sip:doug%[email protected];rinstance=0051b76a880b6325;transport=TCP>.
To:<sip:doug%[email protected]>.
From:<sip:doug%[email protected]>;tag=7adae37b.
Call-ID: ZDlmN2JmMmY4ZjdmYTU2MmI5YzAyYjZmMTE4ODBjY2Q..
CSeq: 2 REGISTER.
Expires: 3600.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO.
User-Agent: X-Lite Beta release 4.0 v3 stamp 55153.
Authorization: Digest
username="[email protected]",realm="domain.com",nonce="4bbc186000007a99f8b3ca45e77563c7b19f6ea461817c3e",uri="sip:domain.com",response="96bf9f599ddf3057c5bc48faf9a1d923",algorithm=MD5.
Content-Length: 0.
.

#
T 5.6.7.8:5060 ->  1.2.3.4:58889 [AP]
SIP/2.0 100 Trying.
Via: SIP/2.0/TCP
192.168.0.236:10990;branch=z9hG4bK-d8754z-375adf06ebab9063-1---d8754z-;rport=58889;received=1.2.3.4.
To:<sip:doug%[email protected]>.
From:<sip:doug%[email protected]>;tag=7adae37b.
Call-ID: ZDlmN2JmMmY4ZjdmYTU2MmI5YzAyYjZmMTE4ODBjY2Q..
CSeq: 2 REGISTER.
Server: OpenSIPS (1.6.1-tls (x86_64/linux)).
Content-Length: 0.
.

#
T 5.6.7.8:5060 ->  1.2.3.4:58889 [AP]
SIP/2.0 200 OK.
Via: SIP/2.0/TCP
192.168.0.236:10990;branch=z9hG4bK-d8754z-375adf06ebab9063-1---d8754z-;rport=58889;received=1.2.3.4.
To:
<sip:doug%[email protected]>;tag=cdff758d742c799b04c91123cd1608d5.5bf0.
From:<sip:doug%[email protected]>;tag=7adae37b.
Call-ID: ZDlmN2JmMmY4ZjdmYTU2MmI5YzAyYjZmMTE4ODBjY2Q..
CSeq: 2 REGISTER.
Contact:
<sip:doug%[email protected];rinstance=0051b76a880b6325;transport=TCP>;expires=3600;received="sip:1.2.3.4:58889;transport=TCP".
Server: OpenSIPS (1.6.1-tls (x86_64/linux)).
Content-Length: 0.


Invites are also similar just with the From header being set - so I
assume if we can fix this, then I can apply the same type of fix to
register requests.

Either I need to be able to reject the above messages with invalid
formatted headers, or I need t rewrite things (which I'm not always
comfortable doing within opensips)

I appreciate the assistance.


--
CU,
Victor Gamov

<<attachment: vit.vcf>>

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to