<!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.6001.18882">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>The configuration items you're using (ss7_.*prefix)
relate to libss7, not chan_ss7.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>You could swap over to libss7.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Alternatively, if you're using chan_ss7, you need
to modify the source, as it currently doesn't identify subscriber
calls.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>All the relevent code is in l4isup.c (at least for
chan_ss7 version 1.3) in the following functions:</FONT></DIV>
<DIV><FONT size=2 face=Arial>isup_phonenum_check</FONT></DIV>
<DIV><FONT size=2 face=Arial>isup_called_party_num_encode</FONT></DIV>
<DIV><FONT size=2 face=Arial>isup_called_party_num_encode_no_st</FONT></DIV>
<DIV><FONT size=2 face=Arial>isup_calling_party_num_encode</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>It's relatively trivial to modify as the code is
quite straight-forward.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>--Greg</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=equissoftware@gmail.com href="mailto:equissoftware@gmail.com">equis
software</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-ss7@lists.digium.com
href="mailto:asterisk-ss7@lists.digium.com">asterisk-ss7@lists.digium.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, February 08, 2010 5:06
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [asterisk-ss7] SS7 Called Nature
of Address Indicator - problem</DIV>
<DIV><BR></DIV>In international calls (start with 00) itīs ok<BR>In national
call (starts with 0) itīs ok<BR>but in subscriber call (donīt start wih 0)
automatically set like 'national'<BR><BR>Iīm using Zaptel Version:
1.4.10.1<BR>chan_ss7 1.2.1<BR>asterisk 1.4.20.2<BR><BR>I found
ss7_internationalprefix = 00<BR>ss7_nationalprefix =
0<BR>ss7_subscriberprefix=0S<BR>but zaptel doesnīt accept this
configuration.<BR><BR><BR><BR>
<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</BLOCKQUOTE></BODY></HTML>