[Serusers] to use SER stateless proxy..................
Greger V. Teigre
greger at teigre.com
Fri Aug 11 08:51:45 CEST 2006
Just take the hello-world config from onsip.org and strip it. Like this
(you can also remove record routing if you don't want ser to stay in the
signal path):
# $Id: hello-world.cfg 46 2006-01-25 04:21:30Z /CN=Paul
Hazlett/emailAddress=paul at onsip.org $
debug=3
fork=no
log_stderror=yes
listen=192.0.2.13 # put your server IP address here
port=5060
children=4
dns=no
rev_dns=no
fifo="/tmp/ser_fifo"
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"
modparam("usrloc", "db_mode", 0)
modparam("rr", "enable_full_lr", 1)
route {
#
------------------------------------------------------------------------
# Sanity Check Section
#
------------------------------------------------------------------------
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483", "Too Many Hops");
break;
};
if (msg:len > max_len) {
sl_send_reply("513", "Message Overflow");
break;
};
#
------------------------------------------------------------------------
# Record Route Section
#
------------------------------------------------------------------------
if (method!="REGISTER") {
record_route();
};
}
dillip parida wrote:
> hi all,
>
> I am newbie to SER. actually I want to use SER as stateless proxy..
>
> i will explain with a example......user agent A and User agent B are
> two SIP phones.
>
> if A calls , B's number initially it reaches at SER, then SER route
> the call stalelessly to particular URI.
>
> BUT I DONT NEED THAT USER 'A' and USER 'B' SHOULD NOT GET
> REGISTERED AT SER.
>
> without registering at SER we need to route the call to that
> particular URI....i mean to that user B.....
>
>
> please help me.......i have attached the ser.cfg for ur refrence.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060811/b1be494b/attachment.htm>
More information about the sr-users
mailing list