Re: Is this normal? Reconnect every 5 minutes?

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

 



Ah, ok, thank you :) ...didn't know that a SIP connection could expire. That may be the case... I'll have a look!
But this auto-reconnect that is performed on expiration would not happen when there is an active call ongoing, right?
 
Currently I am using pjsip only as a kind of notification service and not to actually talk to someone. But I plan to do this, too at some point.
In the log files where I save the status that comes back from pjsua I saw these "200 OK"s which occur periodically and precisely every 5 minutes (=300 sec)  - that looked a bit surprising to me.
 
But I'll see if there is an expiration time that might explain this behaviour.
 
Thanks!
Oli
 
Gesendet: Mittwoch, 22. Juni 2016 um 18:45 Uhr
Von: "David Villasmil Govea" <david.villasmil@xxxxxxxxx>
An: "pjsip list" <pjsip@xxxxxxxxxxxxxxx>
Betreff: Re: Is this normal? Reconnect every 5 minutes?
Look at the "expire" in the register, i guess it's at 600 seconds (5 minutes). If so, yes, It's completely normal.
On Wed, Jun 22, 2016 at 12:36 PM Harald Radke <harryrat@xxxxxx> wrote:
without any further information its hard to say whats going on, but coult it be the periodically refreshed register?
 
Regards, Harry

Von meinem iPad gesendet

Am 22.06.2016 um 17:50 schrieb Oli Kah <mj_fn@xxxxxx>:
 
Hi there,
 
currently I am using pjsua with Python 2.7 and everything works quite nicely. However what is strange is that pjsua seems to reconnect to the SIP server every 5 minutes?! Is this a default behaviour that can be configured somehow or what might be going on here?
 
What I see is that the SIP status becomes resent every 5 minutes (200 OK) although I do not manually invoke a reconnect! I assume pjsip internally and automatically reconnects to the server. But why does it do that?
 
Thank you =)
 
Kind regards,
Oliver
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[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