summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2018-12-26 14:01:26 +0100
committergsmevent admin <admin@gsmevent.box>2018-12-27 17:50:44 +0100
commita4f3c219d25ff51a1ed952649d7b9c9903c7192f (patch)
tree3d7db72f597c7c21b4a32ec4bdc20f990c8abc6f
parentb3e99b406ea908ba6d29e67e6189a26d06cee340 (diff)
sip: use nua_set_hparams
-rw-r--r--src/sip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sip.c b/src/sip.c
index 457ac15..6a47577 100644
--- a/src/sip.c
+++ b/src/sip.c
@@ -429,14 +429,14 @@ static int send_invite(struct sip_agent *agent, struct sip_call_leg *leg,
switch (leg->base.call->ran) {
case 1:
- nua_set_params(leg->nua_handle, SIPTAG_HEADER_STR("P-Access-Network-Info: 3GPP-GERAN"), TAG_END());
+ nua_set_hparams(leg->nua_handle, SIPTAG_HEADER_STR("P-Access-Network-Info: 3GPP-GERAN"), TAG_END());
break;
case 2:
- nua_set_params(leg->nua_handle, SIPTAG_HEADER_STR("P-Access-Network-Info: 3GPP-UTRAN"), TAG_END());
+ nua_set_hparams(leg->nua_handle, SIPTAG_HEADER_STR("P-Access-Network-Info: 3GPP-UTRAN"), TAG_END());
break;
case 0:
default:
- nua_set_params(leg->nua_handle, SIPTAG_HEADER_STR("P-Access-Network-Info: 3GPP-UNKNOWN"), TAG_END());
+ nua_set_hparams(leg->nua_handle, SIPTAG_HEADER_STR("P-Access-Network-Info: 3GPP-UNKNOWN"), TAG_END());
break;
}