Hello, I want to match a context based on the value of sip_req_host, but the context isn't matched. <extension name="internal_to_external"> <condition field="sip_req_host" expression="^10\.0\.0\.1$"> <action application="set" data="hangup_after_bridge=false"/> <action application="set" data="continue_on_fail=true"/> <action application="bridge" data="sofia/external/${sip_req_uri}"/> </condition> </extension> Debug output: Dialplan: sofia/internal/31765727000@192.168.18.6 Regex (FAIL) [internal_to_external] sip_req_host() =~ /^62\.180\.237\.73$/ break=on-false I checked with an online regex validator and it seems that the first and last '/' character is causing it to not match. I'm not a regex expert, so I would appreciate it if someone could help me out with this. Thanks!