[asterisk-users] iaxmodem + hylafax w/ DID routing

Doug Lytle support at drdos.info
Sat Apr 5 07:03:58 CDT 2008


Edwin Lam wrote:
> in extensions.conf:
>
> exten => _XXXX,1,Dial(IAX2/iaxmodem0/${EXTEN}|20|r)
> exten => _XXXX,n,Dial(IAX2/iaxmodem1/${EXTEN}|20|r)
> exten => _XXXX,n,Busy
> exten => _XXXX,n,Hangup
>
> according to some documentations i've found $CALLID4
>
>   

Correct.  Here is my extensions.conf:


exten => _[4-8]XXX,1,Macro(faxreceive,${EXTEN})
exten => _[4-8]XXX,n,Hangup()


[macro-faxreceive]

exten => s,1,Dial(IAX2/iaxmodem.com01/${ARG1})
exten => s,n,Dial(IAX2/iaxmodem.com02/${ARG1})
exten => s,n,Dial(IAX2/iaxmodem.com03/${ARG1})
exten => s,n,Dial(IAX2/iaxmodem.com04/${ARG1})
exten => s,n,Dial(IAX2/iaxmodem.com05/${ARG1})

-- 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."




More information about the asterisk-users mailing list