cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1167
Views
3
Helpful
9
Replies

B-ACD

Dear All ,

 

i have Cisco router 2811 act as Voice Gateway  and SRST with B-ACD in SRST case ,

the issue is when i call the AA pilot number i the B-ACD open the Call but i don't hear any thing .

 

i am using B-ACD 2.1.2.2  and the router frimware is 12.4(13r)T  .

My B-ACD config is

 !
 service aa flash:app-b-acd-aa-2.1.2.2.tcl
  paramspace english index 1
  param number-of-hunt-grps 2
  param handoff-string aa
  paramspace english language en
  param aa-pilot 0238305680
  param max-extension-length 4
  paramspace english location flah:
  param meun-timeout 5
  param second-greeting-time 60
  param welcome-prompt _bacd_welcome.au
  param dial-by-extension 3
  param send-account true
  param max-time-call-retry 700
  param voice-mail 1004
  param service-name queue
 !
 service queue flash:app-b-acd-2.1.2.2.tcl
  param aa-hunt1 6666
  param queue-manager-debugs 1
  param aa-hunt2 7777
  param queue-length 10
  param number-of-hunt-grps 3
 !

0238305680 is my phone number with  02 ( city code )

i am using FXO port 0/3/0

voice-port 0/3/0
 ring number 5
 no battery-reversal
 groundstart auto-tip
 timeouts initial 30
 timeouts call-disconnect 5
 timeouts wait-release 5
 timing hookflash-out 50
 timing guard-out 1000
 timing sup-disconnect 85
 connection plar 930
 caller-id enable
!

the dial-peer i have

!
dial-peer voice 999030 pots
 service mgcpapp
 port 0/3/0
!
dial-peer voice 4444 pots
 description PST-Connection
 destination-pattern 9T
 port 0/3/0
!
dial-peer voice 2000 pots
 service aa
 incoming called-number 0238305680
 port 0/3/0
!

please any help :)

Why i can not hear the Welcome Audio file , and the Menu-option .

 

 

1 Accepted Solution

Accepted Solutions

Terry Cheema
Advocate
Advocate

Is your call hitting the dial peer and invoking the script? just a quick glance through shows you have got some typos:

  paramspace english location flah:
  param meun-timeout 5

fix these and test.

Use debug voip dialpeer inout to check if its matching your dialpeer

Its been some time I have played with BACD but I believe you can use the debug voip application scrip to do some troubleshooting on the script to find out where its failing.

-Terry

Please rate helpful posts

View solution in original post

9 Replies 9

Terry Cheema
Advocate
Advocate

Is your call hitting the dial peer and invoking the script? just a quick glance through shows you have got some typos:

  paramspace english location flah:
  param meun-timeout 5

fix these and test.

Use debug voip dialpeer inout to check if its matching your dialpeer

Its been some time I have played with BACD but I believe you can use the debug voip application scrip to do some troubleshooting on the script to find out where its failing.

-Terry

Please rate helpful posts

You are really Amazing to notice something like that :D

thank you Terry , i do the Debug Voip app scrip and there were three missing commands

parameter max-time-call-retry

parameter max-time-vm-retry

and

parameter queue-len

 

5: //-1//TCL :EE48450E18000:/tcl_PutsObjCmd: TCL AA: -- Valid mandatory parameter second-greeting-time = 60 --
Jan 22 01:29:23.955: //-1//TCL :EE48450E18000:/tcl_PutsObjCmd: TCL AA: -- Mandatory
parameter second-greeting-time does not exist --
Jan 22 01:29:23.955: //-1//TCL :EE48450E18000:/tcl_PutsObjCmd: TCL AA: -- Setting default to 15
Jan 22 01:29:23.959: //-1//TCL :EE48450E18000:/tcl_PutsObjCmd: TCL AA: -- Valid mandatory parameter max-time-call-retry = 700  --
Jan 22 01:29:23.959: //-1//TCL :EE48450E18000:/tcl_PutsObjCmd: TCL AA: -- Mandatory
parameter max-time-vm-retry does not exist --
Jan 22 01:29:23.959: //-1//TCL :EE48450E18000:/tcl_PutsObjCmd:
Home-router#TCL AA: -- Setting default to 1
Jan 22 01:29:23.963: //-1//TCL :EE48450E18000:/tcl_PutsObjCmd: TCL AA: -- Valid Mandatory parameter number-of-hunt-grps = 2 --
Jan 22 01:29:23.975: //20//TCL :/tcl_PutsObjCmd:
proc init_perCallvars
Jan 22 01:29:23.979:
Jan 22 01:29:23.979: //20//TCL :/tcl_PutsObjCmd: TCL AA: +++ B-ACD-SERVICE not registered, Starting B-ACD-SERVICE +++
Jan 22 01:29:24.007: //-1//TCL :EE48450F00000:/tcl_PutsObjCmd: TCL B-ACD: -- Valid optional parameter queue-manager-debugs = 1 --
Jan 22 01:29:24.007: //-1//TCL :EE48450F00000:/tcl_PutsObjCmd: TCL B-ACD: -
- Mandatory parameter queue-len does not exist
Jan 22 01:29:24.007: //-1//TCL :EE48450F00000:/tcl_PutsObjCmd: TCL B-ACD: -- Setting default to 10
Jan 22 01:29:24.011: //-1//TCL :EE48450F00000:/tcl_PutsObjCmd: TCL B-ACD: -- Valid Mandatory parameter number-of-hunt-grps = 3 --
Jan 22 01:29:24.027: %IVR-6-APP_INFO: TCL B-ACD:  >>> B-ACD Service Started <<<

Jan 22 01:29:24.027: //20//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> B-ACD Service Started <<<
Jan 22 01:29:24.031: //20//TCL :/tcl_PutsObjCmd: TCL B-ACD: >>> Handoff String = aa <<<
Jan 22 01:29:24.035: //20//TCL :/tcl_PutsObjCmd:
proc init_perCallvars
Jan 22 01:29:24.035:
Jan 22 01:29:24.039: //20//TCL :/tcl_PutsObjCmd: TCL AA: ++ Playing Welcome Prompt and options menu ++
Jan 22 01:29:24.655: //20//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> Stat collection disabled for queue 6666 <<<
Jan 22 01:29:24.659: //20//TCL :/tcl_PutsObjCmd: TCL B-ACD: ++ Message received from IOS ++
Jan 22 01:29:24.683: //20//TCL :/tcl_PutsObjCmd: TCL B-ACD: ++ Message received from IOS ++
Home-router#
Jan 22 01:29:24.703: //20//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> Stat collection disabled for queue 7777 <<<
Jan 22 01:29:24.703: //20//TCL :/tcl_PutsObjCmd: TCL B-ACD: ++ Message received from IOS ++
Jan 22 01:29:24.719: //20//TCL :/tcl_PutsObjCmd: TCL B-ACD: ++ Message received from IOS ++
Home-router#

and of course i modified the 

paramspace english location flash:
  param menu-timeout 5

 

Now i can hear the promp and B-ACD is working fine when i call from Ipphone ,

but it still not working when i call from my Mobile :( , any suggestion .

 

Thanks in advance :)

what error do you get? Can you post the output of debug voip ccapi inout

-Terry

here it is


Home-router#
Home-router#
Jan 22 02:46:05.539: //-1/A52BF7B48006/CCAPI/cc_api_display_ie_subfields:
   cc_api_call_setup_ind_common:
   cisco-username=
   ----- ccCallInfo IE subfields -----
   cisco-ani=
   cisco-anitype=0
   cisco-aniplan=0
   cisco-anipi=0
   cisco-anisi=0
   dest=
   cisco-desttype=0
   cisco-destplan=0
   cisco-rdie=FFFFFFFF
   cisco-rdn=
   cisco-rdntype=0
   cisco-rdnplan=0
   cisco-rdnpi=0
   cisco-rdnsi=0
   cisco-redirectreason=0   fwd_final_type =0
   final_redirectNumber =
   hunt_group_timeout =0

Jan 22 02:46:05.543: //-1/A52BF7B48006/CCAPI/cc_api_call_setup_ind_common:
   Interface=0x4834C474, Call Info(
   Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
   Called Number=(TON=Unknown, NPI=Unknown),
   Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,
   Incoming Dial-peer=999030, Progress Indication=ORIGINATING SIDE IS NON ISDN(3), Calling IE Present=FALSE,
   Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1
Jan 22 02:46:05.543: //-1/A52BF7B48006/CCAPI/ccCheckClipClir:
   In: Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Jan 22 02:46:05.543: //-1/A52BF7B48006/CCAPI/ccCheckClipClir:
   Out: Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Jan 22 02:46:05.543: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jan 22 02:46:05.543: :cc_get_feature_vsa malloc success
Jan 22 02:46:05.543: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jan 22 02:46:05.543:  cc_get_feature_vsa count is 1
Jan 22 02:46:05.543: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jan 22 02:46:05.543: :FEATURE_VSA attributes are: feature_name:0,feature_time:1254400096,feature_id:2
Jan 22 02:46:05.543: //2/A52BF7B48006/CCAPI/cc_api_call_setup_ind_common:
   Set Up Event Sent;
   Call Info(Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
   Called Number=(TON=Unknown, NPI=Unknown))
Jan 22 02:46:05.547: //2/A52BF7B48006/CCAPI/cc_process_call_setup_ind:
   Event=0x489B8780
Jan 22 02:46:05.547: //2/A52BF7B48006/CCAPI/cc_process_call_setup_ind:
   >>>>CCAPI handed cid 2 with tag 999030 to app "MGCPAPP"
Jan 22 02:46:05.547: //2/A52BF7B48006/CCAPI/ccCallSetContext:
   Context=0x4A890628
Jan 22 02:46:05.547: //2/A52BF7B48006/CCAPI/ccCallSetupAck:
   Call Id=2
Jan 22 02:46:05.547: //2/A52BF7B48006/CCAPI/cc_api_set_transfer_info:
   Transfer Number=, Transfer Reason=0x0
Home-router#
Jan 22 02:46:05.547: //2/A52BF7B48006/CCAPI/ccCallConnect:
   Progress Indication=NULL(0), Data Bitmask=0x0
Jan 22 02:46:05.551: //2/A52BF7B48006/CCAPI/ccCallConnect:
   Call Entry(Connected=TRUE, Responsed=TRUE)
Home-router#
Jan 22 02:46:35.983: //2/A52BF7B48006/CCAPI/cc_api_call_disconnected:
   Cause Value=16, Interface=0x4834C474, Call Id=2
Jan 22 02:46:35.983: //2/A52BF7B48006/CCAPI/cc_api_call_disconnected:
   Call Entry(Responsed=TRUE, Cause Value=16, Retry Count=0)
Jan 22 02:46:35.983: //2/A52BF7B48006/CCAPI/ccCallDisconnect:
   Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=16)
Jan 22 02:46:35.983: //2/A52BF7B48006/CCAPI/ccCallDisconnect:
   Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
Jan 22 02:46:35.983: //2/A52BF7B48006/CCAPI/cc_api_get_transfer_info:
   Transfer Number Is Null
Home-router#
Jan 22 02:46:35.987: //2/A52BF7B48006/CCAPI/cc_api_call_disconnect_done:
   Disposition=0, Interface=0x4834C474, Tag=0x0, Call Id=2,
   Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
Jan 22 02:46:35.991: //2/A52BF7B48006/CCAPI/cc_api_call_disconnect_done:
   Call Disconnect Event Sent
Jan 22 02:46:35.991: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jan 22 02:46:35.991: :cc_free_feature_vsa freeing 4AC4A058
Jan 22 02:46:35.991: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jan 22 02:46:35.991:  vsacount in free is 0
Home-router#

It appears your pots dialpeer is not being matched and instead the call is going to MGCP dial-peer. Were you in SRST mode when you made this test call. Can you post the complete debug again (do not remove any numbers, modify if you need to hide) and if possible make another call and post the debug voip dialpeer inout as well:

>>>>CCAPI handed cid 2 with tag 999030 to app "MGCPAPP"

 

-Terry

 

 

debug voip dialpeer inout


Home-router#
Jan 22 04:16:06.659: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Calling Number=, Called Number=, Voice-Interface=0x4834C474,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
Jan 22 04:16:06.659: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_PORT; Incoming Dial-peer=999030
Jan 22 04:16:06.659: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
Home-router#

 

and here is the debug voip ccapi inout when i make call from my mobile


Home-router#
Jan 22 04:18:55.987: //-1/9D6AD0D28012/CCAPI/cc_api_display_ie_subfields:
   cc_api_call_setup_ind_common:
   cisco-username=
   ----- ccCallInfo IE subfields -----
   cisco-ani=
   cisco-anitype=0
   cisco-aniplan=0
   cisco-anipi=0
   cisco-anisi=0
   dest=
   cisco-desttype=0
   cisco-destplan=0
   cisco-rdie=FFFFFFFF
   cisco-rdn=
   cisco-rdntype=0
   cisco-rdnplan=0
   cisco-rdnpi=0
   cisco-rdnsi=0
   cisco-redirectreason=0   fwd_final_type =0
   final_redirectNumber =
   hunt_group_timeout =0

Jan 22 04:18:55.991: //-1/9D6AD0D28012/CCAPI/cc_api_call_setup_ind_common:
   Interface=0x4834C474, Call Info(
   Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
   Called Number=(TON=Unknown, NPI=Unknown),
   Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,
   Incoming Dial-peer=999030, Progress Indication=ORIGINATING SIDE IS NON ISDN(3), Calling IE Present=FALSE,
   Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1
Jan 22 04:18:55.991: //-1/9D6AD0D28012/CCAPI/ccCheckClipClir:
   In: Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Jan 22 04:18:55.991: //-1/9D6AD0D28012/CCAPI/ccCheckClipClir:
   Out: Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Jan 22 04:18:55.991: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jan 22 04:18:55.991: :cc_get_feature_vsa malloc success
Jan 22 04:18:55.991: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Home-router#
Jan 22 04:18:55.991:  cc_get_feature_vsa count is 1
Jan 22 04:18:55.991: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jan 22 04:18:55.991: :FEATURE_VSA attributes are: feature_name:0,feature_time:1254400096,feature_id:5
Jan 22 04:18:55.991: //5/9D6AD0D28012/CCAPI/cc_api_call_setup_ind_common:
   Set Up Event Sent;
   Call Info(Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
   Called Number=(TON=Unknown, NPI=Unknown))
Jan 22 04:18:55.995: //5/9D6AD0D28012/CCAPI/cc_process_call_setup_ind:
   Event=0x489B8780
Jan 22 04:18:55.995: //5/9D6AD0D28012/CCAPI/cc_process_call_setup_ind:
   >>>>CCAPI handed cid 5 with tag 999030 to app "MGCPAPP"
Jan 22 04:18:55.995: //5/9D6AD0D28012/CCAPI/ccCallSetContext:
   Context=0x4A890628
Jan 22 04:18:55.995: //5/9D6AD0D28012/CCAPI/ccCallSetupAck:
   Call Id=5
Jan 22 04:18:55.999: //5/9D6AD0D28012/CCAPI/cc_api_set_transfer_info:
   Transfer Number=, Transfer Reason=0x0
Jan 22 04:18:55.999: //5/9D6AD0D28012/CCAPI/ccCallConnect:
   Progress Indication=NULL(0), Data Bitmask=0x0
Jan 22 04:18:55.999: //5/9D6AD0D28012/CCAPI/ccCallConnect:
   Call Entry(Connected=TRUE, Responsed=TRUE)
Home-router#
Jan 22 04:19:12.247: //5/9D6AD0D28012/CCAPI/cc_api_call_disconnected:
   Cause Value=16, Interface=0x4834C474, Call Id=5
Jan 22 04:19:12.247: //5/9D6AD0D28012/CCAPI/cc_api_call_disconnected:
   Call Entry(Responsed=TRUE, Cause Value=16, Retry Count=0)
Jan 22 04:19:12.247: //5/9D6AD0D28012/CCAPI/ccCallDisconnect:
   Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=16)
Jan 22 04:19:12.247: //5/9D6AD0D28012/CCAPI/ccCallDisconnect:
   Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
Jan 22 04:19:12.247: //5/9D6AD0D28012/CCAPI/cc_api_get_transfer_info:
   Transfer Number Is Null
Home-router#
Jan 22 04:19:12.251: //5/9D6AD0D28012/CCAPI/cc_api_call_disconnect_done:
   Disposition=0, Interface=0x4834C474, Tag=0x0, Call Id=5,
   Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
Jan 22 04:19:12.255: //5/9D6AD0D28012/CCAPI/cc_api_call_disconnect_done:
   Call Disconnect Event Sent
Jan 22 04:19:12.255: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jan 22 04:19:12.255: :cc_free_feature_vsa freeing 4AC4A058
Jan 22 04:19:12.255: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jan 22 04:19:12.255:  vsacount in free is 0
Home-router#

 

i am not hiding or modifying any numbers :)

 

Can you confirm the above debugs were taken in SRST mode? If yes the PSTN call was still coming on the MGCP dial-peer. Check the below:

1) First of all confirm if you have mgcp fallback. Check your config you should have the command: ccm-manager fallback mgcp

If its not there go back to normal mode, put this command, do a no mgcp/ mgcp. Then trigger SRST and test again. (post the complete debugs again)

2) still doesnt work try putting below dial-peer and test:

dial-peer voice 2001 pots
  incoming called-number .
 port 0/3/0
!

3) if still doesnt work attach your sh run to the post.

-Terry

Please rate all helpful posts

after adding  ccm-manager fallback mgcp  , now when i call the line opened after that i hear a fast busy tone then the call disconnected .

please find the debug attached , also the Show run ,

 

Thank You Terry :)

I somehow missed your post, can you try below, if its still an issue:

voice-port 0/3/0
connection plar opx 0238305680

dial-peer voice 2000 pots
 service aa
 destination-pattern 0238305680
 port 0/3/0
 forward-digits all
!

If it still doesnt work, post the debug voip ccapi inout again.

-Terry

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers