SIPAddHeader From A Realtime Databse
Hi Guys
I’m using asterisk 1.8.23.1
When I add a SIP Header from inside the extensions.conf
(SIPAddHeader(Alert-Info:
) it works fine.
When I try to do the same thing from within a database table, all of the string apart from x-line-id=0 gets ignored. I’ve tried escaping the semicolon and not escaping it and the result is always the same, just the last part of the full string is expressed.
Some of the ways that I have tried to enter the string are below:
appdata=’Alert-Info:
2 thoughts on - SIPAddHeader From A Realtime Databse
There is an existing report filed here:
https://issues.asterisk.org/jira/browse/ASTERISK-19254
You can try Walter’s suggestion on the issue and report back whether it works or not.
Replacing the ; with ^3B and removing the \ so column data looks like:
Alert-Info:<http://www.notused.com>^3Binfo=alert-internal^3Bx-line-id=0
works perfectly.
Thanks for the help.
Ish