[Asterisk-Users] Realtime goto problem

Pedro Nunes pedro.nunes at factis.pt
Tue Apr 18 11:57:29 MST 2006



Hi,


Sample database
+----+---------------+-------+----------+-----------------+-------------
----
-----+

| id | context           | exten | priority | app             | appdata
|

+----+---------------+-------+----------+-----------------+-------------
----
-----+

|  1 | incoming        | 6069  |        1 | Goto            |
incoming-next|6069|1 |

|  2 | incoming        | 6069  |        2 | Hangup          |
|

|  3 | incoming-next | 6069  |        1 | DigitTimeout    | 10
|

|  4 | incoming-next | 6069  |        2 | ResponseTimeout | 30
|

|  5 | incoming-next | 6069  |        3 | Background      | welcome


If i dont declare the "incoming-next" context in extensions.conf I get:
Channel 'Zap/21-1' sent into invalid extension '1' in context
'incoming-next ', but no invalid handler.

But if I put on extensions.conf:
[incoming-next]
Switch => Realtime/@
,it works fine.

Do we need to declare all contexts in extensions.conf so we can use it
on Realtime??

Another question:
Its possible to include contexts in Realtime like we made on
extensions.conf?


Thanks in advance,

Pedro Nunes





More information about the asterisk-users mailing list