[asterisk-dev] Bug in SIP message request handling

Vadim Lebedev vadim at mbdsys.com
Wed Oct 17 09:30:17 CDT 2007


Hello,

I'm investigating possibility to enchance SIP MESSAGE handling with
support of content type different from "plain/text"


My idea is to implement a table which stores various content types in a 
table
and to store and index to the corresponding  string in the 
ast_frame.subclass

This way relaying AST_FRAME_TEXT frames between 2 sip channel will work 
perfectly well.

This can of course pose problems when relaying non text/plain frame to 
the channel which supports only text/plain content type.
So i'm planning to add to add  optional can_relay(ast_channel *ac, 
ast_frame *f)  method to the technology drivers to implement early 
reject....


Any comments?

Thanks
Vadim 



More information about the asterisk-dev mailing list