[Devel] QOP workaround in uac_auth() doesn't work around...
Thomas Gelf
thomas at gelf.net
Thu Mar 29 20:13:28 CEST 2007
Hi all,
I finally found some time to prepare the migration of our VoIP platform
to OpenSER 1.2. As I have seen there has been introduced my proposed
"workaround" (to just go on and don't let the call fail :o) for qop in
uac_auth:
Atm in 1.2 it's done like this:
> switch (state)
> {
> case QOP_STATE:
> /* TODO - add qop support */
> auth->qop = val;
> LOG(L_NOTICE,"NOTICE:uac:parse_authenticate_body: no qop "
> "support for the moment :-( -> ignoring\n");
> break;
But unfortunately I discovered that it doesn't work - at least for me.
The following example did the job (at least for OpenSER 1.1):
> case QOP_STATE:
> break;
I didn't test this one with 1.2 - but I'm pretty sure that it would
work. (As fas as I can remember I gave the first variant a quick try
some time ago in 1.1 - and it failed there too.
No core file, but at least some (cleaned up) syslog output:
Mar 29 15:52:07 voicedev /usr/sbin/openser[31453]: Request leaving
server - M=INVITE RURI=sip:0123456789 at outbound.it:5060
F=sip:1001 at myproxy.it T=sip:0123456789 at myproxy.it IP=123.45.67.89
ID=ab1c23456de7fg89 at 192.168.0.100
Mar 29 15:52:07 voicedev /usr/sbin/openser[31449]: NAT-Reply - S=407
D=Proxy Authentication Required F=sip:user at outbound.it
T=sip:0123456789 at myproxy.it IP=1.2.3.4 ID=ab1c23456de7fg89 at 192.168.0.100
Mar 29 15:52:07 voicedev /usr/sbin/openser[31449]: Failure route for
PSTN (Eutelia) entered - M=INVITE RURI=sip:0123456789 at outbound.it:5060
F=sip:1001 at myproxy.it T=sip:0123456789 at myproxy.it IP=123.45.67.89
ID=ab1c23456de7fg89 at 192.168.0.100
Mar 29 15:52:07 voicedev /usr/sbin/openser[31449]: Using AVP
credentials: user - M=INVITE RURI=sip:0123456789 at outbound.it:5060
F=sip:1001 at myproxy.it T=sip:0123456789 at myproxy.it IP=123.45.67.89
ID=ab1c23456de7fg89 at 192.168.0.100
Mar 29 15:52:07 voicedev /usr/sbin/openser[31449]:
NOTICE:uac:parse_authenticate_body: no qop support for the moment :-( ->
ignoring
Mar 29 15:52:07 voicedev /usr/sbin/openser[31445]: child process 31449
exited by a signal 11
Mar 29 15:52:07 voicedev /usr/sbin/openser[31483]: ERROR: receive_fd:
EOF on 14
Mar 29 15:52:07 voicedev /usr/sbin/openser[31445]: core was not generated
Kind regards,
Thomas Gelf
More information about the Devel
mailing list