![]() |
* Lee Howard <faxguy@xxxxxxxxxxxxxxxx> [051003 09:58]:how to extract job owner? i've looked into job.h and there is no user/uid structure.
If all you're trying to do is to set the Caller*ID information then you can do that in your Asterisk PBX. Think about prefixing your dialstring with a specific code per-user... the PBX uses this information to set Caller*ID and to produce a true dialstring.
Most modems don't have a way to set the Caller*ID values, so for the most part you'll have to do something similar to the above in order to reuse modems with different users. IAXmodem will eventually have the capability to set the Caller*ID information with AT commands, but most modems don't and won't ever likely.
Other devices (like t38modem) are using a cid@did format for the "dial
string"... Using something like that, it would be easy to use a faxsend
wrapper which would specify a different "ModemDialCmd" based on who the
job owner is, and make your device "dial" something like:
ATDTcid@1NXXNXXXXXX
____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*