Maybe unusual question but would it be possible to change the modem phone number on a per job basis ?
I would like to use it for different users with their own incoming fax numbers. Would be nice to send their faxes with the corresponding numbers in addition to TSI.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So, you could either set ModemSetOriginCmd from your JobControl script or you could rely on the fax clients to set "faxnumber" and "faxname" appropriately. Those two values get passed to Asterisk as the CallerID Number and CallerID Name.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
Maybe unusual question but would it be possible to change the modem phone number on a per job basis ?
I would like to use it for different users with their own incoming fax numbers. Would be nice to send their faxes with the corresponding numbers in addition to TSI.
Yes. Use JobControl. See:
https://hylafax.sourceforge.io/man/jobcontrol.php
There are very few configuration features that cannot be altered via JobControl for outbound faxing.
That's wonderful, thanks!
Maybe i should ask this on the iaxmodem forums but do you know how to get this variable CID used by iaxmodem too ?
In the HylaFAX modem config file for the iaxmodems put:
The 'hylafax-config' man page says:
So, you could either set ModemSetOriginCmd from your JobControl script or you could rely on the fax clients to set "faxnumber" and "faxname" appropriately. Those two values get passed to Asterisk as the CallerID Number and CallerID Name.