[cisco-voip] CallerIP trough FXO port

Dane Newman dane.newman at gmail.com
Wed Sep 16 12:25:36 EDT 2009


My full router config is as follows

Cisco2801#sh run
Building configuration...

Current configuration : 9848 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime localtime
service password-encryption
!
hostname Cisco2801
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
no logging buffered
no logging monitor
enable secret 5 $1$Sz.G$hunXhcScXrQkHmAllKj4.0
!
aaa new-model
!
!
aaa authentication login default local
aaa authentication login ezvpnuserauth local
aaa authorization exec default local
aaa authorization network default local
aaa authorization network ezvpngroupauth local
!
!
aaa session-id common
errdisable recovery cause bpduguard
errdisable recovery interval 400
dot11 syslog
ip source-route
!
!
!
!
ip cef
no ip domain lookup
ip domain name datasc.local
ip inspect udp idle-time 1800
ip inspect name CBAC tcp
ip inspect name CBAC udp
ip inspect name CBAC icmp
no ipv6 cef
ntp server 129.6.15.28
!
multilink bundle-name authenticated
!
!
!
!
!
!
trunk group FXOPORTS
!
!
!
voice service pots
!
voice service voip
 fax protocol cisco
 h323
  no h225 timeout keepalive
!
!
!
!
!
!
voice class h323 50
  h225 timeout tcp establish 3
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
 dsp services dspfarm
!
!
application
 global
  service alternate default
 !
!
!
crypto pki trustpoint TP-self-signed-2766443098
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-2766443098
 revocation-check none
 rsakeypair TP-self-signed-2766443098
!
!
crypto pki certificate chain TP-self-signed-2766443098
 certificate self-signed 01
  3082024E 308201B7 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 32373636 34343330 3938301E 170D3039 30383038 30313537
  35305A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 37363634
  34333039 3830819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
  8100F024 7897883D 2917DD31 A92AFC92 5FF90B0B 87C59186 1DA717E6 7DC7113F
  78FB9546 891FAF14 94296F95 1A269F0A 1945EF5D 02501E85 84CF230A 1945FFD8
  6A0952FD 5B97A0B3 CF83D474 59D24A1E 3CDBF52F 1245C023 0905CD43 DDCFAE77
  56347A58 B91E076E 7C6E39B8 212C15D1 5E6AE9F7 B75E36E5 2EA5EBF6 20888E4C
  A78F0203 010001A3 76307430 0F060355 1D130101 FF040530 030101FF 30210603
  551D1104 1A301882 16436973 636F3238 30312E64 61746173 632E6C6F 63616C30
  1F060355 1D230418 30168014 41650862 0AD93B9A 9639B46B 339E916B A2762CAB
  301D0603 551D0E04 16041441 6508620A D93B9A96 39B46B33 9E916BA2 762CAB30
  0D06092A 864886F7 0D010104 05000381 8100A84C 200FC75E 17F51DB1 0F14F173
  364AE98E 886DE050 8FB015C9 FD057C62 2E01286A 0216D04E 08DB02F8 B52B6BB1
  2A2710E4 73A8876A 1570E4A9 75A77B33 59B244C8 47AD12C8 7A3441A5 EEE48002
  20FA0B1F A0B0803D 4FF86CD2 4D69B649 7DD6D151 0EC8A3CF E6B278F5 DC40598C
  00E4DDC2 58CAD837 9D4C1738 9CA1F850 6F2C
        quit
!
!
username ******** privilege 15 secret 5 *********
archive
 log config
  hidekeys
!
!
crypto isakmp policy 20
 encr aes 192
 authentication pre-share
 group 2
crypto isakmp key Recoil90 address 0.0.0.0 0.0.0.0
crypto isakmp fragmentation
!
crypto isakmp client configuration group datasc
 key Recoil90
 dns 10.1.80.2 10.1.80.3
 domain datasc.local
 pool REMOTEVPNPOOL
 acl 150
crypto isakmp profile ezvpn
   match identity group datasc
   client authentication list ezvpnuserauth
   isakmp authorization list ezvpngroupauth
   client configuration address respond
!
!
crypto ipsec transform-set ezvpntransform esp-aes esp-sha-hmac
!
crypto dynamic-map dynmap 20
 set transform-set ezvpntransform
 set isakmp-profile ezvpn
 reverse-route
!
!
crypto map dynmap 1 ipsec-isakmp dynamic dynmap
!
!
crypto key pubkey-chain rsa
 named-key realm-cisco.pub
  key-string
   30820122 300D0609 2A864886 F70D0101 01050003 82010F00 3082010A 02820101
   00C19E93 A8AF124A D6CC7A24 5097A975 206BE3A2 06FBA13F 6F12CB5B 4E441F16
   17E630D5 C02AC252 912BE27F 37FDD9C8 11FC7AF7 DCDD81D9 43CDABC3 6007D128
   B199ABCB D34ED0F9 085FADC1 359C189E F30AF10A C0EFB624 7E0764BF 3E53053E
   5B2146A9 D7A5EDE3 0298AF03 DED7A5B8 9479039D 20F30663 9AC64B93 C0112A35
   FE3F0C87 89BCB7BB 994AE74C FA9E481D F65875D6 85EAF974 6D9CC8E3 F0B08B85
   50437722 FFBE85B9 5E4189FF CC189CB9 69C46F9C A84DFBA5 7A0AF99E AD768C36
   006CF498 079F88F8 A3B3FB1F 9FB7B3CB 5539E1D1 9693CCBB 551F78D2 892356AE
   2F56D826 8918EF3C 80CA4F4D 87BFCA3B BFF668E9 689782A5 CF31CB6E B4B094D3
   F3020301 0001
  quit
!
!
!
!
!
!
interface FastEthernet0/0
 bandwidth 16000
 ip address dhcp
 ip access-group internet in
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip nbar protocol-discovery
 ip flow ingress
 ip flow egress
 ip nat outside
 ip inspect CBAC out
 ip virtual-reassembly
 speed 100
 full-duplex
 crypto map dynmap
!
interface FastEthernet0/1
 ip address 10.1.200.1 255.255.255.252
 ip nbar protocol-discovery
 ip flow ingress
 ip flow egress
 ip nat inside
 ip virtual-reassembly
 duplex auto
 speed auto
 h323-gateway voip bind srcaddr 10.1.200.1
!
interface FastEthernet0/1/0
 description ConnectionDell2900DMZ
 switchport access vlan 150
 spanning-tree portfast
!
interface FastEthernet0/1/1
 switchport access vlan 150
 spanning-tree portfast
!
interface FastEthernet0/1/2
!
interface FastEthernet0/1/3
!
interface Vlan1
 no ip address
!
interface Vlan150
 ip address 10.1.150.1 255.255.255.0
 ip nbar protocol-discovery
 ip flow ingress
 ip flow egress
 ip nat inside
 ip virtual-reassembly
!
router eigrp 1
 network 10.0.0.0
 network 172.16.0.0
 no auto-summary
!
ip local pool REMOTEVPNPOOL 10.250.1.10 10.250.1.150
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 66.56.50.1
ip route 96.57.19.26 255.255.255.255 66.56.50.1
ip http server
ip http authentication local
ip http secure-server
!
ip flow-cache timeout active 1
ip flow-export version 5
ip flow-export destination 10.1.80.5 9996
!
ip nat inside source list NATNETWORKS interface FastEthernet0/0 overload
ip nat inside source static tcp 10.1.150.150 80 interface FastEthernet0/0
8080
!
ip access-list extended NATNETWORKS
 permit ip 10.1.0.0 0.0.255.255 any
ip access-list extended internet
 permit udp any any eq isakmp
 permit tcp any any eq 22
 permit udp any eq bootps any eq bootpc
 permit icmp any any echo
 permit icmp any any echo-reply
 permit icmp any any traceroute
 permit gre any any
 permit esp any any
 permit tcp any any eq 5001
 permit tcp any any eq www
 permit tcp any any eq 8080
 permit udp any any eq non500-isakmp
!
logging trap errors
logging source-interface FastEthernet0/1
logging 10.1.80.5
access-list 150 permit ip 10.1.0.0 0.0.255.255 any
!
!
!
!
!
control-plane
!
!
!
voice-port 0/0/0
 trunk-group FXOPORTS
 echo-cancel coverage 32
 timeouts interdigit 7
 connection plar opx 102
 description 770-892-5514
 caller-id enable
!
voice-port 0/0/1
 trunk-group FXOPORTS
 echo-cancel coverage 32
 timeouts interdigit 7
 connection plar opx 102
 caller-id enable
!
!
no mgcp timer receive-rtcp
mgcp fax t38 ecm
mgcp behavior g729-variants static-pt
!
!
dspfarm profile 1 transcode
 associate application SCCP
!
!
dial-peer voice 501 pots
 trunkgroup FXOPORTS
 description Services
 destination-pattern [2-8]11
 progress_ind setup enable 3
 progress_ind progress enable 8
 forward-digits all
!
dial-peer voice 511 pots
 trunkgroup FXOPORTS
 description local seven digit
 destination-pattern [2-9]......
 progress_ind setup enable 3
 progress_ind progress enable 8
 forward-digits all
!
dial-peer voice 521 pots
 trunkgroup FXOPORTS
 description local ten digit
 destination-pattern 770.......
 progress_ind setup enable 3
 progress_ind progress enable 8
 forward-digits all
!
dial-peer voice 531 pots
 trunkgroup FXOPORTS
 description long distance
 destination-pattern [2-9]........
 progress_ind setup enable 3
 progress_ind progress enable 8
 forward-digits all
!
dial-peer voice 571 pots
 trunkgroup FXOPORTS
 description long distance with one
 destination-pattern 1[2-9]........
 progress_ind setup enable 3
 progress_ind progress enable 8
 forward-digits all
!
dial-peer voice 541 pots
 trunkgroup FXOPORTS
 description toll free distance
 destination-pattern 1[800,866,877,888].......
 progress_ind setup enable 3
 progress_ind progress enable 8
 forward-digits all
!
dial-peer voice 551 pots
 trunkgroup FXOPORTS
 description premium distance
 destination-pattern 1[900,976].......
 progress_ind setup enable 3
 progress_ind progress enable 8
 forward-digits all
!
dial-peer voice 561 pots
 trunkgroup FXOPORTS
 description international
 destination-pattern 011...........
 progress_ind setup enable 3
 progress_ind progress enable 8
 forward-digits all
!
dial-peer voice 911 pots
 trunkgroup FXOPORTS
 description 911 Call
 destination-pattern 911
 forward-digits all
!
dial-peer voice 1000 pots
 description incoming Call
 preference 1
 incoming called-number 7708925414
 port 0/0/0
!
dial-peer voice 1001 pots
 description incoming Call backup
 preference 2
 incoming called-number 7708925413
 port 0/0/1
!
dial-peer voice 100 voip
 description 1xx extension to PUBLISHER
 preference 1
 destination-pattern 1..
 progress_ind setup enable 3
 progress_ind progress enable 8
 voice-class h323 50
 session target ipv4:10.1.80.6
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
!
dial-peer voice 101 voip
 description 1xx extension to subscriber
 preference 2
 destination-pattern 1..
 progress_ind setup enable 3
 progress_ind progress enable 8
 voice-class h323 50
 session target ipv4:10.1.80.7
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
!
!
!
!
gatekeeper
 shutdown
!
!
line con 0
line aux 0
line vty 0 4
 privilege level 15
 transport input ssh
line vty 5 15
 privilege level 15
 transport input ssh
!
scheduler allocate 20000 1000
end
Cisco2801#
Cisco2801#
Cisco2801#

On Wed, Sep 16, 2009 at 12:14 PM, Dane Newman <dane.newman at gmail.com> wrote:

> I have the same issue
>
> When I call comes into my fxo port I get unknown number  Can anyone assist
> with this?  Im using CUCM 7.0 and a 2801 h323 gateway
>
>
> voice-port 0/0/0
>  trunk-group FXOPORTS
>  echo-cancel coverage 32
>  timeouts interdigit 7
>  connection plar opx 500
>  description ******
>  caller-id enable
>
>   On Tue, Sep 15, 2009 at 4:33 PM, Ratko Dodevski <rade239 at gmail.com>wrote:
>
>>  I forgot to mention that i use H323 gateway and CUCM 7
>>
>>
>>
>>
>> On Tue, Sep 15, 2009 at 9:31 PM, Ratko Dodevski <rade239 at gmail.com>wrote:
>>
>>> Hi, does anyone had already this kind of problem. A have my GSM adapter
>>> on plugged into VIC2-2FXO card and all incoming calls are representing as
>>> External Dial Unknown Number. Here is my voice-port config and dial-peer.
>>> Also, is there a way to use FXS ports instead?
>>>
>>> voice-port 0/3/0
>>>  supervisory disconnect anytone
>>>  cptone DE
>>>  timeouts call-disconnect 0
>>>  timeouts ringing 30
>>>  timeouts wait-release 5
>>>  connection plar 101
>>>  impedance complex2
>>>  bearer-cap Speech
>>>  caller-id alerting dsp-pre-allocate
>>>
>>> dial-peer voice 70 pots
>>>  destination-pattern 070......
>>>  direct-inward-dial
>>>  port 0/3/0
>>>  prefix 070
>>>
>>> Any help would be appreciated.
>>>
>>> Regards
>>>
>>> --
>>> Ratko
>>>
>>
>>
>>
>> --
>> Ratko
>>
>> _______________________________________________
>> cisco-voip mailing list
>> cisco-voip at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/cisco-voip
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20090916/17fa2911/attachment.html>


More information about the cisco-voip mailing list