Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk / PJSIP unexpectedly opens additional UDP port


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
lists at binarus.de
Guest





PostPosted: Mon Oct 19, 2015 1:22 pm    Post subject: [asterisk-users] Asterisk / PJSIP unexpectedly opens additio Reply with quote

Dear all,

I have drastically stripped down my Asterisk installation to about 70 modules since I wanted it to be as slim as possible.

Nevertheless, Asterisk still opens an unwanted port:

root@spock:/install/asterisk-13.6.0# netstat -apnv|grep asterisk
...
udp 0 0 192.168.20.48:5060 0.0.0.0:* 26419/asterisk
udp 0 0 0.0.0.0:38827 0.0.0.0:* 26419/asterisk
...

Port 5060 is expected, of course, and the address where it is bound to is correct. But even after having a glance at the source, I can't imagine why it opens another port on all addresses. I have done some debugging with the following results:

1) The unwanted port changes every time Asterisk is restarted. I can't remember a situation where the port changed *while* Asterisk was running.

2) The opening of the port seems to be caused by res_pjsip. At least, if I don't load res_pjsip when starting Asterisk, the port isn't there (port 5060 then is gone as well, of course). I am not sure if we should conclude that res_pjsip actually causes the port being opened; it could well be another module which depends on res_pjsip and gets loaded if and only if res_pjsip gets loaded. Nevertheless, I've spent quite a few hours with trying to find that mysterious other module, but I didn't find one.

Could please somebody who knows Asterisk's architecture and the relationship between Asterisk and PJSIP look into that or give an explanation? I am quite sure that this affects every Asterisk / PJSIP installation ...

Thank you very much,

Recursive

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services