Victor Kolosov писал(а):
Ну во первых нужно установить End of Dial : # и 2nddial: On
Вы используете 723 кодек.
Покажите настройки 102
show tcid 0
show coding
Configuration for TCID 0:
Mode: Switched CAS
Pref Voice coding profile: 3
Pref Fax coding profile: 6
Pref Modem coding profile: 0
Pref Data coding profile: 0
Allowed Coding Prof Ids\Call Caps: (x - y means x to y both inclusive)
Coding prof: 0-127. Call cap: 0- 63.
Telephony Interface Configuration:
Companding = Mu-Law
Gain (RX,TX) = (-2,-4)
Idle noise level = -6500 x .01 dB
Call Progress Tone Detection Control = Always off
Call Progress Tone Detection Configuration = Default
Signaling Protocol: FXS Loop Start
FXS Loop Start Parameters:
Offhook Debounce: 50 msec
Onhook Debounce: 50 msec
Seize Detect: 100 msec
Originator Clear Detect: 450 msec
Answering Party Clear Detect: 150 msec
CPC Wait: 200 msec
CPC Duration: 850 msec
Ring Id: Default (-1)
Caller Id Generation: ON
Dial Out Parameters:
Out Wait: 250 msec
Out Type: tone
Tone Out Off Time: 100 msec
Tone Out On Time: 100 msec
Tone Out Power: -130 x 0.1 dB (not configurable)
Dial In Parameters:
Plar addr: None
Call Timing Parameters:
Call Limit: forever
Answer Wait: forever
Hangup Wait: forever
Fax Holdover: 2000 msec
Echo Cancellation Parameters:
Mode: LINE
Output: HANDS FREE
V.18A Tone Detect Parameters:
Hangover: 0
Threshold: 0
Fraction: 0
SS7 COT Tone Detect Parameters:
Hangover: 0
Threshold: 0
Fraction: 0
Single Frequency Signaling Tone Detect Parameters:
Hangover: 0
Threshold: 0
Fraction: 0
Tone Table:
Default
Caller ID Parameters:
Caller ID Number: 1
Caller ID Name: tcid0
Prefer Codec:
g723_53
_____
ggdbg>show coding
Configuration for coding profile id 1:
Tx Coding = G.711 MU
Rx Coding = G.711 MU
Coding profile for voice
Tx VIF size = 1280 (bits)
Rx VIF size = 1280 (bits)
VAD = Enabled
VAD threshold = Adaptive VAD
Playout nominal delay = 60 (msec)
Playout maximum delay = 120 (msec)
Playout minimum delay = 0 (msec)
Adaptive Playout = Adjust immediately
Rate = 14400
DTMF Relay = out-of-band:report to host, don't pass as voice
Tone detect = Enabled
Call Progress Tone detect = Disabled
V.18 Tone detect = Disabled
SS7 COT Tone detect = Disabled
SF Sig Tone detect = Disabled
EC = Enabled
EC NL = Enabled
EC NL Sens = 327
EC Tail = 8 (msec)
EC Refresh = Update
EC Coeffs = Normal
EC Auto Update = Disabled
EC Auto Search = Disabled
EC Search Freeze = Disabled
Modem TX level = 0 (dB)
Modem CD threshold = 0
Modem no activity timeout = 0 (sec)
Caller ID Support = Enabled
Resampling = Disabled
EC Config = NLP_FIXED
NLP Confort Noise = 65486
SID Retx Rate = 0
Encapsulation = RTP
Tx ssrc = 0
Tx start timestamp = 0
Rx ssrc = 0
Rx start timestamp = 0
Tx digit payload = 0
Rx digit payload = 0
Digit repetitions = 3
Secondary Decoder = Disabled
Configuration for coding profile id 2:
Tx Coding = G.711 A
Rx Coding = G.711 A
Coding profile for voice
Tx VIF size = 1280 (bits)
Rx VIF size = 1280 (bits)
VAD = Enabled
VAD threshold = Adaptive VAD
Playout nominal delay = 60 (msec)
Playout maximum delay = 120 (msec)
Playout minimum delay = 0 (msec)
Adaptive Playout = Adjust immediately
Rate = 14400
DTMF Relay = out-of-band:report to host, don't pass as voice
Tone detect = Enabled
Call Progress Tone detect = Disabled
V.18 Tone detect = Disabled
SS7 COT Tone detect = Disabled
SF Sig Tone detect = Disabled
EC = Enabled
EC NL = Enabled
EC NL Sens = 0
EC Tail = 8 (msec)
EC Refresh = Update
EC Coeffs = Normal
EC Auto Update = Disabled
EC Auto Search = Disabled
EC Search Freeze = Disabled
Modem TX level = 0 (dB)
Modem CD threshold = 0
Modem no activity timeout = 0 (sec)
Caller ID Support = Enabled
Resampling = Disabled
EC Config = Invalid (0)
NLP Confort Noise = 0
SID Retx Rate = 0
Encapsulation = RTP
Tx ssrc = 0
Tx start timestamp = 0
Rx ssrc = 0
Rx start timestamp = 0
Tx digit payload = 0
Rx digit payload = 0
Digit repetitions = 3
Secondary Decoder = Disabled
Configuration for coding profile id 3:
Tx Coding = G723 5.3 kbps
Rx Coding = G723 5.3 kbps
Coding profile for voice
Tx VIF size = 192 (bits)
Rx VIF size = 192 (bits)
VAD = Enabled
VAD threshold = 0 (dB) (relative to ref level of -30dBm)
Playout nominal delay = 60 (msec)
Playout maximum delay = 120 (msec)
Playout minimum delay = 0 (msec)
Adaptive Playout = Adjust immediately
Rate = 14400
DTMF Relay = out-of-band:report to host, don't pass as voice
Tone detect = Enabled
Call Progress Tone detect = Disabled
V.18 Tone detect = Disabled
SS7 COT Tone detect = Disabled
SF Sig Tone detect = Disabled
EC = Enabled
EC NL = Enabled
EC NL Sens = 327
EC Tail = 8 (msec)
EC Refresh = Update
EC Coeffs = Normal
EC Auto Update = Disabled
EC Auto Search = Disabled
EC Search Freeze = Disabled
Modem TX level = 0 (dB)
Modem CD threshold = 0
Modem no activity timeout = 0 (sec)
Caller ID Support = Enabled
Resampling = Disabled
EC Config = NLP_FIXED
NLP Confort Noise = 65486
SID Retx Rate = 0
Encapsulation = RTP
Tx ssrc = 0
Tx start timestamp = 0
Rx ssrc = 0
Rx start timestamp = 0
Tx digit payload = 0
Rx digit payload = 0
Digit repetitions = 3
Secondary Decoder = Disabled
Configuration for coding profile id 4:
Tx Coding = G723 6.3 kbps
Rx Coding = G723 6.3 kbps
Coding profile for voice
Tx VIF size = 192 (bits)
Rx VIF size = 192 (bits)
VAD = Enabled
VAD threshold = 0 (dB) (relative to ref level of -30dBm)
Playout nominal delay = 60 (msec)
Playout maximum delay = 120 (msec)
Playout minimum delay = 0 (msec)
Adaptive Playout = Adjust immediately
Rate = 14400
DTMF Relay = out-of-band:report to host, don't pass as voice
Tone detect = Enabled
Call Progress Tone detect = Disabled
V.18 Tone detect = Disabled
SS7 COT Tone detect = Disabled
SF Sig Tone detect = Disabled
EC = Enabled
EC NL = Enabled
EC NL Sens = 327
EC Tail = 8 (msec)
EC Refresh = Update
EC Coeffs = Normal
EC Auto Update = Disabled
EC Auto Search = Disabled
EC Search Freeze = Disabled
Modem TX level = 0 (dB)
Modem CD threshold = 0
Modem no activity timeout = 0 (sec)
Caller ID Support = Enabled
Resampling = Disabled
EC Config = NLP_FIXED
NLP Confort Noise = 65486
SID Retx Rate = 0
Encapsulation = RTP
Tx ssrc = 0
Tx start timestamp = 0
Rx ssrc = 0
Rx start timestamp = 0
Tx digit payload = 0
Rx digit payload = 0
Digit repetitions = 3
Secondary Decoder = Disabled
Configuration for coding profile id 5:
Tx Coding = G.729AB
Rx Coding = G.729AB
Coding profile for voice
Tx VIF size = 160 (bits)
Rx VIF size = 160 (bits)
VAD = Enabled
VAD threshold = 0 (dB) (relative to ref level of -30dBm)
Playout nominal delay = 60 (msec)
Playout maximum delay = 120 (msec)
Playout minimum delay = 0 (msec)
Adaptive Playout = Adjust immediately
Rate = 14400
DTMF Relay = Disabled
Tone detect = Enabled
Call Progress Tone detect = Disabled
V.18 Tone detect = Disabled
SS7 COT Tone detect = Disabled
SF Sig Tone detect = Disabled
EC = Enabled
EC NL = Enabled
EC NL Sens = 0
EC Tail = 8 (msec)
EC Refresh = Update
EC Coeffs = Normal
EC Auto Update = Disabled
EC Auto Search = Disabled
EC Search Freeze = Disabled
Modem TX level = -13 (dB)
Modem CD threshold = 0
Modem no activity timeout = 20 (sec)
Caller ID Support = Disabled
Resampling = Disabled
EC Config = Invalid (0)
NLP Confort Noise = 0
SID Retx Rate = 0
Encapsulation = RTP
Tx ssrc = 0
Tx start timestamp = 0
Rx ssrc = 0
Rx start timestamp = 0
Tx digit payload = 0
Rx digit payload = 0
Digit repetitions = 3
Secondary Decoder = Disabled
Configuration for coding profile id 6:
Tx Coding = T.38 FAX
Rx Coding = T.38 FAX
Coding profile for fax
Tx VIF size = 288 (bits)
Rx VIF size = 288 (bits)
VAD = Enabled
VAD threshold = Adaptive VAD
Playout nominal delay = 300 (msec)
Playout maximum delay = 300 (msec)
Playout minimum delay = 20 (msec)
Adaptive Playout = Disabled
Rate = 14400
DTMF Relay = Disabled
Tone detect = Enabled
Call Progress Tone detect = Disabled
V.18 Tone detect = Disabled
SS7 COT Tone detect = Disabled
SF Sig Tone detect = Disabled
EC = Disabled
EC NL = Disabled
EC NL Sens = 0
EC Tail = 8 (msec)
EC Refresh = Update
EC Coeffs = Normal
EC Auto Update = Disabled
EC Auto Search = Disabled
EC Search Freeze = Disabled
Modem TX level = -10 (dB)
Modem CD threshold = 1
Modem no activity timeout = 30 (sec)
Silence detection time = 0 (msec)
Silence detection level = 0 (dB)
Fax debug level = 0
TCF handling = Method 2 (Sent over the network)
Max low speed packetization = 1 (bytes)
Tx network timeout = 150 (sec)
Eflag start timer = 2600 (ms)
Eflag stop timer = 2300 (ms)
Scan line fix up = Enabled
Eflags for fast DIS = Enabled
TFOP proto enhancement = Enabled
NSF override = Disabled
T30 ECM = Disabled
T30 MR page compression = Disabled
T.38 Fax Parameters
-------------------
Fax high-speed packet rate = 10 (msec)
Fax low-speed redundancy for T.38 UDP = 3
Fax high-speed redundancy for T.38 UDP = 0
Caller ID Support = Disabled
Resampling = Disabled
EC Config = NLP_FIXED
NLP Confort Noise = 0
SID Retx Rate = 2000
Encapsulation = UDP
FYI Было бы не плохо сделать возможность прикрепления к сообшению файлов.