<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16490"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Calibri>
<DIV><FONT face=Calibri>Hi Jorge,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Calibri>My problem is not when I receive a call but when I send
a call to telco.</FONT></DIV>
<DIV><FONT face=Calibri>I use my asterisk box like a gateway and receive sip
calls to route this calls to PSTN.</FONT></DIV>
<DIV><FONT face=Calibri>In some cases the Telco send a ACM with charge
indicator = 1 (no charge) and after this </FONT></DIV>
<DIV><FONT face=Calibri>the telco send a ANM.</FONT></DIV>
<DIV><FONT face=Calibri>When asterisk receive the ANM, it send a 200 Ok to SIP
side and my softswitch start bill the call.<BR><BR>Anyone has a idea
?<BR></FONT></DIV>
<DIV><FONT face=Calibri>Regards,</FONT></DIV>
<DIV><FONT face=Calibri>Bruno Rodrigues</DIV></FONT></FONT></DIV>
<DIV><FONT face=Calibri> </FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=jvalencia@chile.com
href="mailto:jvalencia@chile.com">Jorge Valencia</A> </DIV>
<DIV><B>Sent:</B> Friday, February 05, 2010 6:20 PM</DIV>
<DIV><B>To:</B> <A
title="mailto:asterisk-ss7@lists.digium.com CTRL + Click to follow link"
href="mailto:asterisk-ss7@lists.digium.com">asterisk-ss7@lists.digium.com</A>
</DIV>
<DIV><B>Subject:</B> Re: [asterisk-ss7] Charge indicator</DIV></DIV></DIV>
<DIV><BR></DIV>
<DIV dir=ltr align=left><SPAN class=968410820-05022010><FONT size=2
face=Arial>Hi Bruno, well last year i had the same problem, it was posted
here. My solution was modify the source, </FONT></SPAN><SPAN
class=968410820-05022010><FONT size=2 face=Arial>inside isup.c you need modify
the code, find this function <SPAN class=968410820-05022010><FONT size=2
face=Arial>static FUNC_SEND(backward_call_ind_transmit) </FONT></SPAN>and add
some lines. I think Matt was going to setup an option..anyway here is the
code</FONT></SPAN></DIV>
<DIV><SPAN class=968410820-05022010><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=968410820-05022010><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=968410820-05022010><FONT size=2 face=Arial>static
FUNC_SEND(backward_call_ind_transmit)<BR>{<BR> unsigned char always<SPAN
class=500181920-05022010>c</SPAN>harge= 2;<BR> parm[0] = 0x40 |
always<SPAN class=500181920-05022010>c</SPAN>harge;<BR> parm[1] =
0x14;<BR> return 2;<BR>}</FONT></SPAN></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV align=left><FONT size=2 face=Arial><SPAN
class=968410820-05022010>Regards</SPAN></FONT></DIV>
<DIV align=left><FONT size=2 face=Arial></FONT> </DIV>
<DIV align=left><FONT size=2 face=Arial>Jorge Valencia G.</FONT></DIV>
<DIV align=left><FONT size=2 face=Arial>Operaciones</FONT></DIV>
<DIV align=left><FONT size=2 face=Arial>Will Telefonía SA</FONT></DIV>
<DIV align=left><FONT size=2 face=Arial>Santo Domingo 1894 - Santiago -
Chile</FONT></DIV>
<DIV align=left><FONT size=2 face=Arial>+56 2 5720000</FONT></DIV>
<DIV> </DIV>
<P>
<HR>
<P></P>--
<BR>_____________________________________________________________________<BR>--
Bandwidth and Colocation Provided by http://www.api-digital.com
--<BR><BR>asterisk-ss7 mailing list<BR>To UNSUBSCRIBE or update options
visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-ss7</BODY></HTML>