[asterisk-dev] SIPAdd/RemoveHeader apps

Benny Amorsen benny+usenet at amorsen.dk
Fri Jan 16 16:50:18 CST 2009


Russell Bryant <russell at digium.com> writes:

> This is pretty much what I had in mind originally.  Reading headers 
> would work as it does today, but the write version of the function would 
> be the same as SIPAddHeader, unless the value is empty, in which case it 
> would do what SIPRemoveHeader does.

I like the current SIPAddHeader because it applies to new SIP packets
for outgoing connections, whereas SIP_HEADER applies to packets
received from existing connections.


/Benny




More information about the asterisk-dev mailing list