[Serusers] Content-Type: application/isup read encoded message

Martin Hoffmann hn at nvnc.de
Tue Aug 19 09:38:53 CEST 2008


Jiri Kuthan wrote:
> I think the select operator, @content, should get you access to the 
> body.

Or alternatively, @body. Note however, that this is SER 2.x.

> There is however no
> parsing of SDP to my knowledge (unless someone corrects me, I remember 
> it has been frequently
> mentioned.)

That wouldn't help in this case, anyways. One would need a MIME parser
first. 

> michael at teldelnort.com wrote:
> > 
> > Is there a module that allows SER read the contents of the encoded message?
> > I am try to get the 
> > 
> > "Originating Line Information ----
> >          II Digits:"
> > 
> > from the message.

You could probably copy the content of the body into an attribute and
then run attr_subst() on it. Not particularly subtle, but may work.

Regards,
Martin



More information about the sr-users mailing list