[OpenSIPS-Users] uac_auth beahviour !!!!
Stefan Carlsson
stefan.carlsson at vaxeltjanst.se
Thu Feb 16 05:07:13 EST 2017
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170216/2e1178bc/attachment.html>
More information about the Users
mailing list