At 12:14 PM 4/30/2003, radan(a)nasty.gda.pl wrote:
>Hello all !
>I'm new user of ser :)
>
>I'd like have a information about registered users in my syslog
>
> save("location");
> log(3,"REGISTER zarejestrowany uzytkownik $USER");
> sl_send_reply("200", "ok"); ^^^^^^
> break;
> };
>
>
>is some variable to use ?
currently not. We are planning it for the future.
-Jiri
Hello all !
I'm new user of ser :)
I'd like have a information about registered users in my syslog
save("location");
log(3,"REGISTER zarejestrowany uzytkownik $USER");
sl_send_reply("200", "ok"); ^^^^^^
break;
};
is some variable to use ?
Andrzej Radke
sip:radan@task.gda.pl
Hi,
I am currently trying to extend ser's parser to allow it recognize
User-Agent headers, but stuck into the magic HASH_TABLE_SIZE value.
Is there any algorithm to calculate it when adding support for a
new header type? Maybe there is some documentation, apart from
comments in the code itself, on extending parser, or at least on
its inner details? If so, it would be nice to obtain it if possible.
Thanks!
-Maxim
Folks,
Attached please find a patch, which extends usrloc/registrar modules
to save values from User-Agent field in REGISTER messages into the
database. It would be nice to have it included into the next release.
Please disregard hackish detection of User-Agent fields, I am currently
working on extending parser to recognize that type of field. I'll
post updated patch when finished.
Also, there is a new unrelated function which can be used to
retrieve full list of all currently registered users in all domains.
I am using this function in new version of my nathelper modules to
do periodical UDP "pinging" of all registered users to keep their NAT
bindings alive. I would like to have it reviewed and included into
the next release as well.
Thanks!
-Maxim
At 03:33 PM 4/22/2003, Alejandro Olchik wrote:
>I need some help to implement load balance
>when sending invites to an external sip
>proxy server.
>
>I would like to be able to balance load
>between to IPs (10.0.0.1 and 10.0.0.2) and
>use the backup IP when the primary one
>fails.
>
>Below is the routing code I have:
>
>
> if (!lookup("location")) {
> rewritehost("10.0.0.1");
> if (!t_relay_to("10.0.0.1","5060")) {
> sl_send_reply("404", "Not Found");
> };
> break;
> };
>
>How can I add this behaviour?
That depends on the distribution scheme you would like to use.
For example, you can implement a distribution function that
splits requests based on some downstream weights.
e.g.,
modparam("distrib", "weights",
# ...
# rewrite host-part with one of values using the distribution
# 20-30-50
distribute("10.0.0.1/20%, 10.0.0.2/30%, 10.0.0.3/50%)
t_on_negative("1")
t_relay_to();
# ...
reply_route[1] {
# look at destinations that failed, and update their probabilities
# according to some strategy; for example, temporary 0% weight --
# note that this would take shared memory for keeping the weights
# and a timer
update_weights();
# if coupled to TM, it can look at previous attempts to eliminate
# retrying to a previously failed destination
distribute("10.0.0.1/20%, 10.0.0.2/30%, 10.0.0.3/50%)
}
-Jiri
On your pots dial-peer set the codec to g711alaw, or configure your
SIP clients to use that codec.
Dan
-----Original Message-----
From: Yang Xiang [mailto:yang.xiang@iitb.fraunhofer.de]
Sent: Friday, April 25, 2003 7:55 AM
To: serusers(a)lists.iptel.org
Subject: [Serusers] problem with cisco 2600 to pstn
Hi all,
I am expericing problem with the cisco 2600, which should function as
the sip2pstn gateway. If I try to complete a call from a sip phone to
pstn, the router says:
------------------------------------------------------------------------
00:15:49: ISDN BR1/0: TX -> SETUP pd = 8 callref = 0x03
00:15:49: Bearer Capability i = 0x8090A2
^^^^^^
00:15:49: Channel ID i = 0x83
00:15:49: Progress Ind i = 0x8181 - Call not end-to-end ISDN,
may
have in-band info
00:15:49: Calling Party Number i = 0x80, 'yang2', Plan:Unknown,
Type:Unknown
00:15:49: Called Party Number i = 0xC9, '6091574', Plan:Private,
Type:Subscriber(local)
00:15:49: ISDN BR1/0: RX <- SETUP_ACK pd = 8 callref = 0x83
00:15:49: Channel ID i = 0x89
00:15:49: Progress Ind i = 0x8188 - In-band info or appropriate
now
available
00:15:49: ISDN BR1/0: RX <- DISCONNECT pd = 8 callref = 0x83
00:15:49: Cause i = 0x80C1 - Bearer capability not implemented
^^^^^^^^^^^^^^^^^^^^^^^^^^
00:15:49: Progress Ind i = 0x8188 - In-band info or appropriate
now
available
------------------------------------------------------------------------
----
------------
Please notice the line "Bearer Capability i = 0x8090A2", the digits
"80" mean that this is a ITU voice call, "90" mean circuit mode, 64 kbps
and "A2" is for G.711 u-law.
So if I call the router from a normal telephone, the debugging looks as
follows:
------------------------------------------------------------------------
----
----
01:01:58: ISDN BR1/0: RX <- SETUP pd = 8 callref = 0x01
01:01:58: Bearer Capability i = 0x8090A3
^^^
01:01:58: Channel ID i = 0x89
01:01:58: Calling Party Number i = 0x0181, '609157', Plan:ISDN,
Type:Unknown
01:01:58: Called Party Number i = 0xC1, '20', Plan:ISDN,
Type:Subscriber(local)
01:01:58: High Layer Compat i = 0x9181
01:01:58: ISDN BR1/0: Event: Received a VOICE call from 609157 on B1 at
64 Kb/s
------------------------------------------------------------------------
----
---------
whereat the bearer capability is "0x8090A3". It means that the
ISDN-switch of German Telekom uses G.711 a-law.
I am afraid that is the reason why the sip-call doesn't go through. But
I can't find any way to configure this.
Has anybody in this mailinglist the same experience?
Any hints would be very appreciated.
Thanks
yang
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi Jiri,
it works! Thank you very much!
The voice-port block is the key:
-------------------------------
voice-port 1/0/0
compand-type a-law
cptone DE
bearer-cap Speech
------------------------------
yang
----- Original Message -----
From: "Jiri Kuthan" <jiri(a)iptel.org>
To: "Yang Xiang" <yang.xiang(a)iitb.fraunhofer.de>
Sent: Friday, April 25, 2003 5:21 PM
Subject: Re: [Serusers] problem with cisco 2600 to pstn
> try to look at our config at
http://www.iptel.org/~jiri/etc/cisco/ios_2003.txt
> if it helps you. I think we had the same problem, changed some settings
and it
> worked then. I unfornantely don't remember what it was.
>
> -Jiri
>
> At 04:54 PM 4/25/2003, you wrote:
> >Hi all,
> >
> >I am expericing problem with the cisco 2600, which should function as the
> >sip2pstn gateway. If I try to complete a call from a sip phone to pstn,
the
> >router says:
> >------------------------------------------------------------------------
> > 00:15:49: ISDN BR1/0: TX -> SETUP pd = 8 callref = 0x03
> >00:15:49: Bearer Capability i = 0x8090A2
> > ^^^^^^
> >00:15:49: Channel ID i = 0x83
> >00:15:49: Progress Ind i = 0x8181 - Call not end-to-end ISDN, may
> >have in-band info
> >00:15:49: Calling Party Number i = 0x80, 'yang2', Plan:Unknown,
> >Type:Unknown
> >00:15:49: Called Party Number i = 0xC9, '6091574', Plan:Private,
> >Type:Subscriber(local)
> >00:15:49: ISDN BR1/0: RX <- SETUP_ACK pd = 8 callref = 0x83
> >00:15:49: Channel ID i = 0x89
> >00:15:49: Progress Ind i = 0x8188 - In-band info or appropriate
now
> >available
> >00:15:49: ISDN BR1/0: RX <- DISCONNECT pd = 8 callref = 0x83
> >00:15:49: Cause i = 0x80C1 - Bearer capability not implemented
> >
> >^^^^^^^^^^^^^^^^^^^^^^^^^^
> >00:15:49: Progress Ind i = 0x8188 - In-band info or appropriate
now
> >available
>
>---------------------------------------------------------------------------
-
> >------------
> >
> >Please notice the line "Bearer Capability i = 0x8090A2", the digits "80"
> >mean that this is a ITU voice call, "90" mean circuit mode, 64 kbps and
"A2"
> >is for G.711 u-law.
> >
> >So if I call the router from a normal telephone, the debugging looks as
> >follows:
>
>---------------------------------------------------------------------------
-
> >----
> >01:01:58: ISDN BR1/0: RX <- SETUP pd = 8 callref = 0x01
> >01:01:58: Bearer Capability i = 0x8090A3
> > ^^^
> >01:01:58: Channel ID i = 0x89
> >01:01:58: Calling Party Number i = 0x0181, '609157', Plan:ISDN,
> >Type:Unknown
> >01:01:58: Called Party Number i = 0xC1, '20', Plan:ISDN,
> >Type:Subscriber(local)
> >01:01:58: High Layer Compat i = 0x9181
> >01:01:58: ISDN BR1/0: Event: Received a VOICE call from 609157 on B1 at
64
> >Kb/s
>
>---------------------------------------------------------------------------
-
> >---------
> >
> >whereat the bearer capability is "0x8090A3". It means that the
ISDN-switch
> >of German Telekom uses G.711 a-law.
> >
> >I am afraid that is the reason why the sip-call doesn't go through. But I
> >can't find any way to configure this.
> >
> >Has anybody in this mailinglist the same experience?
> >
> >Any hints would be very appreciated.
> >
> >Thanks
> >
> >yang
> >
> >
> >
> >
> >
> >
> >_______________________________________________
> >Serusers mailing list
> >serusers(a)lists.iptel.org
> >http://lists.iptel.org/mailman/listinfo/serusers
>
> --
> Jiri Kuthan http://iptel.org/~jiri/
>
>
Hi , Xten Networks, Inc. (www.xten.com) is pleased to announce it is making a contribution to the SER project. The Xten SER Team is comprised of 2 senior engineers and 1 project
manager who are committed full-time to the development of SERAdmin.SERAdmin is a GUI interface between SIP Express Router (SER) and the SER administrator. Project location (http://developer.berlios.de/projects/seradmin/) SERAdmin provides control over many SER tasks such as: start, stop,
pause, re-start, monitor, add user, edit user, etc. SERAdmin has an
intuitive look and feel.SERAdmin is open source, is being developed to benefit all SER
administrators, and the feature set of SERAdmin will be determined by
the iptel.org SER users' group.So please communicate with the Xten SER Team, post your comments in the public forums, and make use of the Xten SER Team as they are working for the SER community. About Xten (www.xten.com) Xten Networks, Inc. is a leading provider of high-quality SIP Voice
over Internet Protocol (VoIP) software. Xten provides IP Telephony products directly to end users, the Enterprise market, Next-Gen Service
Providers (ITSPs & Tier 2), Wireless Internet Service Providers (WISPs),
Telephone Companies (TELCOs), and Original Equipment Manufacturers (OEMs).
Regards,Xten Team
---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
Hi all,
I am expericing problem with the cisco 2600, which should function as the
sip2pstn gateway. If I try to complete a call from a sip phone to pstn, the
router says:
------------------------------------------------------------------------
00:15:49: ISDN BR1/0: TX -> SETUP pd = 8 callref = 0x03
00:15:49: Bearer Capability i = 0x8090A2
^^^^^^
00:15:49: Channel ID i = 0x83
00:15:49: Progress Ind i = 0x8181 - Call not end-to-end ISDN, may
have in-band info
00:15:49: Calling Party Number i = 0x80, 'yang2', Plan:Unknown,
Type:Unknown
00:15:49: Called Party Number i = 0xC9, '6091574', Plan:Private,
Type:Subscriber(local)
00:15:49: ISDN BR1/0: RX <- SETUP_ACK pd = 8 callref = 0x83
00:15:49: Channel ID i = 0x89
00:15:49: Progress Ind i = 0x8188 - In-band info or appropriate now
available
00:15:49: ISDN BR1/0: RX <- DISCONNECT pd = 8 callref = 0x83
00:15:49: Cause i = 0x80C1 - Bearer capability not implemented
^^^^^^^^^^^^^^^^^^^^^^^^^^
00:15:49: Progress Ind i = 0x8188 - In-band info or appropriate now
available
----------------------------------------------------------------------------
------------
Please notice the line "Bearer Capability i = 0x8090A2", the digits "80"
mean that this is a ITU voice call, "90" mean circuit mode, 64 kbps and "A2"
is for G.711 u-law.
So if I call the router from a normal telephone, the debugging looks as
follows:
----------------------------------------------------------------------------
----
01:01:58: ISDN BR1/0: RX <- SETUP pd = 8 callref = 0x01
01:01:58: Bearer Capability i = 0x8090A3
^^^
01:01:58: Channel ID i = 0x89
01:01:58: Calling Party Number i = 0x0181, '609157', Plan:ISDN,
Type:Unknown
01:01:58: Called Party Number i = 0xC1, '20', Plan:ISDN,
Type:Subscriber(local)
01:01:58: High Layer Compat i = 0x9181
01:01:58: ISDN BR1/0: Event: Received a VOICE call from 609157 on B1 at 64
Kb/s
----------------------------------------------------------------------------
---------
whereat the bearer capability is "0x8090A3". It means that the ISDN-switch
of German Telekom uses G.711 a-law.
I am afraid that is the reason why the sip-call doesn't go through. But I
can't find any way to configure this.
Has anybody in this mailinglist the same experience?
Any hints would be very appreciated.
Thanks
yang