Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ANI and DNIS support

Setup Overview: VoIP using digital T1 CAS connected to a PABX

Issue: PABX is not receiving DNIS and ANI information

Running Config: (for Site A and Site B)

Site A:

controller T1 2/0

framing sf

clock source line primary

linecode ami

ds0-group 1 timeslots 1-5 type e&m-wink-start

ds0-group 6 timeslots 6-24 type e&m-wink-start

voice-port 2/0:1

compand-type a-law

!

voice-port 2/0:6

compand-type a-law

!

voice-port 2/0:6

compand-type a-law

!

dial-peer voice 301 voip

destination-pattern 5T

session target ipv4: x.x.x.y

!

dial-peer voice 206 pots

destination-pattern 6...

port 2/0:1

prefix 6

Site B:

controller T1 1/0

framing sf

clock source line primary

linecode ami

cablelength short 133

ds0-group 1 timeslots 1-5 type e&m-wink-start

ds0-group 2 timeslots 6-24 type e&m-wink-start

!

voice-port 1/0:1

!

voice-port 1/0:2

!

dial-peer voice 301 pots

incoming called-number 6...

direct-inward-dial

!

dial-peer voice 401 voip

destination-pattern 6...

session target ipv4:x.x.x.y2

The flow of the call above is from PSTN at Site B wherein PSTN at Site B is connected directly to Router of Site B and then the call should be answered at PABX local of Site A, indicating at their call monitoring log the DID number and the calling number/ANI.

Example:

When a toll free numbers are dialed, PSTN switch will send a star, ani, star, dnis, star. Calling 8663006720 , PABX of Site A should get *2102713407*6720*.

We need your ideas if our config above are correct and if we missed something in our config.

Looking forward for your prompt reply. Thanks

Vivira Alastra

3 REPLIES
Gold

Re: ANI and DNIS support

If memory serves, you want to use "e&m-fgd" rather than "e&m-wink-start". Your router should then recognize * as a delimiter between DNIS and ANI.

http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps5013/products_feature_guide09186a00800dd70f.html

New Member

Re: ANI and DNIS support

Ok. thanks for your quick reply. May we know also what debug commands we can sure to see if the router is receiving the expected output which are to receive the ANI and DNIS. we have tried using debug vtsp all but we dont know if router is showing the correct values. Which line here below should be kept track?

Please see below sample output:

2w2d: vtsp_tsp_call_setup_ind (sdb=0x62D65F60, tdm_info=0x0, tsp_info=0x630FE894

, calling_number= calling_oct3 = 0x0, called_number= called_oct3 = 0x81, oct3a=0

x0): peer_tag=0

2w2d: : ev.clg.clir is 0

ev.clg.clid_transparent is

0

ev.clg.null_orig_clg is 1

ev.clg.calling_translated is false

2w2d: vtsp_do_call_setup_ind

2w2d: vtsp_allocate_cdb,cdb 0x63155784

2w2d: vtsp_do_call_setup_ind: Call ID=98842, guid=63155CE4

2w2d: vtsp_do_call_setup_ind: type=0, under_spec=0, name=b @X`9 cWb0#|b2, id0

=1, id1=0, id2=24633, calling=, called= subscriber=RegularLine

2w2d: vtsp_do_normal_call_setup_ind

2w2d: vtsp_insert_cdb,cdb 0x63155784

2w2d: vtsp_open_voice_and_set_params

2w2d: vtsp_modem_proto_from_cdb: cap_modem_proto 1073741824

2w2d: vtsp_modem_proto_from_cdb: cap_modem_proto 1073741824playout default

Above is the debug vtsp output at Router of Site B connecting going to PSTN. Thanks.

Vivira Alastra

Gold

Re: ANI and DNIS support

I don't have a channelized T1 with e&m-fgd on IOS handy, but one of the commands under "debug hpi" or "debug vpm" should help (probably vpm).

289
Views
0
Helpful
3
Replies
CreatePlease to create content