Mathieu Chouquet-Stringer
2011-Apr-03 18:33 UTC
[asterisk-users] From 1.4 to 1.8: stdexten issue
Hello all, I'm in the middle of upgrading my asterisk setup to 1.8 (1.8.2.3) and I'm completely confused by the gosub/stdexten thing. I used to call the stdexten macro but I haven't been able to figure out how to use Gosub. I'm using the sample extensions.conf and added something like this: ========================[home] include => stdexten exten => 1,1,Gosub(${EXTEN},stdexten(SIP/phone1)) ======================== But if I call "1", all I get is: [Apr 3 18:20:51] NOTICE[9031]: pbx.c:4119 pbx_extension_helper: No such label 'stdexten' in extension '1' in context 'home' [Apr 3 18:20:51] WARNING[9031]: pbx.c:10174 pbx_parseable_goto: Priority 'stdexten' must be a number > 0, or valid label [Apr 3 18:20:51] ERROR[9031]: app_stack.c:411 gosub_exec: Gosub address is invalid: '1,stdexten(SIP/phone1)' I've googled and pretty much tried all forms of the syntax but I've yet to make it work. For instance I tried not including stdexten and calling Gosub with (stdexten,${EXTEN},1(SIP/phone1)) but it didn't work either... Can anyone sched some light here? I think I got lost trying to figure this out... What am I missing here? Best, -- Mathieu Chouquet-Stringer mathieu at csetco.com The sun itself sees not till heaven clears. -- William Shakespeare --
Mathieu Chouquet-Stringer <mathieu at csetco.com> writes:> I've googled and pretty much tried all forms of the syntax but I've yet > to make it work. For instance I tried not including stdexten and > calling Gosub with (stdexten,${EXTEN},1(SIP/phone1)) but it didn't work > either...stdexten in the default extensions.conf seems to only handle extensions with at least 2 digits... /Benny
Seemingly Similar Threads
- Asterisk 11 and stdexten written in AEL invoked by pbx_config
- lpxelinux.0 issues with larger initrd.img files from RHEL >= 7.5 on UCS servers?
- Troubles with Macro-stdexten and dial
- macro-stdexten question
- callforward with asterisk-gui.problem with stdexten