SIP_HEADER() with two parameter is not working

Hi,

I currently use Asterisk 1.4.17~dfsg-2ubuntu1 and want to extract the second Via-Header of an imcomking request.
${SIP_HEADER(VIA)} does work and returns the topmost Via-header, but
${SIP_HEADER(VIA,2)} does return an empty string - yes, there are more than one Via:-Header :wink:

Any idea?

Mitsch

No idea? Is this a version-specific bug?