List Info

Thread: Jumping to specific extension priority out of application




Jumping to specific extension priority out of application
user name
2007-01-31 08:31:02
Hi,

I'm developing my own an asterisk application. Conditional on the code in this application I want to jump to another priority (e.g. +10) in the current dialplan extension. How do I do this out of my application code?

Thank you,
Thomas
Am I the only unlucky?
user name
2007-01-31 08:42:10
I use realtime IAX peers from mysql database. On CLI
command
"iax2 prune realtime peername" asterisk 1.4.0
crashes with signal 6.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Re: Jumping to specific extension priority out of application
user name
2007-01-31 08:39:30
It's better to not use deprecated jumps, let your
application to set a 
variable like "APP_STATUS" and check the variable
value in dialplan after the 
application completes.

On Wednesday 31 January 2007 09:31, Thomas Hecker wrote:
> Hi,
>
> I'm developing my own an asterisk application.
Conditional on the code in
> this application I want to jump to another priority
(e.g. +10) in the
> current dialplan extension. How do I do this out of my
application code?
>
> Thank you,
> Thomas
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Re: Am I the only unlucky?
user name
2007-01-31 12:45:21
humm, do you have a backtrace? it may be best if you post it to the bug tracker..

On 1/31/07, Sergey Okhapkin < sossokhapkin.dyndns.org"> sossokhapkin.dyndns.org> wrote:
I use realtime IAX peers from mysql database. On CLI command
"iax2 prune realtime peername&quot; asterisk 1.4.0 crashes with signal 6.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
&nbsp;  http://lists.digium.com/mailman/listinfo/asterisk-dev

Re: Jumping to specific extension priority out of application
user name
2007-02-20 10:45:38
How do I set this variable?
I tried

ast_var_assign(&quot;APP_STATUS", "Status01");

but my dialplan extension
exten => 800,2,Verbose("App Status: ${APP_STATUS}")
prints no value.

Thank you!
Thomas

On 31/01/07, Sergey Okhapkin < sossokhapkin.dyndns.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> sossokhapkin.dyndns.org> wrote:
It's better to not use deprecated jumps, let your application to set a
variable like "APP_STATUS"; and check the variable value in dialplan after the
application completes.

On Wednesday 31 January 2007 09:31, Thomas Hecker wrote:
&gt; Hi,
>
&gt; I'm developing my own an asterisk application. Conditional on the code in
> this application I want to jump to another priority (e.g. +10) in the
> current dialplan extension. How do I do this out of my application code?
&gt;
> Thank you,
> Thomas
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
&nbsp;  http://lists.digium.com/mailman/listinfo/asterisk-dev

Re: Jumping to specific extension priority out of application
country flaguser name
United States
2007-02-20 11:29:13
On Tuesday 20 February 2007 10:45, Thomas Hecker wrote:
> How do I set this variable?
> I tried
>
> ast_var_assign("APP_STATUS",
"Status01");
>
> but my dialplan extension
> exten => 800,2,Verbose("App Status:
$")
> prints no value.

pbx_builtin_setvar_helper(chan, "APP_STATUS",
"status01");

-- 
Tilghman
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )