When I record voice and save wav file, it will send mail to my user.
But I don't want to do that.I want it save in my server and when user
register
my server,my server will send message to tell him.He have a miss call.How to
do it?
Could anybody help me? Thanks.
--
National Central Univ., Computer Center (http://www.cc.ncu.edu.tw/index.php)
Dear all,
I want to know that How can I set the timers in ser.cfg for different call signalling..I mean to say that suppose a Sip client A is making a call to Sip client B, and if SIP client B is not sending the 180 response then this call should get fail in 15 second and I can route the message to SEMS...
As of my best knowledge there is fr_timer [ex.- modparam("tm", "fr_timer", 30 )]. but it works for final response ACK..I mean to say in this case if the caller A will not recieve the final ACK from B within 30 seconds then call get failed and I can route the call to SEMS.
But I need to implemet two case
1) When the caller is not getting the 180 Respone from Calle (may be calle was registered a moment before and due to network failure is not able to send 180 respone) then call should get fail within 15 second. and be able route to SEMS.
2) When the caller is not getting the final ACK from calle then then call should get fail within 30 second. and be able route to SEMS. (This case I am able to handle using fr_timer, But I could handle 1 case, please help me ....
thanks
koyama
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
Dear All,
I need RADIUS authentication and accounting in SER, but I don't know how
to write SER's config file, ser.cfg. Who can tell me how to do it and give
me an example?
Michael Zhang
Hi there.
I'm having a few issues with media proxy.
when i load ser it works fine, and users can register but as soon as then
make a call it kills ser.
error log below
2(6938) DEBUG: t_reply: finished
22(6938) DEBUG: mk_proxy: doing DNS lookup...
22(6938) parse_headers: flags=2048
22(6938) parse_headers: flags=-1
22(6938) clen_builder: content-length: 272 (272)
22(6938) check_via_address(212.9.98.1, 192.168.1.68, 0)
35(7006) DBG: tcp_main_loop: dead child 22 (shutting down?)
0(6889) child process 6938 exited by a signal 11
0(6889) core was not generated
0(6889) INFO: terminating due to SIGCHLD
1(6891) INFO: signal 15 received
1(6891) Memory status (pkg):
1(6891) fm_status (0x80d9820):
1(6891) heap size= 1047440
1(6891) dumping free list:
1(6891) hash = 1 fragments no.: 8,
bucket size: 8 - 8 (first 8)
1(6891) 7(6905) INFO: signal 15 received
7(6905) Memory status (pkg):
3(6893) INFO: signal 15 received
3(6893) 9(6910) INFO: signal 15 received
9(6910) Memory status (pkg):
9(6910) fm_status (0x80d9820):
9(6910) heap size= 1047440
9(6910) dumping free list:
11(6914) INFO: signal 15 received
11(6914) Memory status (pkg):
14(6921) INFO: signal 15 received
13(6917) INFO: signal 15 received
16(6925) INFO: signal 15 received
15(6922) INFO: signal 15 received
15(6922) Memory status (pkg):
15(6922) 27(6989) INFO: signal 15 received
17(6928) INFO: signal 15 received
17(6928) 33(7002) Memory status (pkg):
17(6928) fm_status (0x80d9820):
34(7005) 17(6928) INFO: signal 15 received
34(7005) Memory status (pkg):
34(7005) fm_status (0x80d9820):
34(7005) 20(6933) INFO: signal 15 received
20(6933) Memory status (pkg):
does anyone have any idea's
Sean
Dear all,
When i was reading about tm module ( http://www.iptel.org/ser/doc/modules/txt/tm.txt )
I found this section ...
******************************************************************************************************
1.3.2. fr_inv_timer (integer)
Timer which hits if no final reply for an INVITE arrives after
a provisional message was received (in seconds).
Default value is 120 seconds.
Example 1-2. Set fr_inv_timer parameter
...
modparam("tm", "fr_inv_timer", 200)
*****************************************************************************************************
But I could not understand here what is the meaning of "provisional message" and how fr_inv_timer behave..
Please some one teach me about this with some example...
thanks in advance..
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
Dear all,
I want to know that How can I set the timers in ser.cfg for different call signalling..I mean to say that suppose a Sip client A is making a call to Sip client B, and if SIP client B is not sending the 180 response then this call should get fail in 15 second and I can route the message to SEMS...
As of my best knowledge there is fr_timer [ex.- modparam("tm", "fr_timer", 30 )]. but it works for final response ACK..I mean to say in this case if the caller A will not recieve the final ACK from B within 30 seconds then call get failed and I can route the call to SEMS.
But I need to implemet two case
1) When the caller is not getting the 180 Respone from Calle (may be calle was registered a moment before and due to network failure is not able to send 180 respone) then call should get fail within 15 second. and be able route to SEMS.
2) When the caller is not getting the final ACK from calle then then call should get fail within 30 second. and be able route to SEMS. (This case I am able to handle using fr_timer, But I am not able to handle case no 1, please help me ....
thanks
koyama
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
FYI:
Aug 5 21:37:19 msa /kernel: pid 2877 (ser), uid 0: exited on signal 11 (core dumped
I found the error above on my /var/log/messages....Im not sure why this is happening, BTW has anyone run ser on mysql version5. which is what Im running, other than that everything else has been dont to specification.
is libmysqlclient.so.10 needed or can I just link libmysqlclient.so.14 to it?
John Gitau.
> Try to use alias="msa.banfoo.com" (in global configuration parameters
> section) and "if(uri==myself)" instead of "if (uri==msa.banfoo.com)". If
> doesn't help, we need to know the final response you get from SER, is it
> Time out?
Thanks, The alias didnt fix my problem.
Im not sure but it seems with the config I had sent earlier, ser is not
running, when I start it and do a "msa# ps ax | grep ser " I don't get any instances of
SER running, which is always the case when Im running on the default configuration. The only
changes I make are enabling the mysql module and the parameters that go with it. when I run it
on debug I can't see anything that would probably cause a problem. the database opens
successfully all the modules load. My config looks like the following, oh Im running this
on freebsd 4.10 stable, and mysql V.5
let me know if you see anythingi should have a look at.
##############################################
current ser.cfg after adding alias
##############################################
#
# $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
#debug=3 # debug level (cmd line: -dddddddddd)
#fork=yes
#log_stderror=no # (cmd line: -E)
/* Uncomment these lines to enter debugging mode
debug=7
fork=no
log_stderror=yes
*/
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"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
#modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
modparam("usrloc", "db_mode", 2)
modparam("usrloc", "db_url","sql://ser:heslo@localhost/ser")
# -- auth params --
# Uncomment if you are using auth module
#
modparam("auth_db", "calculate_ha1", yes)
#
# If you set "calculate_ha1" parameter to yes (which true in this config),
# uncomment also the following parameter)
#
modparam("auth_db", "password_column", "password")
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
# ------------------------- request routing logic -------------------
# main routing logic
alias="banfoo.com"
alias="msa.banfoo.com"
route{
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if ( msg:len > max_len ) {
sl_send_reply("513", "Message too big");
break;
};
# 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
record_route();
# loose-route processing
if (loose_route()) {
t_relay();
break;
};
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri==myself) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
# if (!www_authorize("msa.banfoo.com", "subscriber")) {
# www_challenge("msa.banfoo.com", "0");
# break;
# };
save("location");
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
# forward to current uri now; use stateful forwarding; that
# works reliably even if we forward from TCP to UDP
if (!t_relay()) {
sl_reply_error();
};
}
I am looking at using ser along with jabber for some presence related stuff.
What cool things can I do with this? What is currently being? I am just
looking for ideas right now on features that are possible. Also, will ser
work with jabber 2 or only with jabber 1.4? Thanks for your time.
AJ Grinnell
Network Operations Technician
CRT/ Arialink Broadband
1223 Turner Street, Suite A
Lansing, MI 48906
517.346.5041
517.492.1321 direct
Ok, maybe I've been misunderstanding things a little... with the
mediaproxy module do you need to specify an outbound proxy? I was under
the impression that if you were registered against SER, and ser has
provision for detecting NAT'd clients and forwarding them off to
mediaproxy... is this correct? Or is it necessary to specify the ser IP
again as an outbound proxy?
Many thanks,
Dave
________________________________
From: Dave Bath
Sent: 05 August 2004 15:39
To: serusers(a)lists.iptel.org
Subject: mediaproxy + ser0.8.14 problem
Hi all,
Have been trying to get media proxy to work with 0.8.14 and am not
having a huge amount of joy. Basically the route processing seems to be
fine, but as soon as ser attempts to actually pass traffic through media
proxy it crashes out!
Aug 5 15:30:13 sip /sbin/ser[3066]: NAT: Request from RFC Private IP
Detected --> mediaproxy flagged
Aug 5 15:30:13 sip /sbin/ser[3066]: VOICEMAIL: VM user detected -->
activating VM Flag
Aug 5 15:30:13 sip /sbin/ser[3066]: NAT: Caller is NAT'd (destination
offline) --> enable reply processing
Aug 5 15:30:13 sip /sbin/ser[3066]: NAT: Invite received --> enabling
media proxy
Aug 5 15:30:13 sip /sbin/ser[3052]: child process 3066 exited by a
signal 11
Aug 5 15:30:13 sip /sbin/ser[3052]: core was not generated
Aug 5 15:30:13 sip /sbin/ser[3052]: INFO: terminating due to SIGCHLD
Aug 5 15:30:13 sip /sbin/ser[3186]: INFO: signal 15 received
Aug 5 15:30:13 sip /sbin/ser[3193]: INFO: signal 15 received
(the same is true if the destination is online as well).
I may have a problem with symmetric/asymmetric clients, but I don't
think ser should actually crash like that... does anyone have any ideas?
Dave