Greetings, I am looking for a way to get some extra information out of the Contact header when consuming a multiple choices response. I am using uac_redirect to populate the branches.
get_redirects("*"); t_load_contacts(); t_next_contacts(); t_on_failure("2"); t_relay(); In my failure_route[2] I am just doing: t_next_contacts(); t_on_failure("2"); t_relay(); In my Multiple Choices packet, I am getting some additional information that I would like to log using the acc module. There is a "rate" attribute that defines how much the outbound leg is going to cost to terminate. Here is how the packet looks: SIP/2.0 300 Multiple Choices Via: SIP/2.0/UDP X.X.X.X;branch=z9hG4bK6213.a6567804.0 Via: SIP/2.0/UDP X.X.X.X;branch=z9hG4bK6213.a6c73fe6.0 Via: SIP/2.0/UDP X.X.X.X:5060;received=X.X.X.X;branch=z9hG4bK61f266c4;rport=5060 Contact: <sip:9546496708@X.X.X.X;npdi>;q=0.001;rate=0.002000 Contact: <sip:9546496708@X.X.X.X;npdi>;q=0.002;rate=0.009850 Contact: <sip:9546496708@X.X.X.X;npdi>;q=0.003;rate=0.009850 Contact: <sip:9546496708@X.X.X.X;npdi>;q=0.004;rate=0.009850 Contact: <sip:9546496708@X.X.X.X;npdi>;q=0.005;rate=0.009850 Contact: <sip:9546496708@X.X.X.X;npdi>;q=0.006;rate=0.009850 To: <sip:19546496708@X.X.X.X> From: "7203355925" <sip:7203355925@X.X.X.X>;tag=as5927da08 Call-ID: 3eb09e772e32e18c1fe926230802818c@X.X.X.X CSeq: 102 INVITE Server: Routing Server Content-Length: 0 How would I grab that attribute and log it using acc? Thanks, Geoff
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users