[Asterisk-Users] Receiving faxes with spandsp - strange problem

Bartosz Piec sip at piec.info
Fri Feb 3 04:26:20 MST 2006


Pierre Burton wrote:
> What's your cisco conf ? how did you transfert between Cisco and 
> asterisk ? A-law, U-law ??

This is part of my Cisco config:

voice-card 0
  no dspfarm
!
!
!
voice service voip
  sip
!
!
voice class codec 1
  codec preference 1 g711ulaw
  codec preference 2 g711alaw
  codec preference 3 g729r8 bytes 40
  codec preference 4 g723r63 bytes 96
  codec preference 5 g726r16 bytes 80
  codec preference 6 g726r24
  codec preference 7 g726r32
  codec preference 8 g728
  codec preference 9 gsmefr
  codec preference 10 gsmfr

voice vad-time 65536
!
voice translation-rule 1
  rule 1 /^0?/ //
!
voice translation-rule 2
  rule 2 /^1?2?/ //

voice translation-profile CutTwelve
  translate called 2
!
voice translation-profile CutZero
  translate calling 3
  translate called 1

voice-port 0/1/0:15
  echo-cancel coverage 32
  no comfort-noise
  music-threshold -70

dial-peer voice 1 pots
  translation-profile outgoing CutZero
  destination-pattern ^0
  direct-inward-dial
  port 0/1/0:15
!
dial-peer voice 2 voip
  description Route calls starting with 293 to centile
  translation-profile outgoing CutTwelve
  application session
  destination-pattern 1229339[60-79]
  voice-class codec 1
  session protocol sipv2
  session target ipv4:62.111.174.79
  dtmf-relay rtp-nte h245-signal h245-alphanumeric
!
sip-ua
  retry invite 3
  retry response 3
  retry bye 3
  retry cancel 3
  timers trying 1000
  sip-server ipv4:asterisk.ip.add.ress

As I understand, the preferred codec is ulaw.
Should I change something in this configuration?

-- 
Best regards,
Bartosz Piec



More information about the asterisk-users mailing list