<div>Hi,</div>  <div>Thanks for the reply bogdan.</div>  <div>Actually my main requirement was that if a call is transferred to a pstn number,</div>  <div>the billing has to be properly done; charging the one who actually forwarded the call.</div>  <div>I was getting the 'Malformed&nbsp;CC-Diversion/Diversion/CC-Redirect Header' from Cisco but it was solved when I sent a proper reason along with the diversion header. Actually I was sending a reason which could not be recognised by Cisco earlier.</div>  <div>So if the call is going out to a pstn number or is forwarded to a pstn number, I collect the accounting information from the gateway itself, as I beleive it is the best place to look for accounting.</div>  <div>But just to keep records of the calls that were forwarded to another user, I guess the diversion module wont help and I'll have to look for multi leg accounting only. (Is the thought correct?)</div>  <div>&nbsp;</div>  <div>One more thing, Can you please suggest
 the best platform to develop a web-interface for openser. Is php the best?? because I've seen most of the interfaces for openser have been developed in php.</div>  <div>Can someone please give me some advantages of building it in php. Because I was thinking of using asp.net or java jsp for the same.</div>  <div>Please help me take a proper decision on this so that I can move ahead with the development of the web-interface.</div>  <div>&nbsp;</div>  <div>thanks a lot for all your help...</div>  <div>jayesh</div>  <div><BR><B><I>Bogdan-Andrei Iancu &lt;bogdan@voice-system.ro&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi,<BR><BR>Jayesh Nambiar wrote:<BR><BR>&gt; Hi folks,<BR>&gt; I have implemented the openser.cfg with forwarding and voicemail <BR>&gt; features completely. Only problem is,<BR>&gt; if the user is forwarding the call on a pstn number how should he be <BR>&gt; billed, as the one
 who has forwarded is accountable and not the one <BR>&gt; who called.<BR>&gt; I have implemented forwarding using avps serial forking method. I've <BR>&gt; read about multiple leg accounting and was not successful in <BR>&gt; understanding it properly. The docs only mention to set the parametrs <BR>&gt; and after I set the params, I get a n/a in src_leg and dst_leg column. <BR>&gt; Can someone pls give me examples of successfully using multiple leg <BR>&gt; accounting in openser.cfg.<BR><BR>id not enough to define the AVP that will keep the source and <BR>destination of each leg, but you also need from the script to populate <BR>them according to your call processing related to forward. If you search <BR>on the list archive, there was a post about multi leg call, containing a <BR>script snapshot.<BR><BR>&gt; Is it like, the call leg accounting will only take place if there is a <BR>&gt; 3XX response from the server. I am asking this as my cfg does not <BR>&gt; produce any
 302 response, but creates a brand new Invite request for <BR>&gt; the forwarded call. Can someone pls tell me more about multi-leg <BR>&gt; accounting.<BR><BR>no, it is not related to redirect processing.<BR><BR>&gt; Also I read about the diversion module which can be used in the <BR>&gt; forwarding scenarios.<BR>&gt; But I added the diversion header and forwarded the call to Cisco <BR>&gt; gateway, it gave a 400 Bad Request reponse saying 'Malformed <BR>&gt; CC-Diversion/Diversion/CC-Redirect Header'. Can someone explain what <BR>&gt; does this mean.<BR><BR>it means that the Diversion hdr you added is not accepted by the GW - I <BR>had also this problem once and the solution was to remove all hdr <BR>parameters - the CISCO GW does not like them.<BR><BR>regards,<BR>bogdan<BR></BLOCKQUOTE><BR><p>
        

        
                <hr size=1></hr>
Yahoo! India Answers: Share what you know. Learn something new. <a href="http://us.rd.yahoo.com/mail/in/mailcricket/*http://in.answers.yahoo.com">Click here</a><br>
Send instant messages to your online friends - <a href="http://messenger.yahoo.com/download.php;_ylt=Ah5_.LTcbbJtYrNKnfM5e6xwMMIF">NOW</a>