Hi again!

After many tries I got t38modem to connect with an Asterisk Server.
If I start the program with these parameters:

/usr/bin/t38modem -tttt --sip-listen udp\$0.0.0.0:6060 --sip-redundancy 3 --sip-register 1111@172.16.34.132,mysecret --no-h323 -n --ptty +/dev/ttyT38-0 --route "modem:.=sip:<dn>@172.16.34.132" --route "sip:.=modem:<dn>@172.16.34.132" --force-fax-mode -u 1111

I can connect to the server.
Well, now I need to send and receive Faxes...

If I start minicom on /dev/ttyT38-0 I can call a VoIP-phone for example with ATDT1234.
But when I answer to the call the connection will be dropped...
On the Asterisk logs I see:

[2015-05-17 16:38:49] VERBOSE[2183][C-00000002] app_dial.c: -- Connected line update to SIP/1234-00000002 prevented.
[2015-05-17 16:38:49] VERBOSE[2183][C-00000002] app_dial.c: -- SIP/1111-00000003 answered SIP/1234-00000002
[2015-05-17 16:38:50] VERBOSE[2183][C-00000002] pbx.c: -- Executing [h@macro-dial-one:1] Macro("SIP/1234-00000002", "hangupcall,") in new stack
[2015-05-17 16:38:50] VERBOSE[2183][C-00000002] pbx.c: -- Executing [s@macro-hangupcall:1] ExecIf("SIP/1234-00000002", "0?Set(CDR(recordingfile)=.wav)") in new stack
[2015-05-17 16:38:50] VERBOSE[2183][C-00000002] pbx.c: -- Executing [s@macro-hangupcall:2] GotoIf("SIP/1234-00000002", "1?theend") in new stack
[2015-05-17 16:38:50] VERBOSE[2183][C-00000002] pbx.c: -- Goto (macro-hangupcall,s,4)
[2015-05-17 16:38:50] VERBOSE[2183][C-00000002] pbx.c: -- Executing [s@macro-hangupcall:4] Hangup("SIP/1234-00000002", "") in new stack
[2015-05-17 16:38:50] VERBOSE[2183][C-00000002] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/1234-00000002' in macro 'hangupcall'
[2015-05-17 16:38:50] VERBOSE[2183][C-00000002] pbx.c: == Spawn extension (macro-dial-one, h, 1) exited non-zero on 'SIP/1234-00000002'
[2015-05-17 16:38:50] VERBOSE[2183][C-00000002] app_macro.c: == Spawn extension (macro-dial-one, s, 44) exited non-zero on 'SIP/1234-00000002' in macro 'dial-one'
[2015-05-17 16:38:50] VERBOSE[2183][C-00000002] app_macro.c: == Spawn extension (macro-exten-vm, s, 16) exited non-zero on 'SIP/1234-00000002' in macro 'exten-vm'
[2015-05-17 16:38:50] VERBOSE[2183][C-00000002] pbx.c: == Spawn extension (ext-local, 1111, 2) exited non-zero on 'SIP/1234-00000002'

The same if I call the T38 with a VoIP-phone.

Has someone a suggestion how can I solve my problem?

Thanks
Luca Bertoncello