I'm trying a T.37 config to send incoming fax via email to a server. Router returns unknown number, I have configured:
fax receive called-subscriber +1 907 xxxxxxx
fax interface-type fax-mail
mta send server 192.168.0.211 port 25
mta send postmaster bounce@xxxx.com
mta send mail-from hostname fax-service
application
service app-onramp flash:/tcl-ivr/app_faxmail_onramp.2.0.1.3.tcl
!
dial-peer voice 3899 pots
service app-onramp
incoming called-number 3890
direct-inward-dial
!
dial-peer voice 38991 mmoip
service fax_on_vfc_onramp_app out-bound
destination-pattern 3890
information-type fax
session target
mailto:pbevila@fastmail.fm
So i take debug voice application all and I get:
Feb 24 08:19:44.122: Incoming_guid : 00000000.00000000.00000000.00000000
Feb 24 08:19:44.122: //62//Dest:/AFW_M_Destination_Initiate: Outgoing gcid : 29A16460.01CE11DE.80200015.623A8228
Feb 24 08:19:44.122: Incoming_gcid : 00000000.00000000.00000000.00000000
Feb 24 08:19:44.122: //62//Dest:/DestSetupInitiate:
Feb 24 08:19:44.122: //62/29A164608020/AFW_:/AFW_Leg_GetTypeDetail: invalid interface
Feb 24 08:19:44.122: //62//Dest:/DestAddRerouteSetupInfo:
Feb 24 08:19:44.122: //62//Dest:/DestAddTransferSetupInfo:
Feb 24 08:19:44.122: //-1//AFW_:/AFW_Util_CopyCallDataToCallInfo: copied 3890
Feb 24 08:19:44.122: //62//PACK:/ParamRead: Reading param after-hours-exempt from callsetup
Feb 24 08:19:44.122: //-1//PACK:/ParamRead: Reading parameter after-hours-exempt for a script callsetup,
Feb 24 08:19:44.122: //-1//PACK:/ParamRead: appRegParams=0x4738141C dpParamArray=0x0 pMainParamArray=0x0
Feb 24 08:19:44.122: //-1//PACK:/ParamRead: Parameter for the script: callsetup has been read: after-hours-exempt
Feb 24 08:19:44.122: //-1//AFW_:/AFW_DataBoolean_Get:
Feb 24 08:19:44.122: //62//Dest:/DestMatchDialPeer:
Feb 24 08:19:44.122: //62//Dest:/DestMatchDialPeer: src carrier id:pri, tgt carrier id:
Feb 24 08:19:44.122: //62//Dest:/DestSetupInitiate: Did not match any peers
Feb 24 08:19:44.122: //62//Dest:/DestResetCallInfo:
Feb 24 08:19:44.122: //62//Dest:/DestComplete: peer #:0 IW State IW_STATE_INIT, OB State OB_STATE_INIT
Feb 24 08:19:44.122: //-1//Dest:/DestStatusFromDiscCause: mapped "unassigned number (1)"(1) to DEST_INVALID_NUMBER(4)
Feb 24 08:19:44.122: //-1//AFW_:/AFW_Event_New: Event ID: ev_destination_done
Why invalid number, invalid interface ???