I am in the process of evaluating SER to replace my company's current SIP
Proxy/GateKeeper. I've been racking my brain with the routing piece in the
ser.cfg file along with a friend.
Here are my variables:
Router IP: 10.10.1.5
SER Sun Box IP: 10.10.0.55
Sipura IAD: 10.10.1.134
Sipura Box user ID is: 8646783188
Testing with G711alaw and G711ulaw but would like to move to g729a/b.
Cisco Dialpeer is:
dial-peer voice 1005 voip
huntstop
destination-pattern 3188
progress_ind progress enable 8
translate-outgoing called 1
session protocol sipv2
session target ipv4:10.10.0.55
codec g711alaw
The translation-outgoing called 1 simply adds the 864678.
No Authentication currently needed in testing phase.
No DNS currently in use.
Cisco 3640 Router connected to phone company with DID based T1 and the PBX
is connected to the router.
We currently have about 100+ DID's from our Bell company - because the T1 to
bell is a DID line, we only get four digits on an inbound call.
Essentially the router does nothing more than forward all calls to the PBX
via a dial-peer - but strips off the specific phone numbers we want to
forward to SIP based devices and pipes them out VoIP.
In this whole process, the router adds the prefix 864678 to the dialed
numbers so when the router sends the call to SER, it's 864678xxxx.
Once SER gets that call (i.e. 8646783188(a)10.10.1.5) it should forward it to
the Sipura Box.
I'd post what I've got, but I'm not sure it'd even classify as a
configuration. :)
I am a newbie - so everyone is forewarned.
Thanks a ton in advance,
- Darren Sessions
We have just released a new ser stable version: ser 0.8.12.
This version fixes a lots of bugs, has some performance improvements
(it's a little faster :-)) a.s.o (for more information read the
attached NEWS file).
The code is based on the cvs head from 14 Oct 2003. The following things
which are on the current CVS head are not part of this release:
- tcp aliases
- automatic content-length updating (this means nathelper won't work
as well as with the HEAD version, so for nat traversal stick to the
unstable version)
- latest permissions updates
All 0.8.11 users which are using tcp a lot should upgrade, since 0.8.12
contains many tcp fixes which were not backported to 0.8.11-r1.
Three new modules were added to the default build process and to the
binary distribution:
- auth_diameter (diameter based authentication with disc)
- mangler (changes Contact and SDP ip addresses/ports, can be used
in some nat traversal scenarios)
- pdt (translates numerical codes into domains, based on prefixes,
and updates the URI)
This release was tested on: linux/x86, linux/arm, freebsd 4.5 & 5.1/x86,
netbsd 1.6/sparc64, openbsd 3.2/x86, solaris 8/sparc64.
The new release can be downloaded from:
ftp://ftp.berlios.de/pub/ser/0.8.12 (source code, pre-compiled binaries
for various arhitectures, packages for various operating systems and
linux distributions; for more informations see
ftp://ftp.berlios.de/pub/ser/0.8.11/README).
You can also use cvs, just remember to add -r rel_0_8_12 to your cvs
checkout command.
Andrei
Greetings List,
I am trying to configure FreeRadius to work with SER. When I try to test FreeRadius with -
radiusd -X
I get the error message -
acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port-Id"
rlm_acct_unique: Cannot find attribute 'Client-IP-Address' in dictionary
radiusd.conf[1012]: acct_unique: Module instantiation failed.
I checked the dictionary that comes with radiusclient and there is no attribute called "Client-IP-Address". I have appended the dictionary.ser from SER CVS to the radiusclient dictionary. Does anyone know what's the correct attribute?
Also I noted that the "User-Password" (as documented by Jan Janak in the Radius howto) has changed to Password in the radiusclient dictionary.
Thanks in advance,
Dhiraj
We have also released an update to ser 0.8.11. It is available
in source format only.
You should use this only if you don't want to switch to 0.8.12.
We stronlgy recommend upgrading to 0.8.12, it involves only one config
change ( len_gt(number) must be replaced with msg:len > number) and
includes lots of tcp fixes which were not backported to 0.8.11.
We are not going to release any more updates to the 0.8.11 version.
Download:
ftp://ftp.berlios.de/pub/ser/0.8.11/src/ser-0.8.11-r1_src.tar.gz
CVS branch: rel_0_8_11
Andrei
I want to forward it to more than one SIP address, I used the following rule
but not working.
if( uri=~"^sip:12345@mydomain.com") {
rewritehost("iptel.org");
forward(iptel.org,5060);
rewritehost("fwd.pulver.com");
forward(fwd.pulver.com,5060);
break;
}
I want to ring in multiple destinations when a single call arrives,
whichever is first picked up, the other calls were cancelled.
Am I missing anything here ?
Kannaiyan
Hello All,
Sorry for all the questions. I am new to this (both SIP and SER) and just learning as I go. Thanks so much to all who have helped me so far.
I am just trying to setup some routing rules for our application and am not having any luck with getting them to work correctly.
I have a Cisco Router which acts as the PSTN gateway. SER is installed on a Solaris box which is, of course, the SIP router, and then I have an SIP phone as the end point.
The Cisco Router (PSTN gateway) is located at IP 10.10.1.5, the SER box is 10.10.0.55, and the SIP phone registers as 10.10.1.134. The telephone number assigned to the SIP phone is 864-678-3188.
The SIP phone registers with the SER server without any problems, and all calls are routed through the Cisco router to the SER server (from what I can tell) as well. However, I don't know how to configure the routing correctly.
All that I am trying to do right off the bat is to get that one SIP phone to work.
My first attempt at writing a routing script looks like this (using a static route)..
if (uri=~"sip:8646783188") {
forward(10.10.1.134, 5060);
};
I have tried many variations of this route but all to no avail.. :)
Does anyone have a sample routing script that should work for this specific configuration? If I could see a sample then I think that I could build upon that.
Any help would be very greatly appreciated!
Regards,
Darren Nay - dnay(a)libertyisp.com
Hi
On executing ldd sipsak
libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
here i found that libc.so.6 is also in path /lib as well as in /lib/i686/. In
both cases libc.so.6 maps to libc-2.2.5.so.
In /lib size of libc-2.2.5.so is 1260480
in /lib/i686/ size of libc-2.2.5.so is 1401027.
I copied libc-2.2.5.so from lib to i686 and take a backup of prev libc-2.2.5.so
But problem remain same... no gethostname....
grep gethostbyname /lib/libc.so.6 gives
Binary file /lib/libc.so.6 matches
Shuld i deinstall glibc from my linux box and reinstall it ? what version of
glibc should i used ? Any option to solve this problem.
Regards
Prince
Nils Ohlmeier wrote:
> Hello,
>
> this is very strange, because the tests from the configure script say, that
> the gethostbyname function is present on your system.
>
> I can only imagine that the compiled sipsak binary uses a wrong lib. To verify
> that please execute 'ldd sipsak'. Normaly the output should look like this:
> libc.so.6 => /lib/libc.so.6 (0x4002c000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> The command 'grep gethostbyname /lib/libc.so.6' (use the lib from the ldd
> output above) should print the following:
> Binary file /lib/libc.so.6 matches
> If this does not match on your system, then you probably have a library
> problem on your system, which i'm probably not able to solve from remove.
>
> Regards
> Nils
>
> On Thursday 20 November 2003 04:50, you wrote:
> > Hi Sir,
> >
> > netdb.h is present on my system in path /usr/include/
> >
> > I am using sipsak-0.8.6 version. I am sending config.h and config .log as
> > an attachment.
> >
> > I am using glibc-2.2.5-34.
> >
> > Regards
> > Prince Arora
> >
> > Nils Ohlmeier wrote:
> > > Hi,
> > >
> > > On Wednesday 19 November 2003 11:06, Prince Arora wrote:
> > > > I have installed ser-0.8.11 on my redhat linux 7.3. SER is running
> > > > fine.
> > > >
> > > > To check whether my server is responding to requests, i installed
> > > > sipsack.
> > > >
> > > > My SIP_DOMAIN= "myserver.foobar.com".
> > > >
> > > > On giving command
> > > > sipsak -T -s sip:admin@myserver.foobar.com.
> > > >
> > > > It shows following error.
> > > > "no gethostbyname: No such file or directory"
> > >
> > > this is a little bit strange to me, because gethostbyname is a glibc
> > > function. I'm wondering how you could compile it. Is the netdb.h header
> > > file present on your system (usually at /usr/include)?
> > > What version of sipsak do you use?
> > > If you use the latest version (0.8.6) please send me (not to the list)
> > > the config.h and config.log files.
> > >
> > > Greets
> > > Nils
Hello all again,
why is it that the docs http://iptel.org/ser/doc/ser-howto/ser-Howto.html
is telling me to do a "/usr/local/sbin/ser_mysql.sh"
but this is what I am getting:
[root@bbcom-ser ser-0.8.11]# /usr/local/sbin/ser_mysql.sh
usage: ser_mysql.sh create
ser_mysql.sh drop (!!entirely deletes tables)
ser_mysql.sh reinit (!!entirely deletes and than re-creates tables
ser_mysql.sh backup (dumps current database to stdout)
ser_mysql.sh restore <file> (restores tables from a file)
ser_mysql.sh copy <new_db> (creates a new db from an existing one)
ser_mysql.sh reinstall (updates to a new SER database)
if you want to manipulate database as other MySql user than
root, want to change database name from default value "ser",
or want to use other values for users and password, edit the
"config vars" section of the command ser_mysql.sh
Shout I just do a "/usr/local/sbin/ser_mysql.sh create"
Also I am trying to enter SIP users [Cisco 7940]
I need some knowledge on the SER tables
1. which tables need to be populated to enable SIP devices to access the SER?
2. is just subsciber only?
mysql> show tables;
+-----------------+
| Tables_in_ser |
+-----------------+
| acc |
| active_sessions |
| aliases |
| config |
| event |
| grp |
| location |
| missed_calls |
| pending |
| phonebook |
| reserved |
| silo |
| subscriber |
| version |
+-----------------+
14 rows in set (0.00 sec)
Peter David
Network Engineer
BBCOM, Inc.
Office 213-489-2156 x228
pdavid(a)bbcominc.com