Hi,
By the way, did you resolve the problem related to connecting SER with MySql? I was also facing similar kind of problem. So it will be great if you can give me some details on how you resolved your MySql Connection issue.
Thanks in advance.
Benjamin.
-----Original Message-----
From: S.A.S. Lorensuhewa [mailto:aruna@cc.ruh.ac.lk]
Sent: Friday, June 02, 2006 12:50 PM
To: Sam Lee
Cc: serusers(a)lists.iptel.org
Subject: [Serusers] Re: Ser.cfg
Dear Lee and Others,
My server hostname is Orange and domain is ruh.ac.lk. In that case I need to
to put ruh.ac.lk in this entry. Do I need to put DNS entry With SRV to
resolve when Clients need?
In the initial setting in the /etc/profile I put following entry for
SIP_DOMAIN
export SIP_DOMAIN="192.248.48.12"
Now I think this need to be "ruh.ac.lk" (or "Ornage.ruh.ac.lk").
Can you help me in this problem.
Regards
Aruna
Sam Lee writes:
> XX = your sip domain
> YY = "subscriber"
>
> So if your sip domain is abc.com
> It should read like this
> Www_authorize("abc.com","subcriber")
>
> -----Original Message-----
> From: serusers-bounces(a)lists.iptel.org
> [mailto:serusers-bounces@lists.iptel.org] On Behalf Of S.A.S.
> Lorensuhewa
> Sent: Friday, June 02, 2006 1:58 PM
> To: serusers(a)lists.iptel.org
> Subject: [Serusers] Ser.cfg
>
> Dear All,
>
> I have problem of registering from UA's.
>
> So I am going through all the setting in the ser.cfg. Can somebody tell
> me what should be in the www_authorize(" XX","YY ") function in the
> route section.
>
> XX ?
> YY ?
>
> Aruna.
> _______________________________________________
> Serusers mailing list
> Serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
----------------------------------------------------------
S. A. S. Lorensuhewa
Head, Department of Computer Science
University of Ruhuna, Matara, Sri Lanka
Telephone: 0094 (0)41 2227019
Fax: 0094 (0)41 2222683
Email: lorensuhewa(a)cc.ruh.ac.lk, aruna(a)cc.ruh.ac.lk
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
Hi All
They are lots of links for estimating the NEB (Nominal Ethernet
Bandwdith) for various voice codecs:
http://www.cisco.com/en/US/tech/tk652/tk698/technologies_tech_note09186a008…http://www.newport-networks.com/cust-docs/52-VoIP-Bandwidth.pdf
However I'm finding it hard to find papers about how to calculate NEB
for video codecs like H.263. Any hints?
--
Dr. Rodney G. McDuff |Ex ignorantia ad sapientiam
Manager, Strategic Technologies Group| Ex luce ad tenebras
Information Technology Services |
The University of Queensland |
EMAIL: mcduff(a)its.uq.edu.au |
TELEPHONE: +61 7 3365 8220 |
Dear All,
I have problem of registering from UA's.
So I am going through all the setting in the ser.cfg. Can somebody tell me
what should be in the www_authorize(" XX","YY ") function in the route
section.
XX ?
YY ?
Aruna.
Hi,
I have openser working now. i have installed it from src yesterday after manually deleting all the files installed from binaries. i have added database support and now it is working fine with authentication. i have tried openserctl start and stop and the first time they worked fine. but now if i type openserctl start, it either tells me no /var/run/openser.pid file found or it shows starting openser and then the cursor keeps blinking but i dont see the pid number of openser. but registrations keep happening . pls let me know what to do..
Thanks a lot for all the help.
Regards,
Padmaja
----- Original Message -----
From: Jayesh Nambiar
To: Padmaja RV
Sent: Thursday, June 01, 2006 1:29 PM
Subject: Re: [Users] Re: how to run openser through monit daemon?
Hi,
Sorry, but I never tried installing it from binaries. So i have no idea about whether installing it from src will overwrite or not. But I guess, it should overwrite. But not very sure.
Another long way to delete is only locating the openser files and removing it mannually.
w/regards,
Jayesh
Padmaja RV <padmaja.rv(a)vodcalabs.com> wrote:
Hi Jayesh,
I think you were mentioning about openser-1.0.1_src.tar.gz (that is from src directory of openser download) and i installed from bin directory of openser download area. The bin's tar ball is openser-1.0.1_linux_i386.tar.gz. and when that is installed, it does not show any openser-1.0.1 directory. it automatically loads various modules at their respective places and there is no Makefile i could see in it to edit it for mysql support. I have now openser from src. it is exactly as u mentioned.... this i have downloaded and installed as a user and not as root just to verify the directory structure of openser. i guess it is the right way to do and now i want to install it as root. should i delete the previous openser installations in that path and then install or when i install the src, it will automatically overwrite the existing onces? i am asking this because as root if i delete them it might damage the file system. again thanks so much....pls help me out!
Thanks and Regards,
Padmaja
----- Original Message -----
From: Jayesh Nambiar
To: users(a)openser.org
Cc: padmaja.rv(a)vodcalabs.com
Sent: Wednesday, May 31, 2006 3:42 PM
Subject: [Users] Re: how to run openser through monit daemon?
Hi padmaja,
I guess there should have been a standalone directory called openser1.0.1 after you untar the .tar.gz file using tar -xzvf. In that directory itself there is file called Makefile in which the mysql module is excluded by default.
Did you also check the logs in /var/log/messages about what is the error. Those messages are helpful to debug.
You dont always need to go to sbin to start openser, there is a command called openserctl start to start it.
I have a suggestion for you. Please visit onsip.org and register on that site. They have very good getting started documents which will help you.
You can then structure your openser.cfg the way you want.
w/regards,
Jayesh.
Hi Jayesh,
Thank you so much for the reply. I have downloaded the version openser-1.0.1 from cvs. I thought that is a stable release and no changes are going to be made to it. Do i have to again revert to the tar.gx version? Also please look at what happened when i previously installed the .tar.gz version of openser before doing the cvs
1. downloaded openser-1.0.1-linux_i386.tar.gz version as root.
2. It is now under / (the root directory). after that i did unzip and untar on that.
3. the file and modules are loaded into the subdirectories of the /usr directory.I could not anywhere find a standalone directory called openser-1.0.1 with the directory sip-server in it. also there is no makefile here.... (All these i see when i download it thru CVS in the /usr/local/src directory.)
4. I tried to see through the list for the module mysql.so but i could not find it....and so for uri_db module also. these modules are present when i install openser thru cvs
5. i did not do any make on it. I thought it is precompiled version and will automatically get installed when i do the untar and unzip. please correct me if the tar version also has to go thru make
6. i ran openser through /usr/local/sbin/openser start. and it ran successfully... it showd the tcp and udp ports on which it is running..i could register my sip UA without authentication.
7. then i wanted to set it up for mysql support. i edited the config file and uncommented the necessary modules and tried to create the openser databse in mysql. here it failed stating ha1 calculation failed.. also it states there is no mysql.so module which is true.
Please let me know if I have made any mistakes in the installation process.... I am new to openser.. now if i want to revert to .tar.gz version, will all the openser modules and config files from the cvs be replaced by the tar.gz version? or will there be duplicate entries left?
Thanks again
Regards,
Padmaja
----- Original Message -----
From: Jayesh Nambiar
To: users(a)openser.org
Cc: padmaja.rv(a)vodcalabs.com
Sent: Wednesday, May 31, 2006 12:08 PM
Subject: [Users] Re: how to run openser through monit daemon?
Hi padmaja,
Running openser from cvs would not solve your problem. Openser from cvs is the development version which will be released after final testing is done.
To be safe, its better if you use .tar.gz file to install. For enabling mysql, go to the openser directory and you'll find a makefile. In the makefile there is a line exclude_modules?= somewhere around line no.49. From there just remove mysql and recompile it again.
You can start openser using openserctl start from the command line.
To check for some errors you can set debug=9 in the openser.cfg file.
Normally the logs are stored into /var/log/messages. You can check for errors in this file.
Hi!
there is something I need to mention here with respect to openser not
working.....
Initially I had openser installed from .tar.gz and i could run it from
/usr/local/sbin/openser. It worked fine that way without any authentication.
I could see local registration of my sip UAs with the openser being
successful. then i set up mysql. It too started successfulyy thru webmin.
next I tried to create the openser database in mysql from
/usr/sbin/openser_mysql.sh create. It prompted me for the root password of
mysql, the domain name and then failed stating that the Ha1 calculation
failed. also when i tried to modify the openser.cfg file to support mysql
database i found that there is no mysql.so module in the
/usr/local/lib/openser/modules/ path.
Because of the above problems, I tried installing openser from CVS and here
all the modules and configuration files are present in the respective
locations as mentioned in the web link for installing openser. I could even
create the openser database structures in mysql. i tried uncommenting the
needed modules for database suppport. now when i try to run openser thru
monit, there is absolutely no response and openser does not look like
running............
I am a newbie at openser......please help me which way i should run
openser.....
thanks and regards,
Padmaja
--------------------------------------------------------------------------
Yahoo! India Answers: Share what you know. Learn something new Click here
Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now
------------------------------------------------------------------------------
Yahoo! India Answers: Share what you know. Learn something new Click here
Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now
Hello,
I have implemented a custom module to be able to do a simple
round-robbin between servers.
What I want to add is the ability to look at the TO/FROM field
and compare it with a configurable number and if it matches then
route to the call to the IP associated with that number.
This configurable number/IP pair can reside in
a config file( which I will have to implement ) or
Is there a way in SER where I can store this
data and do a lookup upon receiving an INVITE ?
thanks in advance for your help,
Jignesh Gandhi
"Our NAT traversal requirements must handle re-INVITE messages in a special
manner to prevent RTP media streams from dropping off during a re-INVITE"
could someone please tell me what this exactly means and the reason why we
have to care about it?
thank you so much...
Hi,
again I need some help from AVPops-experts.
I have created a table for P-Associated-URI - parameter (addressed via
uuid).
CREATE TABLE associated_uris (
auth_user varchar(64) NOT NULL default '',
id varchar(32) NOT NULL default '',
uri varchar(128) NOT NULL default '',
type integer NOT NULL default '0',
modified timestamp(14) NOT NULL,
PRIMARY KEY (auth_user, id)
) TYPE=MyISAM;
I also have created the following db-scheme:
modparam("avpops","db_scheme","P-assoc:uuid_col=auth_user;value_col=id;value
_type=string;table=associated_uris")
When I access the table with
avp_db_load("$auth-user","i:/$P-assoc");
I get the error:
0(0) ERROR:avpops:parse_avp_db: inconsistent usage of DB scheme
without complet specification of AVP name
0(0) ERROR:avpops:fixup_db_avp: parse failed
Any help appreciated.
Franz
Hi all!
can anyone tell me how to check the syntax of the openser.cfg file after
adding code for new modules? also after saving the file with the changes in
it, should the execute permissions be set to it? currently my openser.cfg
does not have execute permission for anyone ie owner or user or group.
Please let me know asap
Thanks and Regards,
Padmaja
----- Original Message -----
From: <users-request(a)openser.org>
To: <users(a)openser.org>
Sent: Thursday, June 01, 2006 5:08 PM
Subject: Users Digest, Vol 13, Issue 4
> 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. No /var/run/openser.pid file found (Padmaja RV)
> 2. Re: Call Hunting: use Avpop or LCR module ?
> (Daniel-Constantin Mierla)
> 3. Re: Call Hunting: use Avpop or LCR module ?
> (Daniel-Constantin Mierla)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 1 Jun 2006 15:34:14 +0530
> From: "Padmaja RV" <padmaja.rv(a)vodcalabs.com>
> Subject: [Users] No /var/run/openser.pid file found
> To: "Jayesh Nambiar" <voip_freak(a)yahoo.co.in>
> Cc: users(a)openser.org
> Message-ID: <001d01c68562$beea6780$0f32a8c0@systemtest3>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
> I have openser working now. i have installed it from src yesterday
> after manually deleting all the files installed from binaries. i have
> added database support and now it is working fine with authentication. i
> have tried openserctl start and stop and the first time they worked fine.
> but now if i type openserctl start, it either tells me no
> /var/run/openser.pid file found or it shows starting openser and then the
> cursor keeps blinking but i dont see the pid number of openser. but
> registrations keep happening . pls let me know what to do..
>
> Thanks a lot for all the help.
> Regards,
> Padmaja
> ----- Original Message -----
> From: Jayesh Nambiar
> To: Padmaja RV
> Sent: Thursday, June 01, 2006 1:29 PM
> Subject: Re: [Users] Re: how to run openser through monit daemon?
>
>
> Hi,
> Sorry, but I never tried installing it from binaries. So i have no idea
> about whether installing it from src will overwrite or not. But I guess,
> it should overwrite. But not very sure.
> Another long way to delete is only locating the openser files and
> removing it mannually.
> w/regards,
> Jayesh
>
> Padmaja RV <padmaja.rv(a)vodcalabs.com> wrote:
> Hi Jayesh,
> I think you were mentioning about openser-1.0.1_src.tar.gz (that is
> from src directory of openser download) and i installed from bin directory
> of openser download area. The bin's tar ball is
> openser-1.0.1_linux_i386.tar.gz. and when that is installed, it does not
> show any openser-1.0.1 directory. it automatically loads various modules
> at their respective places and there is no Makefile i could see in it to
> edit it for mysql support. I have now openser from src. it is exactly as u
> mentioned.... this i have downloaded and installed as a user and not as
> root just to verify the directory structure of openser. i guess it is the
> right way to do and now i want to install it as root. should i delete the
> previous openser installations in that path and then install or when i
> install the src, it will automatically overwrite the existing onces? i am
> asking this because as root if i delete them it might damage the file
> system. again thanks so much....pls help me out!
> Thanks and Regards,
> Padmaja
> ----- Original Message -----
> From: Jayesh Nambiar
> To: users(a)openser.org
> Cc: padmaja.rv(a)vodcalabs.com
> Sent: Wednesday, May 31, 2006 3:42 PM
> Subject: [Users] Re: how to run openser through monit daemon?
>
>
> Hi padmaja,
> I guess there should have been a standalone directory called
> openser1.0.1 after you untar the .tar.gz file using tar -xzvf. In that
> directory itself there is file called Makefile in which the mysql module
> is excluded by default.
> Did you also check the logs in /var/log/messages about what is the
> error. Those messages are helpful to debug.
> You dont always need to go to sbin to start openser, there is a
> command called openserctl start to start it.
> I have a suggestion for you. Please visit onsip.org and register on
> that site. They have very good getting started documents which will help
> you.
> You can then structure your openser.cfg the way you want.
>
> w/regards,
> Jayesh.
>
>
> Hi Jayesh,
> Thank you so much for the reply. I have downloaded the version
> openser-1.0.1 from cvs. I thought that is a stable release and no changes
> are going to be made to it. Do i have to again revert to the tar.gx
> version? Also please look at what happened when i previously installed the
> .tar.gz version of openser before doing the cvs
>
>
> 1. downloaded openser-1.0.1-linux_i386.tar.gz version as root.
> 2. It is now under / (the root directory). after that i did unzip
> and untar on that.
> 3. the file and modules are loaded into the subdirectories of the
> /usr directory.I could not anywhere find a standalone directory called
> openser-1.0.1 with the directory sip-server in it. also there is no
> makefile here.... (All these i see when i download it thru CVS in the
> /usr/local/src directory.)
> 4. I tried to see through the list for the module mysql.so but i
> could not find it....and so for uri_db module also. these modules are
> present when i install openser thru cvs
> 5. i did not do any make on it. I thought it is precompiled version
> and will automatically get installed when i do the untar and unzip. please
> correct me if the tar version also has to go thru make
> 6. i ran openser through /usr/local/sbin/openser start. and it ran
> successfully... it showd the tcp and udp ports on which it is running..i
> could register my sip UA without authentication.
> 7. then i wanted to set it up for mysql support. i edited the
> config file and uncommented the necessary modules and tried to create the
> openser databse in mysql. here it failed stating ha1 calculation failed..
> also it states there is no mysql.so module which is true.
>
> Please let me know if I have made any mistakes in the installation
> process.... I am new to openser.. now if i want to revert to .tar.gz
> version, will all the openser modules and config files from the cvs be
> replaced by the tar.gz version? or will there be duplicate entries left?
>
> Thanks again
> Regards,
> Padmaja
> ----- Original Message -----
> From: Jayesh Nambiar
> To: users(a)openser.org
> Cc: padmaja.rv(a)vodcalabs.com
> Sent: Wednesday, May 31, 2006 12:08 PM
> Subject: [Users] Re: how to run openser through monit daemon?
>
>
> Hi padmaja,
> Running openser from cvs would not solve your problem. Openser from
> cvs is the development version which will be released after final testing
> is done.
> To be safe, its better if you use .tar.gz file to install. For
> enabling mysql, go to the openser directory and you'll find a makefile. In
> the makefile there is a line exclude_modules?= somewhere around line
> no.49. From there just remove mysql and recompile it again.
> You can start openser using openserctl start from the command line.
> To check for some errors you can set debug=9 in the openser.cfg
> file.
> Normally the logs are stored into /var/log/messages. You can check
> for errors in this file.
>
> Hi!
> there is something I need to mention here with respect to openser
> not
> working.....
>
> Initially I had openser installed from .tar.gz and i could run it
> from
> /usr/local/sbin/openser. It worked fine that way without any
> authentication.
> I could see local registration of my sip UAs with the openser being
> successful. then i set up mysql. It too started successfulyy thru
> webmin.
> next I tried to create the openser database in mysql from
> /usr/sbin/openser_mysql.sh create. It prompted me for the root
> password of
> mysql, the domain name and then failed stating that the Ha1
> calculation
> failed. also when i tried to modify the openser.cfg file to support
> mysql
> database i found that there is no mysql.so module in the
> /usr/local/lib/openser/modules/ path.
>
> Because of the above problems, I tried installing openser from CVS
> and here
> all the modules and configuration files are present in the
> respective
> locations as mentioned in the web link for installing openser. I
> could even
> create the openser database structures in mysql. i tried
> uncommenting the
> needed modules for database suppport. now when i try to run openser
> thru
> monit, there is absolutely no response and openser does not look
> like
> running............
>
> I am a newbie at openser......please help me which way i should run
> openser.....
>
> thanks and regards,
> Padmaja
>
>
>
>
>
> --------------------------------------------------------------------------
> Yahoo! India Answers: Share what you know. Learn something new Click
> here
> Send free SMS to your Friends on Mobile from your Yahoo! Messenger
> Download now
>
>
>
>
> ------------------------------------------------------------------------------
> Yahoo! India Answers: Share what you know. Learn something new Click here
> Send free SMS to your Friends on Mobile from your Yahoo! Messenger
> Download now
>
Hi List,
Is there a way in SER to set a flag which would be stored somewhere in
the CDRs (with the acc module) to be able to discriminate between
different customers? I use mostly IP based auth and such a flag would be
very useful.
Secondly, is there a way to overwrite the caller id?
Thanks in advance for your response.
Best Regards,
Jean-Michel.
--
Jean-Michel Hiver - http://ykoz.net/
Découvrez la Réunion des Technologies IP & Telecom
TEL: +262 (0)262 55 03 98 - RCS 434 273 330 SAINT PIERRE
Hi,
I have some problems with the pa-module. I hope you can help me...
If I want to send a Publish request to the SIP Express Router, it don't
stores the status into the "presentity"-table.
I get following lines into the log-file:
/usr/sbin/ser[10124]: handle publish request
/usr/sbin/ser[10124]: get_pres_uri: _puri=sip:PDA_User@domain.com
/usr/sbin/ser[10124]: handle_publish -4- p_uri= p_uri.len=23
/usr/sbin/ser[10124]: handle_publish -5- presentity=0x4069e0b8
/usr/sbin/ser[10124]: publish_presentity: no tuple for PDA_User(a)domain.com
/usr/sbin/ser[10124]: handle_publish -8- paerrno=0
/usr/sbin/ser[10124]: handled publish
At SUBSCRIBE, the Server answers with OK, but he sends no NOTIFY to the User
Agent.
Following lines are in the log-file:
/usr/sbin/ser[10113]: SUBSCRIBE received
/usr/sbin/ser[10113]: handle subscribe request
/usr/sbin/ser[10113]: handle_subscription() entered
/usr/sbin/ser[10113]: get_pres_uri: _puri=sip:TestUser@domain.com
/usr/sbin/ser[10113]: update_presentity() found watcher
/usr/sbin/ser[10113]: handle_subscription about to return 1:
w->event_package=1 w->accept=2 p->flags=4 w->flags=1 w=0x4069e318
/usr/sbin/ser[10113]: handled subscription
/usr/sbin/ser[10135]: timer_presentity: _p=0x4069e118 TestUser(a)domain.com
flags=4 watchers=0x4069e318
/usr/sbin/ser[10135]: w=0x4069e318
PDA_User(a)domain.com<sip:PDA_User@domain.com> flags=1
/usr/sbin/ser[10135]: notifying PDA_User(a)domain.com _p->flags=4
_w->event_package=1 _w->accept=2 _w->status=1
/usr/sbin/ser[10135]: send_pidf_notify
/usr/sbin/ser[10135]: ERROR: mk_proxy: could not resolve hostname:
"domain.com"
/usr/sbin/ser[10135]: ERROR: uri2proxy: bad host name in URI
<sip:PDA_User@domain.com>
/usr/sbin/ser[10135]: ERROR: uri2sock: Can't create a dst proxy
/usr/sbin/ser[10135]: t_uac: no socket found
best regards,
Harisson