[OpenSIPS-Devel] SF.net SVN: opensips:[6853] trunk/pvar.c

2010-05-11 Thread Bogdan-Andrei Iancu
Revision: 6853
  http://opensips.svn.sourceforge.net/opensips/?rev=6853view=rev
Author:   bogdan_iancu
Date: 2010-05-11 06:59:25 + (Tue, 11 May 2010)

Log Message:
---
- fixed context evaluation - the reply context may return a FAKE_REPLY 
(invalid pointer) in failure route

Modified Paths:
--
trunk/pvar.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

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


[OpenSIPS-Devel] SF.net SVN: opensips:[6854] branches/1.6/pvar.c

2010-05-11 Thread Bogdan-Andrei Iancu
Revision: 6854
  http://opensips.svn.sourceforge.net/opensips/?rev=6854view=rev
Author:   bogdan_iancu
Date: 2010-05-11 07:05:11 + (Tue, 11 May 2010)

Log Message:
---
backport from trunk (rev #6853):
- fixed context evaluation - the reply context may return a FAKE_REPLY 
(invalid pointer) in failure route

Revision Links:
--
http://opensips.svn.sourceforge.net/opensips/?rev=6853view=rev

Modified Paths:
--
branches/1.6/pvar.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

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


[OpenSIPS-Devel] SF.net SVN: opensips:[6855] trunk/modules/dialog

2010-05-11 Thread Bogdan-Andrei Iancu
Revision: 6855
  http://opensips.svn.sourceforge.net/opensips/?rev=6855view=rev
Author:   bogdan_iancu
Date: 2010-05-11 07:17:11 + (Tue, 11 May 2010)

Log Message:
---
- fixed SEQ_MATCH_FALLBACK (dialog matching with fallback) - do fallback to SIP 
matching also if the DID found but (1) the dialog was not found based on DID or 
(2) the DID-based found dialog does not match from SIP point of view the 
current request (failed tight matching).

Modified Paths:
--
trunk/modules/dialog/README
trunk/modules/dialog/dlg_handlers.c
trunk/modules/dialog/doc/dialog_admin.xml


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

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


[OpenSIPS-Devel] SF.net SVN: opensips:[6856] branches/1.6/modules/dialog

2010-05-11 Thread Bogdan-Andrei Iancu
Revision: 6856
  http://opensips.svn.sourceforge.net/opensips/?rev=6856view=rev
Author:   bogdan_iancu
Date: 2010-05-11 07:18:43 + (Tue, 11 May 2010)

Log Message:
---
backport from trunk (rev #6855):
- fixed SEQ_MATCH_FALLBACK (dialog matching with fallback) - do fallback to SIP 
matching also if the DID found but (1) the dialog was not found based on DID or 
(2) the DID-based found dialog does not match from SIP point of view the 
current request (failed tight matching).

Revision Links:
--
http://opensips.svn.sourceforge.net/opensips/?rev=6855view=rev

Modified Paths:
--
branches/1.6/modules/dialog/README
branches/1.6/modules/dialog/dlg_handlers.c
branches/1.6/modules/dialog/doc/dialog_admin.xml


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

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


Re: [OpenSIPS-Devel] [B2B] How to create a UAC with TLS

2010-05-11 Thread Olivier Détour
2010/5/10 Olivier Détour chino540off+kamai...@gmail.com:
 Hi,

 I would like to create an UAC with client_new over a TLS connection.
 My peer is registered and the TLS tunnel is set up.
 But when I create my UAC, and send my first request to my peer, the
 sending failed. I saw I have to give a sock_info*
 in client_info_t*. But how do I find the right socket_info to send my
 request on the right tunnel ?

 Thanks for your replies,
 Regards,


After more investigation, how could I get tcp_connect id to msg_send
from my module ?
Does it possible or not ?

Regards,

-- 
Olivier Détour

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


[OpenSIPS-Devel] [ opensips-Bugs-2999941 ] Missing URI parameters in Route header of Notify

2010-05-11 Thread SourceForge.net
Bugs item #241, was opened at 2010-05-11 17:29
Message generated for change (Tracker Item Submitted) made by benixond
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=241group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.6.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Benixon (benixond)
Assigned to: Nobody/Anonymous (nobody)
Summary: Missing URI parameters in Route header of Notify

Initial Comment:
Hi

Some of the URI parameters sent in the Record route header of initial Subscribe 
request is missing in the subsequent Notify Requests Route header. These 
parameters are fine in the 200 OK Response

  SUBSCRIBE sip:s...@192.168.126.1 SIP/2.0 
  Via: SIP/2.0/UDP 
192.168.126.1:50602;branch=z9hG4bK+428eca86ca4d48ae27433d820a8c4ff82+c48ae599257496920c81e544fc32263b+1;X-ST-CID=20003
  Via: SIP/2.0/UDP 192.168.126.151:4;branch=z9hG4bK-c3-16844359250
  P-Charging-Vector: icid-value=c3-1-80-192.168.126.1
  Route: sip:10.6.9.215:4343;lr
  Expires: 440
  Event: presence
  Accept: application/pidf+xml
  From: sip:c...@192.168.126.1;tag=227409984
  To: sip:s...@192.168.126.1
  P-Asserted-Identity: sip:c...@192.168.126.1:5060
   Record-Route: 
sip:6...@192.168.126.1:50602;lr;X-ST-CID=20003;X-DC-TM-IDX=1 
.
   Record-Route: 
sip:6...@192.168.126.1:50602;lr;comp=sigcomp;X-DC-TM-IDX=1;X-ST-DLG-ID=536870911
 .
  Call-ID: c3-1-80 
  CSeq: 2 SUBSCRIBE
  Contact: sip:c...@192.168.126.151:4
  Content-Length: 0
  Max-Forwards: 69



  SIP/2.0 200 OK
  Via: SIP/2.0/UDP 
192.168.126.1:50602;branch=z9hG4bK+428eca86ca4d48ae27433d820a8c4ff82+c48ae599257496920c81e544fc32263b+1;X-ST-CID=20003
  Via: SIP/2.0/UDP 192.168.126.151:4;branch=z9hG4bK-c3-16844359250
  From: sip:c...@192.168.126.1;tag=227409984
  To: sip:s...@192.168.126.1;tag=63a3a7656d99041e8a54306d9877fcc5-7eba
   Record-Route: 
sip:6...@192.168.126.1:50602;lr;X-ST-CID=20003;X-DC-TM-IDX=1 
.
   Record-Route: 
sip:6...@192.168.126.1:50602;lr;comp=sigcomp;X-DC-TM-IDX=1;X-ST-DLG-ID=536870911
 
  Call-ID: c3-1-80
  CSeq: 2 SUBSCRIBE
  Expires: 440
  Contact: sip:10.6.9.215:4343 
  Server: OpenSIPS (1.6.2-notls (i386/linux))
  Content-Length: 0




  NOTIFY sip:c...@192.168.126.151:4 SIP/2.0
  Via: SIP/2.0/UDP 10.6.9.215:4343;branch=z9hG4bKe845.60dde8b.0
  To: sip:c...@192.168.126.1;tag=227409984
  From: sip:s...@192.168.126.1;tag=63a3a7656d99041e8a54306d9877fcc5-7eba
  CSeq: 1 NOTIFY
  Call-ID: c3-1-80
   Route: 
sip:6...@192.168.126.1:50602;lr;X-ST-CID=20003,sip:6...@192.168.126.1:50602;lr;comp=sigcomp;X-DC-TM-IDX=1
 
  Content-Length: 0
  User-Agent: OpenSIPS (1.6.2-notls (i386/linux))
  Max-Forwards: 70
  Event: presence
  Contact: sip:10.6.9.215:4343
  Subscription-State: active;expires=440


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=241group_id=232389

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


[OpenSIPS-Devel] SF.net SVN: opensips:[6857] trunk/modules/presence/subscribe.c

2010-05-11 Thread Anca Vamanu
Revision: 6857
  http://opensips.svn.sourceforge.net/opensips/?rev=6857view=rev
Author:   anca_vamanu
Date: 2010-05-11 12:27:57 + (Tue, 11 May 2010)

Log Message:
---
- fix - deleted by mistake a use_table statement in the last commit

Modified Paths:
--
trunk/modules/presence/subscribe.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

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


[OpenSIPS-Devel] SF.net SVN: opensips:[6858] branches/1.6/modules/presence/subscribe.c

2010-05-11 Thread Anca Vamanu
Revision: 6858
  http://opensips.svn.sourceforge.net/opensips/?rev=6858view=rev
Author:   anca_vamanu
Date: 2010-05-11 12:34:38 + (Tue, 11 May 2010)

Log Message:
---
- fix - deleted by mistake a use_table statement in the last commit

Modified Paths:
--
branches/1.6/modules/presence/subscribe.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

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


[OpenSIPS-Devel] SF.net SVN: opensips:[6859] branches/1.5/modules/presence/subscribe.c

2010-05-11 Thread Anca Vamanu
Revision: 6859
  http://opensips.svn.sourceforge.net/opensips/?rev=6859view=rev
Author:   anca_vamanu
Date: 2010-05-11 12:56:09 + (Tue, 11 May 2010)

Log Message:
---
- fix - deleted by mistake a use_table statement in the last commit

Modified Paths:
--
branches/1.5/modules/presence/subscribe.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

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


[OpenSIPS-Devel] SF.net SVN: opensips:[6860] trunk/modules/pua_dialoginfo/dialog_publish.c

2010-05-11 Thread Anca Vamanu
Revision: 6860
  http://opensips.svn.sourceforge.net/opensips/?rev=6860view=rev
Author:   anca_vamanu
Date: 2010-05-11 13:29:04 + (Tue, 11 May 2010)

Log Message:
---
- limit the size of the generated pres_id ( not to exceed the length of the 
filed in the database table)

Modified Paths:
--
trunk/modules/pua_dialoginfo/dialog_publish.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

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


[OpenSIPS-Devel] SF.net SVN: opensips:[6862] trunk

2010-05-11 Thread Anca Vamanu
Revision: 6862
  http://opensips.svn.sourceforge.net/opensips/?rev=6862view=rev
Author:   anca_vamanu
Date: 2010-05-11 14:31:23 + (Tue, 11 May 2010)

Log Message:
---
- fixed pua schema - remote contact can be null

Modified Paths:
--
trunk/db/schema/pr_pua.xml
trunk/scripts/dbtext/opensips/pua
trunk/scripts/mysql/presence-create.sql
trunk/scripts/postgres/presence-create.sql


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

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


[OpenSIPS-Devel] SF.net SVN: opensips:[6863] branches/1.6

2010-05-11 Thread Anca Vamanu
Revision: 6863
  http://opensips.svn.sourceforge.net/opensips/?rev=6863view=rev
Author:   anca_vamanu
Date: 2010-05-11 14:41:42 + (Tue, 11 May 2010)

Log Message:
---
- fixed pua schema - remote contact can be null

Modified Paths:
--
branches/1.6/db/schema/pr_pua.xml
branches/1.6/scripts/dbtext/opensips/pua
branches/1.6/scripts/mysql/presence-create.sql
branches/1.6/scripts/postgres/presence-create.sql


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

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


[OpenSIPS-Devel] [ opensips-Bugs-3000072 ] segfault in pua_dialoginfo module

2010-05-11 Thread SourceForge.net
Bugs item #372, was opened at 2010-05-11 18:46
Message generated for change (Tracker Item Submitted) made by vabdulla
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=372group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.6.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: vabdulla (vabdulla)
Assigned to: Nobody/Anonymous (nobody)
Summary: segfault in pua_dialoginfo module

Initial Comment:
Hello,
I have regularly segfaults in opensips 1.6 from svn (2:6840M) with presence 
enabled. The problem seems to happen when parsing a to header with parameters. 
Here is the backtrace:

#0  0x080d4fd5 in parse_to (buffer=0x819c9a0 
sip:2...@sipb01.proxy.com;user=phone\r\n, end=0x819c9c7 , to_b=0xbfe176b8) 
at parser/parse_to.c:189
189 parser/parse_to.c: No such file or directory.
in parser/parse_to.c
(gdb) bt
#0  0x080d4fd5 in parse_to (buffer=0x819c9a0 
sip:2...@sipb01.proxy.com;user=phone\r\n, end=0x819c9c7 , to_b=0xbfe176b8) 
at parser/parse_to.c:189
#1  0xb7995969 in __dialog_sendpublish (dlg=0xafa87fa8, type=32, 
_params=0xb7b52bc0) at pua_dialoginfo.c:303
#2  0xb7b37876 in run_dlg_callbacks (type=32, dlg=0xafa87fa8, msg=0x81990f4, 
dir=1, dlg_data=0x0) at dlg_cb.c:253
#3  0xb7b3d476 in dlg_onroute (req=0x81990f4, route_params=0xbfe17b80, 
param=0x0) at dlg_handlers.c:890
#4  0xb798e7e9 in run_rr_callbacks (req=0x81990f4, rr_params=0xb79913e4) at 
rr_cb.c:89
#5  0xb7988f52 in after_strict (_m=0x81990f4) at loose.c:734
#6  0xb798be25 in loose_route (_m=0x81990f4, _s1=0x0, _s2=0x0) at loose.c:919
#7  0x08055399 in do_action (a=0x8177710, msg=0x81990f4) at action.c:967
#8  0x08053ecf in run_action_list (a=0x8177710, msg=0x81990f4) at action.c:139
#9  0x080960ba in eval_expr (e=0x81c, msg=0x81990f4, val=0x0) at 
route.c:1240
#10 0x08095ca9 in eval_expr (e=0x81777a8, msg=0x81990f4, val=0x0) at 
route.c:1561
#11 0x08055045 in do_action (a=0x8178618, msg=0x81990f4) at action.c:689
#12 0x08053ecf in run_action_list (a=0x81754ac, msg=0x81990f4) at action.c:139
#13 0x08057db9 in run_top_route (a=0x81754ac, msg=0x81990f4) at action.c:119
#14 0x0808af3c in receive_msg (
buf=0x8146500 BYE 
sip:sipb01.proxy.com:5060;nat=yes;ftag=000c30708abe2cf008c97c56-050ad08e;lr=on;did=98.724cd671
 SIP/2.0\r\nVia: SIP/2.0/UDP 192.168.0.191:5060\r\nFrom: \33581319702\ 
sip:33581319...@sipb01.proxy.com..., len=492, rcv_info=0xbfe18574) at 
receive.c:162
#15 0x080bd952 in udp_rcv_loop () at udp_server.c:492
#16 0x080693c9 in main (argc=9, argv=0xbfe186f4) at main.c:818

The segfault is generated by the following code in parser/parse_to.c (line 189) 
: add_param( param , to_b );
Looks like there is no memory allocated to receive the parameter. 

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=372group_id=232389

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