kamailio.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
List overview
Download
sr-dev
January 2011
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
sr-dev@lists.kamailio.org
14 participants
226 discussions
Start a n
N
ew thread
git:3.1: rls(k): fixed double-quotes wrong position
by Daniel-Constantin Mierla
Module: sip-router Branch: 3.1 Commit: 0a69c6b9aa0037e014a710043d6e258188e28c2b URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0a69c6b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: Wed Jan 5 15:11:39 2011 +0100 rls(k): fixed double-quotes wrong position - reported by Klaus Darilion (cherry picked from commit 7e01915b757da740d7fff31ba1a25c4aa5a96908) --- modules_k/rls/notify.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules_k/rls/notify.c b/modules_k/rls/notify.c index 9d22036..9b83f21 100644 --- a/modules_k/rls/notify.c +++ b/modules_k/rls/notify.c @@ -602,9 +602,10 @@ str* rls_notify_extra_hdr(subs_t* subs, char* start_cid, char* boundary_string) if(start_cid && boundary_string) { str_hdr->len+= sprintf(str_hdr->s+str_hdr->len, - "Content-Type: \"multipart/related;type=\"application/rlmi+xml\""); + "Content-Type: multipart/related;type=\"application/rlmi+xml\""); str_hdr->len+= sprintf(str_hdr->s+str_hdr->len, - ";start= <%s>;boundary=%s\r\n", start_cid, boundary_string); + ";start=\"<%s>\";boundary=\"%s\"\r\n", + start_cid, boundary_string); } if(str_hdr->len> RLS_HDR_LEN) {
13 years, 11 months
1
0
0
0
git:carstenbock/ims: SCSCF is now compilable
by Carsten Bock
Module: sip-router Branch: carstenbock/ims Commit: 81adf157a0cd2c3d2ce215a88ff503dd97557a1c URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=81adf15…
Author: Carsten Bock <carsten(a)bock.info> Committer: Carsten Bock <carsten(a)bock.info> Date: Tue Dec 28 16:28:23 2010 +0100 SCSCF is now compilable --- modules/scscf/Makefile | 7 +++++++ modules/scscf/dlg_state.c | 8 +++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/modules/scscf/Makefile b/modules/scscf/Makefile index ea09637..569b398 100644 --- a/modules/scscf/Makefile +++ b/modules/scscf/Makefile @@ -11,6 +11,12 @@ include ../../Makefile.defs auto_gen= NAME=scscf.so +ifeq ($(CFG_NAME),kamailio) + DEFS+=-DSER_MOD_INTERFACE + SERLIBPATH=../../lib + SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1 + #LIBS+=-L../../lib/cds -lser_cds +else ifeq ($(CFG_NAME),sip-router) DEFS+=-DSER_MOD_INTERFACE SERLIBPATH=../../lib @@ -19,6 +25,7 @@ ifeq ($(CFG_NAME),sip-router) else LIBS+=-L../../lib/cds -l_ser_cds endif +endif DEFS += -DCDP_FOR_SER DEFS += -I/usr/include/libxml2 -I../../lib -DSER -I../.. diff --git a/modules/scscf/dlg_state.c b/modules/scscf/dlg_state.c index b03da4d..f8b493c 100644 --- a/modules/scscf/dlg_state.c +++ b/modules/scscf/dlg_state.c @@ -57,11 +57,9 @@ #include "dlg_state.h" #include "../../modules/tm/tm_load.h" -#ifdef SER_MOD_INTERFACE - #include "../../modules_s/sl/sl_funcs.h" -#else - #include "../../modules/sl/sl_funcs.h" -#endif + +#include "../../modules/sl/sl_funcs.h" + #include "../../mem/shm_mem.h" #include "../../parser/parse_rr.h"
13 years, 11 months
1
0
0
0
git:carstenbock/ims: Initial Import of the OpenIMS-Core Modules into the Kamailio/sip-router. org Core
by Carsten Bock
Module: sip-router Branch: carstenbock/ims Commit: c0053e8439074e00da42492a4bcbb6524df0aee6 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c0053e8…
Author: Carsten Bock <bock(a)bock-o2.(none)> Committer: Carsten Bock <bock(a)bock-o2.(none)> Date: Tue Dec 28 09:49:14 2010 +0100 Initial Import of the OpenIMS-Core Modules into the
Kamailio/sip-router.org
Core --- modules/cdp/Makefile | 26 + modules/cdp/RFC3588.vsd | Bin 0 -> 300032 bytes modules/cdp/RFC3588_acct_state_machine_client.png | Bin 0 -> 440240 bytes modules/cdp/RFC3588_acct_state_machine_server.png | Bin 0 -> 272720 bytes modules/cdp/RFC3588_auth_state_machine_client.png | Bin 0 -> 418965 bytes modules/cdp/RFC3588_auth_state_machine_server.png | Bin 0 -> 230635 bytes modules/cdp/RFC3588_peer_state_machine_1.png | Bin 0 -> 305180 bytes modules/cdp/RFC3588_peer_state_machine_2.png | Bin 0 -> 369572 bytes modules/cdp/acceptor.c | 128 + modules/cdp/acceptor.h | 65 + modules/cdp/api_process.c | 122 + modules/cdp/api_process.h | 90 + modules/cdp/authstatemachine.c | 887 ++++++ modules/cdp/authstatemachine.h | 81 + modules/cdp/cdp_load.c | 123 + modules/cdp/cdp_load.h | 125 + modules/cdp/config.c | 234 ++ modules/cdp/config.h | 153 + modules/cdp/configdtd.h | 109 + modules/cdp/configexample/.svn/all-wcprops | 11 + modules/cdp/configexample/.svn/dir-prop-base | 8 + modules/cdp/configexample/.svn/entries | 62 + .../.svn/prop-base/ConfigExample.xml.svn-base | 5 + .../.svn/text-base/ConfigExample.xml.svn-base | 105 + modules/cdp/configexample/ConfigExample.xml | 105 + modules/cdp/configparser.c | 466 +++ modules/cdp/diameter.h | 451 +++ modules/cdp/diameter_api.h | 228 ++ modules/cdp/diameter_avp.c | 769 +++++ modules/cdp/diameter_comm.c | 357 +++ modules/cdp/diameter_epc.h | 867 ++++++ modules/cdp/diameter_ims.h | 683 +++++ modules/cdp/diameter_msg.c | 625 ++++ modules/cdp/diameter_peer.c | 594 ++++ modules/cdp/diameter_peer.h | 87 + modules/cdp/globals.c | 150 + modules/cdp/globals.h | 100 + modules/cdp/mod.c | 234 ++ modules/cdp/mod.h | 213 ++ modules/cdp/mod_wharf.c | 170 ++ modules/cdp/mod_wharf.h | 37 + modules/cdp/peer.c | 123 + modules/cdp/peer.h | 144 + modules/cdp/peermanager.c | 359 +++ modules/cdp/peermanager.h | 92 + modules/cdp/peerstatemachine.c | 1249 ++++++++ modules/cdp/peerstatemachine.h | 89 + modules/cdp/receiver.c | 1128 +++++++ modules/cdp/receiver.h | 107 + modules/cdp/routing.c | 195 ++ modules/cdp/routing.h | 66 + modules/cdp/sem.h | 103 + modules/cdp/session.c | 685 +++++ modules/cdp/session.h | 278 ++ modules/cdp/tcp_accept.c | 251 ++ modules/cdp/tcp_accept.h | 65 + modules/cdp/timer.c | 236 ++ modules/cdp/timer.h | 93 + modules/cdp/transaction.c | 260 ++ modules/cdp/transaction.h | 104 + modules/cdp/utils.h | 105 + modules/cdp/worker.c | 422 +++ modules/cdp/worker.h | 117 + modules/cdp_avp/Makefile | 30 + modules/cdp_avp/avp_add.c | 160 + modules/cdp_avp/avp_add.h | 99 + modules/cdp_avp/avp_get.c | 140 + modules/cdp_avp/avp_get.h | 100 + modules/cdp_avp/avp_get_base | 268 ++ modules/cdp_avp/avp_get_base_data_format.c | 270 ++ modules/cdp_avp/avp_get_base_data_format.h | 195 ++ modules/cdp_avp/avp_new.c | 86 + modules/cdp_avp/avp_new.h | 84 + modules/cdp_avp/avp_new_base_data_format.c | 243 ++ modules/cdp_avp/avp_new_base_data_format.h | 204 ++ modules/cdp_avp/base.c | 89 + modules/cdp_avp/base.h | 443 +++ modules/cdp_avp/ccapp.c | 89 + modules/cdp_avp/ccapp.h | 401 +++ modules/cdp_avp/epcapp.c | 126 + modules/cdp_avp/epcapp.h | 799 +++++ modules/cdp_avp/get_reference.h | 85 + modules/cdp_avp/get_reference.sh | 7 + modules/cdp_avp/imsapp.c | 90 + modules/cdp_avp/imsapp.h | 512 ++++ modules/cdp_avp/macros.h | 467 +++ modules/cdp_avp/mod.c | 359 +++ modules/cdp_avp/mod_export.h | 228 ++ modules/cdp_avp/nasapp.c | 89 + modules/cdp_avp/nasapp.h | 392 +++ modules/icscf/Makefile | 28 + modules/icscf/auth_api.c | 144 + modules/icscf/auth_api.h | 55 + modules/icscf/base64.c | 339 +++ modules/icscf/base64.h | 66 + modules/icscf/cx.c | 248 ++ modules/icscf/cx.h | 79 + modules/icscf/cx_avp.c | 1 + modules/icscf/cx_avp.h | 1 + modules/icscf/db.c | 438 +++ modules/icscf/db.h | 73 + modules/icscf/db_web_ui/.htaccess | 59 + modules/icscf/db_web_ui/.htpasswd | 1 + modules/icscf/db_web_ui/config.inc | 93 + modules/icscf/db_web_ui/css/testbed_style.css | 205 ++ modules/icscf/db_web_ui/functions.inc | 142 + modules/icscf/db_web_ui/images/bg_main.gif | Bin 0 -> 379 bytes modules/icscf/db_web_ui/images/blind.gif | Bin 0 -> 43 bytes modules/icscf/db_web_ui/images/hauptlogo_01_en.gif | Bin 0 -> 2465 bytes modules/icscf/db_web_ui/images/hauptlogo_02_en.gif | Bin 0 -> 2506 bytes modules/icscf/db_web_ui/images/icon_bild.gif | Bin 0 -> 67 bytes modules/icscf/db_web_ui/images/icon_film.gif | Bin 0 -> 64 bytes modules/icscf/db_web_ui/images/icon_link_fokus.gif | Bin 0 -> 62 bytes modules/icscf/db_web_ui/images/icon_link_fue.gif | Bin 0 -> 61 bytes modules/icscf/db_web_ui/images/icon_link_pup.gif | Bin 0 -> 61 bytes modules/icscf/db_web_ui/images/icon_link_www.gif | Bin 0 -> 64 bytes modules/icscf/db_web_ui/images/icon_text.gif | Bin 0 -> 67 bytes modules/icscf/db_web_ui/images/ok.gif | Bin 0 -> 343 bytes modules/icscf/db_web_ui/images/openims.gif | Bin 0 -> 3552 bytes modules/icscf/db_web_ui/images/openims.jpg | Bin 0 -> 5046 bytes modules/icscf/db_web_ui/images/progress_rem.gif | Bin 0 -> 163 bytes modules/icscf/db_web_ui/images/save_edit.gif | Bin 0 -> 639 bytes modules/icscf/db_web_ui/images/spacer.gif | Bin 0 -> 43 bytes modules/icscf/db_web_ui/inc/data_icscf.inc | 328 ++ modules/icscf/db_web_ui/inc/of_calendar.inc | 390 +++ modules/icscf/db_web_ui/inc/of_checkbox.inc | 90 + modules/icscf/db_web_ui/inc/of_file.inc | 31 + modules/icscf/db_web_ui/inc/of_radio.inc | 75 + modules/icscf/db_web_ui/inc/of_select.inc | 112 + modules/icscf/db_web_ui/inc/of_text.inc | 108 + modules/icscf/db_web_ui/inc/of_textarea.inc | 50 + modules/icscf/db_web_ui/inc/oohforms.inc | 387 +++ modules/icscf/db_web_ui/index.php | 74 + modules/icscf/db_web_ui/index_main.php | 67 + modules/icscf/db_web_ui/index_under.php | 67 + modules/icscf/db_web_ui/menu_left.php | 90 + modules/icscf/db_web_ui/menu_top.php | 117 + modules/icscf/db_web_ui/nds.php | 334 ++ modules/icscf/db_web_ui/post.inc | 59 + modules/icscf/db_web_ui/pre_icscf.inc | 70 + modules/icscf/db_web_ui/scscf.php | 414 +++ modules/icscf/db_web_ui/style/fokus_ngni.css | 288 ++ modules/icscf/db_web_ui/welcome.php | 77 + modules/icscf/ims_pm.c | 1 + modules/icscf/ims_pm.h | 1 + modules/icscf/ims_pm_icscf.c | 177 ++ modules/icscf/ims_pm_icscf.h | 79 + modules/icscf/location.c | 348 +++ modules/icscf/location.h | 87 + modules/icscf/mod.c | 459 +++ modules/icscf/mod.h | 180 ++ modules/icscf/nds.c | 221 ++ modules/icscf/nds.h | 72 + modules/icscf/registration.c | 287 ++ modules/icscf/registration.h | 100 + modules/icscf/scscf_list.c | 596 ++++ modules/icscf/scscf_list.h | 125 + modules/icscf/sip.c | 1 + modules/icscf/sip.h | 1 + modules/icscf/thig.c | 408 +++ modules/icscf/thig.h | 163 + modules/icscf/thig_aes.h | 286 ++ modules/icscf/thig_debug.h | 84 + modules/icscf/thig_ims_enc.c | 268 ++ modules/icscf/thig_ims_enc.h | 66 + modules/icscf/thig_platform.h | 124 + modules/icscf/thig_table.h | 238 ++ modules/icscf/thig_twofish2.c | 681 +++++ modules/isc/Makefile | 22 + modules/isc/checker.c | 515 ++++ modules/isc/checker.h | 83 + modules/isc/ims_pm.c | 1 + modules/isc/ims_pm.h | 1 + modules/isc/isc.c | 137 + modules/isc/isc.h | 70 + modules/isc/mark.c | 381 +++ modules/isc/mark.h | 98 + modules/isc/mod.c | 688 +++++ modules/isc/mod.h | 251 ++ modules/isc/sip.c | 750 +++++ modules/isc/sip.h | 105 + modules/isc/third_party_reg.c | 317 ++ modules/isc/third_party_reg.h | 89 + modules/mgcf/Makefile | 17 + modules/mgcf/dlg_state.c | 1631 ++++++++++ modules/mgcf/dlg_state.h | 170 ++ modules/mgcf/mgcf.c | 611 ++++ modules/mgcf/mgcf.h | 80 + modules/mgcf/mod.c | 409 +++ modules/mgcf/mod.h | 145 + modules/mgcf/release_call.c | 551 ++++ modules/mgcf/release_call.h | 86 + modules/mgcf/sip.c | 1 + modules/mgcf/sip.h | 1 + modules/mgcf/sip_body.c | 405 +++ modules/mgcf/sip_body.h | 79 + modules/pcscf/Makefile | 31 + modules/pcscf/auth_api.c | 231 ++ modules/pcscf/auth_api.h | 56 + modules/pcscf/bin.c | 1 + modules/pcscf/bin.h | 1 + modules/pcscf/bin_db_pcscf.c | 1431 +++++++++ modules/pcscf/bin_db_pcscf.h | 89 + modules/pcscf/bin_file.c | 1 + modules/pcscf/bin_file.h | 1 + modules/pcscf/bin_pcscf.c | 839 +++++ modules/pcscf/bin_pcscf.h | 85 + modules/pcscf/dlg_state.c | 1790 +++++++++++ modules/pcscf/dlg_state.h | 185 ++ modules/pcscf/e2.c | 209 ++ modules/pcscf/e2.h | 70 + modules/pcscf/e2_avp.c | 554 ++++ modules/pcscf/e2_avp.h | 84 + modules/pcscf/em_numbers.c | 373 +++ modules/pcscf/em_numbers.h | 131 + modules/pcscf/emerg.c | 682 +++++ modules/pcscf/emerg.h | 103 + modules/pcscf/emerg_info.xml | 11 + modules/pcscf/ims_pm.c | 1 + modules/pcscf/ims_pm.h | 1 + modules/pcscf/ims_pm_pcscf.c | 199 ++ modules/pcscf/ims_pm_pcscf.h | 77 + modules/pcscf/ipsec_E_Drop.sh | 50 + modules/pcscf/ipsec_E_Inc_Req.sh | 50 + modules/pcscf/ipsec_E_Inc_Rpl.sh | 50 + modules/pcscf/ipsec_E_Out_Req.sh | 50 + modules/pcscf/ipsec_E_Out_Rpl.sh | 50 + modules/pcscf/ipsec_P_Drop.sh | 46 + modules/pcscf/ipsec_P_Inc_Req.sh | 45 + modules/pcscf/ipsec_P_Inc_Rpl.sh | 45 + modules/pcscf/ipsec_P_Out_Req.sh | 45 + modules/pcscf/ipsec_P_Out_Rpl.sh | 45 + modules/pcscf/mod.c | 1066 +++++++ modules/pcscf/mod.h | 230 ++ modules/pcscf/nat_helper.c | 518 ++++ modules/pcscf/nat_helper.h | 120 + modules/pcscf/p_persistency.c | 591 ++++ modules/pcscf/p_persistency.h | 77 + modules/pcscf/pcc.c | 1588 ++++++++++ modules/pcscf/pcc.h | 96 + modules/pcscf/pcc_avp.c | 1708 +++++++++++ modules/pcscf/pcc_avp.h | 162 + modules/pcscf/pcc_gqprima.c | 558 ++++ modules/pcscf/pcc_gqprima.h | 94 + modules/pcscf/policy_control.c | 283 ++ modules/pcscf/policy_control.h | 66 + modules/pcscf/reginfo.dtd | 37 + modules/pcscf/registrar.c | 587 ++++ modules/pcscf/registrar.h | 75 + modules/pcscf/registrar_storage.c | 966 ++++++ modules/pcscf/registrar_storage.h | 229 ++ modules/pcscf/registrar_subscribe.c | 1033 +++++++ modules/pcscf/registrar_subscribe.h | 177 ++ modules/pcscf/registration.c | 1371 +++++++++ modules/pcscf/registration.h | 108 + modules/pcscf/release_call.c | 710 +++++ modules/pcscf/release_call.h | 98 + modules/pcscf/sdp_util.c | 1571 ++++++++++ modules/pcscf/sdp_util.h | 135 + modules/pcscf/security.c | 1603 ++++++++++ modules/pcscf/security.h | 89 + modules/pcscf/sip.c | 1 + modules/pcscf/sip.h | 1 + modules/pcscf/sip_body.c | 1 + modules/pcscf/sip_body.h | 1 + modules/scscf/CxDataType.dtd | 34 + modules/scscf/CxDataType_Rel6.xsd | 293 ++ modules/scscf/CxDataType_Rel7.xsd | 301 ++ modules/scscf/Makefile | 32 + modules/scscf/auth_api.c | 136 + modules/scscf/auth_api.h | 54 + modules/scscf/bin.c | 536 ++++ modules/scscf/bin.h | 173 ++ modules/scscf/bin_db_scscf.c | 1414 +++++++++ modules/scscf/bin_db_scscf.h | 95 + modules/scscf/bin_file.c | 223 ++ modules/scscf/bin_file.h | 74 + modules/scscf/bin_scscf.c | 1098 +++++++ modules/scscf/bin_scscf.h | 82 + modules/scscf/conversion.c | 260 ++ modules/scscf/conversion.h | 64 + modules/scscf/cx.c | 401 +++ modules/scscf/cx.h | 79 + modules/scscf/cx_avp.c | 1241 ++++++++ modules/scscf/cx_avp.h | 117 + modules/scscf/dlg_state.c | 1505 +++++++++ modules/scscf/dlg_state.h | 173 ++ modules/scscf/emerg.c | 111 + modules/scscf/emerg.h | 60 + modules/scscf/ifc_datastruct.h | 203 ++ modules/scscf/ims_pm.c | 287 ++ modules/scscf/ims_pm.h | 227 ++ modules/scscf/ims_pm_scscf.c | 249 ++ modules/scscf/ims_pm_scscf.h | 78 + modules/scscf/mod.c | 825 +++++ modules/scscf/mod.h | 201 ++ modules/scscf/privacy.c | 144 + modules/scscf/privacy.h | 61 + modules/scscf/registrar.c | 2164 +++++++++++++ modules/scscf/registrar.h | 113 + modules/scscf/registrar_notify.c | 1112 +++++++ modules/scscf/registrar_notify.h | 137 + modules/scscf/registrar_parser.c | 1178 ++++++++ modules/scscf/registrar_parser.h | 79 + modules/scscf/registrar_storage.c | 1572 ++++++++++ modules/scscf/registrar_storage.h | 227 ++ modules/scscf/registration.c | 1725 +++++++++++ modules/scscf/registration.h | 195 ++ modules/scscf/release_call.c | 425 +++ modules/scscf/release_call.h | 78 + modules/scscf/rfc2617.c | 153 + modules/scscf/rfc2617.h | 94 + modules/scscf/s_persistency.c | 591 ++++ modules/scscf/s_persistency.h | 76 + modules/scscf/scscf_load.c | 86 + modules/scscf/scscf_load.h | 84 + modules/scscf/sip.c | 3186 ++++++++++++++++++++ modules/scscf/sip.h | 197 ++ modules/scscf/sip_messages.h | 92 + 319 files changed, 86800 insertions(+), 0 deletions(-) Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=c00…
13 years, 11 months
1
0
0
0
git:carstenbock/ims: Modified Makefile in order to compile using Kamailio.
by Carsten Bock
Module: sip-router Branch: carstenbock/ims Commit: 2a88d5b2c4cabd2c9f320e2778edac7ddded70d9 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2a88d5b…
Author: Carsten Bock <carsten(a)bock.info> Committer: Carsten Bock <carsten(a)bock.info> Date: Mon Jan 3 20:00:23 2011 +0100 Modified Makefile in order to compile using Kamailio. --- modules/pcscf/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/pcscf/Makefile b/modules/pcscf/Makefile index 0e2bf50..3c9a7e7 100644 --- a/modules/pcscf/Makefile +++ b/modules/pcscf/Makefile @@ -14,7 +14,7 @@ ifeq ($(CFG_NAME),kamailio) DEFS+=-DSER_MOD_INTERFACE SERLIBPATH=../../lib SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1 - LIBS+=-L../../lib/cds -lser_cds + #LIBS+=-L../../lib/cds -lser_cds else ifeq ($(CFG_NAME),sip-router) DEFS+=-DSER_MOD_INTERFACE
13 years, 11 months
1
0
0
0
git:carstenbock/ims: More making it compilable under sip-router.org/ Kamailio
by Carsten Bock
Module: sip-router Branch: carstenbock/ims Commit: ed6ae7ce91ce027172e7da05d7cca6d176c2672f URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ed6ae7c…
Author: Carsten Bock <carsten(a)bock.info> Committer: Carsten Bock <carsten(a)bock.info> Date: Tue Dec 28 10:35:40 2010 +0100 More making it compilable under
sip-router.org/Kamailio
--- modules/cdp/Makefile | 4 + modules/cdp/configexample/.svn/all-wcprops | 11 -- modules/cdp/configexample/.svn/dir-prop-base | 8 -- modules/cdp/configexample/.svn/entries | 62 ------------ .../.svn/prop-base/ConfigExample.xml.svn-base | 5 - .../.svn/text-base/ConfigExample.xml.svn-base | 105 -------------------- modules/cdp/globals.c | 4 +- modules/cdp/peermanager.c | 2 +- modules/cdp/receiver.c | 2 +- modules/cdp/tcp_accept.c | 2 +- modules/cdp/transaction.c | 2 +- modules/cdp_avp/Makefile | 5 + modules/isc/Makefile | 3 + modules/mgcf/Makefile | 6 +- modules/pcscf/Makefile | 7 ++ modules/pcscf/dlg_state.c | 6 +- modules/pcscf/release_call.c | 2 +- parser/msg_parser.h | 2 +- parser/parse_uri.c | 16 +++- select_core.c | 2 + 20 files changed, 47 insertions(+), 209 deletions(-) Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=ed6…
13 years, 11 months
1
0
0
0
git:master: core: defines to return parsed uri in From and To
by Daniel-Constantin Mierla
Module: sip-router Branch: master Commit: 8016597dbdb1e1aa03576c537a140c81cdc8beeb URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8016597…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: Wed Jan 5 18:55:54 2011 +0100 core: defines to return parsed uri in From and To --- parser/parse_from.h | 2 ++ parser/parse_to.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/parser/parse_from.h b/parser/parse_from.h index 6d35709..13083b1 100644 --- a/parser/parse_from.h +++ b/parser/parse_from.h @@ -39,6 +39,8 @@ #define free_from(_to_body_) free_to(_to_body_) +#define GET_FROM_PURI(p_msg) \ + (&((struct to_body*)(p_msg)->from->parsed)->parsed_uri) /* * From header field parser diff --git a/parser/parse_to.h b/parser/parse_to.h index 0c79a08..d71c4d2 100644 --- a/parser/parse_to.h +++ b/parser/parse_to.h @@ -57,8 +57,10 @@ struct to_body{ /* casting macro for accessing To body */ -#define get_to( p_msg) ((struct to_body*)(p_msg)->to->parsed) +#define get_to(p_msg) ((struct to_body*)(p_msg)->to->parsed) +#define GET_TO_PURI(p_msg) \ + (&((struct to_body*)(p_msg)->to->parsed)->parsed_uri) /*! \brief * To header field parser
13 years, 11 months
1
0
0
0
git:master: msilo(k): simplified getting of From/To
by Daniel-Constantin Mierla
Module: sip-router Branch: master Commit: c8e8193d3d5d933445afbd636288074c1b277945 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c8e8193…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: Wed Jan 5 20:00:49 2011 +0100 msilo(k): simplified getting of From/To --- modules_k/msilo/msilo.c | 73 +++++++--------------------------------------- 1 files changed, 11 insertions(+), 62 deletions(-) diff --git a/modules_k/msilo/msilo.c b/modules_k/msilo/msilo.c index f9571a9..aeb8388 100644 --- a/modules_k/msilo/msilo.c +++ b/modules_k/msilo/msilo.c @@ -480,7 +480,7 @@ static int child_init(int rank) static int m_store(struct sip_msg* msg, char* owner, char* s2) { str body, str_hdr, ctaddr; - struct to_body to, *pto, *pfrom; + struct to_body *pto, *pfrom; struct sip_uri puri; str duri, owner_s; db_key_t db_keys[NR_KEYS-1]; @@ -528,34 +528,13 @@ static int m_store(struct sip_msg* msg, char* owner, char* s2) } /* get TO URI */ - if(!msg->to || !msg->to->body.s) + if(parse_to_header(msg)<0) { - LM_ERR("cannot find 'to' header!\n"); + LM_ERR("failed getting 'to' header!\n"); goto error; } - if(msg->to->parsed != NULL) - { - pto = (struct to_body*)msg->to->parsed; - LM_DBG("the 'To' header ALREADY PARSED: <%.*s>\n", - pto->uri.len, pto->uri.s ); - } - else - { - LM_DBG("the 'To' header NOT PARSED ->parsing ...\n"); - memset( &to , 0, sizeof(to) ); - parse_to(msg->to->body.s, msg->to->body.s+msg->to->body.len+1, &to); - if(to.uri.len > 0) /* && to.error == PARSE_OK) */ - { - LM_DBG("'To' parsed OK <%.*s>.\n", to.uri.len, to.uri.s); - pto = &to; - } - else - { - LM_ERR("'To' cannot be parsed\n"); - goto error; - } - } + pto = get_to(msg); /* get the owner */ memset(&puri, 0, sizeof(struct sip_uri)); @@ -649,23 +628,12 @@ static int m_store(struct sip_msg* msg, char* owner, char* s2) nr_keys++; /* check FROM URI */ - if(!msg->from || !msg->from->body.s) + if ( parse_from_header( msg )<0 ) { - LM_ERR("cannot find 'from' header!\n"); + LM_ERR("cannot parse From header\n"); goto error; } - - if(msg->from->parsed == NULL) - { - LM_DBG("'From' header not parsed\n"); - /* parsing from header */ - if ( parse_from_header( msg )<0 ) - { - LM_ERR("cannot parse From header\n"); - goto error; - } - } - pfrom = (struct to_body*)msg->from->parsed; + pfrom = get_from(msg); LM_DBG("'From' header: <%.*s>\n", pfrom->uri.len, pfrom->uri.s); db_keys[nr_keys] = &sc_from; @@ -859,7 +827,7 @@ error: */ static int m_dump(struct sip_msg* msg, char* owner, char* str2) { - struct to_body to, *pto = NULL; + struct to_body *pto = NULL; db_key_t db_keys[3]; db_key_t ob_key; db_op_t db_ops[3]; @@ -900,32 +868,13 @@ static int m_dump(struct sip_msg* msg, char* owner, char* str2) body_str.len=1024; /* check for TO header */ - if(msg->to==NULL && (parse_headers(msg, HDR_TO_F, 0)==-1 - || msg->to==NULL || msg->to->body.s==NULL)) + if(parse_to_header(msg)<0) { - LM_ERR("cannot find TO HEADER!\n"); + LM_ERR("failed parsing To header\n"); goto error; } - /* get TO header URI */ - if(msg->to->parsed != NULL) - { - pto = (struct to_body*)msg->to->parsed; - LM_DBG("'To' header ALREADY PARSED: <%.*s>\n", - pto->uri.len, pto->uri.s ); - } - else - { - memset( &to , 0, sizeof(to) ); - parse_to(msg->to->body.s, - msg->to->body.s + msg->to->body.len + 1, &to); - if(to.uri.len <= 0) /* || to.error != PARSE_OK) */ - { - LM_ERR("'To' header NOT parsed\n"); - goto error; - } - pto = &to; - } + pto = get_to(msg); /** * check if has expires=0 (REGISTER)
13 years, 11 months
1
0
0
0
git:master: kcore: extended supported parser with eventlist
by Daniel-Constantin Mierla
Module: sip-router Branch: master Commit: 6baa261b6494736034af8f5b90446237500eee79 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6baa261…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: Wed Jan 5 15:11:08 2011 +0100 kcore: extended supported parser with eventlist --- lib/kcore/parse_supported.c | 15 ++++++++++++--- lib/kcore/parse_supported.h | 12 ++++++++---- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/lib/kcore/parse_supported.c b/lib/kcore/parse_supported.c index e655d30..8720397 100644 --- a/lib/kcore/parse_supported.c +++ b/lib/kcore/parse_supported.c @@ -92,10 +92,19 @@ static inline int parse_supported_body(str *body, unsigned int *sup) } break; - /* unknown */ + /* extra supported or unknown */ default: - /* skip element */ - for (; pos < len && !IS_DELIM(p); ++pos, ++p); + if(pos+SUPPORTED_EVENTLIST_LEN<=len + && strncasecmp(p, SUPPORTED_EVENTLIST_STR, + SUPPORTED_EVENTLIST_LEN)==0 + && IS_DELIM(p+9) ) { + *sup |= F_SUPPORTED_EVENTLIST; + pos += SUPPORTED_EVENTLIST_LEN + 1; + p += SUPPORTED_EVENTLIST_LEN + 1; + } else { + /* skip element */ + for (; pos < len && !IS_DELIM(p); ++pos, ++p); + } break; } } diff --git a/lib/kcore/parse_supported.h b/lib/kcore/parse_supported.h index c618b8d..126f56e 100644 --- a/lib/kcore/parse_supported.h +++ b/lib/kcore/parse_supported.h @@ -39,14 +39,15 @@ #include "../../mem/mem.h" -#define F_SUPPORTED_PATH (1 << 0) -#define F_SUPPORTED_100REL (1 << 1) -#define F_SUPPORTED_TIMER (1 << 2) +#define F_SUPPORTED_PATH (1 << 0) +#define F_SUPPORTED_100REL (1 << 1) +#define F_SUPPORTED_TIMER (1 << 2) +#define F_SUPPORTED_EVENTLIST (1 << 3) #define SUPPORTED_PATH_STR "path" #define SUPPORTED_PATH_LEN (sizeof(SUPPORTED_PATH_STR)-1) -/* RFC 3262 */ +/* RFC 3262 (PRACK) */ #define SUPPORTED_100REL_STR "100rel" #define SUPPORTED_100REL_LEN (sizeof(SUPPORTED_100REL_STR)-1) @@ -54,6 +55,9 @@ #define SUPPORTED_TIMER_STR "timer" #define SUPPORTED_TIMER_LEN (sizeof(SUPPORTED_TIMER_STR)-1) +/* RFC 4662 (RLS) */ +#define SUPPORTED_EVENTLIST_STR "eventlist" +#define SUPPORTED_EVENTLIST_LEN (sizeof(SUPPORTED_EVENTLIST_STR)-1) #define get_supported(p_msg) \ ((p_msg)->supported ? ((struct supported_body*)(p_msg)->supported->parsed)->supported_all : 0)
13 years, 11 months
1
0
0
0
git:master: core: parse_to_header() moved to parser/parse_to.{c, h}
by Daniel-Constantin Mierla
Module: sip-router Branch: master Commit: 10e4fcf8a75208dc934f9cbc821f7c081e6c4994 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=10e4fcf…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: Wed Jan 5 16:23:44 2011 +0100 core: parse_to_header() moved to parser/parse_to.{c,h} - more convenient way of testing the validity of To header --- parser/parse_to.c | 16 ++++++++++++++++ parser/parse_to.h | 1 + select_core.c | 15 --------------- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/parser/parse_to.c b/parser/parse_to.c index 8bfdca7..bcd0bd0 100644 --- a/parser/parse_to.c +++ b/parser/parse_to.c @@ -840,3 +840,19 @@ void free_to(struct to_body* tb) free_to_params(tb); pkg_free(tb); } + + +int parse_to_header(struct sip_msg *msg) +{ + if ( !msg->to && ( parse_headers(msg,HDR_TO_F,0)==-1 || !msg->to)) { + ERR("bad msg or missing TO header\n"); + return -1; + } + + // HDR_TO_T is automatically parsed (get_hdr_field in parser/msg_parser.c) + // so check only ptr validity + if (msg->to->parsed) + return 0; + else + return -1; +} diff --git a/parser/parse_to.h b/parser/parse_to.h index 22a95d6..0c79a08 100644 --- a/parser/parse_to.h +++ b/parser/parse_to.h @@ -69,5 +69,6 @@ void free_to_params(struct to_body* tb); void free_to(struct to_body* tb); +int parse_to_header(struct sip_msg *msg); #endif diff --git a/select_core.c b/select_core.c index f8c668b..42f6aff 100644 --- a/select_core.c +++ b/select_core.c @@ -226,21 +226,6 @@ int select_##_name_##_params(str* res, select_t* s, struct sip_msg* msg) \ return 1; \ } -int parse_to_header(struct sip_msg *msg) -{ - if ( !msg->to && ( parse_headers(msg,HDR_TO_F,0)==-1 || !msg->to)) { - ERR("bad msg or missing TO header\n"); - return -1; - } - - // HDR_TO_T is automatically parsed (get_hdr_field in parser/msg_parser.c) - // so check only ptr validity - if (msg->to->parsed) - return 0; - else - return -1; -} - SELECT_uri_header(to) SELECT_uri_header(from) SELECT_uri_header(refer_to)
13 years, 11 months
1
0
0
0
git:master: rls(k): module polishing
by Daniel-Constantin Mierla
Module: sip-router Branch: master Commit: 8d9f412ab0b8cdc19a00e8549722326f4b368cb4 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8d9f412…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: Wed Jan 5 19:52:27 2011 +0100 rls(k): module polishing - optimiezed error checking for broken sip requests - internal naming changes to avoid object conflicts - query for rls services documents (reported by Klaus Darilion) --- modules_k/rls/rls.c | 65 +++--- modules_k/rls/rls.h | 4 +- modules_k/rls/subscribe.c | 568 ++++++++++++++++++++++++--------------------- 3 files changed, 335 insertions(+), 302 deletions(-) Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=8d9…
13 years, 11 months
1
0
0
0
← Newer
1
...
16
17
18
19
20
21
22
23
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Results per page:
10
25
50
100
200