Some INVITE messages to my SER include an additional header "X-Remote-Info" that I want to be able to parse and pass to an external program using exec_msg
What is the best way to go about this?
The well known headers are passed as ENV variables but other than re-writing the module to include a SIP_X-REMOTE-INFO how can I pass the entire INVITE to an external script?
TIA
-- Graham Lewis
---- Msg sent via Spitfire @Mail - http://www.spitfire.co.uk/
I think the easiest and best solution is to use for example dispatcher or textops as a starting point for your own module. g-)
Graham Lewis wrote:
Some INVITE messages to my SER include an additional header "X-Remote-Info" that I want to be able to parse and pass to an external program using exec_msg
What is the best way to go about this?
The well known headers are passed as ENV variables but other than re-writing the module to include a SIP_X-REMOTE-INFO how can I pass the entire INVITE to an external script?
TIA
-- Graham Lewis
---- Msg sent via Spitfire @Mail - http://www.spitfire.co.uk/_______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers