[Asterisk-Users] Problem with Asterisk newbie2

Chrispen Chisvo cchisvo at ecoweb.co.zw
Fri Oct 21 12:22:05 MST 2005


I have put in the extension.conf

exten => 135,1,Dial(SIP/135 at 192.168.1.35)

and nothing in the sip.conf, the extensions can dial each other fine.

But whe i put the sip.conf:
[Oswel]
type=friend
regexten=135
username=135
secret=1234
callerid="Osie"
host=192.168.1.35
canreinvite=no
disallow=no
allow=gsm
context=local

[MJ]
type=friend
regexten=125
username=125
secret=1234
calerid="MJ"
host=192.168.1.25
canreinvite=no
disallow=no
allow=gsm
context=local


The asterisk console gives me:

Oct 21 12:57:15 NOTICE[14072]: chan_sip.c:7733 handle_request: Registration from 'Osie <sip:135 at 192.168.1.37>' failed for '192.168.1.35'

Oct 21 13:19:06 NOTICE[14701]: chan_sip.c:7733 handle_request: Registration from 'MJ <sip:125 at 192.168.1.37>' failed for '192.168.1.25'

And the two extensions cannot call each other, Authorisation: forbidden.
And registration fails

Please help me sort this registration out.


On Friday 21 October 2005 04:21, Geo wrote:
> To configure a SIP Xlite to register onto the PBX you have to declare it in
> sip.conf and than the context Cheers,Geo
>
>
>
> hi
> I managed to get my client dial my PBX and get a response.
> My question now is I keep getting failed to logon on the x-lite client and
> on the Asterisk I get Oct 20 20:44:19 NOTICE[12004]: chan_sip.c:7733
> handle_request: Registration from 'myself <sip:106 at 192.168.2.6>' failed for
> '192.168.2.6' how do I resolve this? Where do I add users?
> This is what I did for an x-lite client on ip 192.168.2.6. the PBX is
> 192.168.2.8 on the Asterisk:
> *CLI> add extension 106,1,Dial,SIP/192.168.2.6/106 into local
> the x-lite configs are as follows:
> Display name: myself
> username: 106
> Autherisation user: myself
> password: ****
> Domain/Realm: 192.168.2.8
> SIP Proxy:192.168.2.8
> Outbound proxy: 192.168.2.8

-- 
Rgds
Chrispen Chisvo
Ecoweb Zimbabwe
Cell: +263 91 222 443
Tel: +263 4 758 194
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051021/679445b0/attachment.htm


More information about the asterisk-users mailing list