[OpenSIPS-Users] Opensips + asterisk 1.4

Nick Khamis symack at gmail.com
Thu Jul 18 01:53:11 CEST 2013


if (!proxy_authorize("", "subscriber")) {
	proxy_challenge("", "0");
	exit;
}
if (!db_check_from()) {
	sl_send_reply("403","Forbidden auth ID");
	exit;
}
consume_credentials();

This seems fine to me. But you're registration issue is not from
OpenSIPS side, it's from Asterisk no? Please post a trace of a single
register off of the OpenSIPS and Asterisk box. You could also check
opensips.location table to make sure you have an entry for the
authenticated UA there.

Finally, do you have OpenSIPS as a peer on your Asterisk box? As
already mentioned use Also, as metioned earlier use
insecure=port,invite. This variable was available port 1.0.9
http://www.voip-info.org/wiki/view/Asterisk+sip+insecure.

Kind Regards,

Nick.



More information about the Users mailing list