From 7614c63d613b766a291b697f7e82cc2cc937aaa4 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Wed, 31 Jul 2013 23:42:12 +0200 Subject: [PATCH] configure refresher nat helper for subscribtion --- coreapi/bellesip_sal/sal_op_presence.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coreapi/bellesip_sal/sal_op_presence.c b/coreapi/bellesip_sal/sal_op_presence.c index cee7b0093..b88af986d 100644 --- a/coreapi/bellesip_sal/sal_op_presence.c +++ b/coreapi/bellesip_sal/sal_op_presence.c @@ -125,6 +125,7 @@ static void presence_response_event(void *op_base, const belle_sip_response_even } if (expires>0){ op->refresher=belle_sip_client_transaction_create_refresher(client_transaction); + belle_sip_refresher_enable_nat_helper(op->refresher,op->base.root->nat_helper_enabled); belle_sip_refresher_set_listener(op->refresher,presence_refresher_listener,op); } }