One quick dirty hack would be to loop the REGISTER request: 1. receive the original REGISTER request and modify the From header, then relay the request back to yourself 2. handle the received REGISTER request (from yourself) normally (by calling save()).
This should do the trick. Regards, Ovidiu Sas -- VoIP Embedded, Inc. http://www.voipembedded.com On Mon, Jan 28, 2013 at 11:41 AM, Pauba, Kevin L <[email protected]> wrote: > Is there a way to change the From header’s display name in a reply to a > client device? > > I have a client device that requires a particular string in the From header > in the response from opensips to a REGISTER request. I’ve tried > uac_replace_from() and subst() but neither of them changed the header in the > response sent from the save() function (in the registrar module). > > Short of enhancing the registrar module to accept a “from_uri” parameter > (for my own private use), is there any other method to accomplish the same > thing? > > Thanks in advance! _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
