Hello,
I try to change the contact field in SIP HF with mangler module if (src_ip == 10.0.0.0/8) encode_contact("enc_prefix","193.175.135.38"); However asterisk receive a bad AOR because of "enc_prefix" .
How can I rewrite contact field with public ip without adding this prefix in th user part ?
Regards Harry
Here is my config :
Asterisk as registrar server :public ip:5050 Ser as outbound proxy server :public ip 5060
---------------- | asterisk pbx | ---------------- || ---------- ---------- | SER |=======|NAT box |======== private network ---------- ----------
___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com