Hello, look at uac module: uac_replace_from()/_to().
Cheers, Daniel On 17.08.21 22:25, César Matheus wrote: > Hi list. > > mY provider asks me to insert user = phone in my header. because it > requires to receive my INVITE with user = phone in TO and FROM > > However, I add the user = phone in my configuration like this: > $ ru = "sip:" + $ rU + "@" + $ sel (cfg_get.pstn1.gw_ip) + ":" > > + $ sel (cfg_get.pstn1.gw_port) + "; user = phone"; > > but only the INVITE appears, not in the TO or FROM. > > INVITE sip: [email protected]: 5060; user = phone SIP / 2.0 > > From: <sip: [email protected] <mailto:[email protected]>: > 5060>; tag = 15552444533876 > To: <sip: [email protected] <mailto:[email protected]>: 5060> > > You can help me solve it. > > Thanks. > > -- > César Matheus > > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions > * [email protected] > Important: keep the mailing list in the recipients, do not reply only to the > sender! > Edit mailing list options or unsubscribe: > * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions * [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
