[asterisk-dev] Odd behavior in stdexten
Philip Prindeville
philipp_subx at redfish-solutions.com
Tue Sep 8 01:04:24 CDT 2009
I just bumped to 1.6.1.6 and picked up:
http://svn.digium.com/view/asterisk?view=rev&rev=152765
But I'm seeing:
-- Executing [s at redfish-pstn:27] Gosub("SIP/sip_proxy-08498060", "stdexten(111,SIP/bedroom_1&SIP/office_2&SIP/remote_2&SIP/kitchen_1&Local/@follow-me&SIP/softphone,redfish)") in new stack
[Sep 7 23:33:34] NOTICE[7367]: pbx.c:3233 pbx_extension_helper: No such label 'stdexten' in extension 's' in context 'redfish-pstn'
[Sep 7 23:33:34] WARNING[7367]: pbx.c:8998 pbx_parseable_goto: Priority 'stdexten' must be a number > 0, or valid label
[Sep 7 23:33:34] ERROR[7367]: app_stack.c:279 gosub_exec: Gosub address is invalid: 'stdexten(111,SIP/bedroom_1&SIP/office_2&SIP/remote_2&SIP/kitchen_1&Local/@follow-me&SIP/softphone,redfish)'
The relevant part of the dialplan looks like:
[redfish-pstn]
include => stdexten
exten => s,1(incoming),NoOp()
...
exten => s,n,Wait(0.5) ; in case signalling is faster
; than media channel
; establishment
...
exten => s,n,Gosub(stdexten(111,${PHILIP},redfish))
exten => s,n(end),Hangup()
...
; list of extensions
exten => _#,1(pound),NoOp(Directory)
exten => _#,n,Background(rd-philip111&rd-office112&rd-urgent114&rd-fax115)
exten => _#,n,Goto(s,exten)
include => redfish-extens
...
So I'm a little confused why this used to work but now doesn't.
What am I missing?
Thanks,
-Philip
More information about the asterisk-dev
mailing list