Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to kill a voip call via SNMP

is there anybody knows how to kill a voip call via snmp.And also get the active call number on ip to ip gw.

9 REPLIES

Re: How to kill a voip call via SNMP

Well you can reload your voice gateway through SNMP.

As this is NOT what you want I am ssuming, please give more details about your scenario, which devices are involved, what is the problem etc.

Regards

Martin

New Member

Re: How to kill a voip call via SNMP

Sure i dont wanna reload the rouer:).

I use an iptoip gw and wanna clear call via snmp.I dont remember the exact CLI command but the thing is that to kill a call you need the call ID shown with

show call active voice brief, and i cant find the snmp oid for this.

show call active voice brief

2316 : 245852 1520129134ms.1 +23890 pid:6 Answer 00492363359433 active

dur 00:26:49 tx:0/0 rx:0/0

IP 0.0.0.0:0 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8

in the output the call ID is 2316.

Re: How to kill a voip call via SNMP

Hi,

what you are looking for can hopefully be found in

"Equivalent MIB Objects for VoIP show Commands"

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a008048349c.shtml

Hope this helps

Martin

New Member

Re: How to kill a voip call via SNMP

Hi I know this page.As you can see there is no SNMP OID for Call ID, thats the problem. May be there is another MIB for this but i cant find another usefull one. If you know another method that will also be usefull.

11D9 ?????? : 1102799(D1)hs.1 +1324 pid:2000(D2) Answer(D3) 2000(D4) active(D5)

dur 1d19h(D6) tx:7875641(D7)/157512782(D8) rx:7875955(D9)/157519081(D10)

Tele 2/0/0(D11):1: tx:157515460(D12)/157514630(D13)/0ms g729r8(D14)

noise:-56(D15) acom:5(D16) i/0:-40(D17)/-46(D18) dBm

Regards Deniz

New Member

Re: How to kill a voip call via SNMP

Hi again,

I found the CLI command to clear a active voice call.

( clear call voice causecode 16 id !!! )

I know the oid you sent but its not the right id. It's global call id. So its not useable for this command. Do you know another method ?

if i found the correct oid, ı also have to find snmp euq. of the CLI command.

New Member

Re: How to kill a voip call via SNMP

Hi

You can try writting a simple perl script and the Net::Telnet module to accomplish that, sometimes SMNP is not the best option available and you have to resort to other means such like this.

A related thread about Net::Telnet can be found here:

http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Service%20Providers&topic=Voice%20over%20IP&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.1dda805d

Regards.

New Member

Re: How to kill a voip call via SNMP

For god's sake tell me what kind of cisco equipement and IOS you are using?

I need a way to clear voip calls and there is no suitable clear command for that on my AS5300 IOS 12.2(15)T14, and:

#clear call vo?

% Unrecognized command

New Member

Re: How to kill a voip call via SNMP

It seems you ios is not supporting this command.My IOS version is 12.4.4T1.Try to upgrade ios.

601
Views
0
Helpful
9
Replies
CreatePlease login to create content