[Asterisk-Users] Fax and codecs preferences to PSTN
René Mayorga
rmayorga at saltel.com
Wed Jun 1 10:05:10 MST 2005
Hi,
I have an asterisk running with a passtrought conf with G729,
when I try to send a fax from SIP to SIP the ATAs make a good codec
negociation and the fax transmicion is OK,
But when I try to send the fax to PSTN fax machine
(SIP --> AS5400 --> PSTN)
The ATA Device try to send the RTP with G711ulaw and the Cisco keep
answereing with G729
a snip some part of my confs.
< sip.conf >
[general]
port=5060
bindaddr=0.0.0.0
context=default
allow=g729
.
.
.
[22194007]
type=friend
host=dynamic
secret=22194007
canreinvite=yes
callerid=ATA Sipura FAX <22194007>
.
.
.
[as5400]
type=friend
host=XXX.XXX.XXX.XXX
canreinvite=yes
insecure=yes
insecure=very
qualify=yes
</sip.conf>
<as5400>
dial-peer voice 999001 pots
description PRUEBAS SIP
max-conn 3
destination-pattern 65732.%
progress_ind alert enable 8
port 7/5:D
!
dial-peer voice 999000 voip
description PRUEBAS SIP
destination-pattern 2219400.
session protocol sipv2
session target sip-server
dtmf-relay h245-alphanumeric
fax-relay ecm disable
fax rate 9600
fax nsf 000000
fax protocol pass-through g711alaw
no vad
</as5400>
Thanks in advance
--
René Mayorga
Internet & Data
El Salvador Telecom S.A. de S.V.
Tel:(503) 2247-7246
(503) 2247-7156
Cel:(503) 7962-8205
More information about the asterisk-users
mailing list