Remarque : message transféré en pièce jointe.

        

        
                
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com
--- Begin Message ---
Have a look at my ser.cfg
I tried to add fix_nated_contact() in register block
but contact field in sip header is not rewrite with
public ip so ser keep AOR like this :
sip: [EMAIL PROTECTED]

I add fix_nated_contact() in INVITE block but contact
is fixed in sdp 
I read the nathelper module I miss something ! 
what's wrong with nat test in my ser.cfg

Harry

--- Bogdan-Andrei Iancu <[EMAIL PROTECTED]> a
écrit :

> I see....in this case you cannot use replace() as
> the public IP will all 
> the time be different (the public IP of nat).
> 
> Use the fix_nated_contact() function from nathelper
> module: if msg is 
> detected from behind nat, do fix_nated_contact()
> before fwd to *.
> 
> regards,
> bogdan
> 
> 
> 
> harry gaillac wrote:
> 
> >In fact I meant:
> >
> >all private ip of the network replace with a pubil
> ip.
> >what about substution ?
> >
> >if search("^Contact sip:[EMAIL PROTECTED] ip$)) {
> >  replace_all ("private ip", "public ip");
> >};
> >
> >You understand my problem .
> >
> >         asterisk 
> >            ||
> > Internet=[Ser/nat]==private network
> >
> >When ser receive REGISTER or INVITE the contact in
> sip
> >hf would be fixed
> >so asterisk would not record sip agent with AOR
> like
> >sip:[EMAIL PROTECTED] ip.
> > 
> > 
> >Harry
> >
> >--- Bogdan-Andrei Iancu <[EMAIL PROTECTED]> a
> >écrit :
> >
> >  
> >
> >>Hi Harry,
> >>
> >>yes you can do this, but not that the change will
> >>not be local visible 
> >>(in further script processing). the change will
> >>actually apply only when 
> >>the message is sent out on the network.
> >>
> >>regards,
> >>bogdan
> >>
> >>harry gaillac wrote:
> >>
> >>    
> >>
> >>>Hello,
> >>>
> >>>How can I use textops module to rewrite all ip
> >>>      
> >>>
> >>private
> >>    
> >>
> >>>addresses in sip contact hf with a public ip 
> >>>
> >>>I can't write the right regexp.
> >>>
> >>>if search("^Contact sip:[EMAIL PROTECTED] ip$)) {
> >>>replace_all ("private ip", "public ip");
> >>>};
> >>>
> >>>Harry
> >>>
> >>>
> >>>   
> >>>
> >>>   
> >>>           
> >>>      
> >>>
>
>>___________________________________________________________________________
> >>
> >>    
> >>
> >>>Appel audio GRATUIT partout dans le monde avec le
> >>>      
> >>>
> >>nouveau Yahoo! Messenger 
> >>    
> >>
> >>>Téléchargez cette version sur
> >>>      
> >>>
> >>http://fr.messenger.yahoo.com
> >>    
> >>
> >>>_______________________________________________
> >>>Users mailing list
> >>>[email protected]
> >>>http://openser.org/cgi-bin/mailman/listinfo/users
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>    
> >>
> >
> >
> >
> >     
> >
> >     
> >             
>
>___________________________________________________________________________
> 
> >Appel audio GRATUIT partout dans le monde avec le
> nouveau Yahoo! Messenger 
> >Téléchargez cette version sur
> http://fr.messenger.yahoo.com
> >  
> >
> 
> 


        

        
                
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

Attachment: ser.cfg
Description: 3673658984-ser.cfg


--- End Message ---

Attachment: ser.cfg
Description: 3673658984-ser.cfg

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to