Hi Gang
if ( get_redirects("3:1") ) { t_on_branch("REDIRECT_ADD_DIVERSION"); t_relay();
Not working quite as expected. This seems to consider the complete URI received from the customer. I am only interested in the 'user' part containing the new target phone number not some bogus domain sent by the customer.
Is the 302 reply contact uri or user put in any PV I could access and do some manipulations before sending on (like translating from local notation to e164).
So I also attempted to extract the username from $ct only to notice, that $ct contains the value of the INVITE contact header sent to the customer, not of the 302 reply contact header.