rayo / rayo-server

Rayo Server - A high performance awesomeness server
http://www.rayo.org
Apache License 2.0
43 stars 4 forks source link

JID routing does not work with non-standard SIP ports #8

Closed benlangfeld closed 12 years ago

benlangfeld commented 12 years ago

Running rayo on 5061 results in a breakdown of the regex-based routing. May be a documentation issue.

mpermar commented 12 years ago

Sorry, tested it and it actually does work. It could be a matter of the regexp expression you were using. But something like this will work:

.*=usera@localhost

or even this one should work:

.*:5061=usera@localhost

Be also aware that order does matter. So a rule on the top of the list can easily be overriding other rules below