[OpenSIPS-Users] CANCEL INVITE

2011-04-05 Thread Piotr Sobolewski
HI

I'm having problem with specific gateway to which OpenSIPS sends
INVITE and then another INVITE (CallForward on no Aswer).
The  problem is when after sending first INVITE to gateway (without
getting final response), OpenSIPS hits failure route and then sends
another INVITE (with different RURI) toward gateway before CANCEL is
sent, so the gateway responds to second INVITE with 482 Request
merged (and gateway does not attempt to make second connection).
Is there a way to send CANCEL before sending second INVITE ?



-- 
Piotr Sobolewski
sobolew...@gmail.com

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] BLF lights on Linksys 942/962 get stuck in off-hook state

2009-07-28 Thread Piotr Sobolewski
I can confirm that problems with off-hook or rather early state are
reproducible on OpensipS bran 1.5 Rev 5916.
There is Reply 412 Conditional request failed for PUBLISH that has
stateearly/state in message body.
This happens only when call is made by watched user to SPA942 that is
watching that user.

I have SIP traces and debug 9 for that scenario.
Can I send them to you?



On Tue, Jul 28, 2009 at 10:48 AM, Anca Vamanua...@opensips.org wrote:
 Hi James,

 What OpenSIPS version are you using?

 Anca


 James Lamanna wrote:
 Hi,
 I have some SPA942 and 962 phones that I'm trying to get BLF to work
 properly with.
 I've found it works correctly most of the time, however on occasion,
 the BLF lights will get stuck as RED
 (someone on a call) even though that person has hung up.

 Relevant parts of config:

 modparam(presence, server_address, sip:s...@xxx.xxx.xxx.xxx:5060)
 modparam(presence, expires_offset, 10)
 modparam(presence_xml, force_active, 1)

 modparam(presence_dialoginfo, force_single_dialog, 1)
 modparam(pua_dialoginfo, presence_server, 
 sip:s...@xxx.xxx.xxx.xxx:5060)
 modparam(pua_dialoginfo, include_callid, 1)
 modparam(pua_dialoginfo, include_tags, 1)
 modparam(pua_dialoginfo, caller_confirmed, 1)

 modparam(pua_usrloc, default_domain,  xxx.xxx.xxx.xxx)
 modparam(pua_usrloc, presence_server, sip:s...@xxx.xxx.xxx.xxx:5060)

 ...

       if(is_method(PUBLISH)) {
               if ($hdr(Sender) != NULL)
                       handle_publish($hdr(Sender));
               else
                       handle_publish();
       }
       else if( is_method(SUBSCRIBE)) {
               handle_subscribe();
       }

 

 Thanks.

 -- James

-- 
Piotr Sobolewski
sobolew...@gmail.com

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] presence pua_dialoginfo ERROR:presence:update_presentity: No E_Tag match

2009-05-08 Thread Piotr Sobolewski
Hello

I'm using pua_dialoginfo and presence_dialoginfo module.
When there is change in dialog module and PUBLISH is send to
presence_server (built into the proxy) pua responds with

127.0.0.1 - 127.0.0.1 SIP Status: 412 Conditional request failed

In logs there is error from presence.

ERROR:presence:update_presentity: No E_Tag match


By not acepting PUBLISH, the state is not updated and lamp flashes on SPA942.
Afrer one hour it stops.
This doesn't happend all the time, for most time it works just fine.


Is this error acures due to bad configuration or perhaps it is an bug?


-- 
Piotr Sobolewski
sobolew...@gmail.com

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] group_radius , radiusclient problem

2009-01-09 Thread Piotr Sobolewski
Hello

I have tried group_radius on system with 35K users.
Check is being done for REGISTER and INVITE mgs. After enabling check
with gflag, registered cound falls by 10K.
In logs message below start appearing.

Jan  9 02:18:46 aster20 /usr/sbin/openser[31418]: rc_get_seqnbr:
couldn't get lock after 10 tries: /var/run/radius.seq
Jan  9 02:18:46 aster20 /usr/sbin/openser[31395]: rc_get_seqnbr:
couldn't get lock after 10 tries: /var/run/radius.seq
Jan  9 02:18:46 aster20 /usr/sbin/openser[31417]: rc_get_seqnbr:
couldn't get lock after 10 tries: /var/run/radius.seq

Looks like it's readiusclient problem. Has anyone experience something similar?


openser -V
version: openser 1.2.2-notls (i386/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST,
SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
svnrevision: unknown
@(#) $Id: main.c 2304 2007-05-25 16:36:07Z bogdan_iancu $
main.c compiled on 01:12:52 Nov  5 2007 with gcc 4.1.2

-- 
Piotr Sobolewski
sobolew...@gmail.com

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users