Hello. 

I need to receive variables from 407 message in failure route, but when I tried 
it - I received a value from initial message.

INVITE sip:055555534...@sbc.sbc.sbc SIP/2.0.
Via: SIP/2.0/UDP 54.55.56.57:12000;rport;branch=z9hG4bK37Ny7QvNF7Hrc.
Max-Forwards: 70.
From: «User" <sip:77777777...@office.sbc.sbc>;tag=ct7BK7ccyaK7H.

SIP/2.0 407 Proxy Authentication Required.
From: <sip:neo...@test.test.test>;tag=ct7BK7ccyaK7H.
To: <sip:88888888...@test.test.test>;tag=9560995.

failure_route[EXTERNAL_FAULT] {
    if (t_was_cancelled()) {
        xlog("L_INFO", "$ci|log|transaction was cancelled");

        exit;
    }
    
    $var(auth_user) = $fU + "@" + $fd;
}

In variable $var(auth_user) I’ve seen 77777777...@office.sbc.sbc.

Can I receive values from 407 message?

Best regards,
Alexander Mustafin
mustafin.aleksa...@gmail.com




Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to