Hi User,
I just to say Hello ! to all....
I using openser ....When I making the call from one A place to other B
place..
THe place B having the openser server
When making the calls from A to B calls are invited but,,,Not hearing the
voices.
But Local network its working..
I'm used the Nathelper mdules and installed the rtpproxy.
And below my openser file.. plz check it.. solve the issues.
modparam("acc","log_level",1)
modparam("acc","log_flag",1)
modparam("acc","log_missed_flag",2)
modparam("acc", "log_fmt", "cdfimorstup")
#modparam("acc", "failed_transaction_flag",3)
modparam("acc", "report_cancels", 1)
modparam("acc","report_ack",0)
modparam("acc", "db_flag", 1)
modparam("acc", "db_missed_flag", 2)
modparam("acc","radius_flag",1)
#modparam("acc","radius_level",1)
#modparam("acc","radius_missed_flag",2)
modparam("acc","service_type",15)
#modparam("acc", "detect_direction", 1)
modparam("acc","radius_config","/usr/local/etc/radiusclient-ng/radiusclient.conf")
modparam("auth_radius","radius_config","/usr/local/etc/radiusclient-ng/radiusclient.conf")
##########33
modparam("nathelper","natping_interval",30)
modparam("nathelper","ping_nated_only",1)
modparam("nathelper", "rtpproxy_sock", "unix:/var/run/rtpproxy.sock")
#################33
modparam("rr", "enable_full_lr", 1)
###############################################
route {
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
if (!mf_process_maxfwd_header("13")) {
sl_send_reply("483","Too Many Hops........................!");
exit;
};
if ( msg:len > max_len ) {
sl_send_reply("513", "Message too big");
exit;
};
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
if(!method== "REGISTER")
{
record_route();
};
# loose-route processing
if (loose_route()) {
# add now 0n 9 setflag(1);
acc_rad_request("200 ok ");
t_relay();
exit;
};
# account completed transactions via syslog
#setflag(1);
# setflag(2);
if(uri==myself)
{
if(method=="REGISTER")
{
if(!radius_www_authorize("192.168.2.55"))
{
www_challenge("192.168.2.55","0");
exit;
};
#consume_credentials();
save("location");
if (m_dump())
{
log("MSILO: offline messages dumped - if they
were\n");
}else{
log("MSILO: no offline messages dumped\n");
};
exit;
};
if(method=="INVITE" && method=="ACK")
{ record_route();
acc_rad_request("200");
force_rtp_proxy();
#setflag(1);
t_on_reply("1");
};
/* if (method=="BYE") {
record_route();
};
*/
if (method=="MESSAGE") {
log(1, "MESSAGE\n");
setflag(1); /* set for accounting (the same value as in
log_flag!) */
};
if (method=="BYE" || method=="CANCEL") {
#log (1, "BYE or CANCEL\n");
#setflag(1);
acc_rad_request("200 ");
#acc_rad_request("Stop");
#unforce_rtp_proxy();
#setflag(1);
};
if(!lookup("location"))
{
sl_send_reply("404","Woo......... NOt found");
};
};
if(!t_relay())
{
sl_reply_error();
};
lookup("aliases");
#setflag(2);
exit;
}
onreply_route[1]
{
if(status=~"[0-9][0-9][0-9]")
{
force_rtp_proxy();
};
}
--
Thanks and Regards with cheers
Sunkara Ravi Prakash (Voip Developer)
Hyperion Technology
www.hyperion-tech.com
<b>
sir,
I am using XLite softphone and also make necessary changes in its settings
but its not working.
Is it sufficient to change port number only in global parameters section of ser.cfg?
plz help once again.
regards.
---------------------------------
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
sir
I have changed default port 5060 to 5065 in ser.cfg in Global configuration parameters section. Server started beautifully.
But I am not able to connect soft phones to the server.
Softphone showed 'Login Failed'
So PLZ tell me if I have to make any other changes in configuration file or any other file.
regards
---------------------------------
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 I've a question;
I've added some SIP softphones in openser and they're ok in the
database;(I've seen that they're registered)
I've this softphone(x-lite and phoner) in a Xp pc with IP 192.16.25.10, so
I've registered in my openser on an asterisk at home box in the following
way;
openserctl add 650 1234 650(a)192.16.25.10
openserctl add 651 1234 651(a)192.16.25.10
My openser in on an asterisk at home with 192.16.25.12 like IP;
If I run the openser command, I've this;
Listening on
udp: 127.0.0.1 [127.0.0.1]:5060
udp: 192.16.25.12 [192.16.25.12]:5060
tcp: 127.0.0.1 [127.0.0.1]:5060
tcp: 192.16.25.12 [192.168.251.12]:5060
Aliases:
tcp: localhost:5060
udp: localhost:5060
Is it right or I've to put in openser.cfg the following lines?
listen=192.16.25.12
listen=192.16.25.10
but If I put this 2 lines, I've the following when I run openser;
Listening on
udp: 192.168.251.200 [192.168.251.200]:5060
udp: 192.168.251.12 [192.168.251.12]:5060
udp: 192.168.251.11 [192.168.251.11]:5060
tcp: 192.168.251.200 [192.168.251.200]:5060
tcp: 192.168.251.12 [192.168.251.12]:5060
tcp: 192.168.251.11 [192.168.251.11]:5060
Aliases:
I think isn't right......
My question is:
In the first case,without editing the openser.cfg, openser listen also on
the Xp pc?Or only on 192.16.25.12 and 127.0.0.1?
How can I make that openser can listen on all the IP?(I want that it listens
on my Xp and then on others...)
Hi,
Anyone who has information about this ?
thanks
ilker
________________________________
From: serusers-bounces(a)lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of İlker Aktuna (Koç.net)
Sent: Thursday, June 15, 2006 9:33 AM
To: serusers(a)lists.iptel.org
Subject: [Serusers] Presentity & Rls databases
Hi,
In my Ser installation with mysql db, I see some tables for presentity and RLS such as;
| presentity |
| presentity_contact |
| presentity_notes |
| presentity_persons |
| rls_subscription |
| rls_vs |
| rls_vs_names |
But they are empty tables and seems that they are not used anyhow.
How can I make use of these tables ?
I wonder how to save presence info on db.
Thanks for any information.
Regards,
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.
_____________________________________________________________________________________________________________________________________________
<http://387555.sigclick.mailinfo.com/sigclick/01090500/0C044F07/02040749/0B6…>
_____________________________________________________________________________________________________________________________________________
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 am trying to mail shashwat user for any message that passes through my
ser and destined for shashwat. I found that it could be done through
existing exec module... so I added following lines to ser.cfg
loadmodule "/usr/local/lib/ser/modules/exec.so" along with other module of
ser.cfg
in route {} I added following lines
if (uri=~"^sip:shashwat@") {
exec_msg("echo 'body: call arrived'|mail -s 'call for you' shashwat");
}
but when I restart server I found that even then shashwat is not
getting any mail from ser server....
I am not able to find out the possible reason ..any idea how can make
I makei it work.. It will be great help for me
thanks in advance
--
regards
shashwat gupta
I am wondering which version of eyebeam client works with the new presence server (ie, resource list support + xcap ). The one I have (v1.1.3014w) doesn't use the correct
Accpet header for SUBSCRIBE to a resource list and hence is rejected by SER.
thanks,
- ming
hi list!
we tried to log accounting of ser on postgres, but it seems that logging was
not successful. here are the simulations we did :
- we convert all the schema of mysql to postgresql databse (ser schema),
just minor revision on datatypes since we don't find any posgresql.sql for
ser on the net
- followed this steps http://www.voip-info.org/wiki/view/SER+module+postgres
- recompiled ser to support postgresql database
- tried to configure/run ser.cfg to log accounting but no luck
- we did some search and tried it first on mysql database
- edit the src of acc module and edit the Makefile to support SQL
logging, recompile the acc.so
- copy the new acc.so to /path/of/ser/modules/
- add db_flag on ser.cfg
- now acc mysql was logging
- tried to replace the connector from mysql to postgresql on ser.cfg with
the same config
- ngrep port 5432 on localhost but it seems no request came from ser
- ser was running ok and we see logs on /var/log/messages that acc was
working
* do we missed something? or probably tweak some configuration?
* below are snippet of my ser.cfg
thanks and regards
emer
------------------------------------------------------------
fifo="/tmp/ser_fifo"
fifo_db_url="postgres://ser:heslo-757@localhost:5432/ser"
# ------------------ module loading ----------------------------------
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/acc.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/postgres.so"
# ----------------- setting module-specific parameters ---------------
modparam("usrloc", "db_mode", 0)
modparam("auth_db", "calculate_ha1", 1)
modparam("auth_db", "password_column", "password")
modparam("auth_db","db_url", "postgres://ser:heslo-757@localhost:5432/ser")
# -- acc params --
modparam("acc", "log_level", 1)
# that is the flag for which we will account -- don't forget to
# set the same one :-)
modparam("acc", "log_flag", 1 )
modparam("acc", "db_flag", 1)
/* ********* RR ********************************** */
/* grant Route routing if route headers present */
if (loose_route())
{
# mark the BYEs -- they are requests within a dialog
if(method=="BYE")
setflag(1);
t_relay();
break;
};
/* record-route INVITEs -- all subsequent requests must visit us */
if (method=="INVITE") {
setflag(1);
record_route();
};
----------------------------------------------------------------------------------------------------
# postges/ser process
10199 ? S 0:00 ser -f pstn.ser02
10201 ? S 0:00 ser -f pstn.ser02
10205 ? S 0:00 postgres: ser ser 127.0.0.1(56629) idle
10203 ? S 0:00 ser -f pstn.ser02
10209 ? S 0:00 postgres: ser ser 127.0.0.1(56630) idle
10211 ? S 0:00 postgres: ser ser 127.0.0.1(56631) idle
10206 ? S 0:00 ser -f pstn.ser02
sir
>I have put ser-0.9.6_src.tar.gz in /usr/local
and compiled it from here.
>Now there are two ser.cfg files created.
Are two configuration files created for ser?
>One in /usr/local/etc/ser and another one in
/usr/local/ser-0.9.6/etc
>The problem is when I make changes in
/usr/local/etc/ser/ser.cfg according to the docs it
shows an error in loading mysql.so module.
>And similar changes made in
/usr/local/ser-0.9.6/ser.cfg showed no error and
server is running very well.
>Could anyone tell me the reasons behind this.
thanks.
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
Hi,
I'm compiling LCR module from CVS head with ser-0.9.4 and I got these errors:
In file included from fifo.c:34:
lcr_mod.h:50: parse error before "uri_type"
lcr_mod.h:50: warning: no semicolon at end of struct or union
lcr_mod.h:54: parse error before '}' token
make[1]: *** [fifo.o] Error 1
make[1]: Leaving directory `/usr/local/src/ser-0.9.4/modules/lcr'
Please help.
Thanks,
Ryan