Don't ask me why anyone would want to do this, but, for simple stateful
relay scenario:
UAC --> Kamailio --> UAS
This:
remove_hf("Via");
msg_apply_changes();
will crash Kamailio:
Feb 10 18:54:22 diminuendo-1 /usr/local/sbin/kamailio[30982]: ERROR: tm
[t_lookup.c:540]: ERROR: t_lookup_request: no via
Feb 10 18:54:22 diminuendo-1 /usr/local/sbin/kamailio[30981]: ALERT:
<core> [main.c:741]: child process 30982 exited by a signal 11
--
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web:
http://www.evaristesys.com/