Justin Newman
2008-Apr-11 16:59 UTC
[asterisk-users] SIP KEEPALIVES, with QUALIFY and without making UNREACHABLE
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
Possibly Parallel Threads
- Using frequent keepalives to eliminate need forNAT port forwarding?
- sip qualify unreachable/reachable - ci$co 7940
- Disregistering Constantly - message: chan_sip.c:11564 sip_poke_noanswer: Peer 'provider-13052181000' is now UNREACHABLE! Last qualify: 0
- Iaxphone - unreachable if qualify yes ?
- iax2 qualify - false "peer unreachable"