Hello,
I haev purchased recently a 2port beronet card.
I installed and configured it easily with sip clients
I am trying to setup asterisk for fax receiving
I tried msdn -> iax -> iaxmodem and
misdn -> SIP-ATA -> fax pstn machine
The error i always get is
Dropping incompatible voice frame on mISDN/1-u1 of format slin since our native format has changed to alaw
any tips?
Fishy
May 24, 2007, 10:16am
2
Are you using any particulair codecs? Fax only works with Ulaw, so any other codec would immediately destroy the use of fax.
i tried several codecs
The current configuration is
should i force only the usage of ulaw in [fax1]
in sip.conf?
Thank you
=== misdn.conf ===
[general]
debug=0
stop_tone_after_first_digit=yes
append_digits2exten=no
bridging=no
misdn_init=/etc/misdn-init.conf
[default]
context=misdn
language=en
nationalprefix=2
internationalprefix=030
rxgain=0.8
txgain=0.8
dialplan=0
[isdncard1]
echocancel=yes
always_immediate=yes
immediate=yes
ports=1,2
msns=*
context=misdn
faxdetect=both
faxdetect_context=misdn
[fax-extension]
echocancel=yes
always_immediate=yes
immediate=yes
ports=1,2
msns=*
context=misdn
faxdetect=both
faxdetect_context=misdn
=== sip.conf ====
…
[fax1]
type=friend
username=sip4
secret=fax1
host=dynamic
context=default
reinvite=no
canreinvite=no
qualify=1000
;dtmfmode=inband
callerid= "fax"
disallow=all
allow=alaw
allow=ulaw
allow=g726
dtmfmode=rfc2833
t38pt_udptl = yes
=== extensions.conf ===
…
exten => fax,1,misdn_set_opt(!e:vt0)
exten => fax,2,Dial(SIP/fax1)
exten => fax,3,Hangup
…
Fishy
May 24, 2007, 10:38am
4
[quote=“kissand”]i tried several codecs
The current configuration is
should i force only the usage of ulaw in [fax1]
in sip.conf?
Thank you
=== misdn.conf ===
[general]
debug=0
stop_tone_after_first_digit=yes
append_digits2exten=no
bridging=no
misdn_init=/etc/misdn-init.conf
[default]
context=misdn
language=en
nationalprefix=2
internationalprefix=030
rxgain=0.8
txgain=0.8
dialplan=0
[isdncard1]
echocancel=yes
always_immediate=yes
immediate=yes
ports=1,2
msns=*
context=misdn
faxdetect=both
faxdetect_context=misdn
[fax-extension]
echocancel=yes
always_immediate=yes
immediate=yes
ports=1,2
msns=*
context=misdn
faxdetect=both
faxdetect_context=misdn
=== sip.conf ====
…
[fax1]
type=friend
username=sip4
secret=fax1
host=dynamic
context=default
reinvite=no
canreinvite=no
qualify=1000
;dtmfmode=inband
callerid= "fax"
disallow=all
allow=alaw
allow=ulaw
allow=g726
dtmfmode=rfc2833
t38pt_udptl = yes
=== extensions.conf ===
…
exten => fax,1,misdn_set_opt(!e:vt0)
exten => fax,2,Dial(SIP/fax1)
exten => fax,3,Hangup
…
================[/quote]
Yeah try that, it’s possible now that the Fax wants to get another codec then Ulaw.