Hi Gang

I have this code snipplet:

        if (has_credentials("$fd")) {
                xlog("L_INFO", "$cfg(route): got $rm with credentials. Validate 
them!\n");
                if ($aU == $null) {
                        xlog("L_INFO", "$cfg(route): no auth user, send 
challenge\n");
                    }
                    auth_challenge("$fd", "0");
                    exit;
                }
        }

Please don't ask if this makes sense, it's a constructed snipplet to show the 
situation.

If $rm is INVITE, this works fine, no challenge is being sent, $au is populated.
If $rm is ACK (some CPE seem to send the Credentials with each message) then 
$au is $null,
auth_challenge is called and fails.

Mit freundlichen Grüssen

-Benoît Panizzon-
-- 
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to