<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Don't use ,'s replace those with |'s<DIV><BR class="khtml-block-placeholder"></DIV><DIV>/b</DIV><DIV><BR><DIV><DIV>On Apr 17, 2005, at 5:52 AM, Bharat M. Sarvan wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <DIV class="Section1"><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial">Hello everybody,<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial"> 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 <O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="#003300" face="Arial"><SPAN style="font-size:10.0pt;font-family:Arial;color:#003300"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:.9pt;margin-bottom: 0in;margin-left:13.85pt;margin-bottom:.0001pt;text-autospace:none"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size:10.0pt;font-family:Arial; color:navy">= Parsing '/etc/asterisk/sip_notify.conf': Found<O:P></O:P></SPAN></FONT></P><P class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:.9pt;margin-bottom: 0in;margin-left:13.85pt;margin-bottom:.0001pt;text-autospace:none"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size:10.0pt;font-family:Arial; color:navy"> -- SIP Seeding peers from Astdb: 'ezzibpo4' at <A href="mailto:ezzibpo4@210.211.246.47">ezzibpo4@210.211.246.47</A>:5061 for 60<O:P></O:P></SPAN></FONT></P><P class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:.9pt;margin-bottom: 0in;margin-left:13.85pt;margin-bottom:.0001pt;text-autospace:none"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size:10.0pt;font-family:Arial; color:navy"> -- Executing Goto("SIP/ezzibpo4-4636", "incoming-next,6069,1")<O:P></O:P></SPAN></FONT></P><P class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:.9pt;margin-bottom: 0in;margin-left:13.85pt;margin-bottom:.0001pt;text-autospace:none"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size:10.0pt;font-family:Arial; color:navy">May 19 05:00:04 NOTICE[6420]: pbx.c:1688 pbx_extension_helper: Cannot find extension '6069' in context 'incom'<O:P></O:P></SPAN></FONT></P><P class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:.9pt;margin-bottom: 0in;margin-left:13.85pt;margin-bottom:.0001pt;text-autospace:none"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size:10.0pt;font-family:Arial; color:navy">May 19 05:00:04 WARNING[6420]: pbx.c:6256 ast_parseable_goto: Priority 'incoming-next,</SPAN></FONT><FONT size="2" color="navy" face="MS Shell Dlg"><SPAN style="font-size:10.0pt;font-family:" ms="" shell="" dlg";="" color:navy"=""><O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial">The structure of the extensions db is as given below<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial">+----+---------------+-------+----------+-----------------+----------------------+<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial">| id | context | exten | priority | app | appdata |<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial">+----+---------------+-------+----------+-----------------+----------------------+<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial">| 1 | incoming | 6069 | 1 | Goto | incoming-next,6069,1 |<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial">| 2 | incoming | 6069 | 2 | Hangup | |<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial">| 3 | incoming-next | 6069 | 1 | DigitTimeout | 10 |<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial">| 4 | incoming-next | 6069 | 2 | ResponseTimeout | 30 |<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial">| 5 | incoming-next | 6069 | 3 | Background | welcome | <O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial"> 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.<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial"> 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. <O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial"> <O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial"> Could anybody suggest me as to where might the problem be and any way to get rid of this problem. Please do reply….<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial"> <O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="#002392" face="Arial"><SPAN style="font-size:10.0pt;font-family:Arial;color:#002392"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="#002392" face="Arial"><SPAN style="font-size:10.0pt;font-family:Arial;color:#002392"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="#002392" face="Arial"><SPAN style="font-size:10.0pt;font-family:Arial;color:#002392"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="#002392" face="Arial"><SPAN style="font-size:10.0pt;font-family:Arial;color:#002392">Regards,<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><B><I><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial;font-weight:bold;font-style:italic">Bharat M. Sarvan</SPAN></FONT><O:P></O:P></I></B></P><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt"><O:P> </O:P></SPAN></FONT></P> </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Asterisk-Dev mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:Asterisk-Dev@lists.digium.com">Asterisk-Dev@lists.digium.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">To UNSUBSCRIBE or update options visit:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space"> </SPAN><A href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>