Hi all,

I am trying to implement call redirection feature using cpl script.
I have complied cpl module that supports the cpl script.
I have uploaded the cpl script.
plz help me to solve the problem..



I have written this mail regarding the error that
> we are getting in testing the cpl script of Call redirection.
>
>           We have three X-lite phones with SIP uris 2001@172.16.1.24,
> ,2002@172.16.1.28 and 2003@172.16.1.31  and all the three soft phones
> have been registered with SER proxy running on 10.2.3.123. All the
> three users have added in the SER database along with mail ids.
>
> user         mail id
> 2001         2001@172.16.1.24
> 2002         2002@172.16.1.28
> 2003         2003@172.16.1.31
>
>  The call scenario is as follows..
> 1.user 2001 will make a call to user 2002.
> 2. If the user 2002 is either not responding (No answer) or busy, then
> the call
> will be redirected to user 2003.
> 3. we able to make a call to 2002,and user 2002's X-lite phone is
> ringing but the call is
> not getting redirected.
>
> The cpl script for redirection has been deployed in SER proxy.
>
> I am sending the call log of sip phone:2001 as an attachment along
> with snapshot sip phone 2001.
>
> I am sending cpl script at the bottam of this mail.plz find the cpl script at the end of this mail.

> As shown in the xlite screen "500 CPL script execution failed" can u
> please suggest me if  there is
>  any error in XML/CPL syntax.
>
>
 
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
>
> <?xml version="1.0"?>
> <!DOCTYPE html cpl PUBLIC "-//IETF//DTD RFCxxx CPL 1.0//EN" "cpl.dtd">
> <cpl>
>    <subaction id="pda">
>      <location url="sip:2003@172.16.1.31">
>          <proxy/>
>      </location>
>    </subaction>
>    <incoming>
>      <location url="sip:2002@172.16.1.28">
>          <proxy timeout="8">
>             <busy>
>               <sub ref="pda"/>
>             </busy>
>             <noanswer>
>               <sub ref="pda"/>
>             </noanswer>
>          </proxy>
>      </location>
>    </incoming>
> </cpl>