Hi Stefan,
Please post your exact content of the failure route and all the
parameters you set for uac_auth module ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 02/16/2017 12:07 PM, Stefan Carlsson wrote:
Hi !
I can’t get the proxy auth. work to our sip trunk provider. See
attached log snap.
Feb 16 10:54:54 siprouter /usr/sbin/opensips[2336]: DBG:uac:uac_auth:
picked reply is 0x7f64a2fd37c0, code 407
Feb 16 10:54:54 siprouter /usr/sbin/opensips[2336]:
DBG:core:parse_authenticate_body: <realm>="sip-corp1.se" state=2
Feb 16 10:54:54 siprouter /usr/sbin/opensips[2336]:
DBG:core:parse_authenticate_body:
<nonce>="WKV4Glildu6ed43MaV2CRk15poD2iuekTGl3NoA=" state=3
Feb 16 10:54:54 siprouter /usr/sbin/opensips[2336]: DBG:uac:uac_auth:
no credential for realm "sip-corp1.se"
Feb 16 10:54:54 siprouter /usr/sbin/opensips[2336]:
DBG:tm:update_cloned_msg_from_msg: new_uri must be copied old=39, new=39
What does the “no credential for realm” mean if the realm string
stored in is exactly the same.
And what does the modparam have for meaning:
modparam("uac_auth","credential","username:domain:password")
if I did the below:
modparam("uac_auth","auth_realm_avp","$avp(realm)")
modparam("uac_auth","auth_username_avp","$avp(uname)")
modparam("uac_auth","auth_password_avp","$avp(passw)")
code snap …..
in my error reply route:
$avp(realm) = "sip-corp1.se";
$avp(username) = "secret";
$avp(passw) = "J3bX_SUTg";
uac_auth();
t_relay();
Kind Regards / Vänligen …
Stefan Carlsson
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users