[cisco-voip] changing caller id
Patrick Fischer
myciscovoip at gmail.com
Wed Aug 15 02:52:05 EDT 2007
Hi Mani,
simply add another voice translation rule containing the translations you
want to have and add "translate calling <id>" to your voice
translation-profile profile2. That's it.
Regards,
Patrick
2007/8/14, Pezhman Lali <pezhman_lali at yahoo.com>:
>
> dear
> thanks for your reply.
> the config is:
>
> !
> version 12.2
> service timestamps debug uptime
> service timestamps log uptime
> no service password-encryption
> !
> hostname test
> !
> enable password 111111
> !
> username admin password 0 111111
> voice-card 1
> !
> aaa new-model
> !
> !
> aaa authentication login default local
> aaa authentication login vty local
> aaa authentication login h323 group radius
> aaa authentication login con none
> aaa authorization exec default local
> aaa authorization exec vty local
> aaa authorization exec h323 group radius
> aaa accounting connection h323 start-stop group radius
> aaa session-id common
> ip subnet-zero
> !
> !
> no ip domain lookup
> ip name-server 4.2.2.4
> !
> isdn switch-type primary-net5
> !
> !
> voice rtp send-recv
> !
> voice class codec 10
> codec preference 1 g723r53
> codec preference 2 g723r63
> codec preference 3 g723ar53
> codec preference 4 g723ar63
> codec preference 6 g729br8
> !
> !
> !
> !
> !
> !
> voice class custom-cptone test
> dualtone busy
> frequency 425 425
> cadence 500 500
> dualtone ringback
> frequency 425 425
> cadence 1000 4000
> dualtone reorder
> frequency 425 425
> cadence 1000 1000
> dualtone out-of-service
> frequency 950
> cadence 330 330
> dualtone number-unobtainable
> frequency 425
> cadence 240 240
> dualtone disconnect
> frequency 425 425
> cadence 250 250
> !
> !
> !
> !
> voice translation-rule 1
> rule 1 /^2/ /2197121112/
> rule 2 /^1/ /2197121111/
> rule 3 /^3/ /2197121113/
> rule 4 /^4/ /2197121114/
> rule 5 /^5/ /2197121115/
> rule 6 /^6/ /2197121116/
> rule 7 /^7/ /2197121117/
> rule 8 /^8/ /2197121118/
> rule 9 /^9/ /2197121119/
> rule 10 /^0/ /2197121110/
> !
> voice translation-rule 2
> rule 1 /^25221/ //
> rule 2 /^252/ /0/
> !
> !
> voice translation-profile profile1
> translate called 1
> !
> voice translation-profile profile2
> translate called 2
> !
> !
> mta receive maximum-recipients 0
> !
> controller E1 1/0
> framing NO-CRC4
> clock source line primary
> line-termination 75-ohm
> pri-group timeslots 1-31
> !
> controller E1 1/1
> shutdown
> framing NO-CRC4
> line-termination 75-ohm
> !
> translation-rule 1
> !
> translation-rule 2
> !
> !
> !
> !
> interface FastEthernet0/0
> ip address 85.1.1.2 255.255.255.0
> duplex auto
> speed auto
> !
> interface Serial1/0:15
> no ip address
> no logging event link-status
> isdn switch-type primary-net5
> isdn incoming-voice voice
> no cdp enable
> !
> ip default-gateway 85.1.1.1
> ip classless
> ip route 0.0.0.0 0.0.0.0 85.1.1.1
> no ip http server
> ip pim bidir-enable
> !
> !
> access-list 102 deny tcp any any eq 4444
> access-list 102 deny tcp any any eq 593
> access-list 102 deny tcp any any eq 445
> access-list 102 deny tcp any any eq 139
> access-list 102 deny tcp any any eq 135
> access-list 102 deny udp any any eq tftp
> access-list 102 deny udp any any eq netbios-dgm
> access-list 102 deny udp any any eq 135
> access-list 102 permit tcp any any eq telnet
> access-list 102 permit ip any any
> access-list 102 permit tcp any any
> access-list 102 permit udp any any
> !
>
> radius-server host 85.1.1.3 auth-port 1812 acct-port
> 1813 key test
> radius-server authorization permit missing
> Service-Type
> radius-server vsa send accounting
> radius-server vsa send authentication
> call rsvp-sync
> !
> call application voice cidial flash:cidial.tcl
> call application voice cidial language 0 en
> call application voice cidial set-location fa 0 flash:
> !
> voice-port 1/0:15
> !
> !
> mgcp profile default
> !
> !
> !
> dial-peer cor custom
> !
> !
> !
> dial-peer voice 900 voip
> session protocol sipv2
> session target dns:did.test.com
> dtmf-relay rtp-nte
> !
> dial-peer voice 100 pots
> translation-profile outgoing profile2
> destination-pattern 252T
> clid restrict
> port 1/0:15
> !
> dial-peer voice 1112 pots
> !
> dial-peer voice 1111 pots
> !
> dial-peer voice 110 pots
> incoming called-number T
> direct-inward-dial
> !
> sip-ua
> sip-server ipv4:217.10.79.219
> !
> !
> line con 0
> line aux 0
> line vty 0 4
> password 11111
> !
> !
> end
>
> --- zohaib shabir <zohaibshabir at gmail.com> wrote:
>
> > Yes
> > you can always change the callerid of calls if you
> > have the PRI line for the
> > pstn. I dont know you config, but i am sure you if
> > you share the config with
> > me, i will be able to help you out.
> >
> > On 8/14/07, Pezhman Lali <pezhman_lali at yahoo.com>
> > wrote:
> > >
> > > Hi dears
> > > I have a cisco2600+nm-hdv+pri line(E1).
> > > is any way to change callerid of outgoing calls to
> > the
> > > pstn.
> > > best
> > > Mani
> > >
> > >
> > >
> > >
> > >
> >
>
> ____________________________________________________________________________________
> > > Boardwalk for $500? In 2007? Ha! Play Monopoly
> > Here and Now (it's updated
> > > for today's economy) at Yahoo! Games.
> > >
> >
> http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
> > > _______________________________________________
> > > cisco-voip mailing list
> > > cisco-voip at puck.nether.net
> > >
> > https://puck.nether.net/mailman/listinfo/cisco-voip
> > >
> >
> >
> >
> > --
> > Regards,
> > Zohaib Shabir
> > Network Engineer(Voice)
> > DWP Group, TECH Division
> > Ph:+92-302-8232689
> >
>
>
>
>
> ____________________________________________________________________________________Ready
> for the edge of your seat?
> Check out tonight's top picks on Yahoo! TV.
> http://tv.yahoo.com/
> _______________________________________________
> 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/20070815/c7eced64/attachment.html
More information about the cisco-voip
mailing list