Hi. I am using #include to include a file in
extensions.conf. I have an agi perl script which modifies the #included
file and then forces an asterisk reload with 'system("asterisk -rx
reload")';
After the reload I use set_context,
set_extension and set_priority to tell asterisk where I want it to carry on from
which is line 2 of the following.
exten => *80,1,AGI(bla.pl,
${EXTEN})
exten =>
*80,2,Background(please_wait_while)
exten => *80,3,Hangup
This works some of the time. However at other times
the sip channel remains active and somehow asterisk doesn't find its way to line
2 after the reload (although the reload still happens). So I don't get by
Background or Hangup being executed some of the time.
Can anyone point me in some direction with how to
debug this intermittent behaviour further?
Does anyone know of any issues with an agi
script forcing a reload in this way?
Cheers
M
|
- Re: [Asterisk-Users] agi script forcing asterisk reload Muhammad Nasim
- Re: [Asterisk-Users] agi script forcing asterisk r... Steven Critchfield
- Re: [Asterisk-Users] agi script forcing asteri... Muhammad Nasim
- Re: [Asterisk-Users] agi script forcing as... Steven Critchfield
- Re: [Asterisk-Users] agi script forcin... Muhammad Nasim