Gala, Dipen wrote:
hey folks can I make my forwarding or rewrite decisions based on the attributes I have in the request. I want to make the forwarding decision based on the user agent or the various SDP attributes that are there in the INVITE request. How can I read and compare all the information I find in the SIP protocol
you can try to do it in a more generic way by using functions from textops module, like search(regexp), is_present_hf(hf_name), etc.. ; search[_append] function(s) work(s) with the whole SIP msg (including body)
bogdan
Like based on
- User-Agent: Asterisk PBX
- or based on the media type like text , voice , video
Please if any one can help me and provide me with examples ….. thanks *Dipen K Gala* Fidelity Investments System Company - Telecom Phone: (617) 563-2729 Email: Dipen.Gala@FMR.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers