<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:Z="urn:schemas-microsoft-com:" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-GB link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>Hello,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>I am making
good steady progress with a msc to sip service using libss7, but on testing sip
inward to msc calls it appears that the leading zero is missing from both the
called number and the calling number, which causes both routing issues in the
msc and the caller id showing up on the called mobile missing the leading 0 for
caller id, I suspect it’s configurable in the zapta.conf file but
googling has not yet helped?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>The call is
dialled as “exten => _07892111XXX,1,Dial(Zap/37/${EXTEN})”<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>And the 2<sup>nd</sup>
question is how to dial from Chan 37 and up, instead of hardcoding it as
Zap/37?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>One further
question puzzling me is how might be possible to play music instead of ringback
as do other cell operators? Can asterisk do this?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>Regards<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>Magnus<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>SS7 Trace
& Zapata below<o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>=========================================================================<o:p></o:p></p>
<p class=MsoNormal>Connected to Asterisk SVN-trunk-r111909 currently running on
c7asterisk (pid = 3230)<o:p></o:p></p>
<p class=MsoNormal>c7asterisk*CLI><o:p></o:p></p>
<p class=MsoNormal>c7asterisk*CLI> ss7 debug linkset 3<o:p></o:p></p>
<p class=MsoNormal>Enabled debugging on linkset 3<o:p></o:p></p>
<p class=MsoNormal> Network
Indicator: 3 Priority: 0 User Part: ISUP (5)<o:p></o:p></p>
<p class=MsoNormal> [ c5 ]<o:p></o:p></p>
<p class=MsoNormal> OPC 1025 DPC 1024
SLS 5<o:p></o:p></p>
<p class=MsoNormal> [ 00 44 00 51 ]<o:p></o:p></p>
<p class=MsoNormal>
CIC: 69<o:p></o:p></p>
<p class=MsoNormal>
[ 45 00 ]<o:p></o:p></p>
<p class=MsoNormal>
Message Type: IAM<o:p></o:p></p>
<p class=MsoNormal>
[ 01 ]<o:p></o:p></p>
<p class=MsoNormal>
--FIXED LENGTH PARMS[4]--<o:p></o:p></p>
<p class=MsoNormal>
Nature of Connection Indicator:<o:p></o:p></p>
<p class=MsoNormal>
Satellites in connection: 0<o:p></o:p></p>
<p class=MsoNormal>
Continuity Check: Check not required (0)<o:p></o:p></p>
<p class=MsoNormal>
Outgoing half echo control device: not included (0)<o:p></o:p></p>
<p class=MsoNormal>
[ 00 ]<o:p></o:p></p>
<p class=MsoNormal>
Forward Call Indicators:<o:p></o:p></p>
<p class=MsoNormal>
Nat/Intl Call Ind: call to be treated as a national call (0)<o:p></o:p></p>
<p class=MsoNormal>
End to End Method Ind: no end-to-end method(s) available (0)<o:p></o:p></p>
<p class=MsoNormal>
Interworking Ind: no interworking encountered (0)<o:p></o:p></p>
<p class=MsoNormal>
End to End Info Ind: no end-to-end information available (0)<o:p></o:p></p>
<p class=MsoNormal>
ISDN User Part Ind: ISDN user part used all the way (1)<o:p></o:p></p>
<p class=MsoNormal>
ISDN User Part Pref Ind: ISDN user part not preferred all the way (1)<o:p></o:p></p>
<p class=MsoNormal>
ISDN Access Ind: originating access ISDN (1)<o:p></o:p></p>
<p class=MsoNormal>
SCCP Method Ind: no indication (0)<o:p></o:p></p>
<p class=MsoNormal>
[ 60 01 ]<o:p></o:p></p>
<p class=MsoNormal>
Calling Party Category:<o:p></o:p></p>
<p class=MsoNormal>
Category: Ordinary calling subscriber (10)<o:p></o:p></p>
<p class=MsoNormal>
[ 0a ]<o:p></o:p></p>
<p class=MsoNormal>
Transmission Medium Requirements:<o:p></o:p></p>
<p class=MsoNormal>
Speech (0)<o:p></o:p></p>
<p class=MsoNormal>
[ 00 ]<o:p></o:p></p>
<p class=MsoNormal>
--VARIABLE LENGTH PARMS[1]--<o:p></o:p></p>
<p class=MsoNormal>
Called Party Number:<o:p></o:p></p>
<p class=MsoNormal>
Nature of address: 3<o:p></o:p></p>
<p class=MsoNormal>
NI: 0<o:p></o:p></p>
<p class=MsoNormal>
Numbering plan: 1<o:p></o:p></p>
<p class=MsoNormal>
Address signals: 7892111023#<o:p></o:p></p>
<p class=MsoNormal>
[ 08 83 10 87 29 11 01 32 0f ]<o:p></o:p></p>
<p class=MsoNormal>
--OPTIONAL PARMS--<o:p></o:p></p>
<p class=MsoNormal>
Calling Party Number:<o:p></o:p></p>
<p class=MsoNormal>
Nature of address: 3<o:p></o:p></p>
<p class=MsoNormal>
NI: 0<o:p></o:p></p>
<p class=MsoNormal>
Numbering plan: 1<o:p></o:p></p>
<p class=MsoNormal>
Presentation: 0<o:p></o:p></p>
<p class=MsoNormal>
Screening: 0<o:p></o:p></p>
<p class=MsoNormal>
Address signals: 7711590311<o:p></o:p></p>
<p class=MsoNormal>
[ 0a 07 03 10 77 11 95 30 11 ]<o:p></o:p></p>
<p class=MsoNormal>c7asterisk*CLI><o:p></o:p></p>
<p class=MsoNormal>Len = 14 [ c9 c8 0b c5 01 04 00 51 45 00 06 16 d4 00 ]<o:p></o:p></p>
<p class=MsoNormal>FSN: 72 FIB 1<o:p></o:p></p>
<p class=MsoNormal>BSN: 73 BIB 1<o:p></o:p></p>
<p class=MsoNormal><[1] MSU<o:p></o:p></p>
<p class=MsoNormal>[ c9 c8 0b ]<o:p></o:p></p>
<p class=MsoNormal> Network
Indicator: 3 Priority: 0 User Part: ISUP (5)<o:p></o:p></p>
<p class=MsoNormal> [ c5 ]<o:p></o:p></p>
<p class=MsoNormal> OPC 1024 DPC 1025
SLS 5<o:p></o:p></p>
<p class=MsoNormal> [ 01 04 00 51 ]<o:p></o:p></p>
<p class=MsoNormal>
CIC: 69<o:p></o:p></p>
<p class=MsoNormal>
[ 45 00 ]<o:p></o:p></p>
<p class=MsoNormal>c7asterisk*CLI> Message Type: ACM<o:p></o:p></p>
<p class=MsoNormal>
[ 06 ]<o:p></o:p></p>
<p class=MsoNormal>
--FIXED LENGTH PARMS[1]--<o:p></o:p></p>
<p class=MsoNormal>
Backward
Call Indicator:<o:p></o:p></p>
<p class=MsoNormal>
Charge indicator: 2<o:p></o:p></p>
<p class=MsoNormal>
Called party's status indicator: 1<o:p></o:p></p>
<p class=MsoNormal>
Called party's category indicator: 1<o:p></o:p></p>
<p class=MsoNormal>
End to End method indicator: 0<o:p></o:p></p>
<p class=MsoNormal>
Interworking indicator: 0<o:p></o:p></p>
<p class=MsoNormal>
End to End information indicator: 0<o:p></o:p></p>
<p class=MsoNormal>
ISDN user part indicator: 1<o:p></o:p></p>
<p class=MsoNormal>
Holding indicator: 0<o:p></o:p></p>
<p class=MsoNormal>
ISDN access indicator: 1<o:p></o:p></p>
<p class=MsoNormal>
Echo control device indicator: 0<o:p></o:p></p>
<p class=MsoNormal>
SCCP method indicator: 1<o:p></o:p></p>
<p class=MsoNormal>
[ 16 d4 ]<o:p></o:p></p>
<p class=MsoNormal>Zapata.conf<o:p></o:p></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>;<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>[trunkgroups]<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>;<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>[channels]<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>;<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>language=en<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>context=msc-in<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>signalling=ss7<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>callwaiting=yes<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>usecallingpres=yes<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>threewaycalling=yes<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>transfer=yes<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>canpark=yes<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>cancallforward=yes<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>callreturn=yes<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>echocancel=yes<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>echocancelwhenbridged=yes<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>group=1<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>callgroup=1<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>pickupgroup=1<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>;tonezone = 0 ; 0 is US<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>ss7type = itu<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>ss7_called_nai=dynamic<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>ss7_calling_nai=dynamic<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>;<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>ss7_internationalprefix = 00<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>ss7_nationalprefix = 0<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>ss7_subscriberprefix = <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>ss7_unknownprefix = <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>;<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>pointcode = 1025<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>adjpointcode = 1024<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>defaultdpc = 1024<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>;<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>cicbeginswith = 33<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>channel = 32-46<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>cicbeginswith = 49<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>channel = 48-62<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>cicbeginswith = 65<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>channel = 63-77<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>cicbeginswith = 81<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>channel = 79-93<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>networkindicator=national_spare<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>sigchan = 47<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'>sigchan = 78<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'><o:p> </o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'><o:p> </o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>