search for: hcolon

Displaying 1 result from an estimated 1 matches for "hcolon".

Did you mean: colon
2009 Nov 29
3
Parsing custom SIP headers
...dentity)},addr-spec)}); Interesting parts include: name-addr, display-name, addr-spec, scheme, userinfo, user, telephone-subscriber, host, hostname, port, ... Actually headers like P-Asserted-Identity can even have more then one value. ---cut--- PAssertedID = "P-Asserted-Identity" HCOLON PAssertedID-value *(COMMA PAssertedID-value) PAssertedID-value = name-addr / addr-spec ---cut--- so I guess SIP_PARSE_HEADER() would need an index argument, just like SIP_HEADER(). Proper parsing could be done in an AGI() script of course but that involves a big overhea...