cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
256
Views
0
Helpful
4
Replies

conditional sip trace command ?

KY_
Level 4
Level 4

Hi Everyone

Is there any conditional command available for specify calling or called number ?
Instead of debug casip messages.

Thanks

4 Replies 4

Aeby Vinod
Level 3
Level 3
You can apply a filter and achieve what you need.

http://docwiki.cisco.com/wiki/Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Voice_Call_Debug_Filtering_on_Cisco_Voice_Gateways


Please rate if you find this helpful.

Regards,
Aeby


Please rate if you find this helpful.

Regards,
Aeby

Hi Aeby,

 

I need to do cofigure conditional debug for called number in this case;

 

 

   enable
    configure terminal
    call filter match-list number voice
    incoming calling-number CAL_LIST_TEST
    incoming called-number CAL_LIST_TEST
    incoming secondary-called-number 344221155
    incoming port string
    incoming signaling {local | remote'} 'ipv4 ip_address
    incoming media {local | remote'}' ipv4 ip_address
    incoming dialpeer tag
    source carrier-id string
    source trunk-group-label group-number
    outgoing calling-number string
    outgoing called-number string
    outgoing secondary-called-number string
    outgoing port string
    outgoing signaling {local | remote'}' ipv4 ip_address
    outgoing media {local | remote'}' ipv4 ip_address
    outgoing dialpeer tag
    target carrier-id string
    target trunk-group-label group-number
    end

 

My call flow is that;

 

ip phone - sip  - cucm- sip trunk- cube- sip trunk- itst.

 

Do i need to configure all related parameter such as trunk group or dial-peer  and target carrier-id string ?

 

Thanks

You don't need to specify all of those parameters, its optional, just specify what you need to filter it by. In the Doc i referenced before, check the DETAILED STEPS table, you'll see what is mandatory and what is optional over there.

Please rate if you find this helpful.

Regards,
Aeby



Please rate if you find this helpful.

Regards,
Aeby

R0g22
Cisco Employee
Cisco Employee
AFAIK, the logs won't be filtered for what ever the calling or called number you defined but with the filtering, the only part of the logs that you would see will be the ones that have the called/calling number in it. So effectively, if you filter a ccapi debug with a calling number, you would only see the log lines which have that calling number in it and not the complete logs for that particular call.
Hope that makes sense.