Bharat M. Sarvan
2005-May-19 03:53 UTC
[Asterisk-Users] Asterisk real time extensions problem...
Hello everybody,
I have setup asterisk real time extensions and its
working pretty well. But the problem is when I am jumping between the
contexts using the Goto statement in the database. I am getting a error
= Parsing '/etc/asterisk/sip_notify.conf': Found
-- SIP Seeding peers from Astdb: 'ezzibpo4' at
ezzibpo4@210.211.246.47:5061 for 60
-- Executing Goto("SIP/ezzibpo4-4636",
"incoming-next,6069,1")
May 19 05:00:04 NOTICE[6420]: pbx.c:1688 pbx_extension_helper: Cannot find
extension '6069' in context 'incom'
May 19 05:00:04 WARNING[6420]: pbx.c:6256 ast_parseable_goto: Priority
'incoming-next,
The structure of the extensions db is as given below
+----+---------------+-------+----------+-----------------+-----------------
-----+
| 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
|
The context "incom" in the above error is the context defined
for
placing outgoing call in the sip.conf file. I don't understand why is it
looking for extension 6069 in the "incom" context.
The "Goto" statement in the context incoming is getting executed
without any probs, but the control is not getting transferred to the context
"incoming-next" upon execution of the Goto statement.
Could anybody suggest me as to where might the problem be and any way
to get rid of this problem. Please do reply..
Regards,
Bharat M. Sarvan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20050519/50121954/attachment.htm
Gentian Bajraktari
2005-May-19 09:50 UTC
[Asterisk-Users] Asterisk real time extensions problem...
HI,
The problem is that you are using: incoming-next,60069,1
Use: incoming-next|60069|1 instead
RG,
Gentian
----- Original Message -----
From: Bharat M. Sarvan
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Cc: asterisk-dev@lists.digium.com
Sent: Sunday, April 17, 2005 11:52 AM
Subject: [Asterisk-Users] Asterisk real time extensions problem...
Hello everybody,
I have setup asterisk real time extensions and its
working pretty well. But the problem is when I am jumping between the contexts
using the Goto statement in the database. I am getting a error
= Parsing '/etc/asterisk/sip_notify.conf': Found
-- SIP Seeding peers from Astdb: 'ezzibpo4' at
ezzibpo4@210.211.246.47:5061 for 60
-- Executing Goto("SIP/ezzibpo4-4636",
"incoming-next,6069,1")
May 19 05:00:04 NOTICE[6420]: pbx.c:1688 pbx_extension_helper: Cannot find
extension '6069' in context 'incom'
May 19 05:00:04 WARNING[6420]: pbx.c:6256 ast_parseable_goto: Priority
'incoming-next,
The structure of the extensions db is as given below
+----+---------------+-------+----------+-----------------+----------------------+
| 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
|
The context "incom" in the above error is the context defined
for placing outgoing call in the sip.conf file. I don't understand why is it
looking for extension 6069 in the "incom" context.
The "Goto" statement in the context incoming is getting
executed without any probs, but the control is not getting transferred to the
context "incoming-next" upon execution of the Goto statement.
Could anybody suggest me as to where might the problem be and any way to
get rid of this problem. Please do reply..
Regards,
Bharat M. Sarvan
------------------------------------------------------------------------------
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20050519/68eec2d3/attachment.htm