aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Add a amue.conf option for exclude some specific port(s) to be used  (Read 3587 times)

realtebo

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 45

is it possible to avoid amule using port 5060 and port 10000-10020 ?

i'm using for asterisk, and If i start first amule and then asterisk, (or i make a module reload in astersik), asterisk is often unable to register numbers because port 5060 is in use, or it's impossibilitated to call because all port from 10000 to 10050 is being used from amule....

i'd like a amule.conf option for exclude a list of ports and/or of ranges of ports
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685

aMule uses only three(!) ports, all of which is to be preset in amule.conf.
Logged
concordia cum veritate

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795

Only three listening ports.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming

Are these asterisk ports listening ports or send ports? Is it a problem if an app wants to register a listening port another app is currently sending on? Sending ports are random usually.
We have a patch lying around that would use a fix sending port. Could that help?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

realtebo

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 45

Probably it's not obvious, but i was talking about sending port.

amule sometimes uses all of the ten ports opened for asterisk on my system, and it's unable to make or receive call.

what about this patch? where ... how to use ... etcc..
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming

Here's the patch, binding the output port to 7777. For proper integration it would require a config option of course.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon