REGISTER and INVITE requests should be handled in different ways, so
split your scripting per methods.
In regards, to MF, better do the validation first, to be sure that
whatever you do later, at least you have a valid SIP msg.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http
OK that means I should handle Register before In-dialog processing block?
I also have one more doubt function mf_process_maxfwd_header should it be
used before sipmsg_validate or after?...Currently mf_process_maxfwd_header
is being called in my script first but in some cases with malformed
packet
Hi John,
Assuming you do not do REGISTER relay (but you act as a registrar), you
should handle the REGISTER requests (with or without to-tag) in the same
way. IF they have a Route hdr , it may be because they do pre-loaded
route (the Route points to your SIP server) to be sure the REGISTER get