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
2025
February
January
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
September 2009
----- 2025 -----
February 2025
January 2025
----- 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
32 participants
207 discussions
Start a n
N
ew thread
git:refs/tags/req_uri: Use (FROM, request URI) pair instead of (FROM, TO)
by Andrei Pelinescu-Onciul
Module: sip-router Branch: refs/tags/req_uri Commit: 9191576d6d861bbc56ac01283f85377bd8aa0499 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9191576…
Author: Miklos Tirpak <miklos(a)iptel.org> Committer: Miklos Tirpak <miklos(a)iptel.org> Date: Mon Apr 28 07:04:40 2003 +0000 Use (FROM, request URI) pair instead of (FROM, TO) New parameters exported --- modules_s/permissions/permissions.c | 75 +++++++++++++++++++++++------------ 1 files changed, 50 insertions(+), 25 deletions(-) diff --git a/modules_s/permissions/permissions.c b/modules_s/permissions/permissions.c index fbfb61a..884101e 100644 --- a/modules_s/permissions/permissions.c +++ b/modules_s/permissions/permissions.c @@ -33,20 +33,34 @@ #include "rule.h" #include "parse_config.h" #include "../../parser/parse_from.h" +#include "../../parser/parse_uri.h" + +MODULE_VERSION rule *allow_rules = NULL, *deny_rules = NULL; +/* Module parameter variables */ +char *allow_file = ALLOW_FILE; +char *deny_file = DENY_FILE; + /* Exported functions */ static cmd_export_t cmds[] = { {"allow_routing", allow_routing, 0, 0, REQUEST_ROUTE}, {0, 0, 0, 0, 0} }; +/* Exported parameters */ +static param_export_t params[] = { + {"allow_file", STR_PARAM, &allow_file}, + {"deny_file", STR_PARAM, &deny_file}, + {0, 0, 0} +}; + /* Module interface */ struct module_exports exports = { "permissions", cmds, /* Exported functions */ - 0, /* Exported parameters */ + params, /* Exported parameters */ mod_init, /* module initialization function */ 0, /* response function */ mod_exit, /* destroy function */ @@ -60,8 +74,13 @@ int mod_init(void) fprintf(stderr, "print - initializing\n"); - allow_rules = parse_config_file(ALLOW_FILE); - deny_rules = parse_config_file(DENY_FILE); + allow_rules = parse_config_file(allow_file); + if (allow_rules) LOG(L_INFO, "Allow file (%s) parsed\n", allow_file); + else LOG(L_WARN, "Allow file (%s) not found\n", allow_file); + + deny_rules = parse_config_file(deny_file); + if (deny_rules) LOG(L_INFO, "Deny file (%s) parsed\n", deny_file); + else LOG(L_WARN, "Deny file (%s) not found\n", deny_file); return 0; } @@ -80,12 +99,15 @@ return values: 1: allow */ int allow_routing(struct sip_msg* msg, char* str1, char* str2) { - struct hdr_field *from, *to; + struct hdr_field *from; int len; - char from_str[EXPRESSION_LENGTH+1], to_str[EXPRESSION_LENGTH+1]; + char from_str[EXPRESSION_LENGTH+1], req_uri_str[EXPRESSION_LENGTH+1]; /* turn off control, allow any routing */ - if ((!allow_rules) && (!deny_rules)) return 1; + if ((!allow_rules) && (!deny_rules)) { + LOG(L_INFO, "allow_routing(): (module permissions) No rules => allow any routing\n"); + return 1; + } /* looking for FROM HF */ if ((!msg->from) && (parse_headers(msg, HDR_FROM, 0) == -1)) { @@ -113,35 +135,38 @@ int allow_routing(struct sip_msg* msg, char* str1, char* str2) { strncpy(from_str, ((struct to_body*)from->parsed)->uri.s, len); from_str[len] = '\0'; - /* looking for TO HF */ - if ((!msg->to) && (parse_headers(msg, HDR_TO, 0) == -1)) { - LOG(L_ERR, "allow_routing(): (module permissions) Error while parsing message\n"); - return -1; - } - - to = msg->to; - if (!to) { - LOG(L_ERR, "allow_ruting(): (module permissions) TO header field not found\n"); - return -1; + /* looking for request URI */ + if (parse_sip_msg_uri(msg) < 0) { + LOG(L_ERR, "allow_routing(): uri parsing failed\n"); + return -1; } - /* parse_to_headers is called automaticaly by parse_headers */ - - len = ((struct to_body*)to->parsed)->uri.len; + len = msg->parsed_uri.user.len + msg->parsed_uri.host.len + 5; if (len > EXPRESSION_LENGTH) { - LOG(L_ERR, "allow_ruting(): (module permissions) TO header field is too long: %d chars\n", len); + LOG(L_ERR, "allow_ruting(): (module permissions) Request URI is too long: %d chars\n", len); return -1; } - strncpy(to_str, ((struct to_body*)to->parsed)->uri.s, len); - to_str[len] = '\0'; + strcpy(req_uri_str, "sip:"); + memcpy(req_uri_str + 4, msg->parsed_uri.user.s, msg->parsed_uri.user.len); + req_uri_str[msg->parsed_uri.user.len + 4] = '@'; + memcpy(req_uri_str + msg->parsed_uri.user.len + 5, msg->parsed_uri.host.s, msg->parsed_uri.host.len); + req_uri_str[len] = '\0'; + + LOG(L_INFO, "allow_ruting(): (module permissions) looking for FROM: %s Request URI: %s\n", from_str, req_uri_str); /* rule exists in allow file */ - if (search_rule(allow_rules, from_str, to_str)) return 1; + if (search_rule(allow_rules, from_str, req_uri_str)) { + LOG(L_INFO, "allow_ruting(): (module permissions) allow roule found => routing is allowed\n"); + return 1; + } /* rule exists in deny file */ - if (search_rule(deny_rules, from_str, to_str)) return -1; - + if (search_rule(deny_rules, from_str, req_uri_str)) { + LOG(L_INFO, "allow_ruting(): (module permissions) deny roule found => routing is denied\n"); + return -1; + } /* allow any other rule */ + LOG(L_INFO, "allow_ruting(): (module permissions) neither allow nor deny roule found => routing is allowed\n"); return 1; }
15 years, 5 months
1
0
0
0
git:refs/tags/voicemail_0_1_0: 2nd 'vm' parameter now indicates which app should be started.
by Andrei Pelinescu-Onciul
Module: sip-router Branch: refs/tags/voicemail_0_1_0 Commit: c88d96180f88ccec7ac5c153374dee28d0bae107 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c88d961…
Author: Raphael Coeffic <rco(a)iptel.org> Committer: Raphael Coeffic <rco(a)iptel.org> Date: Sun Apr 27 12:10:14 2003 +0000 2nd 'vm' parameter now indicates which app should be started. --- modules_s/vm/etc/ser.cfg | 14 +++-- modules_s/vm/vm.c | 147 ++++++++++++++------------------------------- 2 files changed, 55 insertions(+), 106 deletions(-) diff --git a/modules_s/vm/etc/ser.cfg b/modules_s/vm/etc/ser.cfg index c56b376..9275e8c 100644 --- a/modules_s/vm/etc/ser.cfg +++ b/modules_s/vm/etc/ser.cfg @@ -6,16 +6,16 @@ # ----------- global configuration parameters ------------------------ -debug=3 # debug level (cmd line: -dddddddddd) -fork=yes +debug=7 # debug level (cmd line: -dddddddddd) +fork=no -log_stderror=no # (cmd line: -E) +log_stderror=yes # (cmd line: -E) check_via=no # (cmd. line: -v) dns=no # (cmd. line: -r) rev_dns=no # (cmd. line: -R) port=5060 children=4 -fifo="/tmp/ser_vm_fifo" +fifo="/tmp/ser_fifo" # ------------------ module loading ---------------------------------- @@ -73,18 +73,22 @@ route{ t_reply("100","Trying -- just wait a minute !"); if(method=="INVITE"){ - if(!vm("/tmp/am_fifo","invite")){ + log("**************** vm start - begin ******************\n"); + if(!vm("/tmp/am_fifo","voicemail")){ log("could not contact the answer machine\n"); t_reply("500","could not contact the answer machine"); }; + log("**************** vm start - end ******************\n"); break; }; if(method=="BYE"){ + log("**************** vm end - begin ******************\n"); if(!vm("/tmp/am_fifo","bye")){ log("could not contact the answer machine\n"); t_reply("500","could not contact the answer machine"); }; + log("**************** vm end - end ******************\n"); break; }; } diff --git a/modules_s/vm/vm.c b/modules_s/vm/vm.c index a19bbe1..34ab2d7 100644 --- a/modules_s/vm/vm.c +++ b/modules_s/vm/vm.c @@ -199,111 +199,59 @@ static int vm_get_user_info( str* user, /*[in]*/ { db_res_t* email_res=0; -#ifdef _OBSO - char* s=0; - str email_query; - - email_query.len = SQL_SELECT_LEN - + strlen(email_column) - + SQL_FROM_LEN - + strlen(subscriber_table) - + SQL_WHERE_LEN - + strlen(user_column) - + SQL_EQUAL_LEN - + user->len + 2/* strlen("''") */ -#ifdef MULTI_DOMAIN - + SQL_AND_LEN - + strlen(domain_column) - + SQL_EQUAL_LEN - + host->len + 2/* strlen("''") */ -#endif - ; + db_key_t keys[2]; + db_val_t vals[2]; + db_key_t cols[1]; + + keys[0] = user_column; + cols[0] = email_column; + VAL_TYPE(&(vals[0])) = DB_STR; + VAL_NULL(&(vals[0])) = 0; + VAL_STR(&(vals[0])) = *user; - email_query.s = malloc(email_query.len+1); - if(!email_query.s){ - LOG(L_ERR,"ERROR: %s: not enough memory\n", - exports.name); - goto error; - } - s = email_query.s; - append_str(s,SQL_SELECT,SQL_SELECT_LEN); - append_str(s,email_column,strlen(email_column)); - append_str(s,SQL_FROM,SQL_FROM_LEN); - append_str(s,subscriber_table,strlen(subscriber_table)); - append_str(s,SQL_WHERE,SQL_WHERE_LEN); - append_str(s,user_column,strlen(user_column)); - append_str(s,SQL_EQUAL,SQL_EQUAL_LEN); - *s = '\''; s++; - append_str(s,user->s,user->len); - *s = '\''; s++; #ifdef MULTI_DOMAIN - append_str(s,SQL_AND,SQL_AND_LEN); - append_str(s,domain_column,strlen(domain_column)); - append_str(s,SQL_EQUAL,SQL_EQUAL_LEN); - *s = '\''; s++; - append_str(s,msg->parsed_uri.host.s,msg->parsed_uri.host.len); - *s = '\''; s++; + keys[1] = domain_column; + VAL_TYPE(&vals[1]) = DB_STR; + VAL_NULL(&vals[1]) = 0; + VAL_STR(&vals[1]) = *host; #endif - *s = '\0'; - - - (*db_raw_query)(db_handle,email_query.s,&email_res); - free(email_query.s); -#else - db_key_t keys[2]; - db_val_t vals[2]; - db_key_t cols[1]; - - keys[0] = user_column; - cols[0] = email_column; - VAL_TYPE(&(vals[0])) = DB_STR; - VAL_NULL(&(vals[0])) = 0; - VAL_STR(&(vals[0])) = *user; + db_use_table(db_handle,subscriber_table); + if ((*db_query)(db_handle, keys, 0, vals, cols, #ifdef MULTI_DOMAIN - keys[1] = domain_column; - VAL_TYPE(&vals[1]) = DB_STR; - VAL_NULL(&vals[1]) = 0; - VAL_STR(&vals[1]) = *host; -#endif - - db_use_table(db_handle,subscriber_table); - if ((*db_query)(db_handle, keys, 0, vals, cols, -#ifdef MULTI_DOMAIN - 2, + 2, #else - 1, -#endif - 1, 0, &email_res)) - { - - LOG(L_ERR,"ERROR: vm: db_query() failed."); - goto error; - } + 1, #endif + 1, 0, &email_res)) + { - if( (!email_res) || (email_res->n != 1) ){ + LOG(L_ERR,"ERROR: vm: db_query() failed."); + goto error; + } - if(email_res) - (*db_free_query)(db_handle,email_res); + if( (!email_res) || (email_res->n != 1) ){ + + if(email_res) + (*db_free_query)(db_handle,email_res); - LOG( L_ERR,"ERROR: %s: no email for user '%.*s'", - exports.name, - user->len,user->s); - goto error; - } + LOG( L_ERR,"ERROR: %s: no email for user '%.*s'", + exports.name, + user->len,user->s); + goto error; + } - email->s = strdup(VAL_STRING(&(email_res->rows[0].values[0]))); - email->len = strlen(email->s); - + email->s = strdup(VAL_STRING(&(email_res->rows[0].values[0]))); + email->len = strlen(email->s); + #ifdef MULTI_DOMAIN - domain->s = strdup(VAL_STRING(&(email_res->rows[0].values[1]))); - domain->s = strlen(domain->s); + domain->s = strdup(VAL_STRING(&(email_res->rows[0].values[1]))); + domain->s = strlen(domain->s); #endif - - return 0; -error: - return -1; + + return 0; + error: + return -1; } static int vm_action(struct sip_msg* msg, char* vm_fifo, char* action) @@ -392,10 +340,6 @@ static int vm_action(struct sip_msg* msg, char* vm_fifo, char* action) if(!str_uri.len) str_uri = get_from(msg)->uri; - //if(parse_nameaddr(str* _s, name_addr_t* _a)){ - // LOG(L_ERR,"ERROR: parse_nameaddr failed\n"); - //} - route.s = route_buffer; route.len = 0; s = route_buffer; @@ -476,7 +420,7 @@ static int vm_action(struct sip_msg* msg, char* vm_fifo, char* action) email = empty_param; domain = empty_param; - if(!strcmp(action,VM_INVITE)){ + if(strcmp(action,VM_BYE)){ if( (body.s = get_body(msg)) == 0 ){ LOG(L_ERR, "ERROR: vm: get_body failed\n"); @@ -497,13 +441,14 @@ static int vm_action(struct sip_msg* msg, char* vm_fifo, char* action) lines[1]=msg->parsed_uri.user; /* user from r-uri */ lines[2]=email; /* email address from db */ lines[3]=domain; /* domain */ - /* lines[4].s=ip_addr2a(&msg->rcv.dst_ip); */ - /* lines[4].len=strlen(lines[4].s); */ + lines[4]=msg->rcv.bind_address->address_str; /* dst ip */ - lines[5]=msg->rcv.bind_address->port_no_str; /* port */ + + lines[5]=msg->parsed_uri.port.len ? empty_param : msg->rcv.bind_address->port_no_str; /* port */ lines[6]=msg->first_line.u.request.uri; /* r_uri ('Contact:' for next requests) */ - /* lines[6]=empty_param; */ + lines[7]=str_uri.len?str_uri:empty_param; /* r_uri for subsequent requests */ + lines[8]=get_from(msg)->body; /* from */ lines[9]=msg->to->body; /* to */ lines[10]=msg->callid->body; /* callid */
15 years, 5 months
1
0
0
0
git:refs/tags/req_uri: flags parameter added to cmd_export_t
by Andrei Pelinescu-Onciul
Module: sip-router Branch: refs/tags/req_uri Commit: 954622fc14e4fb13c5668eb8ad10d3c6af9b5241 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=954622f…
Author: Miklos Tirpak <miklos(a)iptel.org> Committer: Miklos Tirpak <miklos(a)iptel.org> Date: Wed Mar 19 07:47:31 2003 +0000 flags parameter added to cmd_export_t --- modules_s/permissions/permissions.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules_s/permissions/permissions.c b/modules_s/permissions/permissions.c index 3b54a93..fbfb61a 100644 --- a/modules_s/permissions/permissions.c +++ b/modules_s/permissions/permissions.c @@ -38,8 +38,8 @@ rule *allow_rules = NULL, *deny_rules = NULL; /* Exported functions */ static cmd_export_t cmds[] = { - {"allow_routing", allow_routing, 0, 0}, - {0, 0, 0, 0} + {"allow_routing", allow_routing, 0, 0, REQUEST_ROUTE}, + {0, 0, 0, 0, 0} }; /* Module interface */
15 years, 5 months
1
0
0
0
git:refs/tags/req_uri: Use (FROM, request URI) pair instead of (FROM, TO).
by Andrei Pelinescu-Onciul
Module: sip-router Branch: refs/tags/req_uri Commit: 0a642f769b2acecb4cc61dac4ce8259f93af9f68 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0a642f7…
Author: Miklos Tirpak <miklos(a)iptel.org> Committer: Miklos Tirpak <miklos(a)iptel.org> Date: Mon Apr 28 07:07:13 2003 +0000 Use (FROM, request URI) pair instead of (FROM, TO). New parameters exported ---
15 years, 5 months
1
0
0
0
git:refs/tags/req_uri: Use (FROM, request URI) pair instead of (FROM, TO)
by Andrei Pelinescu-Onciul
Module: sip-router Branch: refs/tags/req_uri Commit: 3977cb8d076c4a9119dc653eaedf6ba6a3e3b3a8 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3977cb8…
Author: Miklos Tirpak <miklos(a)iptel.org> Committer: Miklos Tirpak <miklos(a)iptel.org> Date: Mon Apr 28 07:15:10 2003 +0000 Use (FROM, request URI) pair instead of (FROM, TO) New parameters exported ---
15 years, 5 months
1
0
0
0
git:refs/tags/req_uri:
by Andrei Pelinescu-Onciul
Module: sip-router Branch: refs/tags/req_uri Commit: bba20f6df268d05d6884e5779eb2a882d590f6d8 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bba20f6…
Author: Miklos Tirpak <miklos(a)iptel.org> Committer: Miklos Tirpak <miklos(a)iptel.org> Date: Tue Mar 18 07:58:13 2003 +0000 ---
15 years, 5 months
1
0
0
0
New commits on branch refs/tags/r0_8_12
by Andrei Pelinescu-Onciul
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3e030ad…
Author: Jan Janak <jan(a)iptel.org> Date: Thu Nov 20 14:28:58 2003 +0000 a bug in Remote-Party-ID fixed URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ddfffa3…
Author: Daniel-Constantin Mierla <daniel(a)voice-system.ro> Date: Mon Nov 17 13:25:02 2003 +0000 - change of wrong dbg message and other sanity checks backported from unstable URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bad25a1…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org> Date: Sun Nov 16 14:04:34 2003 +0000 - mangler cfg update URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=82240b2…
Author: Jan Janak <jan(a)iptel.org> Date: Sat Nov 15 10:08:57 2003 +0000 - READMEs updated from master docbook files - bugs in auth and usrloc docbook files fixed URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a3de9fa…
Author: Bogdan-Andrei Iancu <bogdan(a)voice-system.ro> Date: Fri Nov 14 19:36:53 2003 +0000 -several seg faults fixed in mod_destroy() after mod_init() fails URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ca847e7…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org> Date: Thu Nov 13 20:21:21 2003 +0000 - nathelper body_len computation fix backported from head URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c286acc…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org> Date: Thu Nov 13 20:20:51 2003 +0000 -vm multidomain support/fixes backported from HEAD URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c9fbf92…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org> Date: Thu Nov 13 20:19:56 2003 +0000 - acc mutlidomain support backported from head URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6acd81c…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org> Date: Thu Nov 13 18:36:47 2003 +0000 -netbsd/64 fixes and warnings fixes URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4a664ac…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org> Date: Wed Nov 12 20:00:10 2003 +0000 - warning fixes solaris gcc 3.2/sun cc URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2a0f50a…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org> Date: Wed Nov 12 19:59:45 2003 +0000 - fixed sa_len socket stuff (changed from #if !define solaris which didn't work to #ifdef HAVE_SA_LEN) - fixed some warnings URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4f6be88…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org> Date: Wed Nov 12 18:11:20 2003 +0000 - warning fixes (icc) URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=26166b3…
Author: Bogdan-Andrei Iancu <bogdan(a)voice-system.ro> Date: Tue Nov 11 20:43:27 2003 +0000 -types comp. : DB_BITMAP != DB_DATETIME URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=723cdd7…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org> Date: Tue Nov 11 20:30:33 2003 +0000 - some warnings fixed URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ea0a7c7…
Author: Bogdan-Andrei Iancu <bogdan(a)voice-system.ro> Date: Tue Nov 11 19:53:30 2003 +0000 -warnings fixed -DB_BITMAP support added URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a63c578…
Author: Jan Janak <jan(a)iptel.org> Date: Tue Nov 11 14:32:27 2003 +0000 - minor bugs fixed. URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=748a399…
Author: Bogdan-Andrei Iancu <bogdan(a)voice-system.ro> Date: Fri Nov 7 19:37:22 2003 +0000 -fixups from unstable backported to testing URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e8d82e8…
Author: Jan Janak <jan(a)iptel.org> Date: Fri Nov 7 19:13:00 2003 +0000 - parse_to substituted with parse_nameaddr URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=50cfaf5…
Author: Jan Janak <jan(a)iptel.org> Date: Fri Nov 7 16:42:13 2003 +0000 - a memory leak in is_rpid_user_e164 fixed URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c865c5d…
Author: Jan Janak <jan(a)iptel.org> Date: Wed Nov 5 11:34:45 2003 +0000 - one more check for a zombie state needed URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6ecded7…
Author: Jan Janak <jan(a)iptel.org> Date: Wed Nov 5 03:55:20 2003 +0000 - small rpid fix URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9842542…
Author: Nils Ohlmeier <nils(a)iptel.org> Date: Mon Nov 3 16:49:19 2003 +0000 Fixed a misleading comment URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6b07f91…
Author: Jan Janak <jan(a)iptel.org> Date: Mon Nov 3 16:24:05 2003 +0000 - explicit unregistratio problem fixed URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0c04124…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org> Date: Sun Nov 2 20:23:46 2003 +0000 - forgot about build_rr URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9335d60…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org> Date: Sun Nov 2 19:52:54 2003 +0000 - fixed tag=0 bug in insert_rr when append_fromtag==0 - ver. no increased URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a360829…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org> Date: Sat Nov 1 18:56:58 2003 +0000 - warning fixes on freebsd
15 years, 5 months
1
0
0
0
git:refs/tags/orig: *** empty log message ***
by Andrei Pelinescu-Onciul
Module: sip-router Branch: refs/tags/orig Commit: a340068a6d6387e6954ac3892eee98b8ab9a6521 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a340068…
Author: Jan Janak <jan(a)iptel.org> Committer: Jan Janak <jan(a)iptel.org> Date: Wed Aug 28 23:29:15 2002 +0000 *** empty log message *** --- modules_s/usrloc/urecord.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/modules_s/usrloc/urecord.c b/modules_s/usrloc/urecord.c index 31ee42f..2cea597 100644 --- a/modules_s/usrloc/urecord.c +++ b/modules_s/usrloc/urecord.c @@ -225,6 +225,9 @@ static inline int wb_timer(urecord_t* _r) while(ptr) { if (ptr->expires < act_time) { + LOG(L_NOTICE, "Binding '\%.*s\',\'%.*s\' has expired\n", + ptr->aor->len, ptr->aor->s, + ptr->c.len, ptr->c.s); t = ptr; ptr = ptr->next;
15 years, 5 months
1
0
0
0
git:refs/tags/before_pa: conversion warning fixed.
by Andrei Pelinescu-Onciul
Module: sip-router Branch: refs/tags/before_pa Commit: 19019e0598c725630b90f6ba131ae61602f0ec54 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=19019e0…
Author: Jan Janak <jan(a)iptel.org> Committer: Jan Janak <jan(a)iptel.org> Date: Mon Nov 11 23:26:09 2002 +0000 conversion warning fixed. --- modules_s/usrloc/ucontact.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules_s/usrloc/ucontact.c b/modules_s/usrloc/ucontact.c index f352e44..ddf89e0 100644 --- a/modules_s/usrloc/ucontact.c +++ b/modules_s/usrloc/ucontact.c @@ -114,7 +114,7 @@ void print_ucontact(FILE* _f, ucontact_t* _c) fprintf(_f, "domain : \'%.*s\'\n", _c->domain->len, _c->domain->s); fprintf(_f, "aor : \'%.*s\'\n", _c->aor->len, _c->aor->s); fprintf(_f, "Contact: \'%.*s\'\n", _c->c.len, _c->c.s); - fprintf(_f, "Expires: %lu\n", (unsigned int)(_c->expires) - t); + fprintf(_f, "Expires: %u\n", (unsigned int)(_c->expires - t)); fprintf(_f, "q : %10.2f\n", _c->q); fprintf(_f, "Call-ID: \'%.*s\'\n", _c->callid.len, _c->callid.s); fprintf(_f, "CSeq : %d\n", _c->cseq);
15 years, 5 months
1
0
0
0
git:refs/tags/3.0_pre1: Tag 3.0_pre1: Before merging experimental branches.
by Andrei Pelinescu-Onciul
Module: sip-router Branch: refs/tags/3.0_pre1 Tag: 3e0f6c9d03b0432cdc53f02f5eb524e77212c909 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=tag;h=3e0f6c9d03…
Tagger: Andrei Pelinescu-Onciul <andrei(a)iptel.org> Date: Fri Sep 18 12:41:11 2009 +0200 Before merging experimental branches.
15 years, 5 months
1
0
0
0
← Newer
1
...
9
10
11
12
13
14
15
...
21
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
Results per page:
10
25
50
100
200