< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index |
OK - In that case, I'd like to put in a plea for an enhancement. Ideally, I'd like user-defined proprietary headers and parameters to work together as well as the predefined ones do. That is, I'd like to be able to do ExtensionHeader fooHdr("P-Foo"); ExtensionParameter batParam("bat"); sipMsg->header(FooHdr).front().exists(batParam), sipMsg->header(FooHdr).front().param(batParam).front(), etc. I think this only makes sense. Barring that, it seems to me that at the very least, the above stuff should not compile. It is misleading that sipMsg->header(FooHdr).front().exists(batParam) compiles just fine, but is useless, and always returns FALSE no matter what the content of the proprietary header in the SIP message. This fooled me for a while, and I had to dig and hack some test cases to figure out what was really going on. Thanks, -John Gregg On 05/23/2014 11:57 AM, Scott Godin
wrote:
|