Lol, thanks Rob :-)
I just saw that, its working properly now. Although, in the Trixbox
environment I had to use ${DID}, as ${EXTEN} just produced another s.
Now I just have to hope that my ugly FaxDispatch hack works as well
Just for those interested, heres what it looks like:
SENDTO=FaxMaster; # by default email to
FaxMaster
FILETYPE=tiff; # in PDF format
SENDTO=`links -dump http://devintranet/FaxNumberLookup.asp?DIDNum=$CALLID4 |
awk '{print $1}'`;
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob Hillis
Sent: 19 February 2008 10:43 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] IAXMODEM - NDID=s
You missed a slash.
v
exten => s,n(a42),Dial(${${HuntMember}/${EXTEN}}${ds})
^
Louwrens Benadé wrote:
Hi Greg
Thanks for the input. Just to make sure I dont break my system, could I run
the proposed changed by you?
exten => s,n(a42),Dial(${${HuntMember}}${ds}) produces this - -- Executing
[EMAIL PROTECTED]:38] Dial("Zap/29-1", "IAX2/1101|20|trM(auto-blkvm)") in new
stack
so the mod would look like this:
exten => s,n(a42),Dial(${${HuntMember}${EXTEN}}${ds})
am I reading it right?
Thanks
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Greg Kennedy
Sent: 18 February 2008 09:30 PM
To: [email protected]
Subject: Re: [asterisk-users] IAXMODEM - NDID=s
Are you not sending the exten to iaxmodem like this:
exten => xxxxxxxxxx,1,dial(IAX2/xxx/${EXTEN},30,r)
I had the same problem, routing wouldnt work, until i passed it the did like
above.
_____
> Message: 3
> Date: Mon, 18 Feb 2008 15:26:31 +0200
> From: Louwrens Benad? <mailto:[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
> Subject: [asterisk-users] IAXModem - NDID=s
> To: <mailto:[email protected]>
<[email protected]>
> Message-ID:
> <mailto:[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi guys
>
> I have a lovely little irritation on my hands. I?ve been trying to set up
> DID-based routing in Hylafax, and I?ve come across one hell of a headache:
>
> >From minicom:
>
> AT+VRID=1
> OK
>
> DATE=0218
>
> TIME=1524
>
> NAME=xxxxxxxxxx
>
> NMBR=xxxxxxxxxx
>
> ANID=<NONE>
>
> USER=<NONE>
>
> PASS=<NONE>
>
> CDID=<NONE>
>
> NDID=s
>
> What the hell!? Why is 'NDID=s'? I've noticed the dialplan is adding 's'
for
> Follow-Me'd and Ring Group'd calls as well, and I found the explanation
for
> that, but why on earth here?
>
> All I'm doing is forwarding a DID to the IAX extension and let iaxmodem
and
> hylafax handle the rest.
>
> Please, can anyone help?
>
>
>
>
_____
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users