Hello all,
Im using ser, with esteras softphone, and a couple of cisco ata186's. I
have to say I really like ser, as it is small fast, and reliable without
being over complicated.
I would like to know what other ser users and developers use for pstn
gateways? I have a openline4 card from voictronix, but there is no
software support for sip (When I bought it I thought I would use h.323).
I have looked at cisco's pstn gateway modules, but was turned off them
because of price, and lack of clear straight forward information to name
but two reasons.
Ideally what I would like to have is a solution that would support at
least 4 pstn lines (expandable to maybe 8), that would run on FreeBSD
(or at worst linux), works well with sip & ser, with high quality audio,
and minimal delays when dialing in out.
TIA,
-Emil
Hi All,
I need to implement an used based dialplans module on SER, so that depending
on the user information stored in the database, a certain prefix should be
inserted in the called number. Has anyone had a similar issue?
Thanks
Fernando
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.474 / Virus Database: 272 - Release Date: 4/18/2003
Folks,
I need an advise on how to better implement one feature, which isn't
currently present in SER. We need to allow UAs behind NAT properly
register with the registrar - by "properly" I mean that host:port portion
of URI in Contact field should not be used, but host:port the request
came from should be used instead. By definition we know that those UAs
will support symmetric SIP signalling, so that this scheme will work just
fine.
In my opinion there are two ways to do it: either add new rewritecontact*
family of functions similar to rewritehost ones. or add a new flag for
the save() function. This is where I need your help - which implementation
looks better for you (or maybe you have even some better idea), since
we are really interested in inclusion of our changes into the mainline to
reduce our local hacks.
Regards,
Maxim
Folks,
Attached please find several patches for ser 0.8.10. They do the following:
1. Removes hardcoded `/usr/local' from Makefiles and replaces it with
LOCALBASE variable setable in the top Makefile.defs. This should make
life of packagers easier.
2. Allows to override PREFIX variable with something else from environment.
3. Adds support for FreeBSD doc/man directories layout.
4. Adds some missed -I's into radius modules.
5. Fixes radius modules to use the same symbolic avp names as in dictionary.
6. Adds support for recording source port in msg structure and adds it
in "Noisy feedback". This should be extremely useful for debugging various
SIP&NAT scenarios and later could be re-used to implement `rport' support
described in my previous message.
It would be nice to have those patches integrated into the next release.
Thanks!
-Maxim
Folks,
please help me -- share with me techniques for NAT traversal you
use and have hands-on experience with. People repeatedly ask
about it, and I'd like to create an FAQ that reflects deployment
experience and as wide user feed-back as possible. Just tell me the
technique you use, its requirements, limitations, the devices it
is known (not) to work with, why you prefer one method over the
other, etc. I'll then try to compile it in an FAQ.
So please send me an e-mail, an example is attached. I will appreciate
any practical details.
Thank you,
-Jiri
----------------------------------------------------------------
technique: using symmetric communication
requirements: phone devices that support symmetric communication;
existing species: Cisco's ATA
configuration
practice: ATAs need to be configured to advertise public address
in signaling, or learn it from REGISTER replies;
alternatively, one can rewrite signaling using ser's
nethelper module; one needs to rewrite SIP anyway
because ATAs don't advertise their symmetricity;
see www.foo.bar for info on configuring ATA...
limitations: non-symmetric devices, like Messenger don't work;
misc: ATA has no display, that's why I am anxiously
waiting for more vendors to support symmetric
signaling
----------------------------------------------------------------
technique: UPnP
requirements: NATs and phones with UPnP support; Messenger and
snom are known to support UPnP; there is linux
support for it
configuration
practice: of course, upnp requires by definition no configuration ;-)
(I'm not serious -- anyone actually tried it?)
----------------------------------------------------------------
technique: geek tweaks: set-up port forwading manually
configuration
practice: you need to configure NATs to split its public-side port
numbers accross your private-side phones, and configure
the phones (if they allows so) to use these port numbers;
also, phones need to be configured to use publicly
reachable address in their payloads
requriements: configurable NATs (many residental NATs are configurable)
and configurable phones (ATAs do that, I heard pingtel did
it too)
----------------------------------------------------------------
technique: ALG
requirements: SIP-capable NAT (like Intertex or Cisco/PIX)
issues: intertex freezes my ssh connections after some time on-line
and elderly models don't like all Ethernet devices;
when things don't work, the red-button off-on helps
sometimes
----------------------------------------------------------------
technique: STUN
requirements: STUN-enabled phone (like k-phone, snom)
limitations: doesn't work over symmetric NATs (words-of-mouth propaganda
has been telling me that many residential NATs are fortunately
not symmetric, but I don't know how objective this information
really is)
----------------------------------------------------------------
--
Jiri Kuthan http://iptel.org/~jiri/
Hi,
I have set up the SER and its working. The only problem is I cant get the routing logic to simultaneously route to either the User Loc or the PSTN. Its only doing one of the other.
I am new to SIP, can u show me a sample script that will do both at the same time?
Best regards,
Phillip
Hi,
I have successfully (I think that) installed SER server with ser-mysql
package.
I have set the environment variable 'SIP_DOMAIN="192.168.11.237"' (that is
server IP address).
I have succesfully added a user to subscriber table: 'serctl add ivan
ivanpswd ivan(a)hotmail.com', but registering WM to server fails:
URI = 'ivan(a)192.168.11.237'
Passwowd = 'ivanpswd'
User = 'ivan'
This is my ser.cfg file:
# ----------- global configuration parameters ------------------------
debug=3 # debug level (cmd line: -dddddddddd)
fork=yes
log_stderror=yes # (cmd line: -E)
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 ----------------------------------
loadmodule "//usr/lib/ser/modules/mysql.so"
loadmodule "//usr/lib/ser/modules/sl.so"
loadmodule "//usr/lib/ser/modules/tm.so"
loadmodule "//usr/lib/ser/modules/rr.so"
loadmodule "//usr/lib/ser/modules/maxfwd.so"
loadmodule "//usr/lib/ser/modules/usrloc.so"
loadmodule "//usr/lib/ser/modules/registrar.so"
loadmodule "//usr/lib/ser/modules/auth.so"
# ----------------- setting module-specific parameters ---------------
modparam("usrloc", "db_mode", 2)
modparam("auth", "db_url", "sql://ser:heslo@localhost/ser")
modparam("auth", "calculate_ha1", yes)
modparam("auth", "password_column", "password")
# ------------------------- request routing logic -------------------
alias="engiweb.com"
alias="sip.engiweb.com"
route{
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if (len_gt( max_len )) {
sl_send_reply("513", "Message too big");
break;
};
rewriteFromRoute();
if (uri=~"^sip:(.+@)?(192\.168\.11\.237|(sip\.)?engiweb\.com)([:;\?].*)?$")
{
if (method=="REGISTER") {
if (!www_authorize("192.168.11.237", "subscriber")) {
if (!proxy_authorize("192.168.11.237", "subscriber")) {
www_challenge("engiweb.org", "0");
break;
};
save("location");
break;
};
lookup("aliases");
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
if (!t_relay()) {
sl_reply_error();
};
}
What could be the problem?
Best regards.
Ivan Vignola.
_________________________________________________________________
MSN Extra Storage: piena libertà di esprimersi e comunicare
http://www.msn.it/msnservizi/es/extra_storage_tag/
Hi Daniel,
The problem related with the permition to use de jabber gateway seems to be
solved.
Now I have a new problem. In the same scenario (Messenger sending a message
to Jabber client) the messenger receives from the jabber gw the following
error message:
" ERROR:Connection to Jabber server lost. You have to login to Jabber server
again (join the conferences again that you were participating,
too)<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" />"
Can you figure what is happening here?
Thanks,
Toni
-----Original Message-----
From: Daniel-Constantin MIERLA [mailto:mierla@fokus.fraunhofer.de]
Sent: sexta-feira, 31 de Janeiro de 2003 12:51
To: Toni Barata (EPS)
Cc: 'serusers(a)lists.iptel.org'
Subject: Re: [Serusers] user permission problem on ser-jabber gw
Hello,
the SIP_ID field must be the SIP URI of the SIP user (e.g. '
sip:user1@mydomain.com <mailto:sip:user1@mydomain.com> ') -- that is for
fast matching - From tag includes sip: in address of the origin. If you
check the manual or the mail I pointed, the samples show that.
Toni Barata (EPS) wrote:
Hi Daniel,
I have done this (creating the database sip_jab) before sending my first
email.
Regarding the association of SIP users with Jabber IDs, I have added an
entry on table jusers this way on mysql:
mysql> INSERT INTO jusers VALUES
('1','user1','user1',' user1(a)mydomain.com <mailto:user1@mydomain.com>
','0');
Should it be done this way or there are others ways to do it?
If you take the sources of the module, in directory 'doc' you can find some
perl or php scripts which can help you. You have to change the values from
the beginning of scripts according with your configuration.
The same problem persists.
Try again now.
Regards,
Daniel
Regards,
Toni
-----Original Message-----
From: Daniel-Constantin MIERLA [ mailto:mierla@fokus.fraunhofer.de
<mailto:mierla@fokus.fraunhofer.de> ]
Sent: quinta-feira, 30 de Janeiro de 2003 19:54
To: Toni Barata (EPS)
Cc: ' serusers(a)lists.iptel.org <mailto:serusers@lists.iptel.org> '
Subject: Re: [Serusers] user permission problem on ser-jabber gw
Hello,
you have to create the database for SIMPLE2Jabber gateway and after that
you have to associate SIP users with Jabber IDs.
I wrote a manual for gateway, but is more related to next ser release.
Anyway, the database is the same, exported methods too, only some
parameters has changed. The database can be created using sql script
from CVS
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/jabber/doc/
<http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/jabber/doc
/>
xjab.sql?rev=1.1&content-type=text/vnd.viewcvs-markup
or from manual
http://www.iptel.org/ser/doc/jabgw/xjab-manual.html#5._Admins_guide
<http://www.iptel.org/ser/doc/jabgw/xjab-manual.html#5._Admins_guide>
It might provide a good help to read next message (especially last part
of it) posted on this list
http://lists.iptel.org/pipermail/serusers/2002-December/000049.html
<http://lists.iptel.org/pipermail/serusers/2002-December/000049.html>
After that if you still have problems do not hesitate to post a new
message on the list.
Best regards,
Daniel
Toni Barata (EPS) wrote:
Hi folks,
( I think!) I have successfully installed SER server with the ser-mysql and
ser-jabber packages ( I have also a mysql server and a Jabber server
running).
For testing I have established a SIP IM session between two MS Messengers
and it did work.
After this I have tried to establish a IM session between a user SIP (MS
Messenger) and a user Jabber (Exodus), but when the messenger sends a
message for the jabber gateway the following error occurs:
"ERROR: Your message was not sent. You do not have permision to use the
gateway."
What could be the problem here?
Best regards,
Toni
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org <mailto:serusers@lists.iptel.org>
http://lists.iptel.org/mailman/listinfo/serusers
<http://lists.iptel.org/mailman/listinfo/serusers>
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org <mailto:serusers@lists.iptel.org>
http://lists.iptel.org/mailman/listinfo/serusers
<http://lists.iptel.org/mailman/listinfo/serusers>
Hi Daniel,
I have done this (creating the database sip_jab) before sending my first
email.
Regarding the association of SIP users with Jabber IDs, I have added an
entry on table jusers this way on mysql:
mysql> INSERT INTO jusers VALUES
('1','user1','user1','user1(a)mydomain.com','0');
Should it be done this way or there are others ways to do it?
The same problem persists.
Regards,
Toni
-----Original Message-----
From: Daniel-Constantin MIERLA [mailto:mierla@fokus.fraunhofer.de]
Sent: quinta-feira, 30 de Janeiro de 2003 19:54
To: Toni Barata (EPS)
Cc: 'serusers(a)lists.iptel.org'
Subject: Re: [Serusers] user permission problem on ser-jabber gw
Hello,
you have to create the database for SIMPLE2Jabber gateway and after that
you have to associate SIP users with Jabber IDs.
I wrote a manual for gateway, but is more related to next ser release.
Anyway, the database is the same, exported methods too, only some
parameters has changed. The database can be created using sql script
from CVS
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/jabber/doc/
xjab.sql?rev=1.1&content-type=text/vnd.viewcvs-markup
or from manual
http://www.iptel.org/ser/doc/jabgw/xjab-manual.html#5._Admins_guide
It might provide a good help to read next message (especially last part
of it) posted on this list
http://lists.iptel.org/pipermail/serusers/2002-December/000049.html
After that if you still have problems do not hesitate to post a new
message on the list.
Best regards,
Daniel
Toni Barata (EPS) wrote:
>Hi folks,
>
>( I think!) I have successfully installed SER server with the ser-mysql and
>ser-jabber packages ( I have also a mysql server and a Jabber server
>running).
>For testing I have established a SIP IM session between two MS Messengers
>and it did work.
>After this I have tried to establish a IM session between a user SIP (MS
>Messenger) and a user Jabber (Exodus), but when the messenger sends a
>message for the jabber gateway the following error occurs:
>
>"ERROR: Your message was not sent. You do not have permision to use the
>gateway."
>
>What could be the problem here?
>
>Best regards,
>Toni
>
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>
>