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@from-pstn:1] Answer("DAHDI/i1/7623-10", "") in new stack
-- Executing [7527@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@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: [email protected]
To: [email protected]
Date: Mon, 28 Mar 2011 11:08:57 -0500
Subject: Re: [asterisk-users] s extension not working
From:
[email protected]
[mailto:[email protected]] 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