ooh323 and iaxmodem

Discussion in 'General' started by vale59, Apr 20, 2010.

  1. vale59

    Joined:
    Apr 17, 2010
    Messages:
    6
    Likes Received:
    0
    Hi, my serverElastix is interfaced with an Avaya office ... I
    configured a trunk ooh323like this:

    [general]
    faststart=yes
    h425inSetup=yes
    h245Tunnelling=yes
    port=1720
    bindaddr = 0.0.0.0
    gateway=no
    gatekeeper = DISABLE
    ;UserByAlias=no
    Context=INTERNO
    ;----------------------------------------
    ; La parte che segue è fondamentale
    ; per il funzionamento del Trunk.
    ; Bisogna abilitare solo una codifica
    ; che potra essere ulaw/alaw
    disallow=all
    Allow=ulaw
    ;-----------------------------------------
    musiconhold=default
    ;
    ;
    ; Qui definiamo il Trunk vero è proprio
    ; con la Ip Office
    [ipoffice]
    type=peer
    context=INTERNO
    host=192.168.65.240
    port=1720
    ip=192.168.65.240
    allow=ulaw
    canreinvite=no



    and iax extensions connected to the virtual
    fax. So if I send a fax from a number Avaya iaxmodem respond but does
    and il log of elastisx fax is not activate the connection. Avaya fax reports an error type "noisy line" and this is the log of hylafax

    Mar 31 19:35:40.19: [ 2678]: SESSION BEGIN 000000058 390226142527
    Mar 31 19:35:40.19: [ 2678]: HylaFAX (tm) Version 4.3.9
    Mar 31 19:35:40.19: [ 2678]: CallID: "0226413482" "0226413482" "<NONE>" "s"
    Mar 31 19:35:40.19: [ 2678]: <-- [4:ATA\r]
    Mar 31 19:35:43.91: [ 2678]: --> [7]
    Mar 31 19:35:43.91: [ 2678]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyIAX1'
    Mar 31 19:35:43.91: [ 2678]: STATE CHANGE: ANSWERING -> RECEIVING
    Mar 31 19:35:43.91: [ 2678]: RECV FAX: begin
    Mar 31 19:35:43.91: [ 2678]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 2C 74 CC 74 9C>
    Mar 31 19:35:43.91: [ 2678]: <-- data [32]
    Mar 31 19:35:43.91: [ 2678]: <-- data [2]
    Mar 31 19:35:44.87: [ 2678]: --> [7]
    Mar 31 19:35:44.87: [ 2678]: <-- HDLC<23:FF C0 02 4C 0C 04 9C CC D4 04 04 04 04 04 04 04 04 04 04 04 04 04 04>
    Mar 31 19:35:44.87: [ 2678]: <-- data [23]
    Mar 31 19:35:44.87: [ 2678]: <-- data [2]
    Mar 31 19:35:45.61: [ 2678]: --> [7]
    Mar 31 19:35:45.61: [ 2678]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 18>
    Mar 31 19:35:45.61: [ 2678]: <-- data [13]
    Mar 31 19:35:45.61: [ 2678]: <-- data [2]
    Mar 31 19:35:46.19: [ 2678]: --> [2]
    Mar 31 19:35:46.19: [ 2678]: <-- [9:AT+FRH=3\r]
    Mar 31 19:35:53.19: [ 2678]: --> [0:]
    Mar 31 19:35:53.19: [ 2678]: MODEM <Empty line>
    Mar 31 19:35:53.19: [ 2678]: MODEM TIMEOUT: waiting for v.21 carrier
    Mar 31 19:35:53.19: [ 2678]: <-- data [1]
    Mar 31 19:35:53.19: [ 2678]: --> [2:]
    Mar 31 19:35:53.19: [ 2678]: --> [2]
    Mar 31 19:35:53.19: [ 2678]: DELAY 1500 ms
    Mar 31 19:35:54.69: [ 2678]: <-- [9:AT+FTH=3\r]
    Mar 31 19:35:54.71: [ 2678]: --> [7]
    Mar 31 19:35:54.71: [ 2678]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 2C 74 CC 74 9C>
    Mar 31 19:35:54.71: [ 2678]: <-- data [32]
    Mar 31 19:35:54.71: [ 2678]: <-- data [2]
    Mar 31 19:35:56.52: [ 2678]: --> [7]
    Mar 31 19:35:56.52: [ 2678]: <-- HDLC<23:FF C0 02 4C 0C 04 9C CC D4 04 04 04 04 04 04 04 04 04 04 04 04 04 04>
    Mar 31 19:35:56.52: [ 2678]: <-- data [23]
    Mar 31 19:35:56.52: [ 2678]: <-- data [2]
    Mar 31 19:35:57.27: [ 2678]: --> [7]
    Mar 31 19:35:57.27: [ 2678]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 18>
    Mar 31 19:35:57.27: [ 2678]: <-- data [13]
    Mar 31 19:35:57.27: [ 2678]: <-- data [2]
    Mar 31 19:35:57.86: [ 2678]: --> [2]
    Mar 31 19:35:57.86: [ 2678]: <-- [9:AT+FRH=3\r]
    Mar 31 19:36:04.86: [ 2678]: --> [0:]
    Mar 31 19:36:04.86: [ 2678]: MODEM <Empty line>
    Mar 31 19:36:04.86: [ 2678]: MODEM TIMEOUT: waiting for v.21 carrier
    Mar 31 19:36:04.86: [ 2678]: <-- data [1]
    Mar 31 19:36:04.88: [ 2678]: --> [2:]
    Mar 31 19:36:04.88: [ 2678]: --> [2]
    Mar 31 19:36:04.88: [ 2678]: DELAY 1500 ms
    Mar 31 19:36:06.38: [ 2678]: <-- [9:AT+FTH=3\r]
    Mar 31 19:36:06.39: [ 2678]: --> [7]
    Mar 31 19:36:06.39: [ 2678]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 2C 74 CC 74 9C>
    Mar 31 19:36:06.39: [ 2678]: <-- data [32]
    Mar 31 19:36:06.39: [ 2678]: <-- data [2]
    Mar 31 19:36:08.23: [ 2678]: --> [7]
    Mar 31 19:36:08.23: [ 2678]: <-- HDLC<23:FF C0 02 4C 0C 04 9C CC D4 04 04 04 04 04 04 04 04 04 04 04 04 04 04>
    Mar 31 19:36:08.23: [ 2678]: <-- data [23]
    Mar 31 19:36:08.23: [ 2678]: <-- data [2]
    Mar 31 19:36:09.00: [ 2678]: --> [7]
    Mar 31 19:36:09.00: [ 2678]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 18>
    Mar 31 19:36:09.00: [ 2678]: <-- data [13]
    Mar 31 19:36:09.00: [ 2678]: <-- data [2]
    Mar 31 19:36:09.60: [ 2678]: --> [2]
    Mar 31 19:36:09.60: [ 2678]: <-- [9:AT+FRH=3\r]
    Mar 31 19:36:16.60: [ 2678]: --> [0:]
    Mar 31 19:36:16.60: [ 2678]: MODEM <Empty line>
    Mar 31 19:36:16.60: [ 2678]: MODEM TIMEOUT: waiting for v.21 carrier
    Mar 31 19:36:16.60: [ 2678]: <-- data [1]
    Mar 31 19:36:16.61: [ 2678]: --> [2]
    Mar 31 19:36:16.61: [ 2678]: DELAY 1500 ms
    Mar 31 19:36:18.11: [ 2678]: <-- [9:AT+FTH=3\r]
    Mar 31 19:36:18.11: [ 2678]: --> [10:NO CARRIER]
    Mar 31 19:36:18.11: [ 2678]: DELAY 1500 ms
    Mar 31 19:36:19.62: [ 2678]: <-- [9:AT+FTH=3\r]
    Mar 31 19:36:19.62: [ 2678]: --> [5]
    Mar 31 19:36:19.62: [ 2678]: RECV FAX: RSPREC error/got EOT
    Mar 31 19:36:19.62: [ 2678]: RECV FAX: end
    Mar 31 19:36:19.62: [ 2678]: SESSION END

    What can I do to fix this?
    Thanks

    p.s.
    I apologize for my bad English. Nobody speaks Italian?
     
  2. siouxes

    Joined:
    Nov 25, 2009
    Messages:
    5
    Likes Received:
    0
    Ciao vale59,

    la macchina asterisk e la centrale avaya, come sono interconnesse? Tra le due c'è un collegamento interno (tipo allo stesso switch) o si trovano fisicamente in luoghi differenti (e quindi i dati passano per router o peggio collegamenti wan) ?

    Poi, non vorrei sbagliare, ma nella definizione del peer, hai messo 'allow=ulaw' senza farlo precedere da 'disallow=all'; per come e' adesso, la centrale avaya potrebbe richiedere un codec con compressione (tipo g.729 o g.723) cosa che con le chiamate fax fa' un po' a cazzotti.

    Saluti

    Simone.

    ----------------------------------------------------------------------------------------
    english translation:
    ----------------------------------------------------------------------------------------
    Hi Vale59,

    how the asterisk machine and the avaya pbx are interconnected? are they connected via LAN (same switch) or via WAN (switch router and so on) ?

    Regarding your config (if i am not wrong) you haven't put 'disallow=all' before 'allow=ulaw'; in this way, the avaya pbx is allowed to request a compressed codec such as g.729 or g.732... that is not good for fax over ip.

    BR

    Simone.
     
  3. vale59

    Joined:
    Apr 17, 2010
    Messages:
    6
    Likes Received:
    0
    Ciao Simone,
    il server Elastix è collegato direttamente al server Avaya tramite uno switch .... Per superare il problema dei codec ho provato ad attivare il t38pt_udptl nel sip.conf e configurare il udptl.conf ma non riesco ancora e ricevere fax e questo è un pezzo del log di hylafax


    [ 2675]: --> [7]
    [ 2675]: <-- data [13]
    [ 2675]: <-- data [2]
    [ 2675]: --> [2]
    [ 2675]: <-- [9:AT+FRH=3\r]
    [ 2675]: --> [2:]
    [ 2675]: --> [10:NO CARRIER]
    [ 2675]: MODEM No carrier
    [ 2675]: RECV FAX: No answer (T.30 T1 timeout)
    [ 2675]: RECV FAX: end
    [ 2675]: SESSION END

    Come posso rivolevere il problema T.30 T1 timeout ?
    Installare il t38modem potrebbe essermi d'aiuto?
    o sarebbe meglio provare questa patch "https://issues.asterisk.org/view.php?id=13405"
    grazie mille per l'attenzione e l'aiuto
    vale


    ----------------------------------------------------------------------------------------
    english translation:
    ----------------------------------------------------------------------------------------

    Hi Simone,
    the Elastix server is connected directly to the server through an Avaya switch .... To overcome the problem of codec I tried to activate and configure the sip.conf t38pt_udptl in udptl.conf but I still can not and receive faxes and this is a piece of log hylafax

    [ 2675]: --> [7]
    [ 2675]: <-- data [13]
    [ 2675]: <-- data [2]
    [ 2675]: --> [2]
    [ 2675]: <-- [9:AT+FRH=3\r]
    [ 2675]: --> [2:]
    [ 2675]: --> [10:NO CARRIER]
    [ 2675]: MODEM No carrier
    [ 2675]: RECV FAX: No answer (T.30 T1 timeout)
    [ 2675]: RECV FAX: end
    [ 2675]: SESSION END

    How can the problem rivolevere T.30 T1 timeout?
    Install t38modem could help me?
    Or would be better to test this patch https://issues.asterisk.org/view.php?ID13405

    Thanks for the attention and help
    Vale
     

Share This Page