remap 404 Not found to Sip 380
I'm looking for a way to remap received 404 sip messages to a 380 with an updated contact header to pass along to the previous hop. Looks like sip-response-map will only act on responses generated by the ACME. Any thoughts or tips?
Example:
Inbound call gets routed via acme to internal PBX, the PBX returns a 404 to the ACME. The ACME updates the repsone code tp a 380 and an HMR updates the contact header to point to the new destination..