Hello. I'm trying to use the exec_dset() command to call an external application that rewrite the Request-URI. What i want to know if it's possible to take the value of the original R-URI by the exec_dset( ) and then according to the external application rewrite the value. Notice that the important thing here is know the original value of the R-URI. I have been searching in the mail list but i could not find anything related. Hope that someone can help me. Thanks in advance.
Best Regards.
Ricardo Martinez Ogalde
Ricardo Martinez wrote:
I'm trying to use the exec_dset() command to call an external application that rewrite the Request-URI. What i want to know if it's possible to take the value of the original R-URI by the exec_dset( ) and then according to the external application rewrite the value.
It's stored in the environment variable SIP_ORURI (see http://www.iptel.org/ser/doc/modules/html/exec.html).
Andy