[OpenSIPS-Users] invite with ip instead of domain

Josip Djuricic josip.djuricic at voljatel.hr
Sun Dec 20 01:05:56 CET 2009


Thanks,

The problem lies actually with b2bua which routes calls on ip. I can't
change that, and unfortunately one of our clients uses acme sbc, and they
have to send user at domain cause otherwise acmes load balancing doesnt work.

Best regards,

Josip

-----Original Message-----
From: users-bounces at lists.opensips.org
[mailto:users-bounces at lists.opensips.org] On Behalf Of Stanisław Pitucha
Sent: Saturday, December 19, 2009 10:46 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] invite with ip instead of domain

On 19.12.2009 18:26, Josip Djuricic wrote:
> I have a user 12345 at domain.com registering to my opensips server. Now
> from some equipment I get a sip invite with 12345 at ip-address. Ofcourse
> with lookup("location") usrloc I get Not found. Is there a possibility
> alias can help me with this and what would be correct way of using it.
>
> Or an easy way of telling save("location") to save everything without
> domain, but instead to use ip addr?

Yes, there is: usrloc/use_domain
http://www.opensips.org/html/docs/modules/devel/usrloc.html#id271112

But I'm curious about the problem with domains: if you register to 
12345 at domain.com, why don't you call to 12345 at domain.com? It's just 
asking for trouble in case you have to change the ip one day...

_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list