00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef H350_EXP_FN_H
00033 #define H350_EXP_FN_H
00034
00035 #include "../../parser/msg_parser.h"
00036 #include "../../pvar.h"
00037 #include "../../parser/msg_parser.h"
00038
00039 #define E_H350_SUCCESS 1
00040 #define E_H350_INTERNAL -1
00041 #define E_H350_NO_SUCCESS -2
00042
00043 struct h350_auth_lookup_avp_params
00044 {
00045 pv_spec_t username_avp_spec;
00046 pv_spec_t password_avp_spec;
00047 };
00048
00049 int h350_exp_fn_init(void);
00050
00051 int h350_sipuri_lookup(struct sip_msg* _msg, pv_elem_t* _sip_uri);
00052
00053 int h350_auth_lookup(
00054 struct sip_msg* _msg,
00055 pv_elem_t* _digest_username,
00056 struct h350_auth_lookup_avp_params* _avp_specs);
00057
00058 int h350_call_preferences(struct sip_msg* _msg, pv_elem_t* _avp_name_prefix);
00059
00060 int h350_service_level(struct sip_msg* _msg, pv_elem_t* _avp_name_prefix);
00061
00062 #endif