Re: [OpenSIPS-Devel] [OpenSIPS-Users] Building OpenSips OSP support

2015-05-20 Thread Di-Shi Sun
Hi Bogdan,

 

We will do it soon.

 

Regards,

 

Di-Shi Sun.

 

From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] 
Sent: Tuesday, May 19, 2015 5:38 PM
To: di-...@transnexus.com
Cc: us...@lists.opensips.org; devel@lists.opensips.org; 'Support of 
Transnexus'; victor.med...@cibersys.com
Subject: Re: [OpenSIPS-Users] Building OpenSips OSP support

 

Hi Di-Shi,

Shouldn't you update the doc file for 2.1 version just to specify the exact 
version of the required toolkit and where the get it from ? as mentioned, this 
info is outdated and people do have issues is building the module.

Best regards, 



Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 19.05.2015 04:55, Di-Shi Sun wrote:

Hi Bogdan,

 

We have verified that the OSP module in OpenSIPS 2.1 works with OSP Toolkit 
4.1.2 and later versions.  I believe Victor used OSP Toolkit 4.0.3 or earlier 
version.

 

BTW, OpenSIPS OSP feature works for OSPrey server from TransNexus. The OSP 
Toolkit version must be selected for the used OSPrey server version.

 

Regards,

 

Di-Shi Sun.

From: Di-Shi Sun [mailto:di-...@transnexus.com] 
Sent: Monday, May 18, 2015 5:15 PM
To: 'Bogdan-Andrei Iancu'
Cc: us...@lists.opensips.org; devel@lists.opensips.org; Support of Transnexus
Subject: RE: Re: [OpenSIPS-Users] Building OpenSips OSP support

 

Hi Bogdan,

 

We have updated OpenSIPS OSP module internally but have not fully tested it for 
committing the changes into OpenSIPS yet.

 

For recent OSP module in OpenSIPS 2.1, it should work for OSP Toolkit 4.1.2 and 
later versions. They can be find in 
http://sourceforge.net/projects/osp-toolkit/files/?source=navbar. We will 
verify it and reply soon.

 

Thanks,

 

Di-Shi Sun.

 

From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] 
Sent: Monday, May 18, 2015 4:52 PM
To: Di-Shi Sun
Subject: Fwd: Re: [OpenSIPS-Users] Building OpenSips OSP support

 

Hi Di-Shi,

There is a user reporting some issue with compiling the OSP module - is there a 
recommended version / location for getting the OSP toolkit?

Also, in the OSP module doc 
(http://www.opensips.org/html/docs/modules/1.11.x/osp.html) there is a link in 
section 1.2 (
http://www.transnexus.com/White%20Papers/Multi-Lateral_Peering_with_OpenSIPS_V1.6.pdf)
 which is not available anymore.

Is there a replacement ?

Thanks and regards,
Bogdan



 Forwarded Message  


Subject: 

Re: [OpenSIPS-Users] Building OpenSips OSP support


Date: 

Fri, 15 May 2015 13:14:15 -0430


From: 

Victor Medina  mailto:victor.med...@cibersys.com victor.med...@cibersys.com


To: 

Bogdan-Andrei Iancu  mailto:bog...@opensips.org bog...@opensips.org


CC: 

OpenSIPS users mailling list  mailto:us...@lists.opensips.org 
us...@lists.opensips.org

 

Hi Bogdan.

Sorry for being so late.

I was trying some other features... This is the actual output.

 case OSPC_ERR_TRAN_CALLED_FILTERING:
  ^
orig_transaction.c:608:9: warning: passing argument 1 of ‘OSPPCallIdDelete’ 
from incompatible pointer type [enabled by default]
 OSPPCallIdDelete((callids[0]));
 ^
In file included from /usr/include/osp/ospdatatypes.h:217:0,
 from /usr/include/osp/osp.h:35,
 from orig_transaction.c:34:
/usr/include/osp/ospcallid.h:62:20: note: expected ‘struct OSPTCALLID **’ but 
argument is of type ‘int **’
 void   OSPPCallIdDelete(OSPTCALLID **);
^
orig_transaction.c:354:10: warning: unused variable ‘opname’ [-Wunused-variable]
 char opname[OSPC_OPNAME_NUMBER][OSP_STRBUF_SIZE];
  ^
In file included from osp_mod.c:40:0:
destination.h:61:17: error: ‘OSPC_OPNAME_NUMBER’ undeclared here (not in a 
function)
 char opname[OSPC_OPNAME_NUMBER][OSP_STRBUF_SIZE];
 ^
destination.h:70:5: error: unknown type name ‘OSPE_PROTOCOL_NAME’
 OSPE_PROTOCOL_NAME protocol;
 ^
make[2]: *** [orig_transaction.o] Error 1
make[2]: *** [osp_mod.o] Error 1
In file included from osptoolkit.c:33:0:
osptoolkit.h:56:5: error: unknown type name ‘OSPE_RELEASE’
 OSPE_RELEASE ospvReleaseSource  /* In - EP that released the call */
 ^
osptoolkit.c:47:5: error: unknown type name ‘OSPE_RELEASE’
 OSPE_RELEASE release;   /* EP that released the call */
 ^
osptoolkit.c:98:5: error: unknown type name ‘OSPE_RELEASE’
 OSPE_RELEASE ospvReleaseSource)
 ^
osptoolkit.c:134:25: warning: ‘ospReportUsageWork’ defined but not used 
[-Wunused-function]
 static OSPTTHREADRETURN ospReportUsageWork(
 ^
make[2]: *** [osptoolkit.o] Error 1
make[2]: Leaving directory `/home/infraestructura001/opensips-2.1.0/modules/osp'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/infraestructura001/opensips-2.1.0'

 

2015-05-15 10:35 GMT-04:30 Bogdan-Andrei Iancu bog...@opensips.org:

Hi Victor,

What is the actual error you get ? have you installed the Kit ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS 

[OpenSIPS-Devel] [OpenSIPS/opensips] fa1443: move db data initialization from mi_child_init to ...

2015-05-20 Thread ionutrazvanionita
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fa14431830bde1c8ede30bf77a609197e7d002fa
  
https://github.com/OpenSIPS/opensips/commit/fa14431830bde1c8ede30bf77a609197e7d002fa
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
M modules/dialplan/dialplan.c

  Log Message:
  ---
  move db data initialization from mi_child_init to child init


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


[OpenSIPS-Devel] [OpenSIPS/opensips] a57d67: Expose API for setting connection attributes in WS...

2015-05-20 Thread Vlad Paiu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a57d67f3609237ad2b5480b8924f701681002fcf
  
https://github.com/OpenSIPS/opensips/commit/a57d67f3609237ad2b5480b8924f701681002fcf
  Author: Vlad Paiu vladp...@opensips.org
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
M modules/proto_ws/proto_ws.c

  Log Message:
  ---
  Expose API for setting connection attributes in WS module
Fix so that tcp_persistent_flag in registrar also works for WS connections


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 6164d1: Closed connection in child init after data load; C...

2015-05-20 Thread ionutrazvanionita
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6164d1c3cab077957e91118c8094cfa97b2bfc7b
  
https://github.com/OpenSIPS/opensips/commit/6164d1c3cab077957e91118c8094cfa97b2bfc7b
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
M modules/dialplan/dialplan.c
M modules/dialplan/dialplan.h
M modules/dialplan/dp_db.c
M modules/dialplan/dp_db.h

  Log Message:
  ---
  Closed connection in child init after data load; Connected to db from mi 
process in mi_child_init


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 320c82: Expose API for setting connection attributes in WS...

2015-05-20 Thread Vlad Paiu
  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 320c825cb93c95b1f006ebe643ea189bbef8be49
  
https://github.com/OpenSIPS/opensips/commit/320c825cb93c95b1f006ebe643ea189bbef8be49
  Author: Vlad Paiu vladp...@opensips.org
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
M modules/proto_ws/proto_ws.c

  Log Message:
  ---
  Expose API for setting connection attributes in WS module
Fix so that tcp_persistent_flag in registrar also works for WS connections

(cherry picked from commit a57d67f3609237ad2b5480b8924f701681002fcf)


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


Re: [OpenSIPS-Devel] [opensips] dialplan: WARNING: a load command already generated, aborting reload... (#510)

2015-05-20 Thread Ionut Ionita
fa14431830bde1c8ede30bf77a609197e7d002fa  
6164d1c3cab077957e91118c8094cfa97b2bfc7b loads data in child_init and then 
closes the connection; in mi_child_init it is done only the connect part

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/510#issuecomment-103878147___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 5aae5a: fixed partition parsing

2015-05-20 Thread ionutrazvanionita
  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5aae5ab2df468a88eb6500da948842c8afff6121
  
https://github.com/OpenSIPS/opensips/commit/5aae5ab2df468a88eb6500da948842c8afff6121
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
M modules/dialplan/dialplan.c

  Log Message:
  ---
  fixed partition parsing


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


Re: [OpenSIPS-Devel] [opensips] Make sure httpd can recognize Content-Type headers with parameters. (#517)

2015-05-20 Thread Stas Kobzar
@bogdan-iancu Right! Thank you for explaining that in details. I have updated 
functions.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/517#issuecomment-103946920___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 9d07e5: route params: increment nesting level on no-param ...

2015-05-20 Thread Liviu Chircu
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9d07e53c2349f920f1f8fa0edc6e8acb8f950313
  
https://github.com/OpenSIPS/opensips/commit/9d07e53c2349f920f1f8fa0edc6e8acb8f950313
  Author: Liviu Chircu li...@opensips.org
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
M action.c

  Log Message:
  ---
  route params: increment nesting level on no-param routes

Completes commit f3ed4db99

(cherry picked from commit 564acbe638fab63deb2d39462b667b2d83a75f05)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 8e95b8: route params: increment nesting level on no-param ...

2015-05-20 Thread Liviu Chircu
  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8e95b8d3b294e51d954949a637c4c63689bb
  
https://github.com/OpenSIPS/opensips/commit/8e95b8d3b294e51d954949a637c4c63689bb
  Author: Liviu Chircu li...@opensips.org
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
M action.c

  Log Message:
  ---
  route params: increment nesting level on no-param routes

Completes commit f3ed4db99

(cherry picked from commit 564acbe638fab63deb2d39462b667b2d83a75f05)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] bc8e86: httpd: Make sure httpd can recognize Content-Type ...

2015-05-20 Thread Bogdan Andrei IANCU
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bc8e8657b27e92e0f5826237f3939da7e8df5788
  
https://github.com/OpenSIPS/opensips/commit/bc8e8657b27e92e0f5826237f3939da7e8df5788
  Author: Stas Kobzar s...@modulis.ca
  Date:   2015-05-19 (Tue, 19 May 2015)

  Changed paths:
M modules/httpd/httpd_proc.c

  Log Message:
  ---
  httpd: Make sure httpd can recognize Content-Type headers with params.


  Commit: fa9e57c91a66d088834ae558a72ea968732ffef4
  
https://github.com/OpenSIPS/opensips/commit/fa9e57c91a66d088834ae558a72ea968732ffef4
  Author: Stas Kobzar s...@modulis.ca
  Date:   2015-05-19 (Tue, 19 May 2015)

  Changed paths:
M modules/httpd/httpd_proc.c

  Log Message:
  ---
  Make sure httpd can recognize Content-Type headers with params (with improved 
memory management patch from bogdan-iancu).


  Commit: 876d2976bd34b375f4c4dd39b8d997a38c77fc5d
  
https://github.com/OpenSIPS/opensips/commit/876d2976bd34b375f4c4dd39b8d997a38c77fc5d
  Author: Stas Kobzar s...@modulis.ca
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
M modules/httpd/httpd_proc.c

  Log Message:
  ---
  Matching content type parameter value using strcasecmp instead of strncasecmp.


  Commit: a8971c2fcb0207a34005a2ee586de97ecf759638
  
https://github.com/OpenSIPS/opensips/commit/a8971c2fcb0207a34005a2ee586de97ecf759638
  Author: Bogdan Andrei IANCU bog...@opensips.org
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
M modules/httpd/httpd_proc.c

  Log Message:
  ---
  Merge pull request #517 from staskobzar/1.11

Make sure httpd can recognize Content-Type headers with parameters.


Compare: 
https://github.com/OpenSIPS/opensips/compare/9d07e53c2349...a8971c2fcb02___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Make sure httpd can recognize Content-Type headers with parameters. (#517)

2015-05-20 Thread Bogdan Andrei IANCU
Merged #517.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/517#event-309758529___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 33c141: Merge pull request #517 from staskobzar/1.11

2015-05-20 Thread Bogdan Andrei IANCU
  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 33c141592cb05560ae418181694999b001cdb858
  
https://github.com/OpenSIPS/opensips/commit/33c141592cb05560ae418181694999b001cdb858
  Author: Bogdan Andrei IANCU bog...@opensips.org
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
M modules/httpd/httpd_proc.c

  Log Message:
  ---
  Merge pull request #517 from staskobzar/1.11

Make sure httpd can recognize Content-Type headers with parameters.
(cherry picked from commit a8971c2fcb0207a34005a2ee586de97ecf759638)

Conflicts:
modules/httpd/httpd_proc.c


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 564acb: route params: increment nesting level on no-param ...

2015-05-20 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 564acbe638fab63deb2d39462b667b2d83a75f05
  
https://github.com/OpenSIPS/opensips/commit/564acbe638fab63deb2d39462b667b2d83a75f05
  Author: Liviu Chircu li...@opensips.org
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
M action.c

  Log Message:
  ---
  route params: increment nesting level on no-param routes

Completes commit f3ed4db99


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 899bbd: Merge pull request #517 from staskobzar/1.11

2015-05-20 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 899bbddc80ca1e7ab122019be87900c860199b56
  
https://github.com/OpenSIPS/opensips/commit/899bbddc80ca1e7ab122019be87900c860199b56
  Author: Bogdan Andrei IANCU bog...@opensips.org
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
M modules/httpd/httpd_proc.c

  Log Message:
  ---
  Merge pull request #517 from staskobzar/1.11

Make sure httpd can recognize Content-Type headers with parameters.
(cherry picked from commit a8971c2fcb0207a34005a2ee586de97ecf759638)

Conflicts:
modules/httpd/httpd_proc.c


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 1c5687: emergency -- change callcell identity

2015-05-20 Thread root
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1c56870331a0349fa8e88d9f2697260cd35339c5
  
https://github.com/OpenSIPS/opensips/commit/1c56870331a0349fa8e88d9f2697260cd35339c5
  Author: root evilla...@gmail.com
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
M modules/emergency/emergency_methods.c
M modules/emergency/emergency_methods.h
M modules/emergency/http_emergency.c
M modules/emergency/http_emergency.h
M modules/emergency/sip_emergency.c
M modules/emergency/sip_emergency.h
M modules/emergency/subscriber_emergency.c
M modules/emergency/subscriber_emergency.h
M modules/emergency/xml_parser.c
M modules/emergency/xml_parser.h

  Log Message:
  ---
  emergency -- change callcell identity


  Commit: 8221c64f08b002a02287f03e5891774e2e47af48
  
https://github.com/OpenSIPS/opensips/commit/8221c64f08b002a02287f03e5891774e2e47af48
  Author: root evilla...@gmail.com
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
M action.c
M modules/cachedb_cassandra/cachedb_cassandra.c
M modules/dialplan/README
M modules/dialplan/dialplan.c
M modules/dialplan/dialplan.h
M modules/dialplan/doc/dialplan_admin.xml
M modules/dialplan/dp_db.c
M modules/dialplan/dp_db.h
M modules/httpd/httpd_proc.c
M modules/proto_ws/proto_ws.c
M modules/tm/async.c
M modules/topology_hiding/README
M modules/topology_hiding/doc/topology_hiding_admin.xml
M pvar.c
M utils/vim/opensips.vim

  Log Message:
  ---
  Merge branch 'master' of github.com:OpenSIPS/opensips


Compare: 
https://github.com/OpenSIPS/opensips/compare/899bbddc80ca...8221c64f08b0___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [opensips] drouting gw_priprefix_avp returns null (#518)

2015-05-20 Thread apsaras
Hello

The gw_priprefix_avp, after doing do_routing always returns null

modparam(drouting, gw_priprefix_avp, '$avp(gw_priprefix)')

 if(!do_routing($avp(rgid),,,$avp(rule_attrs),$avp(gw_attrs)))
{
send_reply(500,No Route Found);
exit;
}
xlog(My PRI Prefix: $avp(gw_priprefix)); -- That returns null

OpenSIPs 2.1.0


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/518___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] b66763: emergency -- change callcell identity

2015-05-20 Thread root
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b66763282ab330128ee46ab09bc38dbf05bb8284
  
https://github.com/OpenSIPS/opensips/commit/b66763282ab330128ee46ab09bc38dbf05bb8284
  Author: root evilla...@gmail.com
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
M modules/emergency/xml_parser.h

  Log Message:
  ---
  emergency -- change callcell identity


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


Re: [OpenSIPS-Devel] [opensips] Make sure httpd can recognize Content-Type headers with parameters. (#517)

2015-05-20 Thread Bogdan Andrei IANCU
@staskobzar , you need to keep the strcasecmp() instead of strncasecmp(). If 
you get a Content-Type: text/xmlX ; bla=foo ; after param stripping and 
trimming, the value will be 'text/xmlX', that will match text/xml with 
strncasecmp() and will not with strcasecmp(). And it should not match.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/517#issuecomment-103911959___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] httpd: Make sure httpd can recognize Content-Type headers with params. (#506)

2015-05-20 Thread Bogdan Andrei IANCU
Closed #506.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/506#event-309587382___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel