[asterisk-users] 9 becomes 99 ? And other strangeness

Steven Totaro stotaro at bluehippo.com
Thu Sep 14 08:49:14 MST 2006


> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Brian Candler
> Sent: Thursday, September 14, 2006 10:44 AM
> To: radamson at routers.com; Asterisk Users Mailing List - Non-Commercial
> Discussion
> Subject: Re: [asterisk-users] 9 becomes 99 ? And other strangeness
> 
> On Thu, Sep 14, 2006 at 09:00:57AM -0500, Rich Adamson wrote:
> > >[outbound]
> > >exten => _9.,1,Dial(Zap/4/${EXTEN:1})             <<<< NOTE HERE
> > >exten => _9.,2,Congestion()
> > >exten => _9.,102,Congestion()
> > >
> >
> > Try replacing the first step above with:
> >  exten => _9.,1,Dial(Zap/4/w${EXTEN:1})
> >
> > Note the "w" in the above means wait for about a 1/4 second before
> > sending the number to the central office.
> >
> > Some central offices are not ready to receive digits as quickly as
> > asterisk sends them out.
> 
> Interesting feature, thank you, but I don't think that's the problem.
> 
> Notice that Asterisk's own log shows that it thinks the number called
is
> 99XXXXX and therefore dials out to 9XXXXX, where in fact I only
dialled
> 9XXXXX and so it should be dialling XXXXX.
> 
> Console:
> 
>     -- Starting simple switch on 'Zap/1-1'
>     -- Executing [9907974XXXXXX at internal:1] Dial("Zap/1-
> 1","Zap/4/907974XXXXXX") in new stack
>     -- Called 4/907974XXXXXX
>     -- Zap/4-1 answered Zap/1-1
>     -- Native bridging Zap/1-1 and Zap/4-1
>     -- Hungup 'Zap/4-1'
>   == Spawn extension (internal, 9907974XXXXXX, 1) exited non-zero on
> 'Zap/1-1'
>     -- Hungup 'Zap/1-1'
> 
> If this were consistent I could use ${EXTEN:2} to strip off the two
9's,
> but
> it isn't.
> 
> Regards,
> 
> Brian.

Are you dialing from a sip phone?  How is DTMF configured in asterisk?
How is configured on the phone?  What kind of phone are you using?

Thanks,
Steve


More information about the asterisk-users mailing list