On Sun, May 26, 2019, at 1:51 PM, Michael Maier wrote:
> On 24.05.19 at 12:45 Joshua C. Colp wrote:
> > On Fri, May 24, 2019, at 3:35 AM, Michael Maier wrote:
> >> On 03.02.19 at 12:00 Joshua C. Colp wrote:
> >>> On Sun, Feb 3, 2019, at 6:03 AM, Michael Maier wrote:
> >>>> On 15.01.19 at 20:27 Joshua C. Colp wrote:
> 
> [...]
> >>>> In which function should the headers been added?
> >>>> - for outgoing initial REGISTER?
> >>>
> >>> Outbound registration is handled by res_pjsip_outbound_registration.c
> >>
> >> Could you please suggest the function name, which should be started at 
> >> best? Would it be
> >> handle_client_registration()?
> 
> - Is there any possibility in handle_client_registration to check if 
> encryption is enabled?
> - How do I know if the registration performed is the initial 
> registration or a subsequent
>   registration after EXPIRE?

I'm not sure if there is anything within the outbound registration registration 
itself which really signifies this or stores it, there may be something exposed 
by the PJSIP outbound registration API but I'm not sure there either. The code 
doesn't quite care in the normal cases.

-- 
Joshua C. Colp
Digium - A Sangoma Company | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to