[asterisk-users] SIP KEEPALIVES, with QUALIFY and without making UNREACHABLE

Justin Newman nt_jnewman at yahoo.com
Fri Apr 11 11:59:05 CDT 2008


Need SIP KEEPALIVES in Asterisk, but QUALIFY won't presently work for you (due to it's channel disabling behavior)?  
 
Someone posted on the list that they would like to split "keepalives" and "qualify" into different features. Sounds like a good plan, but until that is done you can turn "qualify=" into a keepalive mechanism, without disabling your channels.
 
Here's a quick fix:
 
1) Open "chan_sip.c".
2) Replace "lastms = -1" with "lastms = 0".
3) Save.
4) #make
5) #make install
 
I've used it in the past without problems. Not perfect (or even close), but it works.
 
Justin
 

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080411/62cd3111/attachment.htm 


More information about the asterisk-users mailing list