Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to modify under OpenSIPS1.6.4 the default routing to switch the From: field in every instance of incoming SIP packets to a predefined string? According to the documentation the $fd pseudovariable is read-only.

e.g. from foo@ to bar@

share|improve this question

note, it have issues/bugs with routing if u triing to rewrite $fu. in most case it require rewrite via textopts module.

that is becuase acrodinly to RFC sip proxy must NOT change that.

share|improve this answer

$fd references the domain only (everything after the @ in the From field).

You'd need to rewrite the $fu variable.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.