<div dir="ltr">Hi James,<div><br></div><div style>Thanks for the info, I'll have a look into it tomorrow!</div><div style><br></div><div style>Greetings,</div><div style><br></div><div style>Simon</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/6/6 James zhu <span dir="ltr"><<a href="mailto:zhulizhong@live.com" target="_blank">zhulizhong@live.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">hello:<div>this table is sangoma ss7. you are using chan_ss7. I think you have to<font size="3"> catch that values(DNI,RNI, ANI) in chan_ss7, </font>source<font size="3"> code is:</font></div><div><pre style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;font-size:12px;font-family:Consolas,'Liberation Mono',Courier,monospace;color:rgb(51,51,51);line-height:18px">
<div style="margin:0px;padding:0px 0px 0px 10px;border:0px"><span style="margin:0px;padding:0px;border:0px;color:rgb(153,153,136);font-style:italic">/* Possible values for generic number. */</span></div><div style="margin:0px;padding:0px 0px 0px 10px;border:0px">
<span style="margin:0px;padding:0px;border:0px;font-weight:bold">struct</span> <span style="margin:0px;padding:0px;border:0px">generic_number</span> <span style="margin:0px;padding:0px;border:0px">{</span></div><div style="margin:0px;padding:0px 0px 0px 10px;border:0px">
<span style="margin:0px;padding:0px;border:0px;font-weight:bold">struct</span> <span style="margin:0px;padding:0px;border:0px">isup_phonenum</span> <span style="margin:0px;padding:0px;border:0px">dni</span><span style="margin:0px;padding:0px;border:0px">;</span></div>
<div style="margin:0px;padding:0px 0px 0px 10px;border:0px"> <span style="margin:0px;padding:0px;border:0px;font-weight:bold">struct</span> <span style="margin:0px;padding:0px;border:0px">isup_phonenum</span> <span style="margin:0px;padding:0px;border:0px">ani</span><span style="margin:0px;padding:0px;border:0px">;</span></div>
<div style="margin:0px;padding:0px 0px 0px 10px;border:0px"> <span style="margin:0px;padding:0px;border:0px;font-weight:bold">struct</span> <span style="margin:0px;padding:0px;border:0px">isup_phonenum</span> <span style="margin:0px;padding:0px;border:0px">rni</span><span style="margin:0px;padding:0px;border:0px">;</span></div>
<div style="margin:0px;padding:0px 0px 0px 10px;border:0px"><span style="margin:0px;padding:0px;border:0px">};</span></div></pre><div class="im"><br>Best regards,<br>James.zhu<br>website: <a href="http://www.hiastar.com" target="_blank">www.hiastar.com</a> <br>
<br><br></div><div><hr>Date: Wed, 5 Jun 2013 14:36:36 +0200<div><div class="h5"><br>From: <a href="mailto:cervajs@fpf.slu.cz" target="_blank">cervajs@fpf.slu.cz</a><br>To: <a href="mailto:asterisk-ss7@lists.digium.com" target="_blank">asterisk-ss7@lists.digium.com</a><br>
Subject: Re: [asterisk-ss7] chan_ss7 and Generic Number<br><br>
<div>
<pre>the problem is incomplete calling party number
check the "Address signal" attribute
sangoma fills the X-Freetdm-GN parameter
<a href="http://wiki.sangoma.com/ftmod-sangoma-ss7-generic-number" target="_blank">http://wiki.sangoma.com/ftmod-sangoma-ss7-generic-number</a>
SS7 IAM
---------|--------------------------------------------------|--------------------------------------------
00001010 | Parameter name | Calling party number
00000111 | Length of parameter | 7 Byte(s)
-0000100 | Nature of address indicator | international number
0------- | Odd/even indicator | even number of address signals
------11 | Screening indicator | network provided
----00-- | Address presentation restricted indicator | presentation allowed
-001---- | Numbering plan idicator | ISDN numbering plan (E.164)
0------- | Number Incomplete indicator (NI) | complete
XXXXXXXX | Address signal | 1234567890
---------|--------------------------------------------------|--------------------------------------------
---------|--------------------------------------------------|--------------------------------------------
11000000 | Parameter name | Generic number
00001010 | Length of parameter | 10 Byte(s)
00000110 | Number qualifier indicator | additional calling party number
-0000100 | Nature of address indicator | international number
1------- | Odd/even indicator | odd number of address signals
------00 | Screening indicator | user provided,not verified
----00-- | Address presentation restricted indicator | presentation allowed
-001---- | Numbering plan indicator | ISDN numbering plan (E.164)
0------- | Number Incomplete indicator (NI) | number complete
XXXXXXXX | Address signal | 1234567890111
---------|--------------------------------------------------|--------------------------------------------</pre>
<br>
<br>
<br>
<br>
Dne 5.6.2013 5:43, James zhu napsal(a):<br>
</div>
<blockquote>
<div dir="ltr">what you mean receiving by sip. can you show debug
info?<br>
<br>
Best regards,<br>
James.zhu<br>
website: <a href="http://www.hiastar.com" target="_blank">www.hiastar.com</a> <br>
<br>
<br>
<div>> Date: Mon, 3 Jun 2013 17:42:13 +0200<br>
> From: <a href="mailto:cervajs@fpf.slu.cz" target="_blank">cervajs@fpf.slu.cz</a><br>
> To: <a href="mailto:asterisk-ss7@lists.digium.com" target="_blank">asterisk-ss7@lists.digium.com</a><br>
> Subject: Re: [asterisk-ss7] chan_ss7 and Generic Number<br>
> <br>
> try this patch and report to the mailing list<br>
>
<a href="http://lists.digium.com/pipermail/asterisk-ss7/2011-October/004611.html" target="_blank">http://lists.digium.com/pipermail/asterisk-ss7/2011-October/004611.html</a><br>
> <br>
> Dne 3.6.2013 13:34, Simon Handschin napsal(a):<br>
> > Hi Everybody<br>
> ><br>
> > I use chan_ss7 2.1.0 with asterisk 1.8.9.3 and
Sangoma wanpipe 3.5.25.<br>
> ><br>
> > I receive a Generic Number from our Carrier but I
cant see anything in<br>
> > SIP, is there a way to get the Generic Number
through chan_ss7?<br>
> ><br>
> > Regards,
</div>
</div>
</blockquote>
<br></div></div><div class="im">--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --
asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
<a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a></div></div></div>                                            </div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></blockquote></div><br></div>