Hi,
I want to perform a DNS query with the Record-Route header's content, and
replace this content by the response (replacing "domain.com" by
xxx.xxx.xxx.xxx).
someone knows how?
Regards,
Yazid
Hello,
for those interested, there will be two OPENSER sessions hosted by
Asterisk Tag Conference, Berlin, Germany, May 26-27, 2008.
The event gathers an important group of people from VoIP area, including
the inventors of Asterisk, Adhearsion, PGP, Yate, ..., for more details
visit:
http://asterisk-tag.org
In the first day, the OPENSER presentation will focus on how to use the
proxy to increase the capacity of Asterisk-based platforms, the second
day will host 2 hours workshop targeting to reveal where OPENSER fits in
IP communication services, Voice over IP and beyond, and to give the
starting point to use it.
FYI: the following days is the Linux Tag conference/exhibition, also in
Berlin: http://www.linuxtag.org .
A preview notice -- on the 28th of May will be an OPENSER dinner (more
beer than food, as it happens in Germany) -- place and time will be
announced very soon.
Cheers,
Daniel
--
CEO ASIPTO
http://www.asipto.com
Hello,
i am successfully integrated an openLDAP server with my openSER SIP proxy
server. however i am facing a security problem. let me explain it briefly.
**** Successful Registration with password save as clear in openLDAP DB ****
* # Configration #
- user name was stored in clear in openSER database
- modparam("auth", "calculate_ha1", 1) which means the server will assume
that the "password_spec" pseudo-variable contains plaintext passwords and it
will calculate HA1 strings on the fly.
# Senario #
- after the UAC receives Authentication request he will build the response =
MD5(username + MD5(passowrd) + realm + nonce)
- then the server will build the challenge by searching the the user in the
database and retrieving the password in clear then hash the password with
MD5 build the challenge such that challenge=MD5(username + MD5(passowrd) +
realm + nonce) . .
- by comparing the the response the with the challenge the user will be
authenticated.
- *it works *
**** Successful Registration with password save as MD5 in openLDAP DB ****
* # Configration #
- user name was stored in MD5 in openSER database
- modparam("auth", "calculate_ha1", 0) which means the server assumes the
pseudo-variable contains the HA1 strings directly and will not calculate
them.
# Senario #
- after the UAC receives Authentication request he will build the response =
MD5(username + MD5(password) + realm + nonce)
- then the server will build the challenge by searching the the user in the
database and retrieving the password in MD5 then challenge such that
challenge=MD5(username + MD5(password) + realm + nonce) .
- by comparing the the response the with the challenge the user will be
authenticated.
- *401 unauthorized !!!!
***** CONCLUSION ****
*there for possible scenarios:
1- password clear + calculate_ha1= 0 ==> 401 unauthorized !!!!
2- password clear + calculate_ha1= 1 ==> Authorized
3- password MD5 + calculate_ha1= 0 ==> 401 unauthorized !!!!
4- password MD5 + calculate_ha1= 1 ==> 401 unauthorized !!!!
*
*
-----------------------------------------------------------------------------------------
*
asuumptions:
*1- the password might be not hashed. if so then why modparam("auth",
"calculate_ha1", ) used? does it mean that the password might be received
hashed or not?
*2- in scenario(2) the sip server hash the password by setting
calculate_ha1= 1. if the password is already hashed in the database then
scenario(3) should work unless there is a conflict with the hash. is this
might be related to hash type or size?* or something else that i do not
know!!!
*question*:
1- why scenario(3) does not work? where might be the problem?
2- what to do if i want to change the hash algorithm used? for example i
need to SSH1 instead of MD5 because nowadays MD5 is proved to be weak
algorithm
regards,
Ahmed ALALI
Hi,
I am successful till the addition of voip overlay. After that I have also include the line source
/usr/portage/local/layman/make.conf in /etc/make.conf. Now when I try to install openser using the command
ACCEPT_KEYWORDS=!x86 emerge openser, every time I got the following reply back from the console
emerge: there are no ebuilds to satisfy "openser"
Does anybody know how I can solve this problem and install and configure OpenSER on top my OpenIMSCore
Best regards
Yeasin Habib
You can install layman, add voip overlay and install OpenSER using
standard gentoo way (emerge openser)
1) start OpenIMS image
2) Login
3) emerge --sync. On this step emerge will download information about
all packages. Maybe about 200 mb
4) emerge layman
5) edit make.conf
6) add voip overlay (layman -a voip)
7) install openser (ACCEPT_KEYWORDS=~x86 emerge openser)
On Tue, Apr 22, 2008 at 9:53 AM, Rob <otrebor79 at alice.it<https://lists.berlios.de/mailman/listinfo/openimscore-users>> wrote:
> Hi,
> I've downloaded this image of OpenIMSCore for VMware
> http://www.digilo.com/openims/files/OpenIMS.2008-03-30.r545.rar
> I've installed and runned it.
> Now I want install on it a Presence Server so I've downloaded the
> packages of the OpenSER 1.2.0 version 1.20.
> Now, how can I install it onto che VMware image?
>
> Rob
>
> _______________________________________________
> OpenIMSCore-Users mailing list
> OpenIMSCore-Users at lists.berlios.de<https://lists.berlios.de/mailman/listinfo/openimscore-users>
> https://lists.berlios.de/mailman/listinfo/openimscore-users
>
--
Vladimir Romanov
Hi,
I followed instruction from
http://www.jeremy-mcnamara.com/2007/03/28/how-to-configure-openser-sip-regi…
setup Openser.
#modparam("nathelper", "rtpproxy_disable", 1)
#modparam("registrar", "nat_flag", 6)
#modparam("registrar", "use_domain", 0)
The above three lines will cause the server to give error:
May 20 23:29:51 [2784] CRITICAL:core:yyerror: parse error in config file,
line 93, column 19-20: Can't set module parameter
I saw from the document that those are valid arguments, and I don't
understand why Openser complain about those parameters.
Then, I comment out those three lines, and get another errors:
May 20 23:48:25 [3218] CRITICAL:mediaproxy:mod_init: bad config - nat ping
enabled, but no nat bflag set in the usrloc module
May 20 23:48:25 [3218] ERROR:core:init_mod: failed to initialize module
mediaproxy
May 20 23:48:25 [3218] ERROR:core:main: error while initializing modules
I am very new to openser. Any help or suggestion will be greatly
appreciated.
Here is my openser.cfg
####### Modules Section ########
#set module path
mpath="/usr/local/lib/openser/modules/"
loadmodule "/usr/local/lib/openser/modules/mysql.so"
loadmodule "/usr/local/lib/openser/modules/sl.so"
loadmodule "/usr/local/lib/openser/modules/tm.so"
loadmodule "/usr/local/lib/openser/modules/rr.so"
loadmodule "/usr/local/lib/openser/modules/maxfwd.so"
loadmodule "/usr/local/lib/openser/modules/usrloc.so"
loadmodule "/usr/local/lib/openser/modules/registrar.so"
loadmodule "/usr/local/lib/openser/modules/auth.so"
loadmodule "/usr/local/lib/openser/modules/auth_db.so"
loadmodule "/usr/local/lib/openser/modules/uri.so"
loadmodule "/usr/local/lib/openser/modules/uri_db.so"
loadmodule "/usr/local/lib/openser/modules/mediaproxy.so"
loadmodule "/usr/local/lib/openser/modules/nathelper.so"
loadmodule "/usr/local/lib/openser/modules/textops.so"
loadmodule "/usr/local/lib/openser/modules/domain.so"
loadmodule "/usr/local/lib/openser/modules/xlog.so"
loadmodule "/usr/local/lib/openser/modules/uac.so"
loadmodule "/usr/local/lib/openser/modules/speeddial.so"
loadmodule "/usr/local/lib/openser/modules/avpops.so"
# ----------------- setting module-specific parameters ---------------
#modparam("usrloc|auth_db|domain|speeddial|acc", "db_url",
"mysql://localhost:openserrw@localhost/openser")
modparam("auth_db", "db_url","mysql://openser:openserrw@localhost/openser")
modparam("auth_db", "calculate_ha1", 1)
modparam("auth_db", "use_domain", 0)
modparam("domain", "db_mode", 1)
#modparam("nathelper", "rtpproxy_disable", 1)
modparam("nathelper", "natping_interval", 60)
modparam("mediaproxy","natping_interval", 30)
modparam("mediaproxy","mediaproxy_socket", "/var/run/mediaproxy.sock")
modparam("usrloc", "db_mode", 2)
modparam("usrloc", "use_domain", 0)
modparam("registrar", "default_expires", 60)
modparam("registrar", "min_expires", 30)
#modparam("registrar", "nat_flag", 6)
#modparam("registrar", "use_domain", 0)
modparam("rr", "enable_full_lr", 1)
#modparam("auth", "rpid_suffix",
";party=calling;id-type=subscriber;screen=yes")
#modparam("auth", "rpid_avp", "s:rpid")
Hi,
i m add presence module in openser 1.3.0
it's working fine....
but some time it given error in stoped....
see the logs...
May 20 14:58:09 [6432] INFO:pua_usrloc:ul_publish: should not send ul
publish
May 20 14:58:09 [6435] ERROR:presence:handle_subscribe: Missing or
unsupported event header field value
May 20 14:58:09 [6435] ERROR:presence:handle_subscribe: event=
message-summary
May 20 14:58:09 [6433] ERROR:mysql:db_mysql_submit_query: driver error:
Duplicate entry 'sip:userA@domain.com-userB-domain.com-presence' for key
2
May 20 14:58:09 [6433] ERROR:mysql:db_mysql_insert: error while
submitting query
May 20 14:58:09 [6433] ERROR:presence:insert_db_subs_auth: in sql insert
May 20 14:58:09 [6433] ERROR:presence:handle_subscribe: while inserting
record in watchers table
May 20 14:58:09 [6433] ERROR:mysql:db_mysql_submit_query: driver error:
Malformed packet
May 20 14:58:09 [6433] ERROR:mysql:db_mysql_query: error while
submitting query
May 20 14:58:09 [6433] ERROR:presence:get_subs_db: while querying
database
May 20 14:58:09 [6433] ERROR:presence:get_subs_dialog: getting dialogs
from database
May 20 14:58:09 [6443] CRITICAL:core:receive_fd: EOF on 10
May 20 14:58:09 [6429] INFO:core:handle_sigs: child process 6435 exited
by a signal 11
May 20 14:58:09 [6429] INFO:core:handle_sigs: core was generated
May 20 14:58:09 [6429] INFO:core:handle_sigs: terminating due to SIGCHLD
May 20 14:58:09 [6442] INFO:core:sig_usr: signal 15 received
May 20 14:58:09 [6432] INFO:core:sig_usr: signal 15 received
May 20 14:58:09 [6437] INFO:core:sig_usr: signal 15 received
May 20 14:58:09 [6433] INFO:core:sig_usr: signal 15 received
May 20 14:58:09 [6434] INFO:core:sig_usr: signal 15 received
May 20 14:58:09 [6436] INFO:core:sig_usr: signal 15 received
May 20 14:58:09 [6439] INFO:core:sig_usr: signal 15 received
May 20 14:58:09 [6440] INFO:core:sig_usr: signal 15 received
May 20 14:58:09 [6441] INFO:core:sig_usr: signal 15 received
May 20 14:58:09 [6443] INFO:core:sig_usr: signal 15 received
May 20 14:58:09 [6438] INFO:core:sig_usr: signal 15 received
May 20 14:58:09 [6429] NOTICE:presence:destroy: destroy module ...
plz help me wat is the problem????
Thanks & Regards,
Amit Vijayvargiya
Hi,
We are using openser with media proxy and radiator. We're having audio
problems when we send calls to mediatrix gateway for termination.
Internal calls work fine. We hear audio both side and we can see the session
and bytes transfer properly in media proxy monitoring webpage.
When we send calls to mediatrix gateway for termination, calls connect
properly but we don't hear audio. We see inactive session in mediaproxy
status page with no bytes transferring.
One doubt I have is it is not entering reply route when it receives replies
like 183, 180, etc.
Has anyone encountered similar issue? How can we fix it?
Thanks in advance!
--
regards,
Krunal Patel
Hi,
I'm working on packaging ser for Debian. We currently ship 0.9.7, but have
also packaged a 2.0 snapshot which seems to be working well. We now need to
decide which version to ship in the upcoming "lenny" release of Debian. Do
you have any information that you can share about the release plans for SER
2.0? This would help us a lot in making this decision.
Thanks,
Marcus
On 05/17/08 00:53, Michael Barinek wrote:
> mysql works as well. Thanks again.
perfect, thanks for testing.
Daniel
>
>
>
> Michael Barinek wrote:
>> I think that worked, Thank you! I'm setting up mysql and will have
>> more info soon. Thanks again.
>>
>>
>> Daniel-Constantin Mierla wrote:
>>> Hello,
>>>
>>> found a similar case and hopefully the fix I just committed works.
>>> You have to install branch 1.3 from SVN and then test. Let me know
>>> if it is working for you.
>>>
>>> Cheers,
>>> Daniel
>>>
>>>
>>> On 03/26/08 22:18, Michael Barinek wrote:
>>>> I have openser-1.3.1-notls installed although am unable to start
>>>> openser. Any suggestions/ideas regarding the below error? Any
>>>> existing docs/links would be great.
>>>>
>>>> Thanks
>>>>
>>>> ///
>>>>
>>>> Mar 20 08:59:14 [18124] WARNING:core:fix_socket_list: could not
>>>> rev. resolve 10.138.86.56
>>>> Mar 20 08:59:14 [18124] WARNING:core:fix_socket_list: could not
>>>> rev. resolve 10.138.87.100
>>>> Mar 20 08:59:14 [18124] WARNING:core:fix_socket_list: could not
>>>> rev. resolve 10.37.129.2
>>>> Mar 20 08:59:14 [18124] WARNING:core:fix_socket_list: could not
>>>> rev. resolve 10.211.55.2
>>>> Mar 20 08:59:14 [18124] WARNING:core:fix_socket_list: could not
>>>> rev. resolve 10.138.86.56
>>>> Mar 20 08:59:14 [18124] WARNING:core:fix_socket_list: could not
>>>> rev. resolve 10.138.87.100
>>>> Mar 20 08:59:14 [18124] WARNING:core:fix_socket_list: could not
>>>> rev. resolve 10.37.129.2
>>>> Mar 20 08:59:14 [18124] WARNING:core:fix_socket_list: could not
>>>> rev. resolve 10.211.55.2
>>>> Listening on
>>>> udp: 127.0.0.1 [127.0.0.1]:5060
>>>> udp: 10.138.86.56 [10.138.86.56]:5060
>>>> udp: 10.138.87.100 [10.138.87.100]:5060
>>>> udp: 10.37.129.2 [10.37.129.2]:5060
>>>> udp: 10.211.55.2 [10.211.55.2]:5060
>>>> tcp: 127.0.0.1 [127.0.0.1]:5060
>>>> tcp: 10.138.86.56 [10.138.86.56]:5060
>>>> tcp: 10.138.87.100 [10.138.87.100]:5060
>>>> tcp: 10.37.129.2 [10.37.129.2]:5060
>>>> tcp: 10.211.55.2 [10.211.55.2]:5060
>>>> Aliases:
>>>> tcp: my.machine.name:5060
>>>> udp: my.machine.name:5060
>>>>
>>>> Mar 20 08:59:14 [18124] WARNING:core:main: no fork mode and more
>>>> than one listen address found(will use only the first one)
>>>> Mar 20 08:59:14 [18124] INFO:core:init_tcp: using kqueue as the TCP
>>>> io watch method (auto detected)
>>>> Mar 20 08:59:14 [18124] NOTICE:core:main: version: openser
>>>> 1.3.1-notls (i386/darwin)
>>>> Mar 20 08:59:14 [18124] INFO:core:main: using 32 Mb shared memory
>>>> Mar 20 08:59:14 [18124] INFO:core:main: using 1 Mb private memory
>>>> per process
>>>> Mar 20 08:59:14 [18124] INFO:sl:mod_init: Initializing StateLess
>>>> engine
>>>> Mar 20 08:59:14 [18124] INFO:tm:mod_init: TM - initializing...
>>>> Mar 20 08:59:14 [18124] CRITICAL:tm:uac_init: null socket list
>>>> Mar 20 08:59:14 [18124] ERROR:tm:mod_init: uac_init failed
>>>> Mar 20 08:59:14 [18124] ERROR:core:init_mod: failed to initialize
>>>> module tm
>>>> Mar 20 08:59:14 [18124] ERROR:core:main: error while initializing
>>>> modules
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users(a)lists.openser.org
>>>> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>
>>
--
http://www.asipto.com