Hi
iam using old SER 0.814, since its deployed already in my Office
we are in process of migrationg to openser soon
mean time i need to fix some problems with existing server only
that is the reason iam trying to modify the code and achive the
following things
1. Voice mail
2. Caller =callee
3. if the user not in voicemail group ( get busy), if the user off line,
Not found
I have modified some code after reading all news group
here iam attaching the config file which iam trying
iam also getting the some errors in Log
Aug 30 17:58:20 router ser[609]: ERROR: sl_reply_error used: I'm terribly
sorry, server error occured (1/SL)
Aug 30 17:58:27 router ser[604]: ERROR: sl_reply_error used: I'm terribly
sorry, server error occured (1/SL)
Aug 30 18:00:05 router ser[1564]: ERROR: tcp_init: bind(6, 0x80bd7c0, 16) on
127.0.0.1: Address already in use
Aug 30 18:00:06 router ser[1571]: ERROR: tcp_init: bind(6, 0x80bd7c0, 16) on
127.0.0.1: Address already in use
iam running a cron job to check the services
#!/bin/sh
mysqlcheck --password=cdrouter --auto-repair --all-databases
sleep 4
ser
sleep 4
chmod 777 /tmp/ser_fifo
help will be appriciated
Ram
Hello,
I am look to send Missed Call Alert Instant Message(IM) to Jabber
Client from SER Server.
1) I have Installed and Configured SER on IP(xyz.xyz.xyz.xx),
and Added two(2) user in mysql i.e 1000, 2000
and also Configured SER Client(Kphone) with SER Server.
2) I have Installed and Configured Jabber Server i.e WildFire on
IP(xyz.xyz.xyz.yy),
and Added two(2) user, i.e 1000, 2000
ans also configured Jabber Client(Exodus) with Jabber Server.
3)My aim is to send Missed call alert, when a call is made from SER
Client(K phone) User name:1000
to SER Client(Kphone) User name:2000, and User 2000 is not
replyed.
SER Server should send Instant Message(IM) to Jabber Client( User
name: 2000) saying one missed call from user 1000.
4)Ser Server is running on xyz.xyz.xyz.xx
Jabber Server is running on xyz.xyz.xyz.yy
Came you please send me ser.cfg with give me this feature ( SER
integration with Jabber IM ).
And step to Integrate with Jabber IM.
My configuration is attached as ser.cfg.
Thanks & Regards
************************************
Sriram Srinivas
************************************
Hello,
I am look to send Missed Call Alert Instant Message(IM) to Jabber Client
from SER Server.
1) I have Installed and Configured SER on IP(xyz.xyz.xyz.xx),
and Added two(2) user in mysql i.e 1000, 2000
and also Configured SER Client(Kphone) with SER Server.
2) I have Installed and Configured Jabber Server i.e WildFire on
IP(xyz.xyz.xyz.yy),
and Added two(2) user, i.e 1000, 2000
ans also configured Jabber Client(Exodus) with Jabber Server.
3)My aim is to send Missed call alert, when a call is made from SER Client(K
phone) User name:1000
to SER Client(Kphone) User name:2000, and User 2000 is not replyed.
SER Server should send Instant Message(IM) to Jabber Client( User name:
2000) saying one missed call from user 1000.
4)Ser Server is running on xyz.xyz.xyz.xx
Jabber Server is running on xyz.xyz.xyz.yy
Came you please send me ser.cfg with give me this feature ( SER integration
with Jabber IM ).
And step to Integrate with Jabber IM.
My configuration is attached as ser.cfg.
Thanks & Regards
************************************
Sriram Srinivas
************************************
> Is an error like this normal when doing the db install?
>
> ERROR 1064 (42000): You have an error in your SQL syntax; check the
> manual that corresponds to your MySQL server version for the right
> syntax to use near 'VIEW usr_preferences_view AS SELECT id, username,
> domain, attribute, type AS att' at line 1
Hi, Nick.
Not that it helps you much - but, no, I don't think that's normal - I
didn't get this when installing on MySQL 5.0.24 (latest stable version),
compiled from source. You might get compatibility issues if your
version of MySQL is out of date ... what are you running?
I'm sure Mike Williams will be along to help you debug it ...
> By the way, while ruby on rails might be a great development
> platform,
> it's a right pain in the behind to install.
Completely agree - especially when you're in a network which requires
the use of a proxy to reach the web ...
Bleugh.
Still, once it's up and running it should be easy to maintain, or so I'm
led to believe!
Peter.
--
Peter Edwards
tel +44 (0) 1473 606492
This Personal email contains my own opinions, sent In
Confidence and does not represent the views of British
Telecommunications plc.
__________________________________________________________________
British Telecommunications plc
Registered office: 81 Newgate Street London EC1A 7AJ
Registered in England no. 1800000
This electronic message contains information from British
Telecommunications plc which may be privileged and
confidential. The information is intended to be for the use of
the individual(s) or entity named above. If you are not the
intended recipient, be aware that any disclosure, copying,
distribution or use of the contents of this information is
prohibited. If you have received this electronic message in
error, please notify us by telephone or email (to the number
or address above) immediately.
Activity and use of the British Telecommunications plc
email system is monitored to secure its effective operation
and for other lawful business purposes. Communications using
this system will also be monitored and may be recorded to
secure effective operation and for other lawful business purposes.
---------- Forwarded message ----------
From: ravi reddy <mravikreddy(a)gmail.com>
Date: Aug 29, 2006 9:56 AM
Subject: Re: [Serusers] Granstream AtA g729 codec --- help please
To: "Greger V. Teigre" <greger(a)teigre.com>
Thanks Greger for asking me,
I want a small information regarding billing of sip calls (even though
it is not related SER)
please make a note to me :-)
here in radacct i am getting more than one record for every call ; some
folks told that i need some perl script to format all the database entries
and write a fresh copy so that i can get one record for one call which is
easy for billing.
So, what i need a suggestion from you is
1) Do i need to learn perl language and write the script ?.
2) or is there any other way to control the overflow of start stop
messages in to SER ...?.
If you know please tell me .
Thank You.
Regards,
Ravi.
On 8/28/06, Greger V. Teigre <greger(a)teigre.com> wrote:
>
> Good to hear!
> g-)
> PS! No need to "sir"-me. Keep it informal, I'm Greger ;-)
>
>
> ravi reddy wrote:
>
> Dear Sir,
>
> Thanks for your reply. i found the problem :-)
>
> the problem is itself in my pstn gateway that they have to configure to
> allow my SER sending g729 codecs ,
>
> i came to know from the folling grep message.
>
> v=0.
> o=32331001 8000 8001 IN IP4 192.168.0.74.
> s=SIP Call.
> c=IN IP4 81.21.33.35.
> t=0 0.
> m=audio 60040 RTP/AVP 18 4 99 2.
> a=sendrecv.
> a=rtpmap:18 G729/8000.
> a=rtpmap:4 G723/8000.
> a=rtpmap:99 iLBC/8000.
> a=fmtp:99 mode=20.
> a=rtpmap:2 G726-32/8000.
> a=ptime:20.
>
>
> #
> U 81.21.33.35:5060 -> 81.21.34.34:5068
> SIP/2.0 501 Not Implemented.
> Via: SIP/2.0/UDP 192.168.0.74:5068;rport=5068;received= 81.21.34.34
> ;branch=z9hG4bK8bcaffffe66dffff.
> From: "ravi" <sip:32331001@81.21.33.35>;tag=502effff5ddeffff.
> To: <sip:99106883@81.21.33.35>;tag=E067A27C-3ED.
> Date: Mon, 28 Aug 2006 08:24:22 GMT.
> Call-ID: 61d40000ddc8ffff(a)192.168.0.74.
> Server: Cisco-SIPGateway/IOS-12.x.
> CSeq: 47822 INVITE.
> Allow-Events: telephone-event.
> Content-Length: 0.
>
>
> because this 501 is internal server or gateway error so iam working on
> that now.
>
> Thankyou.
>
> Regards,
> Ravi.
>
>
>
>
> On 8/28/06, Greger V. Teigre <greger(a)teigre.com > wrote:
> >
> > My gut feeling would tell me that the codec has nothing to do with it
> > unless you find error messages in your ser log or var/log/messages. Sure
> > nothing else has changed?
> > g-)
> >
> > ravi reddy wrote:
> > Hi SER users,
> >
> > Iam using SER-0.9.6 with mediaproxy-0.5 and every think
> > works fine except with the codecs . G711 a & g711 ulaw works fine but when i
> > tuned grandstream settings to use g729 codec for pstn calls the call is not
> > done by the Mediaproxy server .
> >
> > but when i
> > created a g729 fake rtp generator it looks fine in sessions.py . so in
> > order to forward the g729 phone call in to the pstn world what i have to do
> > ?.
> >
> > Some folks told that "integrate SER with Asterisk Works!" is it really
> > works for me?
> >
> > my pstn provider supports all codecs . ofcourse iam working in that
> > company itself.
> >
> > please suggest some thing , so that I can bye pass this problem.
> >
> >
> > Thank You.
> >
> >
> > Regards,
> > Ravi.
> >
> > ------------------------------
> >
> > _______________________________________________
> > Serusers mailing list
> >
> >
> > Serusers(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
> >
>
Probably one for Greger-
Does anyone know if there are plans to implement the UAC module (as seen in
Openser) within the next version of Ser?
I am currently running 0.9.6, and when I dial out to the PSTN, the CLI is
shown as the Ser username, not the DID number
All incoming DID numbers are specified as aliases, so when the PSTN dials
in, it gets forward to the correct user.
However I need to rewrite the outgoing SIP message, changing the the from:
URI so that the alias is displayed, not the ser username.
The UAC module is probably the easiest way changing the from: URI, unless
anyone knows of a better way??
On Monday 28 August 2006 03:15, raviprakash sunkara wrote:
> Hi Mike ,
> Thanks for replying the mail ,
> openser administrator is wrriten in ruby on rails .. which is MVC structure
Correct.
> in database interface in web interface..
> If I commited in the subscriber in ur list...
> In grp table also have to change from id to phplib_id..
No, that shouldn't be the case unless I'm mistaken. In the subscriber table,
there was originally a phplib_id. I made the mistake of replacing it with id,
instead of using both. The grp table never had a phplib_id, so id wasn't
replacing anything.
>
> Tell me is openser administrator in fully stable and compitable with
> openser.
I see no reason why it should not be.
>
> But i think it may be unstable or stable version ..
> i'm sure openser administrator 0.2 is unstable version
> I need to know about the 0.3 ....
> please for give me , if any mistakens in my secenrio ....
Hopefully, they'll all be stable versions. However, it is still a very new
project, and I cannot say, that with so few regular users of it, all the bugs
are out.
Mike Williams
>
> On 8/26/06, Mike Williams <mike(a)mikebwilliams.com> wrote:
> > Peter & Sunkara,
> >
> > Thanks for the good idea, I hadn't even thought of uninstall or upgrade
> > situations.
> >
> > The phplib_id problem can be solved by readding that column. There is a
> > commented-out SQL statement in the SQL script that you can use. It is
> > listed
> > below as well.
> >
> > ALTER TABLE subscriber ADD COLUMN phplib_id varchar(32) NOT NULL default
> > ''
> > FIRST;
> >
> > I will work on these things today. Also, please let me know of any
> > feature requests you have, otherwise I will have nothing to work on.
> >
> > Thanks,
> >
> > Mike Williams
> >
> > On Friday 25 August 2006 06:58, peter.3.edwards(a)bt.com wrote:
> > > 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
> > >
> > > _______________________________________________
> > > Users mailing list
> > > Users(a)openser.org
> > > http://openser.org/cgi-bin/mailman/listinfo/users
> >
> > _______________________________________________
> > Users mailing list
> > Users(a)openser.org
> > http://openser.org/cgi-bin/mailman/listinfo/users
Hi, Mike.
I've noticed that you've added Upgrade and Uninstall options to the
OpenSER Administrator website - great stuff. Although, I did notice
that your upgrade instructions don't mention anything about upgrading
the database tables - I presume if you need to do that at a later date,
you'll supply an equivalent SQL script (like the database_tables.sql and
delete_database_tables.sql scripts for install and uninstall,
respectively)? Might be worth mentioning that.
As for your request for ideas for new features ... I think the
documentation within OpenSER admin could do with a bit more content -
I'm quite new to OpenSER and OpenSER Administrator so I'm not entirely
clear what VoIP Accounts, Domains, Groups, Group Membership etc.
specifically refer to (well, I get accounts and domains but it gets a
bit fuzzier after that). Perhaps a little paragraph at the top of each
page with a brief but clear description?
On top of that, I guess I come less from a user-centric world and lean
more towards the administrator side of things so I'm less interested in
letting users login to change their profiles and more interested in
seeing options that will allow easier adminstration - such as a web
interface to configuring parts of the openser.cfg file - being able to
toggle the debug level at will, stop/start/restart OpenSER from the web,
change the port OpenSER listens on, enable/disable modules on startup -
and, generally, anything that can be web-ified from the .cfg file.
Obviously, I'm not talking about a replacement to the .cfg file - but
something that can modify some of the various options on the fly would
be useful ...
Anyway, just thought I'd make some suggestions. I finally got the
logging feature working today (oh, yes, when the log file doesn't exist,
OpenSER doesn't handle the error very gracefully - so perhaps some work
required on the error handling?) so I think I can safely say
everything's working ...
Many thanks,
Peter.
> -----Original Message-----
> From: users-bounces(a)openser.org
> [mailto:users-bounces@openser.org] On Behalf Of Mike Williams
> Sent: 26 August 2006 15:07
> To: users(a)openser.org
> Subject: Re: [Users] openser admin
>
>
> Peter & Sunkara,
>
> Thanks for the good idea, I hadn't even thought of uninstall
> or upgrade
> situations.
>
> The phplib_id problem can be solved by readding that column.
> There is a
> commented-out SQL statement in the SQL script that you can
> use. It is listed
> below as well.
>
> ALTER TABLE subscriber ADD COLUMN phplib_id varchar(32) NOT
> NULL default ''
> FIRST;
>
> I will work on these things today. Also, please let me know
> of any feature
> requests you have, otherwise I will have nothing to work on.
>
> Thanks,
>
> Mike Williams
--
Peter Edwards
This Personal email contains my own opinions, sent In
Confidence and does not represent the views of British
Telecommunications plc.
__________________________________________________________________
British Telecommunications plc
Registered office: 81 Newgate Street London EC1A 7AJ
Registered in England no. 1800000
This electronic message contains information from British
Telecommunications plc which may be privileged and
confidential. The information is intended to be for the use of
the individual(s) or entity named above. If you are not the
intended recipient, be aware that any disclosure, copying,
distribution or use of the contents of this information is
prohibited. If you have received this electronic message in
error, please notify us by telephone or email (to the number
or address above) immediately.
Activity and use of the British Telecommunications plc
email system is monitored to secure its effective operation
and for other lawful business purposes. Communications using
this system will also be monitored and may be recorded to
secure effective operation and for other lawful business purposes.
Hi to all,
My apache errror log just showed me this:
[Tue Aug 29 15:45:57 2006] [error] [client 193.137.239.11] (13)Permission
denied: access to /serweb/ denied
Roberto
>
> On 8/29/06, Karel Kozlik <karel(a)iptel.org> wrote:
> >
> > hi,
> > what your apache error log say?
> > I think there are no read rights for apache on serweb files.
> >
> > Karel
> >
> > Roberto Lopes napsal(a):
> > >
> > > Dear SER Users,
> > >
> > >
> > > I've a problem with Serweb and I hope somebody could help me out
> > > I know this problem was already talked about but i never saw a
> > solution
> > > to it, so I'll post it again hoping somebody will know how to solve
> > this
> > > mistake.
> > > So the problem is that when i try to put serweb working in my firefox
> > > browser the following error is shown:
> > >
> > >
> > > Forbidden
> > >
> > > You don't have permission to access /serweb/index.html on this server.
> > >
> > > Additionally, a 403 Forbidden error was encountered while trying to
> > use
> > > an ErrorDocument to handle the request.
> > >
> > >
> > ------------------------------------------------------------------------
> > > Apache/2.2.0 (Fedora) Server at xxx.xxx.xxx.xxx Port 80
> > >
> > >
> > > I think i installed everything correctly.
> > >
> > > I'll show some of the configurations I've made
> > >
> > > #1 - In "/etc/php.ini" I changed the memory limit from 8 to 12M
> > because
> > > of the Serweb extension classkit.so
> > > …
> > > memory_limit = 12M
> > >
> > > #2 - I used pear to install classkit.so
> > >
> > > pear install <path to classkit-0.4.tgz>
> > >
> > > #3 - In "php.ini"
> > > …
> > > ;;;;;;;;;;;;;;;;;;;;;;
> > > ; Dynamic Extensions ;
> > > ;;;;;;;;;;;;;;;;;;;;;;
> > > …
> > > extension=classkit.so
> > >
> > > #4 - In "/serweb-0.4/config/config_data_layer.php":
> > > …
> > > $config->data_sql->host[$i]['host']="<IP MySQL Server>";
> > > …
> > > $config->data_sql->host[$i][
> > > 'user']="<DB User>";
> > > $config->data_sql->host[$i]['pass']="<User password>";
> > > ..
> > >
> > > #5 - In "/root/instalacao/serweb-0.9.4/config/config_paths.php"
> > >
> > > $config->root_path="/root/instalacao/serweb- 0.9.4/html/";
> > >
> > > #6 - I created a log file
> > > touch /var/log/serweb
> > > chown apache /var/log/serweb
> > >
> > > #7 - I created a folder for SIP domain
> > > mkdir /root/installation/serweb-0.4/html/domains/xxx.xxx.xxx.xxx(IP of
> > SER)
> > >
> > > #8 - I copied the files and folder from the default folder
> > > ("/root/installation/serweb-0.4/html/domains/_default/") to the one i
> > > created.
> > >
> > > #9 - I specified the SIP domain in the file
> > > "/root/installation/serweb-0.4/config/set_domain.php":
> > > …
> > > $config->domain = "xxx.xxx.xxx.xxx(IP of SER)";
> > > …
> > >
> > > #10 - I enabled logging in file
> > > "/root/installation/serweb-0.4/config/config.php":
> > > …
> > > $config->enable_loging = true;
> > > $config->log_file = "/var/log/serweb;
> > >
> > > #11 - In /etc/httpd/conf/httpd.conf I added an alias
> > > …
> > >
> > > <Directory "/var/www/html">
> > > Options Indexes FollowSymLinks
> > > AllowOverride None
> > > Order deny,allow
> > > Allow from all
> > > </Directory>
> > >
> > > <IfModule mod_userdir.c>
> > > UserDir disable root
> > > #UserDir public_html
> > > </IfModule>
> > >
> > > Alias /serweb/ "/root/instalacao/serweb-0.9.4/html"
> > > <Directory "/root/instalacao/serweb-0.9.4/html">
> > > Options Indexes MultiViews
> > > Options +FollowSymlinks
> > > AllowOverride None
> > > Order Deny,Allow
> > > Allow from all
> > > </Directory>
> > > ...
> > >
> > > #12 - I then put some commands for Apache to begin when computer would
> >
> > > start
> > >
> > > chkconfig httpd on
> > > service httpd start
> > >
> > > #13 - I introduced the following URL
> > >
> > > http://<IP of SER>/<alias i wrote in httpd.conf>/
> > > http://xxx.xxx.xxx.xxx/serweb/
> > >
> > >
> > > And then that HTTP 403 error shows up
> > >
> > > I really hope somebody can help me because I'm doing a VoIP project
> > for
> > > my school and I'd really like to have everything done in time.
> > >
> > > Thank you for your attention,
> > > Roberto Lopes
> > >
> > >
> > >
> > ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > Serusers mailing list
> > > Serusers(a)lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> >
>
>
>From: "Luis Silva" <lfs12(a)hotmail.com>
>To: serdev(a)iptel.org
>Subject: [Serdev] variable header field value comparation
>Date: Fri, 25 Aug 2006 13:44:53 +0000
>
>Hi all!!
>
>I need to compare an header field value with an avp. I tried to use the
>hf_value_exists("header_name","$value") but the header that I need to
>compare isn't static. I replaced the header_name with an avp but it didn't
>work. then I tried to use avp_check("$value", "eq/$hdr($header_name)"))
>but again, it didn't work. am I doing something wrong? is there another
>solution?
>
>regards,
>Luís Silva
>
>
>_______________________________________________
>Serdev mailing list
>Serdev(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serdev