[Serusers] Parsing X-Remote-Info header using exec

Greger V. Teigre greger at teigre.com
Thu Apr 12 21:16:27 CEST 2007


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 at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>   



More information about the sr-users mailing list