I am facing the FXO disconnet issue in UAE, I have the disconnetc parameters but these parameters are not solving the problem, is there any way to capture the disconnect tone parameters.
There isn't a command to do this, but you can do it with free, available tools.
Packet capture in G.711 of problem
Wireshark ( http://www.wireshark.org/download.html )
Cool Edit Pro or Adobe Audition (Shareware, here's a link I found: http://www.toggle.com/lv/group/view/kl36218/Cool_Edit_Pro.htm )
Getting the packet capture:
SPAN is easiest. Otherwise, you can get it from the back of your phone. In CUCM, on the phone page, enable Span to PC Port and reset. In CME, use this command under telephony-service and reset "service phone spanToPCPort 0". On the phone you can confirm: Model Information -> Ethernet Information -> Span to PC Port should be "Yes".
Getting the packet capture:
Start your packet capture. Place call from FXO to IP phone. Hang up on the FXO and listen to the disconnect tone for 10 seconds. Stop the packet capture.
Getting the packet capture into an audio stream:
If the blue voice packets show up as UDP instead of RTP, you'll need to decode them. Right click on one of the UDP packets, select "Decode As". In the list, you should choose RTP.
Then go to Statistics->RTP->Show all Streams. You should click on the stream from your gateway IP address to your IP phone. Click "Analyze Stream".
This will show you the stream analysis from the gateway to the IP phone. At the bottom you should be able to click "Save Payload". You need to choose the forward direction, and .au as the format. Then choose the filename.
Determining your frequencies and cadence:
Open the audio file in Cool Edit. You should be able to listen to the stream and confirm it's what you heard from the gateway. Skip to the part where the disconnect tone is. Highlight the part that is the tone.
Go to Analyze-> Frequency Analysis. This will give you the Time Domain of the audio you have selected. For DTMF and disconnect tones, you should see 2 distinct spikes in the frequency domain. Hover your mouse over the tip of the spike, and you will find out the frequency. For a disconnect tone, you should have either one or two tones, record these values.
To determine the cadence (on/off timing), you need to zoom in on the tones. Select only the 'on' part of the tone - the part you can hear. Go to View->Display Time Format->Decimal.
In the lower right hand corner, it should give you the "Length 0:00.xxx". This value is in milliseconds and is what you'll use in your custom disconnect class. Record this - this is your ON cadence.
Next, select the empty area between your first and second tones. Look towards the Length field again and record this value, this is your first OFF time.
Continue to do this for each ON/OFF until there is a pattern.
You will then enter this into your router:
voice class custom-cptone
Note: You want to use 3 or more values here for best results.
On your FXO port, you will want a configuration similar to:
supervisory disconnect dualtone mid-call
Hope this helps.