[asterisk-users] Parsing custom SIP headers

Benny Amorsen benny+usenet at amorsen.dk
Tue Dec 1 03:20:38 CST 2009


Philipp Kempgen <philipp.kempgen at amooma.de> writes:

> Just to be sure: Is there a dialplan function in Asterisk that
> parses custom "name-addr"-style SIP headers for me?

No.

> so I guess SIP_PARSE_HEADER() would need an index argument, just
> like SIP_HEADER().

Yes, Asterisk array handling leaves a bit to be desired as well. A good
start would be first class arrays in the dial plan, but that would
probably involve adding another type of brackets, and I do believe that
we have run out of brackets...


/Benny




More information about the asterisk-users mailing list