how change the via header field (domain name)

zouuu
Joined: Thu 03 of Dec, 2009

how change the via header field (domain name)

Posted:Thu 03 of Dec, 2009 (15:31 UTC)
Hello,

My question is simple : How can I change the via header field in the SIP header ?

I would like this in using domain name :
Via: SIP/2.0/UDP asterisk.voip.fr:5060;branch=z9hG4bK2831724832-92945013
Sent-by Address: asterisk.voip.fr

and not this (asterisk ip) :
Via: SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bK2831724832-92945013
Sent-by Address: 192.168.1.2

Is it possible ?
Thank you :)