# Real time configuration: problem retreiving context info

**URL:** <https://community.asterisk.org/t/real-time-configuration-problem-retreiving-context-info/4377>\
**Category:** Asterisk Support\
**Created:** [February 13, 2006, 1:49pm UTC](https://community.asterisk.org/t/real-time-configuration-problem-retreiving-context-info/4377 "2006-02-13T13:49:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![waqar](https://avatars.discourse-cdn.com/v4/letter/w/7993a0/32.png) [@waqar](https://community.asterisk.org/u/waqar)\
**Post date:** [February 13, 2006, 1:49pm UTC](https://community.asterisk.org/t/real-time-configuration-problem-retreiving-context-info/4377/1 "2006-02-13T13:49:50Z")

</div>

I am trying to set up asterisk realtime with mysql. I have set up a database and a table for sip users and added two users into it. Below are the two records:  
   
mysql\> select \* from sip ;  
±—±--------±-------±---------±--------±-------±---------+  
| id | name | type | username | host | secret | context |  
±—±--------±-------±---------±--------±-------±---------+  
| 1 | mohsin | friend | mohsin | dynamic | mohsin | internal |  
| 2 | sjphone | friend | sjphone | dynamic | phone | internal |  
±—±--------±-------±---------±--------±-------±---------+  
2 rows in set (0.01 sec)

The context for both users is “internal”, but when I make a call, default context is assumed. Here is the message:

Feb 13 18:49:00 NOTICE[22038]: pbx.c:1693 pbx\_extension\_helper: Cannot find extension context ‘default’

I’ll appreciate any help.
