[asterisk-users] IAXMODEM - NDID=s

Louwrens Benadé louwrens at jasper.co.za
Tue Feb 19 02:49:36 CST 2008


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, here’s 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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] 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 don’t break my system, could I run
the proposed changed by you?

 

exten => s,n(a42),Dial(${${HuntMember}}${ds}) produces this - -- Executing
[s at macro-dial: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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Greg Kennedy
Sent: 18 February 2008 09:30 PM
To: asterisk-users at lists.digium.com
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:louwrens at jasper.co.za>
<louwrens at jasper.co.za>
> Subject: [asterisk-users] IAXModem - NDID=s
> To:  <mailto:asterisk-users at lists.digium.com>
<asterisk-users at lists.digium.com>
> Message-ID:
>  <mailto:mailman.21.1203357606.21853.asterisk-users at lists.digium.com>
<mailman.21.1203357606.21853.asterisk-users at lists.digium.com>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080219/6fbb5994/attachment.htm 


More information about the asterisk-users mailing list