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
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
March 2013
----- 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
36 participants
428 discussions
Start a n
N
ew thread
git:pd/outbound: modules/xprint: updated use of get_branch() and next_branch() to cope with additional argument
by Peter Dunkley
Module: sip-router Branch: pd/outbound Commit: 0137a2a91d29cbd80829b79dcb4cfd9659b7e9be URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0137a2a…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Date: Thu Mar 14 23:35:02 2013 +0000 modules/xprint: updated use of get_branch() and next_branch() to cope with additional argument --- modules/xprint/xp_lib.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/xprint/xp_lib.c b/modules/xprint/xp_lib.c index 2f2fba5..c653177 100644 --- a/modules/xprint/xp_lib.c +++ b/modules/xprint/xp_lib.c @@ -700,7 +700,7 @@ static int xl_get_branch(struct sip_msg *msg, str *res, str *hp, int hi, int hf) init_branch_iterator(); - branch.s = next_branch(&branch.len, &q, 0, 0, 0, 0); + branch.s = next_branch(&branch.len, &q, 0, 0, 0, 0, 0); if (!branch.s) { return xl_get_null(msg, res, hp, hi, hf); } @@ -731,7 +731,7 @@ static int xl_get_branches(struct sip_msg *msg, str *res, str *hp, int hi, int h cnt = len = 0; init_branch_iterator(); - while ((uri.s = next_branch(&uri.len, &q, 0, 0, 0, 0))) + while ((uri.s = next_branch(&uri.len, &q, 0, 0, 0, 0, 0))) { cnt++; len += uri.len; @@ -756,7 +756,7 @@ static int xl_get_branches(struct sip_msg *msg, str *res, str *hp, int hi, int h p = local_buf; init_branch_iterator(); - while ((uri.s = next_branch(&uri.len, &q, 0, 0, 0, 0))) + while ((uri.s = next_branch(&uri.len, &q, 0, 0, 0, 0, 0))) { if (i) {
11 years, 8 months
1
0
0
0
git:pd/outbound: modules/permissions: updated use of get_branch() and next_branch() to cope with additional argument
by Peter Dunkley
Module: sip-router Branch: pd/outbound Commit: cb68cab9ce13142592590042283ca1aa3f85ac84 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cb68cab…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Date: Thu Mar 14 23:34:18 2013 +0000 modules/permissions: updated use of get_branch() and next_branch() to cope with additional argument --- modules/permissions/permissions.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/permissions/permissions.c b/modules/permissions/permissions.c index 2ae7bd3..3e8d179 100644 --- a/modules/permissions/permissions.c +++ b/modules/permissions/permissions.c @@ -406,7 +406,7 @@ static int check_routing(struct sip_msg* msg, int idx) } check_branches: - for( br_idx=0 ; (branch.s=get_branch(br_idx,&branch.len,&q,0,0,0,0))!=0 ; + for( br_idx=0 ; (branch.s=get_branch(br_idx,&branch.len,&q,0,0,0,0,0))!=0 ; br_idx++ ) { uri_str = get_plain_uri(&branch); if (!uri_str) {
11 years, 8 months
1
0
0
0
git:pd/outbound: core: updated use of get_branch() and next_branch() to cope with additional argument
by Peter Dunkley
Module: sip-router Branch: pd/outbound Commit: 55e069d5c169d9022582c51a9bce82adc136c29c URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=55e069d…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Date: Thu Mar 14 23:33:23 2013 +0000 core: updated use of get_branch() and next_branch() to cope with additional argument --- select_core.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/select_core.c b/select_core.c index 4c0ae9f..68fa5ba 100644 --- a/select_core.c +++ b/select_core.c @@ -1621,7 +1621,7 @@ int select_branch_uri(str* res, select_t* s, struct sip_msg* msg) { char *c; init_branch_iterator(); len = 0; - while ((c = next_branch(&l, &q, &dst_uri, 0, 0, 0))) { + while ((c = next_branch(&l, &q, &dst_uri, 0, 0, 0, 0))) { if (s->params[SEL_POS].v.i & SEL_BRANCH_DST_URI) { l = dst_uri.len; @@ -1645,7 +1645,7 @@ int select_branch_uri(str* res, select_t* s, struct sip_msg* msg) { init_branch_iterator(); res->len = 0; n = 0; - while ((c = next_branch(&l, &q, &dst_uri, 0, 0, 0))) { + while ((c = next_branch(&l, &q, &dst_uri, 0, 0, 0, 0))) { if (s->params[SEL_POS].v.i & SEL_BRANCH_DST_URI) { l = dst_uri.len; c = dst_uri.s; @@ -1687,7 +1687,7 @@ int select_branch_uri(str* res, select_t* s, struct sip_msg* msg) { if (n < 0 || n >= nr_branches) return -1; init_branch_iterator(); - for (; (c = next_branch(&l, &q, &dst_uri, 0, 0, 0)) && n; n--); + for (; (c = next_branch(&l, &q, &dst_uri, 0, 0, 0, 0)) && n; n--); if (!c) return 1; if (s->params[SEL_POS].v.i & SEL_BRANCH_DST_URI) {
11 years, 8 months
1
0
0
0
git:pd/outbound: core: updated get_branch() and next_branch() to return ruid (if set)
by Peter Dunkley
Module: sip-router Branch: pd/outbound Commit: 8e6c690ea3cdfd9dd1349f2ce144d7dfd432b50d URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8e6c690…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Date: Thu Mar 14 23:32:42 2013 +0000 core: updated get_branch() and next_branch() to return ruid (if set) --- dset.c | 20 +++++++++++++++----- dset.h | 6 ++++-- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/dset.c b/dset.c index d0aef89..5421d0a 100644 --- a/dset.c +++ b/dset.c @@ -215,7 +215,8 @@ void set_branch_iterator(int n) */ char* get_branch(unsigned int i, int* len, qvalue_t* q, str* dst_uri, str* path, unsigned int *flags, - struct socket_info** force_socket) + struct socket_info** force_socket, + str *ruid) { if (i < nr_branches) { *len = branches[i].len; @@ -232,6 +233,10 @@ char* get_branch(unsigned int i, int* len, qvalue_t* q, str* dst_uri, *force_socket = branches[i].force_send_socket; if (flags) *flags = branches[i].flags; + if (ruid) { + ruid->len = branches[i].ruid_len; + ruid->s = (ruid->len)?branches[i].ruid:0; + } return branches[i].uri; } else { *len = 0; @@ -248,6 +253,10 @@ char* get_branch(unsigned int i, int* len, qvalue_t* q, str* dst_uri, *force_socket = 0; if (flags) *flags = 0; + if (ruid) { + ruid->s = 0; + ruid->len = 0; + } return 0; } } @@ -258,12 +267,13 @@ char* get_branch(unsigned int i, int* len, qvalue_t* q, str* dst_uri, * 0 is returned if there are no more branches */ char* next_branch(int* len, qvalue_t* q, str* dst_uri, str* path, - unsigned int* flags, struct socket_info** force_socket) + unsigned int* flags, struct socket_info** force_socket, + str* ruid) { char* ret; ret=get_branch(branch_iterator, len, q, dst_uri, path, flags, - force_socket); + force_socket, ruid); if (likely(ret)) branch_iterator++; return ret; @@ -432,7 +442,7 @@ char* print_dset(struct sip_msg* msg, int* len) crt_branch = get_branch_iterator(); init_branch_iterator(); - while ((uri.s = next_branch(&uri.len, &q, 0, 0, 0, 0))) { + while ((uri.s = next_branch(&uri.len, &q, 0, 0, 0, 0, 0))) { cnt++; *len += uri.len; if (q != Q_UNSPECIFIED) { @@ -473,7 +483,7 @@ char* print_dset(struct sip_msg* msg, int* len) } init_branch_iterator(); - while ((uri.s = next_branch(&uri.len, &q, 0, 0, 0, 0))) { + while ((uri.s = next_branch(&uri.len, &q, 0, 0, 0, 0, 0))) { if (i) { memcpy(p, CONTACT_DELIM, CONTACT_DELIM_LEN); p += CONTACT_DELIM_LEN; diff --git a/dset.h b/dset.h index 3140f95..2eca07f 100644 --- a/dset.h +++ b/dset.h @@ -139,11 +139,13 @@ void set_branch_iterator(int n); * *len) or 0 if there are no more branches. */ char* next_branch(int* len, qvalue_t* q, str* dst_uri, str* path, - unsigned int* flags, struct socket_info** force_socket); + unsigned int* flags, struct socket_info** force_socket, + str *ruid); char* get_branch( unsigned int i, int* len, qvalue_t* q, str* dst_uri, str* path, unsigned int *flags, - struct socket_info** force_socket); + struct socket_info** force_socket, + str* ruid); /*! \brief * Empty the array of branches
11 years, 8 months
1
0
0
0
git:pd/outbound: modules/tm: updated t_serial to store/retrieve ruid
by Peter Dunkley
Module: sip-router Branch: pd/outbound Commit: 87e624ffe1e66104b04d34bd2102f458f5785bf0 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=87e624f…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Date: Thu Mar 14 23:16:27 2013 +0000 modules/tm: updated t_serial to store/retrieve ruid --- modules/tm/t_serial.c | 56 ++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 46 insertions(+), 10 deletions(-) diff --git a/modules/tm/t_serial.c b/modules/tm/t_serial.c index 1eb722a..570d02c 100644 --- a/modules/tm/t_serial.c +++ b/modules/tm/t_serial.c @@ -50,6 +50,7 @@ struct contact { str path; struct socket_info* sock; str instance; + str ruid; unsigned int flags; unsigned short q_flag; struct contact *next; @@ -92,9 +93,11 @@ static str sock_name = {"sock", 4}; static str instance_name = {"instance", 8}; static str flags_name = {"flags", 5}; static str q_flag_name = {"q_flag", 6}; +static str ruid_name = {"ruid", 4}; void add_contacts_avp(str *uri, str *dst_uri, str *path, str *sock_str, - unsigned int flags, unsigned int q_flag, str *instance) + unsigned int flags, unsigned int q_flag, str *instance, + str *ruid) { sr_xavp_t *record; sr_xval_t val; @@ -136,6 +139,12 @@ void add_contacts_avp(str *uri, str *dst_uri, str *path, str *sock_str, xavp_add_value(&instance_name, &val, &record); } + if (ruid->len > 0) { + val.type = SR_XTYPE_STR; + val.v.s = *ruid; + xavp_add_value(&ruid_name, &val, &record); + } + val.type = SR_XTYPE_XAVP; val.v.xavp = record; xavp_add_value(&contacts_avp, &val, NULL); @@ -192,6 +201,7 @@ int t_load_contacts(struct sip_msg* msg, char* key, char* value) contacts->path = msg->path_vec; contacts->q = get_ruri_q(); contacts->instance = msg->instance; + contacts->ruid = msg->ruid; first_idx = 0; } else { /* Insert first branch to first contact */ @@ -207,6 +217,8 @@ int t_load_contacts(struct sip_msg* msg, char* key, char* value) contacts->q = branch->q; contacts->instance.s = branch->instance; contacts->instance.len = branch->instance_len; + contacts->ruid.s = branch->ruid; + contacts->ruid.len = branch->ruid_len; first_idx = 1; } @@ -233,6 +245,8 @@ int t_load_contacts(struct sip_msg* msg, char* key, char* value) next->q = branch->q; next->instance.s = branch->instance; next->instance.len = branch->instance_len; + next->ruid.s = branch->ruid; + next->ruid.len = branch->ruid_len; next->next = (struct contact *)0; prev = (struct contact *)0; @@ -283,7 +297,7 @@ int t_load_contacts(struct sip_msg* msg, char* key, char* value) add_contacts_avp(&(curr->uri), &(curr->dst_uri), &(curr->path), &sock_str, curr->flags, curr->q_flag, - &(curr->instance)); + &(curr->instance), &(curr->ruid)); curr = curr->next; } @@ -298,7 +312,7 @@ int t_load_contacts(struct sip_msg* msg, char* key, char* value) } void add_contact_flows_avp(str *uri, str *dst_uri, str *path, str *sock_str, - unsigned int flags, str *instance) + unsigned int flags, str *instance, str *ruid) { sr_xavp_t *record; sr_xval_t val; @@ -332,6 +346,12 @@ void add_contact_flows_avp(str *uri, str *dst_uri, str *path, str *sock_str, xavp_add_value(&instance_name, &val, &record); } + if (ruid->len > 0) { + val.type = SR_XTYPE_STR; + val.v.s = *ruid; + xavp_add_value(&ruid_name, &val, &record); + } + val.type = SR_XTYPE_INT; val.v.i = flags; xavp_add_value(&flags_name, &val, &record); @@ -354,7 +374,7 @@ void add_contact_flows_avp(str *uri, str *dst_uri, str *path, str *sock_str, * there was nothing to do. Returns -1 in case of an error. */ int t_next_contacts(struct sip_msg* msg, char* key, char* value) { - str uri, dst_uri, path, instance, host, sock_str; + str uri, dst_uri, path, instance, host, sock_str, ruid; struct socket_info *sock; unsigned int flags, q_flag; sr_xavp_t *xavp_list, *xavp, *prev_xavp, *vavp; @@ -443,6 +463,9 @@ int t_next_contacts(struct sip_msg* msg, char* key, char* value) il->next = (struct instance_list *)0; } + vavp = xavp_get(&ruid_name, xavp->val.v.xavp); + ruid = vavp->val.v.s; + /* Rewrite Request-URI */ rewrite_uri(msg, &uri); @@ -462,6 +485,8 @@ int t_next_contacts(struct sip_msg* msg, char* key, char* value) setbflagsval(0, flags); + set_ruid(msg, &ruid); + /* Check if there was only one contact at this priority */ if (q_flag) { xavp_rm(xavp, NULL); @@ -535,7 +560,7 @@ int t_next_contacts(struct sip_msg* msg, char* key, char* value) } if (ilp) { add_contact_flows_avp(&uri, &dst_uri, &path, &sock_str, - flags, &instance); + flags, &instance, &ruid); goto check_q_flag; } if (!q_flag) { @@ -560,8 +585,11 @@ int t_next_contacts(struct sip_msg* msg, char* key, char* value) } } - if (append_branch(msg, &uri, &dst_uri, &path, 0, flags, sock, 0, 0) - != 1) { + vavp = xavp_get(&ruid_name, xavp->val.v.xavp); + ruid = vavp->val.v.s; + + if (append_branch(msg, &uri, &dst_uri, &path, 0, flags, sock, 0, 0, + &ruid) != 1) { LM_ERR("appending branch failed\n"); free_instance_list(il); xavp_destroy_list(&xavp_list); @@ -596,7 +624,7 @@ int t_next_contacts(struct sip_msg* msg, char* key, char* value) * there was nothing to do. Returns -1 in case of an error. */ int t_next_contact_flows(struct sip_msg* msg, char* key, char* value) { - str uri, dst_uri, path, instance, host; + str uri, dst_uri, path, instance, host, ruid; struct socket_info *sock; unsigned int flags; sr_xavp_t *xavp_list, *xavp, *next_xavp, *vavp; @@ -683,6 +711,9 @@ int t_next_contact_flows(struct sip_msg* msg, char* key, char* value) il->next = (struct instance_list *)0; } + vavp = xavp_get(&ruid_name, xavp->val.v.xavp); + ruid = vavp->val.v.s; + /* Rewrite Request-URI */ rewrite_uri(msg, &uri); @@ -700,6 +731,8 @@ int t_next_contact_flows(struct sip_msg* msg, char* key, char* value) set_force_socket(msg, sock); + set_ruid(msg, &ruid); + setbflagsval(0, flags); /* Append branches until out of branches. */ @@ -793,8 +826,11 @@ int t_next_contact_flows(struct sip_msg* msg, char* key, char* value) vavp = xavp_get(&flags_name, xavp->val.v.xavp); flags = vavp->val.v.i; - if (append_branch(msg, &uri, &dst_uri, &path, 0, flags, sock, 0, 0) - != 1) { + vavp = xavp_get(&ruid_name, xavp->val.v.xavp); + ruid = vavp->val.v.s; + + if (append_branch(msg, &uri, &dst_uri, &path, 0, flags, sock, 0, 0, + &ruid) != 1) { LM_ERR("appending branch failed\n"); free_instance_list(il); xavp_destroy_list(&xavp_list);
11 years, 8 months
1
0
0
0
git:pd/outbound: modules/registrar: tidied up unregister() function
by Peter Dunkley
Module: sip-router Branch: pd/outbound Commit: dd90d9685cb66843ff48c55b0100de9f98bfdf52 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=dd90d96…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Date: Thu Mar 14 23:05:32 2013 +0000 modules/registrar: tidied up unregister() function --- modules/registrar/save.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/registrar/save.c b/modules/registrar/save.c index bfcbaf6..a164683 100644 --- a/modules/registrar/save.c +++ b/modules/registrar/save.c @@ -968,10 +968,6 @@ int unregister(struct sip_msg* _m, udomain_t* _d, str* _uri, str *_ruid) urecord_t *r; ucontact_t *c; - u = parse_to_uri(_m); - if(u==NULL) - return -2; - if (extract_aor(_uri, &aor, NULL) < 0) { LM_ERR("failed to extract Address Of Record\n"); return -1; @@ -980,6 +976,10 @@ int unregister(struct sip_msg* _m, udomain_t* _d, str* _uri, str *_ruid) if (_ruid == NULL) { /* No ruid provided - remove all contacts for aor */ + u = parse_to_uri(_m); + if(u==NULL) + return -2; + if (star(_m, _d, &aor, &u->host) < 0) { LM_ERR("error unregistering user [%.*s]\n", aor.len, aor.s);
11 years, 8 months
1
0
0
0
git:pd/outbound: modules/ims_isc: updated to include new argument to append_branch()
by Peter Dunkley
Module: sip-router Branch: pd/outbound Commit: b49ea76814d2933bb9bc58f82230c4569be171af URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b49ea76…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Date: Thu Mar 14 22:58:44 2013 +0000 modules/ims_isc: updated to include new argument to append_branch() --- modules/ims_isc/isc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/ims_isc/isc.c b/modules/ims_isc/isc.c index f6d02d1..7593703 100644 --- a/modules/ims_isc/isc.c +++ b/modules/ims_isc/isc.c @@ -76,7 +76,7 @@ int isc_forward(struct sip_msg *msg, isc_match *m, isc_mark *mark) { /* append branch if last trigger failed */ if (is_route_type(FAILURE_ROUTE)) - append_branch(msg, &(msg->first_line.u.request.uri), &(msg->dst_uri), 0, Q_UNSPECIFIED, 0, 0, 0, 0); + append_branch(msg, &(msg->first_line.u.request.uri), &(msg->dst_uri), 0, Q_UNSPECIFIED, 0, 0, 0, 0, 0); // Determines the tm transaction identifiers. // If no transaction, then creates one
11 years, 8 months
1
0
0
0
git:pd/outbound: modules/ims_icscf: updated to include new argument to append_branch()
by Peter Dunkley
Module: sip-router Branch: pd/outbound Commit: 01f4a316eeb2ed9b7110cb5ee8c96c4923b9acaa URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=01f4a31…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Date: Thu Mar 14 22:58:24 2013 +0000 modules/ims_icscf: updated to include new argument to append_branch() --- modules/ims_icscf/scscf_list.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/ims_icscf/scscf_list.c b/modules/ims_icscf/scscf_list.c index bd5216c..5f6f93b 100644 --- a/modules/ims_icscf/scscf_list.c +++ b/modules/ims_icscf/scscf_list.c @@ -379,7 +379,7 @@ int I_scscf_select(struct sip_msg* msg, char* str1, char* str2) { } else { /* subsequent */ req = msg; - append_branch(req, &scscf_name, 0, 0, Q_UNSPECIFIED, 0, 0, 0, 0); + append_branch(req, &scscf_name, 0, 0, Q_UNSPECIFIED, 0, 0, 0, 0, 0); result = CSCF_RETURN_TRUE; } } else {
11 years, 8 months
1
0
0
0
git:pd/outbound: modules/enum: updated to include new argument to append_branch()
by Peter Dunkley
Module: sip-router Branch: pd/outbound Commit: 08b7df7556f6677ed6049825cf20155162269fd4 URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=08b7df7…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Date: Thu Mar 14 22:57:49 2013 +0000 modules/enum: updated to include new argument to append_branch() --- modules/enum/enum.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/enum/enum.c b/modules/enum/enum.c index 771eafb..756f4e5 100644 --- a/modules/enum/enum.c +++ b/modules/enum/enum.c @@ -687,7 +687,7 @@ int do_query(struct sip_msg* _msg, char *user, char *name, str *service) { q = q - 10; curr_prio = priority; } - if (append_branch(_msg, &result, 0, 0, q, 0, 0, 0, 0) == -1) { + if (append_branch(_msg, &result, 0, 0, q, 0, 0, 0, 0, 0) == -1) { goto done; } } @@ -1137,7 +1137,7 @@ int enum_pv_query_3(struct sip_msg* _msg, char* _sp, char* _suffix, q = q - 10; curr_prio = priority; } - if (append_branch(_msg, &result, 0, 0, q, 0, 0, 0, 0) + if (append_branch(_msg, &result, 0, 0, q, 0, 0, 0, 0, 0) == -1) { goto done; }
11 years, 8 months
1
0
0
0
git:pd/outbound: modules/cpl-c: updated to include new argument to append_branch()
by Peter Dunkley
Module: sip-router Branch: pd/outbound Commit: cb10662ae458b799d9746948aba59fb513af318d URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cb10662…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com> Date: Thu Mar 14 22:57:06 2013 +0000 modules/cpl-c: updated to include new argument to append_branch() --- modules/cpl-c/cpl_sig.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/cpl-c/cpl_sig.c b/modules/cpl-c/cpl_sig.c index 2459086..34f61ac 100644 --- a/modules/cpl-c/cpl_sig.c +++ b/modules/cpl-c/cpl_sig.c @@ -92,7 +92,7 @@ int cpl_proxy_to_loc_set( struct sip_msg *msg, struct location **locs, (*locs)->addr.uri.len, (*locs)->addr.uri.s, bflags); if(append_branch(msg, &(*locs)->addr.uri, &(*locs)->addr.received, 0, - Q_UNSPECIFIED, bflags, 0, 0, 0)==-1){ + Q_UNSPECIFIED, bflags, 0, 0, 0, 0)==-1){ LM_ERR("failed when appending branch <%s>\n", (*locs)->addr.uri.s); goto error;
11 years, 8 months
1
0
0
0
← Newer
1
...
23
24
25
26
27
28
29
...
43
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Results per page:
10
25
50
100
200