[asterisk-dev] Problem using the sip_header-function
Russell Bryant
russell at digium.com
Thu May 8 07:38:45 CDT 2008
Michael Hirschbichler wrote:
> The other possibility is to add a second parameter to define, which of
> the Via-header I want:
> exten => 1226,n,agi,checksomething.pl|${SIP_HEADER(VIA,1)}
> exten => 1226,n,agi,checksomething.pl|${SIP_HEADER(VIA,2)}
> exten => 1226,n,agi,checksomething.pl|${SIP_HEADER(VIA,3)}
> This does not work, I get an empty string:
From a quick look at the code, I don't see anything obvious, but based on your
output, it does appear to be broken. In general, it's always best to test the
latest version, but after that, post it on http://bugs.digium.com and someone
will take a look.
Be sure to include the SIP trace of the call that demonstrates the problem, as
well as the console output.
--
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.
More information about the asterisk-dev
mailing list