SIP Data in Asterisk


We are using Asterisk for the development of SIP based applications like dialer,voicelogger etc.We need SIP messages and events from the PBX for this purpose.plz tell us whether asterisk store SIP messages/events in any database or text file??


There are debugging options that will store the complete text of all the SIP messages. Events can be sent over the AMI interface, as parts of normal operation, but this doesn’t give you access to every part of the SIP messages. However, I think you need to approach this from a different angle and learn how Asterisk works and then look for the optimum solution for your specific problem, based on that.

you could always front-end asterisk with Kamailio (OpenSER). It is a high performance SIP router/proxy. It has mechanisms to store all SIP messaging in and out.