Is your network/firewall configuration permitting the ports for UDPTL, runn the command: udptl show config

   UDPTL Global options
   --------------------
   udptlstart:      4000
   udptlend:        4999
   udptlfecentries: 3
   udptlfecspan:    3
   use_even_ports:  No
   udptlchecksums: Yes

In your sip configuration for your 'mytrunk' peer have you set applicable options e.g.:

   t38pt_udptl=yes,redundancy,maxdatagram=400

In your extensions.conf you could and probably should set the following option prior to dialing the IAX channel, this is to enable the T.38 gateway feature of Asterisk 11:

   Set(FAXOPT(gateway)=yes)

I have it working in my installation however I have incoming voice calls too hence I use 'faxdetect' to direct the call to the 'fax' extension.

Cheers,

Larry.

On 12/11/2016 5:24 AM, tux john wrote:
hi. i am using asterisk 11.24.1 in my raspberry. i do have a sip trunk with a provider with g711a. I am trying to setup a fax server by following the guide in http://the-asterisk-book.com/1.6/faxserver.html.
i do live in Greece and the number is 00302112152130
the problem is that i am getting the following error and i am stuck:
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
-- Executing [00302112152130@fax-in:1] Dial("SIP/mytrunk-00000001", "IAX2/iaxmodem") in new stack
    -- Called IAX2/iaxmodem
    -- Hungup 'IAX2/iaxmodem-3818'
  == Everyone is busy/congested at this time (1:0/0/1)
-- Auto fallthrough, channel 'SIP/mytrunk-00000001' status is 'CHANUNAVAIL'
RasPBX*CLI>
the extensions.conf has
[fax-in]
exten => 00302112152130,1,Dial(IAX2/iaxmodem)
any ideas, please?



-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to