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:[EMAIL PROTECTED] /etc/openser/cpl/[EMAIL 
PROTECTED]
500 Bad CPL file
Log:: Error: Encoding of the CPL script failed


It works if I set (as usual):
  <location url="sip:[EMAIL PROTECTED]">

Why doesn't CPL module allow redirection to non SIP target?


-- 
Iñaki Baz Castillo

_______________________________________________
Users mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/users

Reply via email to