[asterisk-users] sipura 3102 dial plan : (S0<:100>) not being answered on asterisk!
Roberto Milani
roberto.milani at sbcglobal.net
Mon May 26 21:42:04 CDT 2008
So...
it goes to extension 100,1
It answers
and then..
read what WaitExten() does
WaitExten (dialplan application)
ciao
Roberto
On May 26, 2008, at 9:59 AM, RoLaNd RoLaNd wrote:
>
> hey i just added it in ocntext spa, now it picks upt he phone, but
> when i try accessing extension 110 it gives me tht last error and
> then the line hangs up after a few seconds..
>
>
> == Connect attempt from '127.0.0.1' unable to authenticate
> -- Executing [100 at spa:1] Goto("SIP/101-b5f65f20", "sipura-line|
> 100|1") in new stack
> -- Goto (sipura-line,100,1)
> -- Executing [100 at sipura-line:1] Answer("SIP/101-b5f65f20", "")
> in new stack
> -- Executing [100 at sipura-line:2] WaitExten("SIP/101-b5f65f20",
> "10") in new stack
> [May 26 19:53:26] WARNING[27678]: pbx.c:2494 __ast_pbx_run: Invalid
> extension '11', but no rule 'i' in context 'sipura-line'
>
>
>
> From: roberto.milani at sbcglobal.net
> To: asterisk-users at lists.digium.com
> Date: Mon, 26 May 2008 09:23:54 -0700
> Subject: Re: [asterisk-users] sipura 3102 dial plan : (S0<:100>) not
> being answered on asterisk!
>
> Why do you expect anything different?
> Exten => _1XX,1,Dial(SIP/${EXTEN})
>
> Dial means Dial
> and it is Dialing.
>
> Exten => _1XX,1,Dial(SIP/${EXTEN})
>
> in spa context might be changed into
>
> exten => _1XX,1,GoTo(sipura-line,${EXTEN},1)
>
> Ciao
> Roberto
>
> On May 26, 2008, at 8:34 AM, RoLaNd RoLaNd wrote:
>
> sip.conf:
>
>
> [100]
>
> secret=1234
> allow=all
> host=dynamic
> type=friend
> context=sipura-line
>
> [101]
>
> secret=1234
> allow=all
> host=dynamic
> type=friend
> context=spa
>
> [103]
>
> secret=1234
> allow=all
> host=dynamic
> type=friend
> context=spa
>
>
>
>
>
> extensions.conf:
>
>
> [sipura-line]
> exten => 100,1,Answer() ; Answer inbound calls
> exten => 100,2,Playback(silence/1)
> exten => 100,3,Background(/etc/asterisk/simzy.wav) ; input an
> extension
> exten => 100,n,WaitExten(5) ; Adjust wait, default 5 sec
> exten => 100,n,Goto(internal,${EXTEN},1) ; Goto the correct extension
> exten => 100,n,Hangup() ; End the call
>
> [spa]
> Exten => _1XX,1,Dial(SIP/${EXTEN})
> exten => _0.,1,Dial(SIP/101/${EXTEN:1})
>
>
> sip debug:
>
>
> == Connect attempt from '127.0.0.1' unable to authenticate
> -- Executing [100 at spa:1] Dial("SIP/101-b5f65a78", "SIP/100") in
> new stack
> -- Called 100p*CLI>
> -- SIP/100-08234f40 is ringing
>
>
>
> and on sipura 3102, ive set in the dial plan that PSTN to VOIP is
> directed to: (S0<:100>)
>
>
> the phone keeps on ringing, on 100 i could see it ringing in the CLI
> as u see above, but it doesnt get picked up to run the audio msg ive
> set in the extensions.conf
>
> Explore the seven wonders of the world Learn more!
> _______________________________________________
> -- 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
>
>
> Get news, entertainment and everything you care about at Live.com.
> Check it out!_______________________________________________
> -- 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/20080526/91b5f572/attachment.htm
More information about the asterisk-users
mailing list