<div dir="ltr">On 30 March 2013 21:32, aaaa aaaa <span dir="ltr"><<a href="mailto:indefix1@yahoo.gr" target="_blank">indefix1@yahoo.gr</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:'times new roman','new york',times,serif"><div><div><font face="times new roman, new york, times, serif">Hello,</font></div><div style="background-color:transparent">
<font face="times new roman, new york, times, serif">I followed the step by step guide (<a href="http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-10.7.0-astdb" target="_blank">http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-10.7.0-astdb</a>) that describe the realtime integration between Kamailio and Asterisk. I have no problem with registration but when I try a call from 101 to 102 I get the followng error:</font></div>
<div style="background-color:transparent"><font face="times new roman, new york, times, serif"> </font></div><div style="background-color:transparent"><font face="times new roman, new york, times, serif">[Mar 31 01:18:44] NOTICE[32330][C-00000006]: chan_sip.c:25195 handle_request_invite: Call from '101' (<a href="http://192.168.1.100:5060" target="_blank">192.168.1.100:5060</a>) to extension '103' rejected
because extension not found in context 'DEFAULT NULL'.</font></div><div style="font-size:12pt"></div></div></div></div></blockquote><div><br></div><div><br></div><div style>Looks like you have an issue with your database table. The context being returned from the database appears to be "DEFAULT NULL" which is definitely not what you want. I don't know how you ended up with that value in your db by following the instructions.</div>
<div style><br></div><div style>Quick fix might be to change the value of the field sipusers.context for all entries to something - say "mycontext" and then in your asterisk extensions.conf make sure that you are defining your extensions in this context, like so:</div>
<div style><br></div><div style> [mycontext]</div><div style><div>; our phones use 3 digit extensions, starting with 1</div><div>exten => _1XX,1,Dial(SIP/${EXTEN})</div><div>exten => _1XX,n,Voicemail(${EXTEN},u)</div>
<div>exten => _1XX,n,Hangup</div><div>exten => _1XX,101,Voicemail(${EXTEN},b)</div><div>exten => _1XX,102,Hangup</div></div><div style><br></div><div style>(You will need to reload/restart Asterisk after making these changes) </div>
<div style><br></div><div style>The issue you are having is an Asterisk one, not Kamailio and would be better asked in the Asterisk list if you dont get it working fr m the above.. </div><div> </div><div><br></div><div style>
Hope this helps.</div><div style><br></div><div style>-Barry</div><div style></div></div><br></div><div class="gmail_extra"><br></div></div>