[Home]

Summary:ASTERISK-00792: Unloading chan_sip.so doesn't unregister sip protocol and unregister sipdebug
Reporter:mochouinard (mochouinard)Labels:
Date Opened:2004-01-11 23:22:45.000-0600Date Closed:2008-01-15 14:40:50.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20040111__chan_sip_unload_fix_798.diff.txt
Description:Chan_sip.so doesn't unregister correctly when asked to be unloaded

****** ADDITIONAL INFORMATION ******

Asterisk Ready.
*CLI> unload chan_sip.so
 == Unregistered application 'SIPDtmfMode'
*CLI> load chan_sip.so  
Loaded /usr/lib/asterisk/modules/chan_sip.so => (Session Initiation Protocol (SIP))
 == Parsing '/etc/asterisk/sip.conf': Found
 == SIP Listening on 0.0.0.0:5060
 == Using TOS bits 0
 == Registered channel type 'sip' (Session Initiation Protocol (SIP))
WARNING[1074398976]: File cli.c, Line 691 (ast_cli_register): Command 'sipdebug' already registered (or something close enough)
WARNING[1074398976]: File rtp.c, Line 1111 (ast_rtp_proto_register): Tried to register same protocol 'sip' twice
 == Registered application 'SIPDtmfMode'
Comments:By: mochouinard (mochouinard) 2004-01-11 23:30:20.000-0600

same problem with also
chan_iax
chan_iax2
chan_zap

By: mochouinard (mochouinard) 2004-01-11 23:54:13.000-0600

Look NICE and CLEAN now... Thanks (FOR chan_sip.so)

By: Brian West (bkw918) 2004-01-12 00:02:30.000-0600

Fixed in CVS.

By: Digium Subversion (svnbot) 2008-01-15 14:40:50.000-0600

Repository: asterisk
Revision: 1975

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r1975 | jeremy | 2008-01-15 14:40:49 -0600 (Tue, 15 Jan 2008) | 2 lines

unregister cli functions and fix monitor thread. Bug ASTERISK-792

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=1975