Hi,
I have a big trouble. I have a voip server Openser (Debian) and a database Active Directory with IAS (Windows 2000 server). I have configured the openser to authenticated in IAS, but the openser dont authenticate. When I snif the information only appear lot of packets of Radius Request, a Authentication Request. Should I modify any field in the dictionary of radiusclient, because Im authenticatting in windows? The IAS shows me the mensage: "malformed packet". The IAS support Openser?
---------------------------------
Yahoo! doce lar. Faça do Yahoo! sua homepage.
Hi all!
Is anybody running openser through cvs? If yes, pls let me know the steps on
how to start openser thru the init.d script. I am new to openser and I have
gone thru the link in openser site for making the init.d script work with
the monit daemon. now when i start openser with /etc/init.d/openser start or
/etc/rc.d/init.d/openser start, the monit daemon takes over and tries to
start openser. but apparently it is failing because in the web interface of
monit, i see that the starting of openser failed. and there is no
openser.pid file created in /var/run/. Pls help me on how to start openser
through monit daemon or is there a work around to do this without involving
the monit daemon? I am stuck at this point and unable to make any
progress.....
Thanks and Regards,
Padmaja
----- Original Message -----
From: <users-request(a)openser.org>
To: <users(a)openser.org>
Sent: Tuesday, May 30, 2006 4:02 AM
Subject: Users Digest, Vol 12, Issue 78
> Send Users mailing list submissions to
> users(a)openser.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://openser.org/cgi-bin/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)openser.org
>
> You can reach the person managing the list at
> users-owner(a)openser.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
>
>
> Today's Topics:
>
> 1. Re: callback type TMCB_REQUEST_IN (Bogdan-Andrei Iancu)
> 2. Mixing uri_db and auth_db (Edgar Barbosa)
> 3. RE:Problems starting openser (BrOtHeR StRaiN)
> 4. uac_auth cseq workaround - ANY ? (G.Jacobsen)
> 5. dispatcher module and rewritehost vs forward (Script Head)
> 6. dispatcher module and rewritehost vs forward (Script Head)
> 7. Unknown value error (Giuseppe Parlato)
> 8. Problem : Forwarding Routine to a NAT'd endpoint.
> (Ricardo Martinez)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 29 May 2006 16:04:26 +0300
> From: Bogdan-Andrei Iancu <bogdan(a)voice-system.ro>
> Subject: Re: [Users] callback type TMCB_REQUEST_IN
> To: raviprakash sunkara <sunkara.raviprakash.feb14(a)gmail.com>
> Cc: Users(a)openser.org
> Message-ID: <447AF15A.9020901(a)voice-system.ro>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
>
> as the message says, you need to load TM module before the ACC one.
>
> regards,
> bogdan
>
> raviprakash sunkara wrote:
>
>> Hi Users and lister...
>> How R u Guys,
>> I need help from U , The problem in openser when doing the accounting
>> module.
>> it give error as
>>
>>
>> find_export:found <load_tm> in module tm
>> [/usr/local/lib/openser.modules/tm.so]
>> ERRoR:tm:register_tmcb: callback type TMCB_request_in register
>> attempt before tm module initializaton
>> ERROR :acc:mod_init;cannot register TMCB_REQUEST_IN callback
>> init_mod() : Error while inittialization module acc
>>
>>
>> what is means, What i need to do, And give any samle openser.cfg in
>> accing with radius and mysql
>>
>> Bye..
>> --
>> Thanks and Regards with cheers
>> Sunkara Ravi Prakash (Voip Developer)
>> Hyperion Technology
>> www.hyperion-tech.com <http://www.hyperion-tech.com>
>> <b>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Users mailing list
>>Users(a)openser.org
>>http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 29 May 2006 16:16:41 +0100
> From: "Edgar Barbosa" <edgar.barbosa(a)madetowork.com>
> Subject: [Users] Mixing uri_db and auth_db
> To: <Users(a)openser.org>
> Message-ID: <20060529151635.EA0816800E1(a)gw.madetowork.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi all,
>
> I'm having a weird behaviour when mixing auth_db and uri_db.
>
> With the following openser.cfg, the xlog("L_INFO", "TEST\n") is never
> executed... seems that openser just hangs up...
>
> If I remove the uri_db it works...
> If I remove the auth_db it works too...
> The problem seems to happen when I mix both...
>
> Any idea of what may be wrong?
> I'm using the latest version (openser 1.0.1).
>
> Thanks
>
>
>
>
> debug=3 # debug level (cmd line: -dddddddddd)
> fork=yes
> log_stderror=yes
>
> reply_to_via=no
> check_via=no # (cmd. line: -v)
> dns=no # (cmd. line: -r)
> rev_dns=no # (cmd. line: -R)
> port=5060
> children=4
> fifo="/tmp/ser_fifo"
>
>
> loadmodule "/usr/lib/openser/modules/mysql.so"
> loadmodule "/usr/lib/openser/modules/sl.so"
> loadmodule "/usr/lib/openser/modules/auth.so"
> loadmodule "/usr/lib/openser/modules/auth_db.so"
> loadmodule "/usr/lib/openser/modules/uri_db.so"
> loadmodule "/usr/lib/openser/modules/xlog.so"
>
> modparam("uri_db", "db_url", "mysql://root@192.168.1.104/openser")
> modparam("auth_db", "db_url", "mysql://root@192.168.1.104/openser")
>
> route {
>
> xlog("L_INFO", "TEST\n");
>
> }
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 29 May 2006 10:13:05 -0700 (PDT)
> From: BrOtHeR StRaiN <strain15(a)yahoo.com>
> Subject: RE:[Users] Problems starting openser
> To: users(a)openser.org
> Message-ID: <20060529171305.6804.qmail(a)web38801.mail.mud.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Thank you. Finally that configuration worked. However, the quality of the
> call was very bad. I couldn't make out a word of what was coming through.
>
>
> ---------------------------------
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great
> rates starting at 1¢/min.
>
Hello List
I have a problem forwarding a number for a NAT'd endpoint. The
problem presents as follow.
For incoming calls to my OPENSER users i load via
avp_load_radius("callee") the "forward options" for my users.
For example if a user has set the Call Forward ON and the set the
forwarded number, these options are loaded via avp_radius.
So for a incoming call to a user with Call Forward ON, the call is
then redirected to a Asterisk Box to handle the call.
I have no problem with this if the user is not NAT'd, even if is
NAT'd but the user is not registered i can forward the call to my Asterisk
Box via a special route (route[8]) without any problem. But if the NAT'd
endpoint is REGISTERED in my ser BOX like this :
domain: 'location'
aor : '5507515800'
~~~Contact(0x40502de0)~~~
domain : 'location'
aor : '5507515800'
Contact : 'sip:5507515800@192.168.1.100:5061'
Expires : 560
q :
Call-ID : '66e2643a-e646955e(a)192.168.1.100'
CSeq : 2
User-Agent: 'Linksys/PAP2-3.1.3(LS)'
received : 'sip:64.76.148.248:46139'
State : CS_NEW
Flags : 1
Sock : 64.76.148.246:5060 (0x8132c80)
next : (nil)
prev : (nil)
~~~/Contact~~~~
.../Record...
I'm even using rewritehostport (as indicated in my ser.cfg snipet)
route[8] {
xlog("L_INFO", "[%Tf] : Ruta [8] Enviando llamada a asterisk\n");
rewritehostport("111.76.154.101:5060");
route(4);
route(1);
}
the call is re-routed to the "received" parameter indicated in the register
RECORD. Please check the next debug taken in my ser box.
111.76.148.237 : Caller Endpoint
111.76.148.246 : OPENSER Box
111.76.148.101 : Asterisk Box
111.76.148.248 : Called Enpoint (NAT'd)
U 111.76.148.237:5060 -> 111.76.148.246:5060
INVITE sip:5507515800@sipvoiss.desa.redvoiss.net:5060 SIP/2.0.
Via: SIP/2.0/UDP 111.76.148.237:5060;branch=z9hG4bKf50b1f9ca.
Max-Forwards: 70.
Content-Length: 304.
To: sip:5507515800@sipvoiss.desa.redvoiss.net:5060.
From: sip:2408100@111.76.148.237:5060;tag=acee04f44a858c7.
Call-ID: 12524b29b2c08e262bc8daef67f6dcf0(a)111.76.148.237.
CSeq: 1032746828 INVITE.
Supported: timer.
Content-Type: application/sdp.
Contact: sip:2408100@111.76.148.237:5060.
Supported: replaces.
.
v=0.
o=MxSIP 0 26 IN IP4 111.76.148.237.
s=SIP Call.
c=IN IP4 111.76.148.237.
t=0 0.
m=audio 4978 RTP/AVP 18 4 4 101.
a=rtpmap:18 G729/8000.
a=rtpmap:4 G723/8000.
a=rtpmap:4 G723/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:18 annexb=no.
a=fmtp:101 0-15.
a=sendrecv.
m=image 4980 udptl t38.
a=sendrecv.
U 111.76.148.246:5060 -> 111.76.148.237:5060
SIP/2.0 100 trying -- your call is important to us.
Via: SIP/2.0/UDP 111.76.148.237:5060;branch=z9hG4bKf50b1f9ca.
To: sip:5507515800@sipvoiss.desa.redvoiss.net:5060.
From: sip:2408100@111.76.148.237:5060;tag=acee04f44a858c7.
Call-ID: 12524b29b2c08e262bc8daef67f6dcf0(a)111.76.148.237.
CSeq: 1032746828 INVITE.
Server: Sip EXpress router (0.9.3 (i386/linux)).
Content-Length: 0.
Warning: 392 111.76.148.246:5060 "Noisy feedback tells: pid=22321
req_src_ip=111.76.148.237 req_src_port=5060
in_uri=sip:5507515800@sipvoiss.desa.redvoiss.net:5060
out_uri=sip:75755507515800@111.76.154.101:5060 via_cnt==1".
.
U 111.76.148.246:5060 -> 111.76.148.248:46139
INVITE sip:75755507515800@111.76.154.101:5060 SIP/2.0.
Record-Route: <sip:111.76.148.246;ftag=acee04f44a858c7;lr=on>.
Via: SIP/2.0/UDP 111.76.148.246;branch=z9hG4bK38bc.f157bcd5.0.
Via: SIP/2.0/UDP 111.76.148.237:5060;branch=z9hG4bKf50b1f9ca.
Max-Forwards: 16.
Content-Length: 306.
To: sip:5507515800@sipvoiss.desa.redvoiss.net:5060.
From: sip:2408100@111.76.148.237:5060;tag=acee04f44a858c7.
Call-ID: 12524b29b2c08e262bc8daef67f6dcf0(a)111.76.148.237.
CSeq: 1032746828 INVITE.
Supported: timer.
Content-Type: application/sdp.
Contact: sip:2408100@111.76.148.237:5060.
Supported: replaces.
.
v=0.
o=MxSIP 0 26 IN IP4 111.76.148.237.
s=SIP Call.
c=IN IP4 111.76.148.246.
t=0 0.
m=audio 35068 RTP/AVP 18 4 4 101.
a=rtpmap:18 G729/8000.
a=rtpmap:4 G723/8000.
a=rtpmap:4 G723/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:18 annexb=no.
a=fmtp:101 0-15.
a=sendrecv.
m=image 35070 udptl t38.
a=sendrecv.
Why openser is routing the call to the "received" ip address insted of the
ip address indicated in my route[8] by the
rewritehostport("111.76.154.101:5060"); ???
Hope that someone can help me here
Is there a way to avoid this ?
Thanks !
Ricardo Martinez
Ricardo Javier Martinez Ogalde
Ingeniero de Desarrollo
VOISS NET S.A.
Cisco Certified Network Associate ,CCNA (CSCO 10643101)
* : (56 2) 240 81 96
* : (56 2) 245 74 95
* : rmartinez(a)redvoiss.net
Hi,
yes, it is possible with presence snapshot too.
The "too many hops" response may be due to that you haven't the user or
domain in database (use ser_ctl for that).
Vaclav
On Mon, May 29, 2006 at 03:31:50PM -0300, Gustavo Moreira wrote:
> Hello,
> I'm working with the presence snapshot. I used to have ser 0.9.6 and with
> that distribution I was able to add users to mysql database, so when you
> connect to the server it asks for a username and password.
> I want to know if this functionality is available in the ser presence
> snapshot, because, the database and some control commands have changed.
> Also, when I try to connect to my new SER with any client, I receive a "too
> many hops" response.
> I would appreciate any responses or help.
> Thanks,
> Gustavo.
>
> _______________________________________________
> Serusers mailing list
> Serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
I have ser <-> freeradius <-> ms sql server andnow I want to install ser we, but looking at config_data_layer.php file, line $config->data_sql->type="mysql", there is not ms sql database example. Maybe It is no possible to use it ?
Giuseppe
Hello,
I'm working with the presence snapshot. I used to have ser 0.9.6 and with
that distribution I was able to add users to mysql database, so when you
connect to the server it asks for a username and password.
I want to know if this functionality is available in the ser presence
snapshot, because, the database and some control commands have changed.
Also, when I try to connect to my new SER with any client, I receive a "too
many hops" response.
I would appreciate any responses or help.
Thanks,
Gustavo.
Thank you. Finally that configuration worked. However, the quality of the call was very bad. I couldn't make out a word of what was coming through.
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
Hi everyone,
When I do "sc moi 1", under the Transaction Statistics, I see
Transaction Statistics
Current: 0 (10 waiting) Total: 967 (0 local)
What does the "10 waiting" indicate?! Shouldn't this be zero?
Does this imply that there is a problem in my SER?!
Thank you for help
Ramin
------------------------------------------------------------------------
[cycle #: 1; if constant make sure server lives and fifo is on]
Server: Sip EXpress router (0.9.2 (i386/linux))
Now: Mon May 29 10:55:45 2006
Up Since: Sun May 28 20:07:34 2006
Up time: 53291 [sec]
Transaction Statistics
Current: 0 (10 waiting) Total: 967 (0 local)
Replied localy: 1899
Completion status 6xx: 0, 5xx: 0, 4xx: 298, 3xx: 0,2xx: 958
Stateless Server Statistics
200: 76568 202: 0 2xx: 0
300: 0 301: 0 302: 0 3xx: 0
400: 0 401: 22777 403: 0 404: 0 407: 7 408: 0 483: 6 4xx: 0
500: 3 5xx: 0
6xx: 0
xxx: 0
failures: 18
UsrLoc Stats
Domain Registered Expired
'aliases' 999 0
'location' 106 737
[root(a)ser]/usr/local/src/ser-0.9.0/sip_router>
Hi all,
I'm having a weird behaviour when mixing auth_db and uri_db.
With the following openser.cfg, the xlog("L_INFO", "TEST\n") is never
executed... seems that openser just hangs up...
If I remove the uri_db it works...
If I remove the auth_db it works too...
The problem seems to happen when I mix both...
Any idea of what may be wrong?
I'm using the latest version (openser 1.0.1).
Thanks
debug=3 # debug level (cmd line: -dddddddddd)
fork=yes
log_stderror=yes
reply_to_via=no
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=4
fifo="/tmp/ser_fifo"
loadmodule "/usr/lib/openser/modules/mysql.so"
loadmodule "/usr/lib/openser/modules/sl.so"
loadmodule "/usr/lib/openser/modules/auth.so"
loadmodule "/usr/lib/openser/modules/auth_db.so"
loadmodule "/usr/lib/openser/modules/uri_db.so"
loadmodule "/usr/lib/openser/modules/xlog.so"
modparam("uri_db", "db_url", "mysql://root@192.168.1.104/openser")
modparam("auth_db", "db_url", "mysql://root@192.168.1.104/openser")
route {
xlog("L_INFO", "TEST\n");
}
Hi,
Thanks for the reply!
My installed SER version is >0.9.x. Anyway, my issue is not with presence server for the time being. Before experimenting with presence server, I have to complete the mysql configuration with SER. I ran the script to create the Ser DB and tables. It went successfully and all the tables got created. After this, I modified the ser.cfg file to configure mysql with SER (.cfg file is attached). After these modifications, ser -c command was executed and I got an error related to libmysqlclient.so.12. Then I created a soft link to libmysqlclient.so.10. After this, ser -c command was through but when I tried to start the server, it is not getting started. I could not understand the real issue why the SER server is not getting started. I have to configure the mysql to continue my experiments with presence server. It will be great if somebody can get me some pointers on configuring mysql with SER. Some links or tutorials are also well being appreciated.
Thanks,
Benjamin
-----Original Message-----
From: Andrey Kouprianov [mailto:andrey.kouprianov@gmail.com]
Sent: Monday, May 29, 2006 12:39 PM
To: serusers(a)iptel.org
Subject: Re: [Serusers] mysql configuration issue
you have installed version <= 0.9.x. This version doesnt have any
presence support, except simply forwarding presence/IM messages back
and forth. What you need is to install ser with presence. it's still
unstable, but try it anyway.
ftp.iptel.org/pub/ser/presence/
On 5/29/06, Benjamin.George(a)t-systems.com <Benjamin.George(a)t-systems.com> wrote:
>
>
>
> Hi ,
>
>
>
> I am a new user of SER and last week only I started installing and
> configuring SER to deploy some presence based applications on top of SER. I
> am finiding some configuration issues with mysql and SER. I installed SER
> and registerd users (X-Lite) successfully. After that I installed mysql to
> store all registration and other information to database instead of in RAM.
> After mysql installation, I ran the script to create the Ser database and
> tables for SER, every thing got craeted successfully. Then the lines
> mentioned to uncomment to use mysql also has been uncommented in ser.cfg
> file. But when I registerd the users again, I could not see any users in the
> table subsriber. It will be great if somebody can throw some light in to
> this issue so that I could complete my mysql configuration with Ser. What
> extra configuration has to be done in ser.cfg file to use mysql?
>
>
>
> Thanks in advance,
>
> Benjmain.
>
>
> _______________________________________________
> Serusers mailing list
> Serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers