Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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@192.168.1.1 to bar@192.168.2.2

share|improve this question

2 Answers 2

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

 
discard

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.