<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:right;
        direction:rtl;
        unicode-bidi:embed;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1 dir=RTL>
<p dir=LTR><font size=3 face=Courier><span style='font-size:12.0pt;font-family:
Courier'>Hi All, </span></font><o:p></o:p></p>
<p dir=LTR><font size=3 face=Courier><span style='font-size:12.0pt;font-family:
Courier'>I've a very strange error. <br>
I've configured a Cisco gw with * and when an incoming call is arriving from
the Cisco to * asterisk will always put the call in the default context (ignoring
the part in the [Cisco]) </span></font><o:p></o:p></p>
<p dir=LTR><font size=3 face=Courier><span style='font-size:12.0pt;font-family:
Courier'>I'm attaching my conf files: </span></font><o:p></o:p></p>
<p dir=LTR><font size=3 face=Courier><span style='font-size:12.0pt;font-family:
Courier'>[general] <br>
port = 5060 ; Port to bind to (SIP is 5060) <br>
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
<br>
disallow=all <br>
allow=alaw <br>
allow=gsm <br>
allow=ulaw <br>
context = from-trunk ; Send unknown SIP callers to this context <br>
callerid = Unknown </span></font><o:p></o:p></p>
<p dir=LTR><font size=3 face=Courier><span style='font-size:12.0pt;font-family:
Courier'>[Cisco] <br>
type=user/friend/peer (tried all options) <br>
port=5060 <br>
host=myip <br>
context=from-Cisco <br>
disallow=all <br>
allow=alaw <br>
allow=ulaw <br>
qualify=yes <br>
autocreatepeer=yes (with and without this option, in here and in the <br>
general setting) <br>
nat=no <br>
canreinvite=no </span></font><o:p></o:p></p>
<p dir=LTR><font size=3 face=Courier><span style='font-size:12.0pt;font-family:
Courier'>on Asterisk Console I see (with Verbose 9): <br>
Executing AbsoluteTimeout("SIP/myip-b6895f10", "15") in new
stack <br>
-- Set Absolute Timeout to 15 <br>
-- Executing Congestion("SIP/myip-b6895f10",
"") in new stack <br>
-- Executing AbsoluteTimeout("SIP/myip-b6895f10",
"15") in new <br>
stack <br>
-- Set Absolute Timeout to 15 <br>
-- Executing Congestion("SIP/myip-b6895f10",
"") in new stack </span></font><o:p></o:p></p>
<p dir=LTR><font size=3 face=Courier><span style='font-size:12.0pt;font-family:
Courier'>which is my default context: <br>
[from-trunk] <br>
exten => _.,1,AbsoluteTimeout(15) <br>
exten => _.,2,Congestion <br>
exten => _.,3,Hangup </span></font><o:p></o:p></p>
<p dir=LTR><font size=3 face=Courier><span style='font-size:12.0pt;font-family:
Courier'>[from-Cisco] <br>
exten => s,1,Answer <br>
exten => s,2,Dial($bla) <br>
exten => s,3,Hangup </span></font><o:p></o:p></p>
<p dir=LTR><font size=3 face=Courier><span style='font-size:12.0pt;font-family:
Courier'>Thanks! </span></font><o:p></o:p></p>
<p class=MsoNormal dir=RTL><font size=2 face=Arial><span dir=LTR
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>