PJSIP Endpoint Restart Issue - Supported header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all, 

As part of our application, there is a need to shutdown the SIP endpoint
during configuration changes (Hostname / IP Address / Port etc...). 

The simplified steps to handle re-configuration are:
1. pjsip_endpt_destroy()
2. Configuration update.
3. pjsip_endpt_create()
4. Initialize modules (100rel timer etc...)

The issue I have noticed is that the capabilities of the endpoint
(pjsip_endpt_get_capability()) for the Supported headers will *not* be
updated due to static initialization within certain modules (i.e
replaces, timer) stopping calls to pjsip_endpt_add_capability(). So
outgoing INVITE and outgoing OPTIONS Supported header will *not* include
all supported features of the endpoint.

Perhaps others have come across a way to handle changes to IP?

-- 
BRgds, 
Steve King

Design Engineer
Zetron Australasia



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux