Sorry, pls ingore my previous email. I just forgot to remove some echo command
added by me before the if statement.
From: kevin@hotmail.com
To: klaus.mailingli...@pernau.at; sr-users@lists.sip-router.org
Subject: RE: [SR-Users] Fail to add user account
Date: Fri, 11 Jun 2010 07:57:47 +080
Have changed the kamctl from
if [ $? -eq 0 ] ; then
minfo "user '$1' already exists"
exit 1
fi
to
if [ $? -ne 0 ] ; then
I am trying to incorporate a cpl script for testing purposes with kamailio 3
but have been met with failure with each try.
Test scenario
I have two sip phones registered to kamailio successfully (I can make phone
calls between the two phones).
The CPL XML is as follows:
Yes but I want the call to go through OpenSER A to OpenSER B and then to Phone
B.
Thanks
On Jun 10, 2010, at 4:38 PM, Klaus Darilion wrote:
> If you use the default configuration phone A just have to dial
>
> sip:us...@ip.address.of.serverb
>
> and it works out of the box.
>
> regards
> Klau
Phone A can call any phone registered to OpenSER B.
Thanks
On Jun 10, 2010, at 4:12 PM, Alex Balashov wrote:
> On 06/10/2010 11:04 AM, SR-USER wrote:
>
>> The main question is how to allow phone A call phone B.
>
> Do you want the call to phone B to be the only conceivable call A can make?
Hi Andrei,
Great idea !
It seems to work. Thank you.
Regards,
Adrien .L
Le lundi 07 juin 2010 à 21:52 +0200, Andrei Pelinescu-Onciul a écrit :
> On Jun 07, 2010 at 19:22, inge wrote:
> > Hi Henning,
> >
> > Thanks for your reply.
> >
> > I'm using ser 0.9.9. It looks to answer my need, but
If you use the default configuration phone A just have to dial
sip:us...@ip.address.of.serverb
and it works out of the box.
regards
Klaus
Am 10.06.2010 16:57, schrieb SR-USER:
Hi everyone.
I have two machines running OpenSER, one machines runs OpenSER A and the other
runs OpenSER B. Phone
On 06/10/2010 11:04 AM, SR-USER wrote:
The main question is how to allow phone A call phone B.
Do you want the call to phone B to be the only conceivable call A can
make? Or do you want phone A to be able to call any phone registered to
OpenSER B? Or make other calls that don't necessarily
Hi there.
The main question is how to allow phone A call phone B. Forget about the other
way around.
Thanks
On Jun 10, 2010, at 4:02 PM, Alex Balashov wrote:
> On 06/10/2010 10:57 AM, SR-USER wrote:
>
>> I would like to allow Phone A call Phone B, but not the other way around.
>
> That depen
On 06/10/2010 10:57 AM, SR-USER wrote:
I would like to allow Phone A call Phone B, but not the other way around.
That depends on whether you want to disallow Phone B from calling Phone
A only, or disallow Phone B from calling a subset of all existing other
phones, or disallow Phone B from ma
Hi everyone.
I have two machines running OpenSER, one machines runs OpenSER A and the other
runs OpenSER B. Phone A registers in OpenSER A while Phone B registers in
OpenSER B. I would like to allow Phone A call Phone B, but not the other way
around. I am a newbie so sorry for my lack of knowl
Thanks Klaus,
After change the LAST_LINE in the kamctlrc, the tail error is going, but it
still says user "" already exists.
# tail tool
LAST_LINE="tail -1"
I find the script below returns "false" which makes the kamctl exit.
# params: user
# output: false if exists, true oth
Ok, that would definitely make things easier/better - thanks!!
//Anders
On Thu, Jun 10, 2010 at 8:24 AM, Iñaki Baz Castillo wrote:
> 2010/6/10 Klaus Darilion :
>> somewhere between normal routing decisions and t_relay(), e.g.
>>
>> route {
>> ...sanity checks
>> ...authentication
>> ...NAT tr
2010/6/10 Klaus Darilion :
> somewhere between normal routing decisions and t_relay(), e.g.
>
> route {
> ...sanity checks
> ...authentication
> ...NAT traversal
> ...routing decisions
>
> if ($rd = "1.2.3.4") { #ip address of gateway
> $rd = "domain.com";
> }
>
> t_relay();
> exit;
> }
Am 10.06.2010 03:12, schrieb JinKevin:
> AppSer01:root@/usr/local/kamailio-3.0/sbin$ kamctl add 2000 2000
> usage: tail [+/-[n][lbc][f]] [file]
> tail [+/-[n][l][r|f]] [file]
> INFO: user '2000' already exists
between your kamctl command and the error message (user '2000' already
exis
Hi Anders!
Am 09.06.2010 19:00, schrieb Anders:
thanks!
...but does it even make sense what I'm trying to do?
yes.
> I mean, at what
point in the cfg would I tell it that if it's choosing a specific gw,
it needs to substitute the IP with a domain name...a new $rd?
somewhere between normal
16 matches
Mail list logo