Re: [asterisk-users] pjsip: how to survive rejected registrations?

2020-02-28 Thread hw
On Thursday, February 27, 2020 3:03:47 PM CET hw wrote:
> Hi,
> 
> sometimes 'pjsip show registrations' shows registrations to the VOIP
> provider as Rejected.  I have already added
> 
> 
> max_retries = 0
> auth_rejection_permanent = no
> 
> 
> in pjsip_wizard.conf and still asterisk does not recover.
> 
> I need asterisk to keep trying to register and to renew the registration
> without requiring manual intervention.  How can I make asterisk do that?

No ideas?

If pjsip is not able to recover after the internet connection has gone away 
for a few minutes, it's totally useless.




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

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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

Re: [asterisk-users] error compiling current git

2020-02-28 Thread hw
On Thursday, February 27, 2020 4:29:01 PM CET Kevin Harwell wrote:
> On Thu, Feb 27, 2020 at 8:51 AM hw  wrote:
> > Hi,
> > 
> > compiling the current git version on Centos 7 gives me:
> >[CC] res_statsd.c -> res_statsd.o
> > 
> > res_rtp_asterisk.c:2669:2: error: unknown field ‘on_valid_pair’ specified
> > in initializer
> > 
> >   .on_valid_pair = ast_rtp_on_valid_pair,
> >   ^
> > 
> > res_rtp_asterisk.c:2669:2: warning: initialization from incompatible
> > pointer type [enabled by default]
> > res_rtp_asterisk.c:2669:2: warning: (near initialization for
> > ‘ast_rtp_ice_sess_cb.on_ice_complete’) [enabled by default]
> > 
> >[CC] res_format_attr_g729.c -> res_format_attr_g729.o
> > 
> > Is this to be expected or should I make a bug report?
> 
> When you pulled the lasted code this change would have forced a
> re-configure. If you haven't already try doing a full clean and rebuild,
> and see if you still have the error:
> 
> $ make distclean
> $ ./configure [your options]
> $ make

Thanks, that worked :)





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

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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