Hi,
I have some experience with Asterisk PBX and I read ser is more powerful. I
have Polycom IP 600 phones and I will like to know if someone try to use the
"sharing" line signaling with ser.
I install ser and I register my phone. Can someone help me please to forward
the calls thru my * PBX?
Any suggestion is more than welcome.
Best regards,
Chris HARIGA
thank you girish and mirian for your replies. indeed i now have ser
running in the foreground. i am however having difficulties with
authentication and registration. i am able to register via sipsak
on the same machine running ser. i am also able to register
using sipsak from my another (home) network (which is behind
a nat'd firewall) if i use the -H option and explicitly set the hostname.
however i am unable to register using iether kphone or sjphone.
my ser.conf looks like this:
loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.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"
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
modparam("usrloc", "db_mode", 2)
modparam("auth_db", "calculate_ha1", yes)
modparam("auth_db", "password_column", "password")
modparam("auth_db", "password_column_2", "ha1b")
modparam("rr", "enable_full_lr", 1)
any help, hints or rtfm's would be appreciated...
thanks,
daryl
Girish wrote:
> Hello,
>
> --- Marian Dumitru <marian.dumitru(a)voice-sistem.ro> wrote:
>
>
>
>> Note that the configuration values from SER config file have priority
>> over the command line parameters. Most probably you have set
>> "fork=yes" in your SER config file. Please change that value.
>>
>
>
> In Daryl's original post, he says that he needs to do some
> troubleshooting. May be he wants to
> print the debug information on the console? Along with the 'fork=',
> also set 'log_stderror=' and
> start ser with -E option.
>
> Regards,
>
>
>
>> daryl wrote:
>>
>>
>>> folks, i am running ser version: ser 0.8.12 (i386/freebsd) and am
>>> trying to do some trouble shooting. thought i wuld try running
>>> the process in the foreground. according to the man page this is
>>> done w/the -D command flag. however when i try this ser still
>>> detaches and becomes a daemon... am i missing something?
>>>
>>> tia,
>>>
>>> daryl
>>>
>>
>
> =====
> Girish Gopinath <gr_sh2003(a)yahoo.com>
Hi again,
I see that the registrar part of SER is using SL module.
I am trying to build my own authentication - simply use the PRE_SCRIPT_CB
callback (without using the configuration file) to send some of the data in
SIP requests to my own server without reparsing the message.
The problem occures when the user is not authorized - when the callback
return value is 0 no answer is sent back to the client, and I would like to
send him the not authorized reply.
How can it be done if the only way to hook request answers is using TM?
Another problem - I really didn't understand from the documentation if the
authentication module is able to do what I described above (my server might
be in another computer and has to be able to handle more than one SER - It
might even exchange data with the SIP clients)
Can someone give me an idea of how to implement the SER side module for such
a server?
Thanks in advance,
Micky
>From: Andrei Pelinescu-Onciul <pelinescu-onciul(a)fokus.fraunhofer.de>
>To: Michael Kaufmann <mkaufmannn(a)hotmail.com>
>CC: serusers(a)lists.iptel.org
>Subject: Re: [Serusers] stateless/statefull processing and INVITE method
>retransmissions
>Date: Fri, 12 Nov 2004 10:17:06 +0100
>
>On Nov 11, 2004 at 16:59, Michael Kaufmann <mkaufmannn(a)hotmail.com> wrote:
> > Hi,
> >
> > Ser is pretty new to me (about 3 weeks of reading about it and working
>with
> > it), so naturally I have some questions: (attached - the configuration
> > file I use)
> >
> > I saw many examples of configuration files were both SL and TM modules
>are
> > loaded.
> > In such cases is SL loaded only for REGISTER requests?
>
>sl is loaded for stateless replies. If you want to send only an error
>reply and you haven't called any tm functions (t_newtran, t_rely) and
>you are not in a failure route, it's faster to use sl_send_reply (it
>doesn't make sense to keep state in this case).
>
> > How can I control which of SER actions are handled with TM and which are
> > handled with SL?
>
>sl handles only stateless replies. If you want to send a request
>statelessly use forward(uri:host, uri:port).
>If you use t_relay instead of forward than you use tm.
>
> > Is there a way of hooking SER answers to requests without TM?
>No.
>
> >
> > As I understand from this mail archive - INVITE is a special case in SER
> > and even though the client doesn't retramit such requests, SER does. Is
> > there a way to avoid this retransmission? Is there a way to control the
> > interval time between one retransmission to another?
>
>In statefull mode (TM), ser retransmits the request on behalf of the
>client. THe retransmission stops when a reply is received or after some
>timeout. The time between retransmissions is not constant, it increases.
>See the sip rfc for more details (rfc3261).
> >
> > It seems that sometimes these retransmissions occure even after the ACK
>is
> > returned...
>
>The INVITE retransmissions stops when a reply to it comes.
>ACKs "control" the replies retransmissions. ACKs to INVITE positive
>replies are handled a little differently than ACKs to negative replies.
>You might have a non-matching ACK, or the ACK might not reach the
>desired target.
>
> > Another starnge this is that my clients are on the same domain as the
>one
> > SER is on and still record_route() seems to add many non usefull header
> > lines for such INVITE messages.
>
>If you don't need record routing then don't use it.
>
> >
> > Is it a problem with my configuration file?
> >
>
>
>Andrei
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.com/
Dear Ser Users
I 've been asking me , how many childrens can i configure to manage around
30 clients ??
If one call is made, one children serv it, and is the same children waiting
to this call make a BYE ?? to free these thread ?
how much memory consume each children ?? in an fork mode ??
Best Regards
Gustavo Villegas
folks, this is a probably another stupid newbiew quiestion, but i've tried
to do my homework and i'm still stumped. here's what going on: i have
a ser server running using mysql. there are three subscribers defined
in the mysql ser database. this all seems to work ok. i can even login
via serweb and see the users i expect.
the problem is i am unable to register as any of these users. i have tried
using various clients and finally tried sipsak, which looks like a great
tool.
the output form sipsak follows. if anyone can help me i sure would
appreciate
it. i'm feeling a little dense right about now...
thanks, and best regards,
daryl
# sipsak -v -U -s sip:daryl@weblane.com -a ********
request:
REGISTER sip:weblane.com SIP/2.0
Authorization: Digest username="daryl", uri="sip:weblane.com",
algorithm=MD5, realm="weblane.com",
nonce="419542a694e0dacb8f99c7e1c654662a1ec8f8ec",
response="4cee204983fb5adddfe490d9f9b1ee9d"
Via: SIP/2.0/UDP sierraos.com:2307;rport
From: sip:daryl@weblane.com;tag=4dc3d2b
To: sip:daryl@weblane.com
Call-ID: 81542443(a)sierraos.com
CSeq: 2 REGISTER
Contact: sip:daryl@sierraos.com:2307
Expires: 15
Content-Length: 0
Max-Forwards: 70
User-Agent: sipsak 0.8.9
response:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP sierraos.com:2307;rport=2308;received=204.202.9.61
From: sip:daryl@weblane.com;tag=4dc3d2b
To: sip:daryl@weblane.com;tag=d6e48e48144fe598099a7e117da14791.7811
Call-ID: 81542443(a)sierraos.com
CSeq: 2 REGISTER
WWW-Authenticate: Digest realm="weblane.com",
nonce="419542a694e0dacb8f99c7e1c654662a1ec8f8ec"
Server: Sip EXpress router (0.8.12 (i386/freebsd))
Content-Length: 0
Warning: 392 204.202.9.61:5060 "Noisy feedback tells: pid=93538
req_src_ip=204.202.9.61 req_src_port=2308 in_uri=sip:weblane.comout_uri=sip:weblane.com via_cnt==1"
error: authorization failed
request already contains (Proxy-) Authorization, but received
40[1|7], see above
Can somebody forward me the 'dictionary.ser' file as I am trying to get Radius working with the SER. I cannot currently do the CVS to download the file.
Thanks,
Prasad.
---------------------------------
Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com
I have a redhat linux server and I installed SER version 0.8.14. I'm unable
to find the mysql script file to download for this version. For SER version
0.8.12 the file ser-mysql-0.8.12-0.i386.rpm is available. I tried running
that package after I installed 0.8.14, but got a message saying that the
version of SER was not compatible. How can I configure mysql for SER version
0.8.14?
Thanks.
Sher
Hi all,
I have a very urgent question and I would know if anyone is dealing with
CAC on SER....exist any methods/function in statefull proxy mode to count
simultaneous calls coming from the same calling party number (from HF),
feeded from one IP PBX (like Asterisk) with just one single digest account
and one permitted uri, and in case setting two call thresholds (one for
the
allowed simoltaneous calls and one for the allowed call per second)? If
yes, is it possible blacklisting/barring this user (in a cached table with
function like file permission.deny) for some time/forever if the call counters
exceed limit settled by above threshold?
10nx,
Verbal