Hi guys. Even when using db_mode=2 for usrloc:
modparam("usrloc", "db_mode", 2)
there's still some time between adding an alias and the alias being written
to the aliases table. Is there any way to immediately update the aliases
table? Are there any reasons to not do this?
Thanks!
-- Nick
e: nick.hoffman(a)altcall.com
p: +61 7 5591 3588
f: +61 7 5591 6588
If you receive this email by mistake, please notify us and do not make any
use of the email. We do not waive any privilege, confidentiality or
copyright associated with it.
I have ser.cfg config prettty similar to the getting started guide, using mediaproxy for natted client.
The only problem that iam going to have is that when i close a call fromm a client behind NAT i get multiple bye message:
117.088293 83.211.248.158 -> 195.6x.19x.4x SIP/SDP Status: 200 OK, with session description
117.263313 195.6x.19x.4x -> 83.211.248.158 SIP Request: ACK sip:0681140017@83.211.248.158:61421
120.286678 83.211.248.158 -> 195.6x.19x.4x SIP Request: BYE sip:0828730167@19x.247.16x.9x
120.455192 195.6x.19x.4x -> 83.211.248.158 SIP Status: 200 OK
120.784615 83.211.248.158 -> 195.6x.19x.4x SIP Request: BYE sip:0828730167@19x.247.16x.9x
120.793092 195.6x.19x.45 -> 83.211.248.158 SIP Status: 200 OK
121.783765 83.211.248.158 -> 195.6x.19x.4x SIP Request: BYE sip:0828730167@19x.247.16x.9x
121.793036 195.6x.19x.45 -> 83.211.248.158 SIP Status: 200 OK
123.783061 83.211.248.158 -> 195.6x.19x.4x SIP Request: BYE sip:0828730167@19x.247.16x.9x
123.793280 195.6x.19x.45 -> 83.211.248.158 SIP Status: 200 OK
127.783147 83.211.248.158 -> 195.6x.19x.4x SIP Request: BYE sip:0828730167@19x.247.16x.9x
127.843088 195.6x.19x.45 -> 83.211.248.158 SIP Status: 200 OK
131.782153 83.211.248.158 -> 195.6x.19x.4x SIP Request: BYE sip:0828730167@19x.247.16x.9x
131.791851 195.6x.19x.45 -> 83.211.248.158 SIP Status: 200 OK
135.388829 195.6x.19x.45 -> 83.211.248.158 UDP Source port: 5060 Destination port: 61421
Seems that the 200 Ok is not hittng the client but I don't know how to fix this in ser.cfg
Please help.
Regards
hi
can anyone give me a hint here of what's true and what's not?
i'm planning to use a multiple SIP proxy installation sharing
location database using a MySQL cluster. i planned to use SER
as proxy, but to me it seems like the SER caches location DB instead
of reading from the MySQL database?
in a multiple proxy installation, every proxy may recieve an incomming
REGISTER and store that registration to the shared mysql database. but
if the other proxies caches the location database instead of reading from
the cluster, they will never be aware of registrations not made by them
self... so this makes the SER no good for my installation.
is this true or just bad rumours?
best regards,
/Staffan
Staffan Kerker
Saab Communications, Växjö
m. staffan.kerker(a)saabgroup.com
Hi all,
I have a problem with using aliases when user doesn't answer the call
(408, request timeout). for this I'm using failure_route[1]. After 20sec
when user doesn't answer the call, call comes in failure_route and it is
recognizes as 408, but when I want to rewrite URI with alias "884" I get
"Not found in usrloc", but as you can see from the output of "serctl ul
show" user is in both tables (location and aliases). Can somebody help
because I don't know what I'm doing wrong.
Thanks a lot
davor
*******************************************
failure_route[1]{
if(t_check_status("408")){
log("LOG:entered failure route 1 on code 408\n");
lookup("aliases");
rewritehostport("161.53.2.235:5060");
t_relay();
}
}
********************************************
1(22439) ->>>>>>>>> T_code=180, new_code=408
1(22439) DEBUG: t_check: msg id=2 global id=2 T start=0x40460708
1(22439) DEBUG: t_check: T already found!
1(22439) DEBUG:t_check_status: checked status is <408>
1(22439) LOG:entered failure route 1 on code 408
1(22439) lookup(): 'djovanovic' Not found in usrloc
1(22439) ERROR: t_forward_nonack: no branched for forwarding
1(22439) ERROR: w_t_relay (failure mode): forwarding failed
********************************************
serctl ul show
domain: 'location'
aor : 'djovanovic'
~~~Contact(0x404604a8)~~~
domain : 'location'
aor : 'djovanovic'
Contact : 'sip:djovanovic@161.53.0.77:5060'
Expires : 429
q :
Call-ID : '40C79AFEA5C644ADB6FEA320F247C793(a)sipgw.srce.hr'
CSeq : 52664
...Record(0x4045e238)...
domain: 'aliases'
aor : '884'
~~~Contact(0x4045e298)~~~
domain : 'aliases'
aor : '884'
Contact : 'sip:djovanovic@sipgw.srce.hr'
Expires : Permanent
q : 1
Call-ID :
'The-Answer-To-The-Ultimate-Question-Of-Life-Universe-And-Everything'
Hello everybody,
I'm prakash, I installed openser-1.0.1 by using the CVS.
And I want how to install SerWeb by using openSER.
Main thing is how config.php to reflect the openser.
Please me in this.
Thanks and Regards
Sunkara Ravi Prakash
I appear to be having problems with REINVITE messages lately (I may have
simply never before received them and there was ALWAYS a problem... I don't
know for certain). When I dial certain numbers -- so far it's only been
numbers over the PSTN going through likely Asterisk gateways, everything goes
fine UNLESS I get a reinvite. At that point, audio stops (though the stream
appears to remain open).
My UA will send an INVITE, I'll hear the answer on the other side for about a
second -- audio will be fine... then a REINVITE is sent from the remote side
and audio stops completely while the stream remains active.
Has anyone run across this before? Is there something special I should be
looking for in my ser.cfg to handle REINVITES as they bounce along? Is it a
problem, perhaps, with a swallowed ACK somewhere?
I'm hoping someone can give me a clue or two to point me in the right direction.
Thanks,
N.
On 04/14/06 15:04, D'Addelfio Davide wrote:
> Hi daniel,
>
> My version is 1.0.x, do you think is wrong notation?
>
looks like, please check the readme file for 1.0.x:
http://openser.org/docs/modules/1.0.x/avpops.html
Cheers,
Daniel
> -----Messaggio originale-----
> Da: Daniel-Constantin Mierla [mailto:daniel@voice-system.ro]
> Inviato: venerdì 14 aprile 2006 13.32
> A: D'Addelfio Davide
> Cc: Jayesh Nambiar; users(a)openser.org
> Oggetto: Re: R: [Users] avp_db_load problem
>
> Hello,
>
> what version of openser do you use. Looks like you use the avp notation
> from 1.1.x within a 1.0.x version.
>
> Cheers,
> Daniel
>
>
> On 04/14/06 11:22, D'Addelfio Davide wrote:
>
>> Hi Jayesh, I have a problem similar at yours, could you help me ?
>>
>>
>>
>> I need to load data from acc table using avp_db_load. I setup my cfg
>> file in this way:
>>
>>
>>
>> modparam("avpops", "db_scheme",
>> "scheme0:username_col=username;value_col=sip_callid;table=acc")
>>
>>
>>
>> if (avp_db_load("$to", "$avp(s:sip_callid)/scheme0")) {
>>
>> xlog("L_INFO","Lettura OK");
>>
>> };
>>
>>
>>
>> But I have this error in the log:
>>
>>
>>
>> Apr 14 01:07:55 localhost /usr/sbin/openser[6799]:
>> ERROR:avpops:parse_avp_db: unknow alias"avp(s:sip_callid)/scheme0"
>>
>> Apr 14 01:07:55 localhost /usr/sbin/openser[6799]:
>> ERROR:avpops:fixup_db_avp: parse failed Apr 14 01:07:55 localhost
>> /usr/sbin/openser[6799]: ERROR: fix_expr : fix_actions error
>>
>>
>>
>> Any thought?
>>
>> Thanks for help
>>
>> Davide
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> *Da:* users-bounces(a)openser.org [mailto:users-bounces@openser.org]
>> *Per conto di *Jayesh Nambiar
>> *Inviato:* mercoledì 12 aprile 2006 0.06
>> *A:* openser
>> *Oggetto:* [Users] avp_db_load problem
>>
>>
>>
>> Hi all,
>>
>> I was trying to do the following:
>>
>> Whenever a user presses *86 and then any number, first openser should
>> check
>>
>> in the subscriber table, whether the value for features column is 1.
>> (I've added an extra column features in the table subscriber with
>> datatype int).
>>
>> If the value is 0, he should be replied with the message Forbidden.
>>
>> I tried doing the following:
>>
>>
>>
>> modparam("avpops","db_scheme",
>> "scheme1:username_col=username;value_col=features;table=subscriber")
>>
>>
>>
>> if(uri=~"sip:\*86[0-9]*@") {
>> log(1,"entered condition");
>> if(avp_db_load("$fU", "$avp(s:features)/$scheme1")) {
>> log(1,"db load succeeded");
>> if(!avp_check("$avp(s:features)", "eq/1/g")) {
>> sl_send_reply("403", "Forbidden");
>> exit;
>> };
>> strip(3);
>> log(1,"stripped");
>> avp_db_query("insert into usr_preferences values('',
>> '$fU', '', 'callfwd', '', '$ruri', 'CURRENT_TIMESTAMP')");
>> sl_send_reply("200", "OK");
>> exit;
>> };
>>
>> };
>>
>> But in the logs I only get "condition succeeded" which means it does
>> not do the avp_db_load() properly.
>>
>>
>>
>> Can someone please help me in what should be the exact syntax to load
>> it from the db and then check the value.
>>
>>
>>
>> thanks in advance,
>>
>> jayesh
>>
>> ------------------------------------------------------------------------
>>
>> Jiyo cricket on Yahoo! India cricket
>> <http://us.rd.yahoo.com/mail/in/mailcricket/*http:/in.sports.yahoo.com/crick…>
>> Yahoo! Messenger Mobile
>> <http://us.rd.yahoo.com/mail/in/mailmobilemessenger/*http:/in.mobile.yahoo.c…>
>> Stay in touch with your buddies all the time.
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
Hi Vaclav,
Thanks for the response..
But the problem here is my ISP blocks the TCP requests. I have to sent it
over UDP only. And also over local network this message is getting delivered
does SER operated on the message and converts it to TCP, is it so then how
can we disable that.
Gourav Jain
-----Original Message-----
From: Vaclav Kubart [mailto:vaclav.kubart@iptel.org]
Sent: Friday, April 14, 2006 4:43 PM
To: Gourav Jain
Cc: 'serusers(a)lists.iptel.org'
Subject: Re: [Serusers] NOTIFY Packet loss with bit message
Hi,
you should use TCP instead of UDP in the case of big messages like
presence notifications...
I think that something about this is written in SIP RFC (3261).
Vaclav
On Fri, Apr 14, 2006 at 02:50:48PM +0530, Gourav Jain wrote:
> Hi All,
>
> I am experiencing a problem in receiving the NOTIFY messages on my client.
> If the message size is less then 1 KB then it is getting delivered but not
> more then that.
> For that I changed my max_len settings in ser.cfg as given below to 15000.
>
> if (msg:len >= 15000) {
> sl_send_reply("513", "Message too big");
> break;
> };
>
> But now the messages are getting delivered when I am trying to send it
over
> my local network but when I send it over GPRS, It keeps trying to send the
> message for some time and timeout after some time.
>
> I am using ser 0.9.6. Please let me know if you have any suggestion to
solve
> this problem.
>
> Regards,
> Gourav
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
Hi Jayesh, I have a problem similar at yours, could you help me ?
I need to load data from acc table using avp_db_load. I setup my cfg file in this way:
modparam("avpops", "db_scheme", "scheme0:username_col=username;value_col=sip_callid;table=acc")
if (avp_db_load("$to", "$avp(s:sip_callid)/scheme0")) {
xlog("L_INFO","Lettura OK");
};
But I have this error in the log:
Apr 14 01:07:55 localhost /usr/sbin/openser[6799]: ERROR:avpops:parse_avp_db: unknow alias"avp(s:sip_callid)/scheme0"
Apr 14 01:07:55 localhost /usr/sbin/openser[6799]: ERROR:avpops:fixup_db_avp: parse failed Apr 14 01:07:55 localhost /usr/sbin/openser[6799]: ERROR: fix_expr : fix_actions error
Any thought?
Thanks for help
Davide
________________________________
Da: users-bounces(a)openser.org [mailto:users-bounces@openser.org] Per conto di Jayesh Nambiar
Inviato: mercoledì 12 aprile 2006 0.06
A: openser
Oggetto: [Users] avp_db_load problem
Hi all,
I was trying to do the following:
Whenever a user presses *86 and then any number, first openser should check
in the subscriber table, whether the value for features column is 1. (I've added an extra column features in the table subscriber with datatype int).
If the value is 0, he should be replied with the message Forbidden.
I tried doing the following:
modparam("avpops","db_scheme",
"scheme1:username_col=username;value_col=features;table=subscriber")
if(uri=~"sip:\*86[0-9]*@") {
log(1,"entered condition");
if(avp_db_load("$fU", "$avp(s:features)/$scheme1")) {
log(1,"db load succeeded");
if(!avp_check("$avp(s:features)", "eq/1/g")) {
sl_send_reply("403", "Forbidden");
exit;
};
strip(3);
log(1,"stripped");
avp_db_query("insert into usr_preferences values('', '$fU', '', 'callfwd', '', '$ruri', 'CURRENT_TIMESTAMP')");
sl_send_reply("200", "OK");
exit;
};
};
But in the logs I only get "condition succeeded" which means it does not do the avp_db_load() properly.
Can someone please help me in what should be the exact syntax to load it from the db and then check the value.
thanks in advance,
jayesh
________________________________
Jiyo cricket on Yahoo! India cricket <http://us.rd.yahoo.com/mail/in/mailcricket/*http:/in.sports.yahoo.com/crick…>
Yahoo! Messenger Mobile <http://us.rd.yahoo.com/mail/in/mailmobilemessenger/*http:/in.mobile.yahoo.c…> Stay in touch with your buddies all the time.
Hi All,
I am experiencing a problem in receiving the NOTIFY messages on my client.
If the message size is less then 1 KB then it is getting delivered but not
more then that.
For that I changed my max_len settings in ser.cfg as given below to 15000.
if (msg:len >= 15000) {
sl_send_reply("513", "Message too big");
break;
};
But now the messages are getting delivered when I am trying to send it over
my local network but when I send it over GPRS, It keeps trying to send the
message for some time and timeout after some time.
I am using ser 0.9.6. Please let me know if you have any suggestion to solve
this problem.
Regards,
Gourav