Hello,
I have a problem with the gateway cisco 1760. I make a capture and the arrive to the gateway but this say me "BAD REQUEST -IP invalid" and I don't what to do
My configuration is: Using 1454 out of 29688 bytes ! version 12.2 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname ToIP ! ! username GW password 0 GW ip subnet-zero ! ! ip name-server 172.17.1.20 ! ! isdn switch-type basic-net3 isdn voice-call-failure 0 ! voice call carrier capacity active ! voice class codec 1 ! ip name-server 172.17.1.20 ! ! isdn switch-type basic-net3 isdn voice-call-failure 0 ! voice call carrier capacity active ! voice class codec 1 codec preference 1 g723r63 codec preference 2 g723ar63 codec preference 3 g729br8 codec preference 4 g729r8 codec preference 5 g711alaw codec preference 6 g711ulaw ! ! ! ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 description Line ip address 172.17.1.2 255.255.255.0 speed auto !
! ! ! ! interface FastEthernet0/0 description Line ip address 172.17.1.2 255.255.255.0 speed auto ! interface BRI0/0 description RDSI 932531082 no ip address isdn switch-type basic-net3 ! interface BRI0/1 description RDSI 932531081 no ip address shutdown isdn switch-type basic-net3 ! ip classless ip route 0.0.0.0 0.0.0.0 172.17.1.1 no ip http server ip pim bidir-enable ! ! ! call rsvp-sync ! voice-port 0/0 compand-type a-law cptone ES no ip http server ip pim bidir-enable ! ! ! call rsvp-sync ! voice-port 0/0 compand-type a-law cptone ES ! voice-port 0/1 compand-type a-law cptone ES ! dial-peer cor custom ! ! ! dial-peer voice 100 pots description 932531081 destination-pattern ......... no digit-strip port 0/0 ! dial-peer voice 200 voip session target sip-server ! sip-ua retry invite 3 retry response 3 retry bye 3 retry cancel 3
! dial-peer voice 200 voip session target sip-server ! sip-ua retry invite 3 retry response 3 retry bye 3 retry cancel 3 timers trying 1000 sip-server ipv4:172.17.1.20:5060 ! ! line con 0 line aux 0 line vty 0 4 exec-timeout 0 0 login ! ntp clock-period 17179997 ntp server 130.206.42.224 end
Thanks.
Hi!
Probably the ser.cfg (the part where you forward to the gateway) and some SIP traces (ngrep) would help to debug the problem.
regards, klaus
Miquel wrote:
Hello,
I have a problem with the gateway cisco 1760. I make a capture and the arrive to the gateway but this say me "BAD REQUEST -IP invalid" and I don't what to do
My configuration is: Using 1454 out of 29688 bytes ! version 12.2 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname ToIP ! ! username GW password 0 GW ip subnet-zero ! ! ip name-server 172.17.1.20 ! ! isdn switch-type basic-net3 isdn voice-call-failure 0 ! voice call carrier capacity active ! voice class codec 1 ! ip name-server 172.17.1.20 ! ! isdn switch-type basic-net3 isdn voice-call-failure 0 ! voice call carrier capacity active ! voice class codec 1 codec preference 1 g723r63 codec preference 2 g723ar63 codec preference 3 g729br8 codec preference 4 g729r8 codec preference 5 g711alaw codec preference 6 g711ulaw ! ! ! ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 description Line ip address 172.17.1.2 255.255.255.0 speed auto !
! ! ! ! interface FastEthernet0/0 description Line ip address 172.17.1.2 255.255.255.0 speed auto ! interface BRI0/0 description RDSI 932531082 no ip address isdn switch-type basic-net3 ! interface BRI0/1 description RDSI 932531081 no ip address shutdown isdn switch-type basic-net3 ! ip classless ip route 0.0.0.0 0.0.0.0 172.17.1.1 no ip http server ip pim bidir-enable ! ! ! call rsvp-sync ! voice-port 0/0 compand-type a-law cptone ES no ip http server ip pim bidir-enable ! ! ! call rsvp-sync ! voice-port 0/0 compand-type a-law cptone ES ! voice-port 0/1 compand-type a-law cptone ES ! dial-peer cor custom ! ! ! dial-peer voice 100 pots description 932531081 destination-pattern ......... no digit-strip port 0/0 ! dial-peer voice 200 voip session target sip-server ! sip-ua retry invite 3 retry response 3 retry bye 3 retry cancel 3
! dial-peer voice 200 voip session target sip-server ! sip-ua retry invite 3 retry response 3 retry bye 3 retry cancel 3 timers trying 1000 sip-server ipv4:172.17.1.20:5060 ! ! line con 0 line aux 0 line vty 0 4 exec-timeout 0 0 login ! ntp clock-period 17179997 ntp server 130.206.42.224 end
Thanks.