[Asterisk-Users] just softphone

Benchev bbench at mail.bg
Thu May 18 07:51:49 MST 2006


On Thursday 18 May 2006 16:32, Ralph Liebessohn wrote:
> On 5/18/06, Benchev <bbench at mail.bg> wrote:
> > > I'm trying to start with Asterisk, but I could not put 2 softphones to
> > > talk. The asterisk server rejects the connections always when I dial.
> > >
> > > May 17 07:49:22 NOTICE[1924]: Rejected connect attempt from
> >
> > Try:
> > extensions.conf
> > [default]
> > include => internal
> > [internal]
> > exten => 311000,1,Dial(SIP/teste1)
> > exten => 311000,2,Hangup ; Hangup is good
> >
> > exten => 312000,1,Dial(SIP/teste2)
> > exten => 312000,2,Hangup
> >
> > exten => 313000,1,Dial(SIP/teste3)
> > exten => 313000,2,Hangup
> >
> > Put context=internal or default in all your sip "friends".

> extensions.conf ( I've changed internal by from-sip)
>
> [default]
> include => from-sip
> include => demo
>
> [from-sip]
> exten => 9222,1,Dial(SIP/9222,25)
> exten => 9222,2,Hangup
>
> exten => 9223,1,Dial(SIP/9223,25)
> exten => 9223,2,Hangup
>
> exten => 31200,1,Dial(SIP/312000,25)
> exten => 31200,2,Hangup
>
>
> sip.conf
>
> [general]
> context=default
> port=5060
> bindaddr=0.0.0.0
> ;srvlookup=yes
>
>
> [9222]
> type=friend
> callerid = "Nome - 9222" <9222>
> username=9222
> secret=9222
> host= dynamic
> context=from-sip
> dtmfmode=rfc2833
> nat=yes
> canreinvite=nocontext=internal
Ralph,
> canreinvite=nocontext=internal
Is the above a copy/paste mistake?
Try context=from-sip or default as in you case that's
declared in extensions.conf. Delete context=internal.

On  the other hand, this thing X-light, does it require
Use Auth ID or something similar? Try to turn it on/off.

Benchev



More information about the asterisk-users mailing list