Goal is to get SIP response codes(like 100, 180, 200..) from asterisk manager interface:
What I have done:
-create new user in manager.conf in /etc/asterisk
-for getting the sip messages, connected to default port 5038 using telnet and by using 'Login' action with appropriate username, password details successfully connects to asterisk manager interface
But in these bulk of details I am not getting actual sip response codes, i want to monitor them.
-I read different actions synopsis from asterisk cli by firing 'manager show commands' but not able to get clear idea of which action would be useful.
How can i get those resoponse codes? Any thought would be helpful on this one.
Thanks.
Edit: Got this link while mining, http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+ExtensionState this is good, but i want exact sip response code