Hi, In our office, we're slowly migrating from a cisco call manager set up to asterisk. Problem is management doesn't want to buy any other hardware as they had already invested a lot in cisco. The main cause of this is asterisk's added features like unique FAX number for everyone in the company (which will be the same as phone DID), Voice mail, Auto Answer etc yet we need thousands of dollars to add those to our cisco call manager 4.1 set up.
I have added the 3845 router as my SIP gateway (on asterisk 1.6.0.9), and also a dialpeer to forward on the router to forward calls to my asterisk. It works properly but the problem is there is NO AUDIO! I have tried to change codec but no sucess! Has anyone had the above set up working successfully? Attached are some confs. Thanks a lot for your assistance. Kind Regards, Wilson
sh run Building configuration... Current configuration : 6356 bytes ! ! Last configuration change at 14:21:37 UTC Fri May 15 2009 by tim ! NVRAM config last updated at 10:09:04 UTC Fri May 8 2009 by tim ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname VG2 ! boot-start-marker boot-end-marker ! card type e1 0 0 logging buffered 51200 warnings enable secret 5 $1$b4b1$BKQ.iJ/maD2vIqp3kOVQzh. ! no aaa new-model network-clock-participate wic 0 dot11 syslog ! ip cef ! ! no ip domain lookup ip domain name yourdomain.com multilink bundle-name authenticated ! isdn switch-type primary-net5 voice-card 0 no dspfarm ! ! ! ! ! voice class codec 1 codec preference 1 g711ulaw codec preference 2 g711alaw ! ! ! --More-- voice class h323 1 h225 timeout setup 4 ! ! ! ! ! ! ! ! ! ! voice translation-rule 1 rule 1 /\.*/ /\1/ type any national plan any national ! ! voice translation-profile unknown_national translate called 1 ! ! ! crypto pki trustpoint TP-self-signed-4193395873 enrollment selfsigned --More-- subject-name cn=IOS-Self-Signed-Certificate-4193395873 revocation-check none rsakeypair TP-self-signed-4193395873 ! ! crypto pki certificate chain TP-self-signed-4193395873 certificate self-signed 01 30820250 308201B9 A0030201 02020101 300D0609 2A864886 F70D0101 04050030 31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274 69666963 6174652D 34313933 33393538 3733301E 170D3039 30343034 30393233 31375A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649 4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D34 31393333 39353837 3330819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281 8100B1B0 40479210 07535650 C5CFB9A2 E3F2DDFF 26D3FB27 969E69B6 25693F41 6D826D77 3A2EE99D D366247D 7035E943 B82CB36E B0C924F0 24B81745 97DCA2EA 6EF0A24E 59985063 1F1B8147 869E53BD 4F2B0827 2C9EE984 08689B22 50EF459F EEE5D22A FE52A9BB 997FC7C9 A5884405 E4993E17 52755EF5 AB88CC55 3D2C495C 36D90203 010001A3 78307630 0F060355 1D130101 FF040530 030101FF 30230603 551D1104 1C301A82 184F554C 4B4C4156 47322E79 6F757264 6F6D6169 6E2E636F 6D301F06 03551D23 04183016 8014E52D FAE14645 F6A1BBBE 21D1E27F E06FC49C 8FE9301D 0603551D 0E041604 14E52DFA E14645F6 A1BBBE21 D1E27FE0 6FC49C8F E9300D06 092A8648 86F70D01 01040500 03818100 12D38764 ABB73CD2 1E4FED39 7B765AAA 5E36CD78 1A53FEC8 2036E77A 3EBCC4D2 2E220A07 E7DF88B4 A5B6166B --More-- 24E3B3B3 CA03E0B3 EE04BCF1 831E1DB1 041C5681 FF2652D3 864CC5CC 15018B5F 0F36BA07 243E6C37 44E457CB 9CD0B4FE 15243FA8 CF15DB70 4F7C9E94 227639B1 9050906C 9ADA6A9E 27647593 94849208 75545921 quit ! ! username tim privilege 15 secret 5 $1$ojU4$n/8FgI1cRf8GhjFXd3LiU0 archive log config hidekeys ! ! controller E1 0/0/0 framing NO-CRC4 pri-group timeslots 1-31 ! controller E1 0/0/1 framing NO-CRC4 pri-group timeslots 1-31 ! ! ! --More-- ! ! interface GigabitEthernet0/0 description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$ no ip address duplex auto speed auto media-type rj45 ! interface GigabitEthernet0/0.20 encapsulation dot1Q 20 no ip address ! interface GigabitEthernet0/0.30 encapsulation dot1Q 30 ip address 172.17.3.248 255.255.255.0 h323-gateway voip interface ! interface GigabitEthernet0/1 no ip address shutdown duplex auto speed auto --More-- media-type rj45 ! interface Serial0/0/0:15 no ip address encapsulation hdlc isdn switch-type primary-net5 isdn incoming-voice voice isdn negotiate-bchan resend-setup no cdp enable ! interface Serial0/0/1:15 no ip address encapsulation hdlc isdn switch-type primary-net5 isdn incoming-voice voice isdn negotiate-bchan resend-setup no cdp enable ! router eigrp 1 network 172.17.3.0 0.0.0.255 no auto-summary ! ip forward-protocol nd --More-- ! ! ip http server ip http access-class 23 ip http authentication local ip http secure-server ip http timeout-policy idle 60 life 86400 requests 10000 ! ! ! ! control-plane ! ! ! voice-port 0/0/0:15 ! voice-port 0/0/1:15 ! ! ! ! --More-- ! ! dial-peer voice 110 voip destination-pattern . progress_ind setup enable 3 progress_ind progress enable 8 --More-- modem passthrough nse codec g711ulaw voice-class codec 1 voice-class h323 1 session target ipv4:172.17.3.200 dtmf-relay h245-alphanumeric fax rate disable no vad ! dial-peer voice 111 voip destination-pattern 790792... progress_ind setup enable 3 progress_ind progress enable 8 voice-class codec 1 voice-class h323 1 session target ipv4:172.17.10.150 --More-- dtmf-relay h245-alphanumeric no vad ! dial-peer voice 112 voip destination-pattern 790792888 monitor probe icmp-ping session protocol sipv2 session target ipv4:172.19.3.150 dtmf-relay rtp-nte codec g711ulaw --More-- ! ! ! line con 0 logging synchronous login local line aux 0 line vty 0 3 exec-timeout 122 0 privilege level 15 logging synchronous login local transport input telnet ssh line vty 4 exec-timeout 122 0 privilege level 15 login local transport input telnet ssh line vty 5 15 exec-timeout 122 0 privilege level 15 login local transport input telnet ssh --More-- ! scheduler allocate 20000 1000 ntp master ! end VG2# sh inv NAME: "3845 chassis", DESCR: "3845 chassis" PID: CISCO3845 , VID: V01 , SN: FHK1305F0BY NAME: "c3845 Motherboard with Gigabit Ethernet on Slot 0", DESCR: "c3845 Motherboard with Gigabit Ethernet" PID: CISCO3845-MB , VID: V07 , SN: FOC125222JZ NAME: "VWIC2-2MFT-T1/E1 - 2-Port RJ-48 Multiflex Trunk - T1/E1 on Slot 0 SubSlot 0", DESCR: "VWIC2-2MFT-T1/E1 - 2-Port RJ-48 Multiflex Trunk - T1/E1" PID: VWIC2-2MFT-T1/E1 , VID: V01 , SN: FOC13034Q1F NAME: "PVDMII DSP SIMM with one DSP on Slot 0 SubSlot 4", DESCR: "PVDMII DSP SIMM with one DSP" PID: PVDM2-16 , VID: V01 , SN: FOC12503KF3 NAME: "PVDMII DSP SIMM with four DSPs on Slot 0 SubSlot 5", DESCR: "PVDMII DSP SIMM with four DSPs" PID: PVDM2-64 , VID: V01 , SN: FOC12510W1M VG2#sh ver Cisco IOS Software, 3800 Software (C3845-SPSERVICESK9-M), Version 12.4(15)T8, RELEASE SOFTWARE (fc3)
cs-intranet*CLI> sip show peers Name/username Host Dyn Nat ACL Port Status 103 172.17.3.249 5060 OK (3 ms) 102 172.17.3.248 5060 OK (3 ms) 101 172.17.10.150 5060 OK (1 ms) 100/100 172.19.4.102 D N 32544 Unmonitored 4 sip peers [Monitored: 3 online, 0 offline Unmonitored: 1 online, 0 offline] ; 102 and 103 are cisco routers, 101 is the call manager, 100 is a SIP phone
VG2#sho dial-peer Voice 112 v VoiceOverIpPeer112 peer type = voice, system default peer = FALSE, information type = voice, description = `', tag = 112, destination-pattern = `790792888', voice reg type = 0, corresponding tag = 0, allow watch = FALSE answer-address = `', preference=0, CLID Restriction = None CLID Network Number = `' CLID Second Number sent CLID Override RDNIS = disabled, source carrier-id = `', target carrier-id = `', source trunk-group-label = `', target trunk-group-label = `', numbering Type = `unknown' group = 112, Admin state is up, Operation state is up, incoming called-number = `', connections/maximum = 0/unlimited, DTMF Relay = enabled, modem transport = system, URI classes: Incoming (Request) = Incoming (To) = Incoming (From) = Destination = --More-- huntstop = disabled, in bound application associated: 'DEFAULT' out bound application associated: '' dnis-map = permission :both incoming COR list:maximum capability outgoing COR list:minimum requirement Translation profile (Incoming): Translation profile (Outgoing): incoming call blocking: translation-profile = `' disconnect-cause = `no-service' advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4 type = voip, session-target = `ipv4:172.19.3.150', technology prefix: settle-call = disabled ip media DSCP = ef, ip signaling DSCP = af31, ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41 ip video rsvp-fail DSCP = af41, UDP checksum = disabled, session-protocol = sipv2, session-transport = system, req-qos = best-effort, acc-qos = best-effort, req-qos video = best-effort, acc-qos video = best-effort, --More-- req-qos audio def bandwidth = 64, req-qos audio max bandwidth = 0, req-qos video def bandwidth = 384, req-qos video max bandwidth = 0, dtmf-relay = rtp-nte, RTP dynamic payload type values: NTE = 101 Cisco: NSE=100, fax=96, fax-ack=97, dtmf=121, fax-relay=122 CAS=123, TTY=119, ClearChan=125, PCM switch over u-law=0, A-law=8, GSMAMR-NB=117 iLBC=116 h263+=118, h264=119 G726r16 using static payload G726r24 using static payload RTP comfort noise payload type = 19 fax rate = voice, payload size = 20 bytes fax protocol = system fax-relay ecm enable Fax Relay SG3-to-G3 Enabled (by system configuration) fax NSF = 0xAD0051 (default) codec = g711ulaw, payload size = 160 bytes, video codec = None voice class codec = `' text relay = disabled Media Setting = flow-through (global) Expect factor = 10, Icpif = 20, Playout Mode is set to adaptive, --More-- Initial 60 ms, Max 250 ms Playout-delay Minimum mode is set to default, value 40 ms Fax nominal 300 ms Max Redirects = 1, signaling-type = cas, VAD = enabled, Poor QOV Trap = disabled, Source Interface = NONE voice class sip url = system, voice class sip rel1xx = system, tvoice class sip outbound-proxy = system, voice class sip asserted-id = system, voice class sip privacy = system, voice class sip e911 = system, voice class sip authenticate redirecting-number = system, redirect ip2ip = disabled local peer = false monitor probe method: icmp-ping monitoring session target, Monitored destination reachable Secure RTP: system (use the global setting) voice class perm tag = `' Time elapsed since last clearing of voice call statistics never Connect Time = 15420, Charged Units = 0, Successful Calls = 25, Failed Calls = 2, Incomplete Calls = 0 Accepted Calls = 0, Refused Calls = 0, --More-- Last Disconnect Cause is "10 ", Last Disconnect Text is "normal call clearing (16)", Last Setup Time = 363324497. Last Disconnect Time = 363327099. VG2#
sip.conf
Description: Binary data
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users