Hi, i want to get the ‘From’ of the message SIP with the application SIPGetHeader() and send this data to my scrip JAVA by FastAGI. But i always find ‘null’ . I can get others data like ‘To’, ‘Contact’, etc without problem. Who can solve this problem? Help me!!! Thanks!
I can not find application SIPGetHeader() in asterisk-1.4.4, they have only SIPAddHeader and SIPDtmfMode (on CLI> core show application SIPGetHeader).
There is a function SIP_HEADER() (on CLI> show function SIP_HEADER).
I think you could use this function instead:
or go back to asterisk-1.2… version to use SIPGetHeader.