Some UAs, when not explicitly configured with an outbound proxy (some even
in this), follow rfc's recommendation of sending a request with a preloaded
route set containing one entry, that of what they think it is their outbound
proxy, determined through various means.
This is a problem when ser as a serving proxy for multiple domains does the
loose_route'ing: if the route entry in the message is an ip address, ser
will realise that it is him that must serve the request and everything goes
smooth. BUT if the client places a virtual domain in the route set, ser is
fooled to believe that it should just proxy forward the request.
Forwarding might be ok, as ser will forward to itself (suboptimal), but in
this case how can i prevent illegal relaying?
How should this be elegantly dealt with?
The most obvious answer is to add "alias"es, but i want to handle the
domains through domain module only. Shouldn't the domain module have some
functionality to load the domains as aliases (at least on demand by module
parameter)?
Thanks.
Hi,
Thanks for your email.
I get a "page not found" error when I try http://iptel.org/ser/gettingstarted <http://iptel.org/ser/gettingstarted>
Actually at which URL is the example configuration script for using fix_nated_register() ?
Also, which script should I edit to be able to use ser_ctl ?
When I edit the serctl.conf file no change happens...
Regards,
ilker
________________________________
From: Greger V. Teigre [mailto:greger@teigre.com]
Sent: Friday, August 25, 2006 5:28 PM
To: İlker Aktuna (Koç.net)
Cc: serusers(a)iptel.org
Subject: Re: [Serusers] How to fix IP address stored in location db
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@teigre.com]
Sent: Friday, August 25, 2006 12:10 PM
To: İlker Aktuna (Koç.net)
Cc: serusers(a)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.
_____________________________________________________________________________________________________________________________________________
I'm sceptic about the use of functions that replace parts of SIP messages,
because that way, will Ser still keep record of transactions? Wont those
replacements affect Ser to recognise to whom route subsequent messages?
Regards,
Ricardo.
Alexandr Dubovikov wrote:
> On Fri, Aug 25, 2006 at 05:33:52PM +0100, Ricardo Carvalho wrote:
>> I need to rewrite the From part of SIP INVITE messages before sending
>> them to my IP Telco, or else they wont accept my calls!
>> Anyone knows how can I do that?
>
> replace or subst
>
> the sample you can find in README file of textops module.
>
>
>> Thanks,
>>
>> Ricardo.
>> _______________________________________________
>> Serusers mailing list
>> Serusers(a)lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>
Mike,
What's the upgrade procedure to go from 0.2 -> 0.3?
Presumably readd the phplib_id column as per your mail on 21 Aug ...
and, what - just replace the old openseradmin-0.2 directory with this
one (including creating a new database.yml file)?
Also, is there a way to uninstall OpenSER Administrator without
effecting OpenSER ... Presumably, just delete the openseradmin-x
directory ... But is there an equivalent SQL script to uninstall it's
database component?
I think it would be good if you could include upgrade and uninstall
instructions within the release notes / on the website.
Cheers,
Peter.
> -----Original Message-----
> From: users-bounces(a)openser.org
> [mailto:users-bounces@openser.org] On Behalf Of Mike Williams
> Sent: 24 August 2006 21:02
> To: users(a)openser.org
> Subject: [Users] openser admin
>
> All,
>
> OpenSER Admin version 0.3 has been released. This fixes the bug where
> compatibility with openserctl was broken, and adds the
> ability to add other
> management accounts to the interface.
>
> Let me know what you think.
>
> Thanks,
>
> Mike Williams
>
> _______________________________________________
> Users mailing list
> Users(a)openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
Dear all,
First of all, I would like to say thanks to all of you for your help and suggestion to solve my problem untill now. Thank you very much.
Now, I try to install serweb_2004-07-27 in my openser server. I have read the installation note that I got from the serweb packet carefully.
So, I can build the serweb in my openser server successfully. It means that it can display a login screen in the browser.
But, I have a problem when I try to login by using username "admin" with password "openserrw". (This is based on the installation note that I have read before)
I got error message. This is the error message :
Database error: Invalid SQL: select username, perms from subscriber where phplib_id = '721153ca8942ea1a08900f5b61b69a6c'
MySQL Error: 1054 (Unknown column 'perms' in 'field list')
Session halted.
As I try to understand from the error message, it says that there is no "perms" column. So I try to check it in the subscriber table in mysql.But, I did not find "perms" column in the subscriber table.
I just see these columns in the subscriber table:
-phplib_id -last_name - sendnotification - rpid
-username - phone - greeting -domn
-domain - email_address - ha1 -uuid
-password - datetime_created - hdb1
-first_name - datetime_modified - allow_find
-confirmation - flag - timezone
What should i do to solve this problem? What should I do if there is no "perms" column in the subscriber table?
I do hope anybody can give me a suggestion because this is my first time to build the serweb and mysql. Please help me....Please...
Note: I user openser1.1.0-tls and serweb_2004-07-27
As I see from the error message that the phplib_id is exactly matched with phplib_id where username "admin" with password "openserrw" (from the subscriber table).
Thank you very much
Regards,
Ferianto
---------------------------------
Get your email and more, right on the new Yahoo.com
Hi all
iam install in new server
RHEL 4.0
with Mysql 5.0
ser-0.97-pre
compiled perfectly and installed perfectly
when i enable mysql modules in ser.cfg
and try to run
[root@vmail ser]# ser -c -f ser.cfg
0(10560) ERROR: load_module: could not open module
</usr/local/lib/ser/modules/mysql.so>: /usr/local/lib/ser/modules/mysql.so:
undefined symbol: log
0(10560) parse error (28,13-14): failed to load module
ERROR: bad config file (1 errors)
what is the problem here
Ram
I need to rewrite the From part of SIP INVITE messages before sending
them to my IP Telco, or else they wont accept my calls!
Anyone knows how can I do that?
Thanks,
Ricardo.
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@teigre.com]
Sent: Friday, August 25, 2006 12:10 PM
To: İlker Aktuna (Koç.net)
Cc: serusers(a)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.
_____________________________________________________________________________________________________________________________________________
Hi all,
I have problem with Accounting in radius database. The
parameter AcctStopTime of the table named radacct
isn't filled by Openser.
The parameter AcctStartTime is okay.
In my code of Openser I'm using:
...
modparam("acc", "radius_flag", 1)
modparam("acc", "radius_missed_flag", 2)
# set the reporting log level
modparam("acc", "log_level", 1)
# number of the flag which will be used to mark
messages for accounting
modparam("acc", "log_flag", 1)
modparam("acc", "log_missed_flag", 1)
...
# subsequent messages withing a dialog should take the
# path determined by record-routing
if (loose_route())
{
# mark the BYEs -- they are requests within a dialog
if(method=="BYE")
setflag(1);
t_relay();
exit;
};
# process the INVITEs
if(method=="INVITE")
{
# mark the INVITEs for accounting
setflag(1);
# enforce record-routing so the BYEs will come
through this server
record_route();
};
....
Please, can you help me?
Thanks!
Alberto
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
HI Adam,
The reason for this is 2 reasons..
the nathelper module does not understand the port/1 parameter (wich says
"use 2 ports, port 5010 and 5011) and it does also not understand the
RTP/SAVPF.
If you fix these 2 things, this should work :-) (Is this a Ojo?)
-A
In-Reply-To: <029301c6c82a$68a8c370$1601a8c0@oralnetws2>
* Adam Linford <adam.linford(a)oralnet.co.uk> [060825 11:40]:
> I've been happily using the force_rtp_proxy() function, exported from the
> nathelper module for some time now. Recently, I've added some videophone
> UA's to our system, and we are finding that rtpproxy is only relaying the
> audio for sessions between video phones.
>
> Having ran some SIP traces I've noticed that the SDP is not being correctly
> rewritten. Whilst the contact header for the audio is being allocated a
> port from rtpproxy's range correctly, the corresponding m= field for the
> video is not being rewritten at all. I've included an excerpt of the SDP I
> am seeing below.
>
> v=0
> o=1000 16724 16724 IN IP4 192.168.1.66
> s=videophone
> c=IN IP4 openser.ip.address.here
> t=0 0
> a=sendrecv
> m=audio 35030 RTP/AVP 98 0 8
> a=ptime:20
> a=rtpmap:98 iLBC/8000
> a=fmtp:98 mode=20
> m=video 5010/1 RTP/SAVPF 99
> b=AS:110
> a=rtpmap:99 H264/90000
> a=fmtp:99
> packetization-mode=1;parameter-add=0;sprop-parameter-sets=J0KgHpWgsTk=,KM4Ec
> Q==
> a=key-mgmt:key CnNnTdBxKycXpOh/Z6VPdeF1/u3+cVcQzAJAN4dWuGM
> a=direction:active
>
> RTPproxy's UDP port range is 35000-65000, and as you can see, the m=audio
> field is rewritten by calling force_rtp_proxy(), with the port value of
> 35030, but the m=video field retains the port that the UA defines as its
> starting UDP port for media.
>
> This is the first time I've dabbled with video and SIP, so was hoping
> someone with more experience might already have hit this problem, before I
> start delving into the code
>
> I'm running rtpproxy 0.3, and have also tried various other versions of
> rtpproxy from cvs to no avail.
>
> Any help appreciated.
>
> Cheers,
> Adam
>
>
> _______________________________________________
> Users mailing list
> Users(a)openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>