25 Jul
2014
25 Jul
'14
3:47 a.m.
On 24-07-14 19:45, Tim King wrote:
I am trying to direct users on the same nas to different realms based on the called-station-id I have tried the following wtihout success. if ("%{Called-Station-Id}") == "6165551212" { update control{Proxy-To--Realm == myrealm}} Can anyone see what is wrong wtih the syntax in that?
Beside the newlines that are really required in unlang: move the ")" so in looks like this: if ("%{Called-Station-Id}" == "6165551212") -- Herwin Weststrate