Closed bklang closed 12 years ago
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
We didn't find any Regexp match for sip:arabbit@127.0.0.1
Good catch! It is fixed now. Note you could have used something like .*arabbit.*=arabbit@127.0.0.1
.*arabbit.*=arabbit@127.0.0.1
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:
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