[Asterisk-Users] Realtime / sip.conf

Muhammad Rizwan Khan rizwan at advcomm.net
Fri Jan 14 10:08:11 MST 2005


I also have setting in extconfig.conf file, and i am able to register
users. The only difference is that i am using odbc instead of mysql in
settings.
The problem i am facing is that whenever i call (using Xlite) from one
extension (e.g 12345) to another (e.g. 123456), my dialler shows me
error 484: address incomplete. On the other hand whenever i call from
one extension (e.g 123245) to the same (e.g 12345) it grings properly.
Any idea what can be the problem here.

Thanks

On Fri, 2005-01-14 at 21:46, Brian S. Adelson wrote:
> I do not recieve any debug messages for sip when extconfig is setup to
> use sipfriends.  Here is my extconfig:
> 
> [settings]
> 
> realtime_ext => mysql,asterisk,extensions_table 
> voicemail => mysql,asterisk,voicemail_table 
> sipfriends => mysql,asterisk,sip_extensions 
> 
> As you can see, there is not much to it.  But when I do have
> "sipfriends" enabled, then I am not able to register any phones etc.  
> 
> -Brian
> 
> 
> On Fri, 14 Jan 2005 at 10:40 Matthew Boehm (mboehm at cytelcom.com) wrote:
> 
> > If you only get debug messages when you use console then you don't have
> > something setup right in extconfig
> > 
> > -Matthew
> > ----- Original Message ----- 
> > From: "Brian S. Adelson" <brian at voicenet.com>
> > To: "Matthew Boehm" <mboehm at cytelcom.com>
> > Cc: "Asterisk Users Mailing List - Non-Commercial Discussion"
> > <asterisk-users at lists.digium.com>
> > Sent: Friday, January 14, 2005 10:16 AM
> > Subject: Re: [Asterisk-Users] Realtime / sip.conf
> > 
> > 
> > > Sorry, thought I mentioned that.
> > >
> > > In the debug, I do not see it attemping to query the mysql database.
> > > It only makes this attempt when i try to pull information via the
> > > console:
> > >
> > >
> > > *CLI> realtime load sipfriends name 155
> > >                    Column Name  Column Value
> > >           --------------------  -------------------- 
> > >                       uniqueid  1
> > >                           name  155
> > >                       callerid  X-Line Phone
> > >                    canreinvite  N
> > >                        context  from-internal
> > >                       dtmfmode  rfc2833
> > >                           host  dynamic
> > >                        mailbox  155
> > >                            nat  no
> > >                           port  5060
> > >                         secret  155
> > >                           type  friend
> > >                       username  155
> > >                     regseconds  0
> > >
> > >
> > > Jan 14 23:10:57 DEBUG[11834]: MySQL RealTime: Retrieve SQL: SELECT * FROM
> > sip_extensions WHERE name = '155'
> > > Jan 14 23:10:57 DEBUG[11834]: MySQL RealTime: Everything is fine.
> > >
> > >
> > >
> > > On Fri, 14 Jan 2005 at 10:12 Matthew Boehm (mboehm at cytelcom.com) wrote:
> > >
> > > > What's in your debug?
> > > >
> > > > -Matthew
> > > > ----- Original Message ----- 
> > > > From: "Brian S. Adelson" <brian at voicenet.com>
> > > > To: "Asterisk Users Mailing List - Non-Commercial Discussion"
> > > > <asterisk-users at lists.digium.com>
> > > > Sent: Friday, January 14, 2005 9:47 AM
> > > > Subject: [Asterisk-Users] Realtime / sip.conf
> > > >
> > > >
> > > > >
> > > > > I am currently in the process of testing out realtime support for
> > > > > sip.conf.  I have followed all of the directions that are listed in
> > > > > the Wiki, but for some reason this does not work.
> > > > >
> > > > > When utilizing a flat file, I am able to register endpoints without
> > > > > any problems, and calls can proceed.  One interesting side effect that
> > > > > I have noticed is that when I am using realtime for sip, I am unable
> > > > > to see any debug messages on the console (sip debug). By just
> > > > > commenting out the sipfriends line in extconfig.conf the problem goes
> > > > > away.
> > > > >
> > > > > I do have the system utilizing realtime for Voicemail and Extensions,
> > > > > and I do not have any problems.  Has anyone seen this problem before?
> > > > >
> > > > > extconfig.conf
> > > > > =-==-=-=-=-=-=
> > > > >
> > > > > [settings]
> > > > >
> > > > > realtime_ext => mysql,asterisk,extensions_table
> > > > > voicemail => mysql,asterisk,voicemail_table
> > > > > sipfriends => mysql,asterisk,sip_extensions
> > > > >
> > > > >
> > > > > *CLI> realtime mysql status
> > > > > Connected to asterisk at 127.0.0.1, port 3306 with username asterisk for
> > 10
> > > > minutes, 22 seconds.
> > > > >
> > > > >
> > > > > -Brian
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Asterisk-Users mailing list
> > > > > Asterisk-Users at 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
> > >
> > >
> > > _______________________________________________
> > > Asterisk-Users mailing list
> > > Asterisk-Users at 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




More information about the asterisk-users mailing list