[VoIP] Macro-invalid

Greg Blakely greg at vyger.net
Wed Feb 28 22:56:05 CST 2007


For those of you who want to fine tune your dial-cnet macro to be as
informational as possible to the caller using your asterisk box or
portal...

I've recently set up tandem.ckts.info with different recordings based on
different outcomes of the dial-cnet macro. (e.g., CHANUNAVAIL, BUSY,
etc).

It sends CONGESTION and CHANUNAVAIL results to an "all circuits are busy
now" recording.  It sends failed enum lookups to "The number you have
reached, yada yada yada, is not in service).

And, if we get back a BUSY result rather than a busy signal from the
distant end, we'll generate our own busy signal.

Rather than clog this forum with those macros, I'll leave them on the
tandem's website.

First, the dial-cnet macro, which I have named [macro-dc], can be found
at http://tandem.ckts.info/macro-dc.inc.
Next, the "jane" recordings can be found at
http://tandem.ckts.info/jane.tar.gz.
(Untar it in the / directory, and it will be put in the proper spot for
asterisk to find it).

There are two macros referred to from within macro-dc.  They are
"fastbusy" and "invalid-cnet".
They can be found at http://tandem.ckts.info/macro-fastbusy.inc and
http://tandem.ckts.info/macro-invalid-cnet.inc.

There may be sound files missing.  If so, let me know, and I'll round
them up for you.


> -----Original Message-----
> From: voip-bounces at ckts.info [mailto:voip-bounces at ckts.info] 
> On Behalf Of John Novack
> Sent: Wednesday, February 28, 2007 7:35 PM
> To: Voice Over IP Tandem for Analog Switches
> Subject: Re: [VoIP] Macro-invalid
> 
> Some adjusts may need to be made as not everyone has the 
> sound files we do, Lee We have a Jane Barbe recording with 
> SIT tones at the beginning.
> Seems to me this $macro_exten thing was introduced somewhere 
> in the life of 1.2.x
> 
> John Novack
> 
> Lee Spenadel wrote:
> > Many of us are using cloned copies of Asterisk 
> configuration files.  
> > I've noticed that when I call some tandems I get the intercept "the 
> > number you have reached". whereby no digits of the invalid called 
> > number are read back to the caller.  I find it useful to hear these 
> > digits so that I can make sure that I correctly dialed the number.
> >
> >  
> >
> > For those of you who are interested, I fixed this problem 
> in my PBX, 
> > which is running 1.2.13.  I commented out parts of the code 
> that were not needed.
> >
> >
> >  
> >
> >  
> >
> >  
> >
> >  
> >
> > [macro-invalid]
> >
> >  
> >
> > exten => s,1,Answer
> >
> > exten => s,n,Wait(1)
> >
> > ;exten => s,n,Playtones(480*20/2000,0/4000)
> >
> > ;exten => s,n,Wait(1)
> >
> > ;exten => s,n,Playtones(!950/330,!1400/330,!1800/330,0)
> >
> > ;exten => s,n,Wait(1)
> >
> > ;exten => s,n,Playback(discon-or-out-of-service)
> >
> > exten => s,n,Playback(the-number-u-have-reached)
> >
> > exten => s,n,Wait(1)
> >
> > ;exten => s,n,SayDigits(${ARG1})
> >
> > ;exten => s,n,SayDigits(${ENUM})(${ARG1})
> >
> > exten => s,n,SayDigits(${MACRO_EXTEN})        ;only way I 
> could get this to
> > work!
> >
> > ;exten => s,n,SayDigits(${ARG1:2:3})
> >
> > ;exten => s,n,SayDigits(${EXTEN})   
> >
> > ;exten => s,n,SayDigits(${ENUM})(1234567890)
> >
> > exten => s,n,Playback(is-not-in-service)
> >
> > exten => s,n,Wait(5)
> >
> > exten => s,n,Hangup
> >
> >  
> >
> >  
> >
> >  
> >
> >  
> >
> >  
> >
> > If your car could travel at the speed of light, would your 
> headlights work?
> >
> >  
> >
> > _______________________________________________
> > VoIP mailing list
> > VoIP at ckts.info
> > http://lists.ckts.info/mailman/listinfo/voip
> > Project Web Page: http://www.ckts.info/
> >
> >   
> _______________________________________________
> VoIP mailing list
> VoIP at ckts.info
> http://lists.ckts.info/mailman/listinfo/voip
> Project Web Page: http://www.ckts.info/
> 
> 


More information about the VoIP mailing list