I tried to add fix_nated_contact() in my ser.cfg file without success contact field is not rewritten
sip agent listen on private network port 5060. it send request to eth0 to proxy listenning public ip
------ppp0---|ser+netfilter|--eth0----
Harry
--- Arek Bekiersz sip@perceval.net a écrit :
Harry,
In this situation you should prepare simple SER configuration that would use fix_nated_contact() to rewrite your Contact field.
What confuses me in your configuration is that all 3 elements (SER+ NAT+* ) are on one box. But provided that your SER has public IP, it should work OK.
Please see examples in /modules directory for detailed explanation of this issue.
-- Arek
harry gaillac wrote:
1 You have ser and asterisk running. Both have a public IP address, and asterisk runs on port 5050 and ser 5060
OK
- You want asterisk to handle INVITE and REGISTER
via SER....my question is why do you want the UA to register in SER and asterisk
SER handle IM/presence Asterisk telephony features
MOH
ACD IVR PSTN
- Or do you want SER to handle the REGISTER,
INVITE
and then when IM/presence is needed to use asterisk
Asterisk do not support IM/presence that's why i
want
to mix ser+asterisk
- Can you explain what you have till now, do you
have UA registering with SER, and maiing calls to each other (without asterisk)..i.e normal calls IP <---> IP, with either or both of them behind a NAT...if not do this first, ignore the rest.
All is ok with SER for registration nat
Asterisk is the registrar ser forward INVITE and REGISTER to asterisk according to ser.cfg ser forward requests to
asterisk
it's ok for registration
- If 4 is correct, then have you got asterisk and
ser connected together, i.e talking to each other
Yes i use asterisk as PSTN gateway voicemail
system
with database
I just can not solve the contact in sip hf. Asterisk receive from ser contact sip:user@private
ip
Serusers mailing list Serusers@iptel.org http://mail.iptel.org/mailman/listinfo/serusers
___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com