[Home]

Summary:ASTERISK-20751: chan_motif leaves UDP ports open
Reporter:Oleg Petukhov (joshoa)Labels:
Date Opened:2012-11-28 08:39:06.000-0600Date Closed:2012-12-03 08:56:59.000-0600
Priority:MajorRegression?Yes
Status:Closed/CompleteComponents:Channels/chan_motif
Versions:11.0.1 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Ubuntu precise (12.04.1 LTS), Ubuntu oneric (11.10), Fedora release 14 (Laughlin). All x64 asterisk 11.0.1, asterisk-1.8.19.0-rc1, asterisk SVNAttachments:
Description:I configured chan_motif to work with Google Voice, and was able to send and receive calls. But after some time i have noticed that there is a lot of opened UDP ports in the system. I disabled all other channels except chan_motif - still the same situation. According to 'module show like res_rtp_asterisk.so', every time when call is made using chan_motif, [Use count] increments by one. And i cannot unload/reload 'res_rtp_asterisk.so' cause of it. So for me it looks like chan_motif opens RTP channel using 'res_rtp_asterisk.so', but for some reason not closing it after hangup.

Here is an output right after one call was made.
[root@localhost lib]# netstat -apn|grep asterisk|grep udp
udp     7440      0 0.0.0.0:10004               0.0.0.0:*                               31551/asterisk
udp        0      0 0.0.0.0:10005               0.0.0.0:*                               31551/asterisk

And after each call there are more pairs of port to come.
Comments:By: Joshua C. Colp (jcolp) 2012-12-03 08:56:59.709-0600

Fixed in 11 as of revision 377021 and trunk as of revision 377022.