Hi Anthony,

yes the call was hitting the gateway because I was seeing FXO port going 
Off-Hook. The problem was that Logging was not setup in the gateway. After I 
setup the Logging, I'm now seeing logs.


I have attached the log.

thanks

Hamu

________________________________
From: avhollo...@gmail.com <avhollo...@gmail.com> on behalf of Anthony Holloway 
<avholloway+cisco-v...@gmail.com>
Sent: Thursday, March 1, 2018 8:45 AM
To: Hamu Ebiso
Cc: Cisco VoIP Group
Subject: Re: [cisco-voip] Need help configuring router for 911 with POTS Lines 
connected to FXO port on the router

Since you didn't see the call in your debugs, your call likely didn't hit your 
gateway.

Can you confirm how you made your test call, when you had your debug running?

On Feb 28, 2018 2:46 PM, "Hamu Ebiso" 
<hebiso2...@hotmail.com<mailto:hebiso2...@hotmail.com>> wrote:

Here is the dial-peer output

1#show run | sec dial-peer
dial-peer voice 1 pots
 trunkgroup FXO_EM
 translation-profile incoming Inbound
 call-block translation-profile incoming block_profile
 call-block disconnect-cause incoming call-reject
 incoming called-number .
 direct-inward-dial
dial-peer voice 911 pots
 trunkgroup FXO_EM
 description Services
 translation-profile outgoing Strip9
 destination-pattern 911
dial-peer voice 9911 pots
 trunkgroup FXO_EM
 description Services
 translation-profile outgoing Strip9
 destination-pattern 9911
dial-peer voice 2 voip
 description CUCM Dial-Peer - Inbound
 preference 1
 destination-pattern 12086858038<tel:(208)%20685-8038>
 session protocol sipv2
 session target ipv4:10.0.2.6
 incoming uri via 10
 voice-class codec 1
 dtmf-relay rtp-nte sip-kpml
 fax-relay ecm disable
 fax nsf 000000
 ip qos dscp cs3 signaling
 no vad
dial-peer voice 3 voip
 preference 2
 destination-pattern 12086858038<tel:(208)%20685-8038>
 session target ipv4:10.0.2.3
dial-peer voice 650 pots
 trunkgroup Local
 description Local outbound
 translation-profile outgoing Strip9
 destination-pattern 9208.......
dial-peer voice 4 pots
 trunkgroup FXO_EM
 description ** 10-digit Local Call **
 translation-profile outgoing Strip9
 destination-pattern ^9[2-9]..[2-9]......$
 forward-digits 10
dial-peer voice 5 voip
 description FXO test
 destination-pattern 12083437020<tel:(208)%20343-7020>
 session target ipv4:10.0.2.5


thank you very much!!

________________________________
From: Anthony Holloway 
<avholloway+cisco-v...@gmail.com<mailto:avholloway%2bcisco-v...@gmail.com>>
Sent: Wednesday, February 28, 2018 1:29 PM
To: Hamu Ebiso
Cc: cisco-voip voyp list
Subject: Re: [cisco-voip] Need help configuring router for 911 with POTS Lines 
connected to FXO port on the router

Maybe you're actually using MGCP then?  You still haven't shown the dial-peers 
on the gateway.  Is that because you don't have any?

show run | section dial-peer

On Wed, Feb 28, 2018 at 12:19 PM Hamu Ebiso 
<hebiso2...@hotmail.com<mailto:hebiso2...@hotmail.com>> wrote:

debug was turned on as shown below.


1#debug voice ccapi inout
voip ccapi inout debugging is on

made test calls and then show log, I see below output.

1#show log
Syslog logging: enabled (0 messages dropped, 37 messages rate-limited, 0 
flushes, 0 overruns, xml disabled, filtering disabled)

No Active Message Discriminator.


No Inactive Message Discriminator.

    Console logging: level debugging, 517 messages logged, xml disabled,
                     filtering disabled
    Monitor logging: level debugging, 0 messages logged, xml disabled,
                     filtering disabled
    Buffer logging:  level debugging, 550 messages logged, xml disabled,
                    filtering disabled
    Exception Logging: size (4096 bytes)
    Count and timestamp logging messages: disabled
    Persistent logging: disabled

No active filter modules.

    Trap logging: level debugging, 620 message lines logged
        Logging to 10.0.7.139  (udp port 514, audit disabled,
              link up),
              435 message lines logged,
              0 message lines rate-limited,
              0 message lines dropped-by-MD,
              xml disabled, sequence number disabled
              filtering disabled
        Logging to 10.0.8.12  (udp port 514, audit disabled,
              link up),
              435 message lines logged,
              0 message lines rate-limited,
              0 message lines dropped-by-MD,
              xml disabled, sequence number disabled
              filtering disabled
        Logging Source-Interface:       VRF Name:
        Loopback0


I don't see any calls activity.


thanks


________________________________
From: Anthony Holloway 
<avholloway+cisco-v...@gmail.com<mailto:avholloway%2bcisco-v...@gmail.com>>
Sent: Wednesday, February 28, 2018 11:19 AM

To: Hamu Ebiso
Cc: cisco-voip voyp list
Subject: Re: [cisco-voip] Need help configuring router for 911 with POTS Lines 
connected to FXO port on the router
But you didn't send all the information, because your output doesn't show the 
dial-peers.

One method is to capture the output from "debug voip ccapi inout" and look for 
the following line "Outgoing Dial-peer="

You also didn't address the regions either.  Can you send that too?

On Wed, Feb 28, 2018 at 11:13 AM Hamu Ebiso 
<hebiso2...@hotmail.com<mailto:hebiso2...@hotmail.com>> wrote:

I was just trying to give you all the information so that you will be able to 
see the whole picture.

Regarding your questions, I don't know how to check that.


________________________________
From: Anthony Holloway 
<avholloway+cisco-v...@gmail.com<mailto:avholloway%2bcisco-v...@gmail.com>>
Sent: Wednesday, February 28, 2018 10:45 AM

To: Hamu Ebiso
Cc: cisco-voip voyp list
Subject: Re: [cisco-voip] Need help configuring router for 911 with POTS Lines 
connected to FXO port on the router
That's interesting that I asked for the dial-peer config, and you sent 
everything but.

Do you know how to confirm which dial-peer the gateway is using?

On Wed, Feb 28, 2018 at 10:38 AM Hamu Ebiso 
<hebiso2...@hotmail.com<mailto:hebiso2...@hotmail.com>> wrote:

Below is gateway configuration




isdn switch-type primary-ni
!
!
trunk group FXO_EM
 hunt-scheme sequential
 translation-profile incoming Incoming
!
!
trunk group Local
 hunt-scheme sequential
 translation-profile outgoing outbound
!
!
trunk group LD
 translation-profile outgoing outbound
!
voice-card 0
 dspfarm
 dsp services dspfarm
!
!
voice call send-alert
voice rtp send-recv
!
voice service voip
 ip address trusted list
  ipv4 10.170.99.12
  ipv4 10.44.50.14
  ipv4 10.44.50.39
 no ip address trusted authenticate
 clid substitute name
 clid network-provided
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 redirect ip2ip
 signaling forward unconditional
 fax protocol t38 nse force version 0 ls-redundancy 0 hs-redundancy 0 fallback 
pass-through g711ulaw
 no fax-relay sg3-to-g3
 modem passthrough nse codec g711ulaw
 sip
  bind control source-interface Loopback0
  bind media source-interface Loopback0
  session transport tcp
  min-se 360 session-expires 360
  ds0-num
  header-passing
  error-passthru
  registrar server expires max 600 min 60
  early-offer forced
  midcall-signaling passthru
  no call service stop
!
!
voice class uri 10 sip
 host ipv4:10.x.x.x
 host ipv4:10..x.x.x
 host ipv4:10..x.x.x
voice class codec 1
 codec preference 1 g711ulaw
 codec preference 2 g729r8
!
voice class codec 2
 codec preference 1 g711ulaw
!
!
!
!
voice translation-rule 1
 rule 1 /^208343\(....\)$/ /1208343\1/
!
voice translation-rule 9
 rule 1 /5.../ /1208343\0/
!
voice translation-rule 10
 rule 1 /^911/ /911/
 rule 2 /^9911/ /911/
!
voice translation-rule 15
!
voice translation-rule 30
 rule 1 /^911/ /911/
 rule 2 /^9911/ /911/
 rule 4 /^9\(011.*\)/ /\1/
 rule 9 /^9\(.*\)/ /\1/
!
!
voice translation-profile Add1
 translate calling 91
 translate called 1
!
voice translation-profile Inbound
 translate called 1
!
voice translation-profile Strip9
 translate called 10
!
voice translation-profile block_profile
 translate calling 15
!
voice translation-profile outbound
 translate calling 10
!
!
crypto pki token default removal timeout 0
!
!
!
!
license udi pid CISCO3845-MB sn FOC123128X5
license accept end user agreement
archive
 log config
  hidekeys
username admin privilege 15 password 7 105D1F0C
username svuntbd privilege 15 secret 5 $1$vRxN$nu4JPZttcuPskPHoSdQZx.
!
!
controller T1 0/0/0
 shutdown
 cablelength long 0db
!
controller T1 0/1/0
 shutdown
 cablelength long 0db
!
!
!
!
!
!
interface Loopback0
 ip address 10.x.x.x 255.255.255.128
!
interface GigabitEthernet0/0
 description uplink to Lan1
 ip address 10.x.x.x 255.255.255.252
 duplex auto
 speed auto
 media-type rj45
!
interface GigabitEthernet0/1
 description uplink to Lan2
 ip address 10.x.x.x 255.255.255.252
 duplex auto
 speed auto
 media-type rj45
!
router ospf 1
 auto-cost reference-bandwidth 10000
 network 10.0.0.0 0.0.255.255 area 10.0.0.0
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!


q70007voipgw1#show log
Syslog logging: enabled (0 messages dropped, 37 messages rate-limited, 0 
flushes, 0 overruns, xml disabled, filtering disabled)

No Active Message Discriminator.



No Inactive Message Discriminator.


    Console logging: disabled
    Monitor logging: disabled
    Buffer logging:  level debugging, 318 messages logged, xml disabled,
                    filtering disabled
    Exception Logging: size (4096 bytes)
    Count and timestamp logging messages: disabled
    Persistent logging: disabled

No active filter modules.

    Trap logging: level debugging, 1987 message lines logged
        Logging to 10.0.7.139  (udp port 514, audit disabled,
              link up),
              1756 message lines logged,
              0 message lines rate-limited,
              0 message lines dropped-by-MD,
              xml disabled, sequence number disabled
              filtering disabled
        Logging to 10.0.8.12  (udp port 514, audit disabled,
              link up),
              1756 message lines logged,
              0 message lines rate-limited,
              0 message lines dropped-by-MD,
              xml disabled, sequence number disabled
              filtering disabled
        Logging Source-Interface:       VRF Name:
        Loopback0

Log Buffer (99999 bytes):

Mar  1 15:51:12.925 UTC: //-1/33CD1BD8A0FD/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=19529473283
   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

Mar  1 15:51:12.925 UTC: //-1/33CD1BD8A0FD/CCAPI/cc_api_call_setup_ind_common:
   Interface=0xC0818008, Call Info(
   Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not 
Screened, Presentation=Allowed),
   Called Number=19529473283(TON=Unknown, NPI=Unknown),
   Calling Translated=FALSE, Subscriber Type Str=RegularLine, 
FinalDestinationFlag=TRUE,
   Incoming Dial-peer=0, Progress Indication=ORIGINATING SIDE IS NON ISDN(3), 
Calling IE Present=FALSE,
   Source Trkgrp Route Label=FXO_EM, Target Trkgrp Route Label=, CLID 
Transparent=FALSE), Call Id=-1
Mar  1 15:51:12.925 UTC: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar  1 15:51:12.925 UTC: :cc_get_feature_vsa malloc success
Mar  1 15:51:12.925 UTC: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar  1 15:51:12.925 UTC:  cc_get_feature_vsa count is 1
Mar  1 15:51:12.925 UTC: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar  1 15:51:12.925 UTC: :FEATURE_VSA attributes are: 
feature_name:0,feature_time:1894009408,feature_id:151
Mar  1 15:51:12.925 UTC: //8125/33CD1BD8A0FD/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=19529473283(TON=Unknown, NPI=Unknown))
Mar  1 15:51:12.925 UTC: //8125/33CD1BD8A0FD/CCAPI/cc_process_call_setup_ind:
   Event=0x680A6390
Mar  1 15:51:12.929 UTC: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
   Try with the demoted called number 19529473283
Mar  1 15:51:12.929 UTC: //8125/33CD1BD8A0FD/CCAPI/ccCallSetContext:
   Context=0x689031EC
Mar  1 15:51:12.929 UTC: //8125/33CD1BD8A0FD/CCAPI/cc_process_call_setup_ind:
   >>>>CCAPI handed cid 8125 with tag 0 to app "_ManagedAppProcess_Default"
Mar  1 15:51:12.929 UTC: //8125/33CD1BD8A0FD/CCAPI/ccCallProceeding:
   Progress Indication=NULL(0)
Mar  1 15:51:12.929 UTC: //8125/33CD1BD8A0FD/CCAPI/ccCallSetupRequest:
   Destination=, Calling IE Present=FALSE, Mode=0,
   Outgoing Dial-peer=5, Params=0x688FF3FC, Progress Indication=ORIGINATING 
SIDE IS NON ISDN(3)
Mar  1 15:51:12.929 UTC: //8125/33CD1BD8A0FD/CCAPI/ccCheckClipClir:
   In: Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, 
Presentation=Allowed)
Mar  1 15:51:12.929 UTC: //8125/33CD1BD8A0FD/CCAPI/ccCheckClipClir:
   Out: Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, 
Presentation=Allowed)
Mar  1 15:51:12.929 UTC: //8125/33CD1BD8A0FD/CCAPI/ccCallSetupRequest:
   Destination Pattern=19529473283, Called Number=19529473283, Digit Strip=FALSE
Mar  1 15:51:12.929 UTC: //8125/33CD1BD8A0FD/CCAPI/ccCallSetupRequest:
   Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, 
Presentation=Allowed),
   Called Number=19529473283(TON=Unknown, NPI=Unknown),
   Redirect Number=, Display Info=
   Account Number=, Final Destination Flag=TRUE,
   Guid=33CD1BD8-1C9F-11E8-A0FD-AFF330C1FAB3, Outgoing Dial-peer=5
Mar  1 15:51:12.929 UTC: //8125/33CD1BD8A0FD/CCAPI/cc_api_display_ie_subfields:
   ccCallSetupRequest:
   cisco-username=
   ----- ccCallInfo IE subfields -----
   cisco-ani=
   cisco-anitype=0
   cisco-aniplan=0
   cisco-anipi=0
   cisco-anisi=0
   dest=19529473283
   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

Mar  1 15:51:12.929 UTC: //8125/33CD1BD8A0FD/CCAPI/ccIFCallSetupRequestPrivate:
   Interface=0xC0419E50, Interface Type=1, Destination=, Mode=0x0,
   Call Params(Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown, 
Screening=Not Screened, Presentation=Allowed),
   Called Number=19529473283(TON=Unknown, NPI=Unknown), Calling 
Translated=FALSE,
   Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE, Outgoing 
Dial-peer=5, Call Count On=FALSE,
   Source Trkgrp Route Label=FXO_EM, Target Trkgrp Route Label=, 
tg_label_flag=1, Application Call Id=)
Mar  1 15:51:12.929 UTC: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar  1 15:51:12.929 UTC: :cc_get_feature_vsa malloc success
Mar  1 15:51:12.929 UTC: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar  1 15:51:12.929 UTC:  cc_get_feature_vsa count is 2
Mar  1 15:51:12.929 UTC: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar  1 15:51:12.929 UTC: :FEATURE_VSA attributes are: 
feature_name:0,feature_time:1894009184,feature_id:152
Mar  1 15:51:12.929 UTC: //8126/33CD1BD8A0FD/CCAPI/ccIFCallSetupRequestPrivate:
   SPI Call Setup Request Is Success; Interface Type=1, FlowMode=1
Mar  1 15:51:12.929 UTC: //8126/33CD1BD8A0FD/CCAPI/ccCallSetContext:
   Context=0x688FF3AC
Mar  1 15:51:12.929 UTC: //8125/33CD1BD8A0FD/CCAPI/ccSaveDialpeerTag:
   Outgoing Dial-peer=5
Mar  1 15:51:12.941 UTC: //8126/33CD1BD8A0FD/CCAPI/cc_api_call_disconnected:
   Cause Value=38, Interface=0xC0419E50, Call Id=8126
Mar  1 15:51:12.941 UTC: //8126/33CD1BD8A0FD/CCAPI/cc_api_call_disconnected:
   Call Entry(Responsed=TRUE, Cause Value=38, Retry Count=0)
Mar  1 15:51:12.941 UTC: //8125/33CD1BD8A0FD/CCAPI/ccCallReleaseResources:
   release reserved xcoding resource.
Mar  1 15:51:12.941 UTC: //8126/33CD1BD8A0FD/CCAPI/ccCallSetAAA_Accounting:
   Accounting=0, Call Id=8126
Mar  1 15:51:12.941 UTC: //8126/33CD1BD8A0FD/CCAPI/ccCallDisconnect:
   Cause Value=38, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect 
Cause=38)
Mar  1 15:51:12.941 UTC: //8126/33CD1BD8A0FD/CCAPI/ccCallDisconnect:
   Cause Value=38, Call Entry(Responsed=TRUE, Cause Value=38)
Mar  1 15:51:12.941 UTC: //8126/33CD1BD8A0FD/CCAPI/cc_api_get_transfer_info:
   Transfer Number Is Null
Mar  1 15:51:12.945 UTC: //8126/33CD1BD8A0FD/CCAPI/cc_api_call_disconnect_done:
   Disposition=0, Interface=0xC0419E50, Tag=0x0, Call Id=8126,
   Call Entry(Disconnect Cause=38, Voice Class Cause Code=0, Retry Count=0)
Mar  1 15:51:12.945 UTC: //8126/33CD1BD8A0FD/CCAPI/cc_api_call_disconnect_done:
   Call Disconnect Event Sent
Mar  1 15:51:12.945 UTC: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Mar  1 15:51:12.945 UTC: :cc_free_feature_vsa freeing 70E44958
Mar  1 15:51:12.945 UTC: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Mar  1 15:51:12.945 UTC:  vsacount in free is 1
Mar  1 15:51:12.949 UTC: //8125/33CD1BD8A0FD/CCAPI/ccCallDisconnect:
   Cause Value=38, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect 
Cause=0)
Mar  1 15:51:12.949 UTC: //8125/33CD1BD8A0FD/CCAPI/ccCallDisconnect:
   Cause Value=38, Call Entry(Responsed=TRUE, Cause Value=38)
Mar  1 15:51:12.949 UTC: //8125/33CD1BD8A0FD/CCAPI/cc_api_get_transfer_info:
   Transfer Number Is Null
Mar  1 15:51:25.558 UTC: //8125/33CD1BD8A0FD/CCAPI/cc_api_call_disconnect_done:
   Disposition=0, Interface=0xC0818008, Tag=0x0, Call Id=8125,
   Call Entry(Disconnect Cause=38, Voice Class Cause Code=0, Retry Count=0)
Mar  1 15:51:25.558 UTC: //8125/33CD1BD8A0FD/CCAPI/cc_api_call_disconnect_done:
   Call Disconnect Event Sent
Mar  1 15:51:25.558 UTC: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Mar  1 15:51:25.558 UTC: :cc_free_feature_vsa freeing 70E44A38
Mar  1 15:51:25.558 UTC: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Mar  1 15:51:25.558 UTC:  vsacount in free is 0
Mar  1 15:52:55.396 UTC: //-1/99D62B000001/CCAPI/cc_api_display_ie_subfields:
_______________________________________________
cisco-voip mailing list
cisco-voip@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip

Reply via email to