[Serusers] error with CPL script( CPL module of SER)

dillip parida kumar.usoft at gmail.com
Wed Apr 4 19:22:09 CEST 2007


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 at 172.16.1.24,
> ,2002 at 172.16.1.28 and 2003 at 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 at 172.16.1.24
> 2002         2002 at 172.16.1.28
> 2003         2003 at 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 at 172.16.1.31 <sip:1003 at 172.16.1.31>">
>          <proxy/>
>      </location>
>    </subaction>
>    <incoming>
>      <location url="sip:2002 at 172.16.1.28 <sip:1002 at 172.16.1.28>">
>          <proxy timeout="8">
>             <busy>
>               <sub ref="pda"/>
>             </busy>
>             <noanswer>
>               <sub ref="pda"/>
>             </noanswer>
>          </proxy>
>      </location>
>    </incoming>
> </cpl>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20070404/a772953c/attachment.htm>


More information about the sr-users mailing list