[Serusers] How to fix IP address stored in location db

Greger V. Teigre greger at teigre.com
Fri Aug 25 16:27:40 CEST 2006


http://iptel.org/ser/gettingstarted
Download the document and scripts for how to handle NATed clients. If 
you change default settings, you need to edit the script.
g-)

İlker Aktuna (Koç.net) wrote:
> Hi,
>
> Thanks for your reply. However, I couldn't understand it.
> What does exactly fix_nat_register do ?
> I have a client which does not have STUN feature and thus I can't make a call to this client.
> What should I do to make a call to this client ?
>
> Btw, I get the following errors when I use ser_ctl command:
> ser_ctl: (111, 'Connection refused'): error
> And
> WARNING: ListMethods on 'http://localhost:5060/' failed: socket.error
>
> My ser is running on 5061 port.
>
> Thanks,
> ilker
>
> -----Original Message-----
> From: Greger V. Teigre [mailto:greger at teigre.com] 
> Sent: Friday, August 25, 2006 12:10 PM
> To: İlker Aktuna (Koç.net)
> Cc: serusers at iptel.org
> Subject: Re: [Serusers] How to fix IP address stored in location db
>
> The stored contact should be as received. You need to have the correct request URI when forwarding to a UA, even if the ip address is a private one. If not, the UA will most likely respond with 404 User not found.
> fix_nated_register() will put received ip:port in an avp and save will store this avp as received (you will see it with serctl ul show)
> g-)
>
> İlker Aktuna (Koç.net) wrote:
>   
>> Hi,
>>
>> I am trying to change stored uri in the location db.
>> I assume it could be done with the help of nathelper module and I use fix_nated_register() function just before save_noreply("location") command.
>> However I still see the internal IP address of the client in the location db.
>>
>> What is the easiest way to change the stored contact address  ?
>>
>> Thanks,
>> ilker
>> __________
>>     
> _____________________________________________________________________________________________________________________________________________
> Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa,  icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz  ve  tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.  Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez. 
> This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential  information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however,  sender  cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
> _____________________________________________________________________________________________________________________________________________
>
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060825/d63699d4/attachment.htm>


More information about the sr-users mailing list