rayo/rayo-server — Issue #14: Unable to match full SIP URIs in rayo-routing.properties
Author: bklang
Created: 2012-01-14 18:38:02+00:00
State: open

I wanted to match an exact SIP username for routing to a specific JID. I tried the following combinations, but the Rayo server never reported a match:

sip:arabbit@.*=arabbit@127.0.0.1
sip:arabbit.*=arabbit@127.0.0.1
arabbit@.*=arabbit@127.0.0.1
arabbit.*=arabbit@127.0.0.1

The logs make it appear that the string to be matched is "sip:arabbit@127.0.0.1", based on the error message "We didn't find any Regexp match for sip:arabbit@127.0.0.1"