[asterisk-ss7] ss7 config
Matthew Fredrickson
creslin at digium.com
Wed Sep 10 09:48:39 CDT 2008
Sriram wrote:
> I am establishing a SS7 link for first time....my operator has given
> me my point code ..but in the configuration file i find parameters like
> adjpointcode and defaultdpc ..which i know are operator's point code - w
>
> 1.will i have to definitely talk to him and get those ?
Technically, you can find this information out when you bring the link
up, if you use ss7linktest you can see the debug output of the link
alignment. The first routable message you receive should contain his
point code (which would be the adjpoingcode and defaultdpc for most
setups) in the OPC field.
You can also try to get this information from whoever you're
interconnecting with. That is probably the easiest way to do it.
> 2.how do i check whether i have configured everything correctly ? i mean
> like zap show channels in PRI world where it shows OK what will the
> equivalent ss7 command ?
It will work if you setup the link correctly. It won't if you haven't :-)
In all seriousness though, you can use commands like `ss7 show linkset
1` to show whether or not the linkset is up (aligned). You can also do
an `ss7 debug linkset 1` to enable debugging on it if you are trying to
diagnose call control or protocol related problems.
> 3. I am a premium IVR service provider thats runs on premium rate lines,
> my setup (currently on PRIs) is like customer dials the short code
> (premium number) which gets forwarded on the PRIs ..and subsequently to
> me as of now i cant make out if the customer dialed the premium number
> or PRI number as i get the PRI number as the DNIS everytime, I heard
> that using SS7 i will also get the "originally called number" ie the
> premium number in my case - and i can capture it using RDNIS function -
> is that true ? will the RDNIS function work on PRIs also - i mean can
> i also judge whether the call came thru the premium number or directly
> from the PRI ?
Possibly. It depends on what field you're looking for in the
signalling. You probably want to get a debug trace of an incoming call,
show us which number in the IAM message in the debug trace, and we can
tell you how to retrieve that field. If it's ANSI, and you are seeking
the charge number field, there is a special channel variable to retrieve
it (SS7_CHARGE_NUMBER). For other fields, there are different variables.
Matthew Fredrickson
Digium, Inc.
More information about the asterisk-ss7
mailing list