Hello, Could anyone help with suggestions on how to setup a Proxy ( R-Proxy) that only does a route lookup and pass the parameter back to origination Proxy/Gateway A to forward the call based on the new parameter.
On receipt of an invite from GW/Proxy A, R- Proxy will do a route lookup for the called number 447988870290, If it finds a route then it should append the network prefix to the new INVITE or rewrite the INVITE 23430442088870290 in the 302 Moved Temporarily message sent back to GW/Proxy A in the Contact field and there are two CC-Diversion header fields included; at GW/Proxy (IP address) who originated the call and already has a route or dial plan for the new prefix and also another one for same at GW/Proxy (IP address).
Is there any way to do this without creating a loop in the network ?
Previously this setup can be achieved with the originating network having 2 GW/Proxies i.e. GW/Proxy A and GW/Proxy B. In the 302 Temporarily moved message the Contact will show GW/Proxy B, while the 2 CC-Diversion header fields will add GW/Proxy B and GW Proxy A.
Regards, Abdul Hakeem