Thanks for finding this, looks like a copy&paste issue, so I think the condition
should not be removed but fixed -- instead of:
```
if(subs->extra_headers && hentity->extra_headers->s)
```
There should be:
```
if(subs->extra_headers && subst->extra_headers->s)
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1409#issuecomment-360470585