Hi, I want to set a redirect to a web page in CPL but I get error:
<cpl> <incoming> <lookup source="registration"> <success> <proxy /> </success> <notfound> <location url="http://google.es"> <redirect /> </location> </notfound> </lookup> </incoming> </cpl>
~# openserctl fifo LOAD_CPL sip:user@domain /etc/openser/cpl/user@domain.xml 500 Bad CPL file Log:: Error: Encoding of the CPL script failed
It works if I set (as usual): <location url="sip:user2@domain">
Why doesn't CPL module allow redirection to non SIP target?