[asterisk-users] s extension not working
satish patel
satish_lx at hotmail.com
Mon Mar 28 13:33:33 CDT 2011
@Sherwood,
I was also thinking about that.... But then how 's' extension match any unknown number ? Like when call coming from PSTN then how IVR picked up...?
-Satish
> Date: Mon, 28 Mar 2011 12:58:28 -0500
> From: sherwood.mcgowan at gmail.com
> To: asterisk-users at lists.digium.com
> Subject: Re: [asterisk-users] s extension not working
>
> Uhm....
>
> That's because you're being passed 7527 as the extension, so it won't
> match "s"
>
> On 3/28/2011 11:38 AM, satish patel wrote:
> > If i use 's' then i got following error. This scenario is back to
> > back asterisk connected on PRI line (T1). for testing purpose i
> > calling from one asterisk to other and i want to land call on 's'
> > extension.
> >
> > shirley*CLI>
> > -- Extension '7527' in context 'from-pstn' from '7623' does not
> > exist. Rejecting call on channel 0/1, span 1
> >
> >
> >
> >
> > If i use _XXX then it working with following output.
> >
> > shirley*CLI>
> > -- Accepting call from '7623' to '7527' on channel 0/1, span 1
> > -- Executing [7527 at from-pstn:1] Answer("DAHDI/i1/7623-10", "") in
> > new stack
> > -- Executing [7527 at from-pstn:2] Playback("DAHDI/i1/7623-10",
> > "hello-world") in new stack
> > -- <DAHDI/i1/7623-10> Playing 'hello-world.ulaw' (language 'en')
> > -- Executing [7527 at from-pstn:3] Hangup("DAHDI/i1/7623-10", "") in
> > new stack
> > == Spawn extension (from-pstn, 7527, 3) exited non-zero on
> > 'DAHDI/i1/7623-10'
> > -- Hungup 'DAHDI/i1/7623-10'
> >
> >
> >
> > ------------------------------------------------------------------------
> > From: danny at debsinc.com
> > To: asterisk-users at lists.digium.com
> > Date: Mon, 28 Mar 2011 11:08:57 -0500
> > Subject: Re: [asterisk-users] s extension not working
> >
> > ------------------------------------------------------------------------
> >
> > *From:*asterisk-users-bounces at lists.digium.com
> > [mailto:asterisk-users-bounces at lists.digium.com] *On Behalf Of *satish
> > patel
> > *Sent:* Monday, March 28, 2011 11:04 AM
> > *To:* asterisk-users
> > *Subject:* [asterisk-users] s extension not working
> >
> >
> >
> > Hey Guys!
> >
> > I have asterisk 1.8.x and somehow my 's' extension not picking up any
> > incoming calls..
> >
> > Not working
> >
> > [from-pstn]
> > exten => s,1,Answer()
> > same => n,Playback(hello-world)
> > same => n,Hangup()
> >
> >
> >
> >
> > Working...
> >
> > [from-pstn]
> > exten => _XXXX,1,Answer()
> > same => n,Playback(hello-world)
> > same => n,Hangup()
> >
> >
> > -S
> >
> >
> >
> > Ok Satish. I assume sip.conf or dahdi.conf has a context of
> > from-pstn. The key to actually solving this will be for you to give
> > us say 10 lines of CLI output.
> >
> >
> > --
> > _____________________________________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> > New to Asterisk? Join us for a live introductory webinar every Thurs:
> > http://www.asterisk.org/hello 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 --
> > New to Asterisk? Join us for a live introductory webinar every Thurs:
> > http://www.asterisk.org/hello
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
>
> --
> Sherwood McGowan <sherwood.mcgowan at gmail.com>
> Carrier, ITSP, Call Center, and PBX Solutions Consultant
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> 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/20110328/d947cac2/attachment.htm>
More information about the asterisk-users
mailing list