This didn't work. I would still like to see if it is possible to Restrict
via User-Agent and Max Contacts so that you could allow a Deskhome and a
Softphone register with a Max of 1 per User-Agent or something like that.
On , ccppprogrammer <[email protected]> wrote:
I have the same problem with some UAC.To resolve that issue I added this
to my config:
if($ua =~ "(dlink)|(MP204)")
{
if (!save("location","rp1"))
{
sl_reply_error();
exit;
}
append_to_reply("Contact: $ct;expires=$hdr(Expires)\r\n");
sl_send_reply("200","OK");
}
else
{
if(!save("location"))
{
xlog("L_ERR", "[02] Saving contact failed - M=$rm RURI=$ru F=$fu T=$tu
IP=$si ID=$ci\n");
sl_reply_error();
exit;
}
}
On Mon, Oct 31, 2011 at 10:23 PM, osiris123d [email protected]>
wrote:
The main reason that brought about this post is that for some reason my
devices are registering and for some reason I have multiple Location
entries. Those extra entries seem to make weird things happen like
multiple
dialogs when a call is made. Or just extra overhead because multiple SIP
messages are being sent out. I'm not sure why I am all of the sudden
getting multiple registration entries but it would be good if you could
limit the entries somehow other then by MAX number or IP.
--
View this message in context:
http://opensips-open-sip-server.1449251.n2.nabble.com/Restricting-Max-Contacts-but-allowing-Softphone-tp6932665p6949458.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users