Hi List,
in the SER radius howto, section 3.3,
(http://iptel.org/ser/ser_radius.html) one can find a hint that radius
authentification can provide a verified phone number for a specific user.
Could this also be done with mysql, and if so how can it be achieved?
Thanks,
Martin
hello,
wrote some small path, which adds authorization with source ip.
to patch:
cd ./ser-0.8.14
patch -p1 < ser-0.8.14_ip_auth.patch
add additional string column to subscribers: acc_ip
ex. usage:
www_authorize_ip("your_realm", "subscriber", "0.0.0.0") )
where "0.0.0.0" means that source ip will be taken from from msg
structure. If you specify IP instead of "0.0.0.0" then it will be checked
instead of one taken from msg structure. It would be equivelent to write
src_ip != "source_ip_to_check" && !www_authorize("your_realm",
"subscriber")
and
!www_authorize_ip("213.226.186.195", "subscriber", "source_ip_to_check")
Antanas
Hello everybody:
I have installed ser-0.8.10-2.i386.rpm favourably.When I tried to install ser-mysql-0.8.10-2.i386.rpm error came out:
error:failed dependencies:
libmysqlclient.so.10 is needed by ser-mysql-0.8.10-2
but libmysqlclient.so.10 already in the system.I can't handle that.Please,give me some help.Thanks!
Here is the information of the OS and the release number of packages:
OS: Linux7.2 Kernel 2.4.7-10 on an i686
mysql:mysql-max-3.23.56
ser: ser-0.8.10-2.i386
package containing mysql support: ser-mysql-0.8.10-2.i386
Crystal
wsc-crystal(a)163.com
2004-08-08
-------------------------------------------------------------------------------------
15寸液晶双子星,震天雷II--D451¥2466/D353¥2399 http://design.163.com/aocmonitor/index.html
Hi All,
How do people deal with calls between virtual domains on the same ser
server from phones that can only easily dial numeric numbers and not
proper SIP uris?
Example,
two users,
2000(a)sipdomain1.com
calls
2000(a)sipdomain2.com ?
They are different users, as the domain distinguishes them, but for a
hard phone (like a analog phone connected to a ata, or a grandstream
phone) the user can only really _easily_ dial a simple number?
I'm sure this subject has been broached, it leads to the bigger question
of the usefulness of sip uris in context of traditional telephones? I
can think of effective ways around it by using prefixes and such, but I
want to hear about other peoples hopefully more elegant approach :)
Thanks,
-Jev
UAC -> SER -> ProxyWithTimer -> UAS
Both UAC and UAS do not support session timers, or session refresh requests.
However, ProxyWithTimer is losing call state after 30 minutes.
The only thing I can control is SER. The piece I read
"draft-ietf-sip-session-timer-13.html" suggests that it should only be
implemented at UAC or UAS. So am I restricted to using SER as B2BUA,
or would it be theoretically possible to implement this in stateful
proxy mode, without the UAC's cooperation? (The CSeq will be out of
sync, which gets kludgey)
Jamie Yukes
How do you enable RTP proxy? I get the following error;
ERROR:send_rtpp_command;can't connect to RTP Proxy.
WARNING:rtpp_test:can't get version of the rtp proxy
WARNING: rtpp_test support for rtp proxy has been disabled temporarily.
How can one make SER do a simple hunt group than can be configured
dynamically through MySQL instead of through ser.conf?
For example I want to make endpoint A and B be part of a hunt group, each
has one line on it:
1 Call from PSTN goes to SER.
2 SER looks up the number and finds a match in the userlocdb which it then
forwards the SIP message to.
3 The endpoint A with 1 line gets the message and gets the call.
4 Another call from the PSTN to the same phone number goes to SER.
5 SER looks up the number and finds a match in the userlocdb which it then
forwards the SIP message to.
6 Endpoint A returned busy/congested or something along those lines.
7 SER looks up some sort of routing table to decide what endpoint to try
next, it finds endpoint B.
8 SER forwards the message to endpoint B which completes.
For those of those out there who understand Asterisk all I want is the
equivalent of:
exten => 1234567890,1,Dial(SIP/EndPointA)
exten => 1234567890,2,Dial(SIP/EndPointB)
----------------------------------------
Michael Shuler, C.E.O.
BitWise Systems, Inc.
682 High Point Lane
East Peoria, IL 61611
Office: (217) 585-0357
Cell: (309) 657-6365
Fax: (309) 213-3500
E-Mail: mike(a)bwsys.net
Customer Service: (877) 976-0711
Jev,
You can use the pdt module to effectively define an area code for each SIP domain. pdt module will look for prefix no + code + termination no and then automatically append a domain stored in the database to the remaining number.
e.g. 5111012345(a)mydomain.com <mailto:5111012345@mydomain.com> = 12345(a)otherdomain.com
and 5222012345(a)mydomain.com = 12345(a)anotherdomain.com
It does make the numbers a lot longer.. but if you want to be able to easily call other domains, i think it's a good way. The other alternative is to define particular prefixes, such as *15xxxxx(a)mydomain.com = xxxxx(a)otherdomain.com but i think this is a lot less elegant and requires hardcoding in the ser.cfg.
Hope this helps,
Dave
________________________________
From: serusers-bounces(a)lists.iptel.org on behalf of Jev
Sent: Fri 06/08/2004 18:35
To: serusers(a)lists.iptel.org
Subject: [Serusers] interdomain calls from numeric only UACs.
Hi All,
How do people deal with calls between virtual domains on the same ser
server from phones that can only easily dial numeric numbers and not
proper SIP uris?
Example,
two users,
2000(a)sipdomain1.com
calls
2000(a)sipdomain2.com ?
They are different users, as the domain distinguishes them, but for a
hard phone (like a analog phone connected to a ata, or a grandstream
phone) the user can only really _easily_ dial a simple number?
I'm sure this subject has been broached, it leads to the bigger question
of the usefulness of sip uris in context of traditional telephones? I
can think of effective ways around it by using prefixes and such, but I
want to hear about other peoples hopefully more elegant approach :)
Thanks,
-Jev
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
The cpl-c module in 0.8.14 does not build. Are there any patches
available to fix the build issue?
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -malign-double -falign-loops -mcpu=athlon
-DNAME='"cpl-c.so"' -DVERSION='"0.8.14"' -DARCH='"i386"' -DOS='"linux"'
-DCOMPILER='"gcc 3.2"' -D__CPU_i386 -D__OS_linux
-DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -D
DNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2
-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
-DHAVE_MSGHDR_MSG_CONTROL -I/usr/include/libxml2 -c cpl_run.c -o
cpl_run.o
In file included from cpl_run.c:981:
cpl_proxy.h: In function `failed_reply':
cpl_proxy.h:167: structure has no member named `t_get_fake_req'
In file included from cpl_run.c:981:
cpl_proxy.h: In function `run_proxy':
cpl_proxy.h:486: structure has no member named `register_req_cb'
cpl_proxy.h:492: structure has no member named `register_req_cb'
make: *** [cpl_run.o] Error 1
Regards,
Chris
Hello,
We are having the following problem with serctl:
We have an application, which adds / replace the
aliases in the ser database, for this we are using
two commands:
'serctl alias rm ....'; 'serctl alias add ....'
Usually it works fine, but from time to time alias
doesn't appear in the database...
My suspicion is that there is a race condition with
the
way serctl implements it with fifo etc.
Have anyone seen this problem?
Any ideas on how to solve it?
Thanks in advance,
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com