[asterisk-ss7] SS7 variable ORIGINAL CALLED NUMBER issue with chan_ss7

Aashiq bhatti aashiqbhatti at gmail.com
Fri Apr 13 08:23:22 CDT 2012


Dear All,

I am using Asterisk 1.8 + chan_ss7 version 2.1. Linkset is up and i am
getting traffic from operator properly.
But i am unable to get ORIGINAL CALLED NUMBER in asterisk dialplan.

I can see Original Called Number in SS7 dump but unable to get the same in
the dialplan asterisk variable.
Is there any possibility to make it works?
In which ss7 parameter i can get Original Called Number in asterisk?

*My Dialplan results are:*

[Apr 13 17:29:43] WARNING[13012]: l4isup.c:5057 l4isup_event: Received IAM
(CIC 21), link 'l1'.
    -- Recv IAM CIC=21   ANI=3335582024 DNI=33351604 RNI=*****
redirect=yes/1 complete=1
    -- Executing [3335160422 at default:1] Wait("SS7/ls1/21", "1") in new stack
    -- Executing [33351604 at default:2] Answer("SS7/ls1/21", "") in new stack
    -- Executing [33351604 at default:3] NoOp("SS7/ls1/21",
"CALLERID(num)=3335582024") in new stack
    -- Executing [33351604 at default:4] NoOp("SS7/ls1/21", "EXTEN=33351604")
in new stack
    -- Executing [33351604 at default:18] NoOp("SS7/ls1/21", "CALLERID(all)=""
<3335582024>") in new stack
    -- Executing [33351604 at default:19] NoOp("SS7/ls1/21",
"CALLERID(rdnis)=") in new stack
    -- Executing [33351604 at default:20] NoOp("SS7/ls1/21",
"CALLERID(dnid)=") in new stack
    -- Executing [33351604 at default:21] NoOp("SS7/ls1/21", "ani=") in new
stack
    -- Executing [33351604 at default:22] NoOp("SS7/ls1/21", "CALLINGANI2=0")
in new stack
    -- Executing [33351604 at default:23] NoOp("SS7/ls1/21", "CALLINGPRES=3")
in new stack
    -- Executing [33351604 at default:24] NoOp("SS7/ls1/21",
"SS7_REDIRECTING_NUMBER=") in new stack
    -- Executing [33351604 at default:25] NoOp("SS7/ls1/21",
"SS7_ORIG_CALLED_NUM=") in new stack
    -- Executing [33351604 at default:5] NoOp("SS7/ls1/21", "SS7_RDNI=") in
new stack
    -- Executing [33351604 at default:6] NoOp("SS7/ls1/21", "SS7_NAI=") in new
stack
    -- Executing [33351604 at default:7] NoOp("SS7/ls1/21", "SS7_REDIR=3") in
new stack
    -- Executing [33351604 at default:8] NoOp("SS7/ls1/21", "SS7_RDNIS=") in
new stack
    -- Executing [33351604 at default:9] NoOp("SS7/ls1/21",
"SS7_REDIRECTCOUNT=1") in new stack


*SS7 Dump for Original Called Number*

Original Called Number: 3335340951
  Optional Parameter: 40 (Original called number)
  Parameter length: 7
   0... .... = Odd/even indicator: even number of address signals
  .000 0011 = Nature of address indicator: national (significant) number (3)
  .001 .... = Numbering plan indicator: ISDN (Telephony) numbering plan (1)



Regards,
-Aashiqbhatti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20120413/51b22393/attachment.htm>


More information about the asterisk-ss7 mailing list