[asterisk-users] My AsteriskNo unable to registration

Guillermo Rodriguez guillermo.rodriguez at xtratelecom.es
Wed Dec 5 05:22:44 CST 2007


Hi Bie,

You have a problem with the postgresql conexion.   You are using Realtime?????  

[Dec  5 07:39:59] ERROR[2342] res_config_pgsql.c: Postgresql RealTime: Failed 
to connect database server asterisk on 127.0.0.1. Check debug for more info.
[Dec  5 07:39:59] DEBUG[2342] res_config_pgsql.c: Postgresql RealTime: Cannot 
Connect: 
[Dec  5 07:39:59] WARNING[2342] res_config_pgsql.c: Postgresql RealTime: 
Couldn't establish connection. Check debug.
[Dec  5 07:39:59] DEBUG[2342] res_config_pgsql.c: Postgresql RealTime: Cannot 
Connect: could not connect to server: Connection refused
	Is the server running on host "127.0.0.1" and accepting
	TCP/IP connections on port 5432?


Change in your sip.conf put :

type=friend

 failed for 'xxx.xxx.xxx.xxx' - Peer is not supposed to register


Tellme something.

Guillermo

El Miércoles, 5 de Diciembre de 2007 01:48, Newbie escribió:
> Hi Guillermo,
>
> enclosed please find "full" log file that I got it from /var/log/asterisk
>
> please help.
> Thanks a lot in advance
>
> Regards
> Winanjaya
>
> ----- Original Message -----
> From: "Guillermo Rodriguez" <guillermo.rodriguez at xtratelecom.es>
> To: "Newbie" <newbie at pbxsoftwares.com>
> Cc: "Asterisk Users Mailing List - Non-Commercial Discussion"
> <asterisk-users at lists.digium.com>
> Sent: Tuesday, December 04, 2007 5:59 PM
> Subject: Re: [asterisk-users] My AsteriskNo unable to registration
>
>
> Yes, the log file..
>
> El Martes, 4 de Diciembre de 2007 12:01, Newbie escribió:
> > Hello,
> > could you please advise .. where can I find the trace of asterisk? do you
> > mean log file?
> >
> > Thanks & Regards
> > Bie
> >
> >
> > ----- Original Message -----
> > From: "Guillermo Rodriguez" <guillermo.rodriguez at xtratelecom.es>
> > To: "Newbie" <newbie at pbxsoftwares.com>; "Asterisk Users Mailing List -
> > Non-Commercial Discussion" <asterisk-users at lists.digium.com>
> > Sent: Tuesday, December 04, 2007 5:53 PM
> > Subject: Re: [asterisk-users] My AsteriskNo unable to registration
> >
> >
> > Can you put the trace of asterisk.??????'
> > When you call to 988
> > Thx.
> >
> > Guillermo
> >
> > El Viernes, 30 de Noviembre de 2007 10:17, Newbie escribió:
> > > Dear The Expert,
> > >
> > > I am very new with this, I have installed AsteriskNow,  X-Lite as my
> > > SoftPhone, I am using SPA-3102.
> > > I have 3 extensions,
> > >
> > > me at 250,  998 is my Linksys SPA-3102 and 999 for PSTN Line (see
> > > below)
> > >
> > > My problem is, I am unable to call 998, I thought this is registration
> > > problem, (because the Linksys screen info said Registration Failed)
> > >
> > > Could any body please help?
> > >
> > > Many thanks in advance
> > >
> > > Regards
> > > Bie
> > >
> > >
> > >
> > > below is my sip.conf
> > >
> > > allowoverlap=no
> > > bindport=5060
> > > bindaddr=0.0.0.0
> > > srvlookup=yes
> > > videosupport=yes
> > > disallow=all
> > > allow=ilbc
> > > allow=gsm
> > >
> > > I also had 2 extensions (me at 250 and 998 is my SPA-3102) and my
> > > users.conf goes below:
> > >
> > > [general]
> > > fullname=New User
> > > userbase=6000
> > > hasvoicemail=yes
> > > vmsecret=1234
> > > hassip=yes
> > > hasiax=yes
> > > hasmanager=no
> > > callwaiting=yes
> > > threewaycalling=yes
> > > callwaitingcallerid=yes
> > > transfer=yes
> > > canpark=yes
> > > cancallforward=yes
> > > callreturn=yes
> > > callgroup=1
> > > pickupgroup=1
> > > host=dynamic
> > > localextenlength=0
> > > allow_aliasextns=no
> > > allow_an_extns=no
> > > hasagent=no
> > > hasdirectory=no
> > >
> > > [250]
> > > callwaiting=yes
> > > cid_number=
> > > context=numberplan-custom-2
> > > email=
> > > fullname=Winanjaya
> > > group=
> > > hasagent=yes
> > > hasdirectory=no
> > > hasiax=yes
> > > hasmanager=no
> > > hassip=yes
> > > hasvoicemail=yes
> > > host=dynamic
> > > mailbox=250
> > > secret=1234
> > > threewaycalling=yes
> > > vmsecret=1234
> > > zapchan=
> > > registeriax=yes
> > > registersip=yes
> > > canreinvite=no
> > > nat=no
> > > dtmfmode=rfc2833
> > > disallow=all
> > > allow=all
> > > type=peer
> > >
> > > [998]
> > > callwaiting=yes
> > > cid_number=
> > > context=numberplan-custom-2
> > > email=
> > > fullname=MyLine1
> > > group=
> > > hasagent=yes
> > > hasdirectory=no
> > > hasiax=yes
> > > hasmanager=no
> > > hassip=yes
> > > hasvoicemail=yes
> > > host=dynamic
> > > mailbox=999
> > > secret=1234
> > > threewaycalling=yes
> > > vmsecret=1234
> > > zapchan=
> > > registeriax=yes
> > > registersip=yes
> > > canreinvite=no
> > > nat=no
> > > dtmfmode=rfc2833
> > > disallow=all
> > > allow=all
> > > type=peer
> > >
> > > [999]
> > > callwaiting=yes
> > > cid_number=
> > > context=numberplan-custom-2
> > > email=
> > > fullname=MyPSTN
> > > group=
> > > hasagent=yes
> > > hasdirectory=no
> > > hasiax=yes
> > > hasmanager=no
> > > hassip=yes
> > > hasvoicemail=yes
> > > host=dynamic
> > > mailbox=999
> > > secret=1234
> > > threewaycalling=yes
> > > vmsecret=1234
> > > zapchan=
> > > registeriax=yes
> > > registersip=yes
> > > canreinvite=no
> > > nat=no
> > > dtmfmode=rfc2833
> > > disallow=all
> > > allow=all
> > > type=peer
> > >
> > >
> > >
> > > _______________________________________________
> > > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> > >
> > > asterisk-users mailing list
> > > To UNSUBSCRIBE or update options visit:
> > >    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list