[Asterisk-Users] WRT54GP2 SIP server on LAN port

Johannes asterisk at radiokanaler.com
Tue Sep 27 02:40:15 MST 2005


Some more information if that might give anyone some ide what can be wrong.

WRTG54GP2 settings under Line1 that are set to something:
User ID: 100
Authentication Password: xxx
Registration / Proxy Server: 192.168.15.10
NAT Traversal: None

Under the router  <ip>/Voice_adminPage.htm "secret" page and the tab "Line
1" the following information might be of interest:

NAT Mapping Enable: No

SIP Port: 5060
EXT SIP Port: <empty>
SIP Proxy-Require: <emtpy>
Proxy: 192.168.15.10
Outbound Proxy: <empty>
Register: Yes
Use DNS SRV: No

Info tab:
Product Name:	WRT54GP2-NA
Software Version:	3.1.3(LI)

Any of the above configuration that is wrong?
Or any setting that I have not typed out that are interesting?

I have tried using iptraf trying to see if there are any connection
attempts but there is nothing registred from the LInksys router.

So I'm currently stuck with no ideas what is wrong and how to fix it.
(se below for more details)

Anyone?

Thanks,
~Johannes

> Thanks for the information Sherwood.
> Then the question I had if the normal routing works for the SIP proxy
> works with a LAN server.
>
> But I cant get a success in connecting the router LINE1 to Asterisk.
> WRT54GP2 says as status "Can't connect to login server" and there is no
> connection attempt when running "sip debug" with "verbose 4".
>
> In my sip.conf this is specified:
> [linksys]
> type=friend
> host=dynamic
> username=100
> secret=xxxxx
> canreinvites=no
> context=outgoing-sip
>
> And in extensions.conf
> [default]
> exten => s,1,Dial(SIP/linksys|30|gr)
> exten => s,2,VoiceMail(u100)
> exten => s,3,Congestion
>
> [outgoing-sip]
> exten => _[0-9#*].,1,Dial(SIP/blixtvik-sip/${EXTEN}||t)
>
> Now incoming calls gets the following loggs:
>
>     -- Executing Dial("SIP/0755xxxxxx-5499", "SIP/linksys|30|gr") in new
> stack
> Sep 26 19:55:34 NOTICE[5525]: app_dial.c:777 dial_exec: Unable to create
> channel of type 'SIP'
>   == Everyone is busy/congested at this time
>     -- Executing VoiceMail("SIP/0755xxxxxxx-5499", "u100") in new stack
>     -- Playing 'vm-theperson' (language 'se')
>     -- Playing 'digits/1' (language 'se')
>   == Spawn extension (default, s, 2) exited non-zero on
> 'SIP/0755xxxxxxx-5499'
> Sep 26 19:55:37 ERROR[5525]: cdr_sqlite.c:136 sqlite_log: cdr_sqlite:
> attempt to write a readonly database
> Sep 26 19:55:37 ERROR[5525]: cdr_csv.c:222 csv_log: Unable to re-open
> master file /var/log/asterisk//cdr-csv//Master.csv : Permission denied
>
> The answering machine works but it will not get connected with my
> WRT54GP2.
> See anything that causes WRT54GP2 not to be able to register to Asterisk?
>
> ~Johannes
>
>> Actually, just point the line you want to use to a local ip address (the
>> asterisk server). I currently do this with my service. i.e. If your
>> Asterisk
>> server is 192.168.15.200, just make the proxy for line 1 that address.
>> It
>> routes internally just fine.
>>
>> Sherwood McGowan
>>
>>
>>
>>   _____
>>
>> From: asterisk-users-bounces at lists.digium.com
>> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tom Vile
>> Sent: Sunday, September 25, 2005 5:45 PM
>> To: asterisk at radiokanaler.com; Asterisk Users Mailing List -
>> Non-Commercial
>> Discussion
>> Subject: Re: [Asterisk-Users] WRT54GP2 SIP server on LAN port
>>
>>
>> what I do is loopback the WAN port to a LAN port and am able to use both
>> (ie) take a cable from the wan port of the router and plug it into the
>> lan
>> port on the same router.  This will give you a local ip and it still
>> should
>> allow connection out to your other provider.
>>
>>
>> On 9/25/05, Johannes <asterisk at radiokanaler.com
>> <mailto:asterisk at radiokanaler.com> > wrote:
>>
>> Hi,
>>
>> I'm trying to set up Asterisk behind my WRT54GP2 router that has a
>> intergrated ATA box.
>> My box are not locked in any way so I can access and change all
>> settings.
>>
>> Now to the problem...
>> I have gotten Asterisk to register with my provider and everything works
>> just well..
>> Now it's time to get the intergrated ATA to connect to asterisk.
>> But the asterisk box in located on the LAN ports of the WRT54GP2.
>> I can't get the router to connect to Asterisk.
>>
>> The question is then if the router does not use the normal routing table
>> and will force the connect to the SIP gateway to the WAN port even that
>> I
>> specified a LAN IP as the gateway.
>>
>> Has anyone set up the WRT54GP2 to connect to a asterisk server thats on
>> the LAN ports with a LAN IP? Or is this impossible?
>>
>> Regards,
>> ~Johannes
>>
>> _______________________________________________
>> --Bandwidth and Colocation sponsored by Easynews.com --
>>
>> 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
>>
>>
>>
>>
>>
>> --
>> Tom Vile
>> Baldwin Technology Solutions, Inc
>> Consulting - Web Design - VoIP Telephony
>> www.baldwintechsolutions.com
>> Phone: 518-631-2855 x205
>> Fax:     518-631-2856
>>
>> _______________________________________________
>> --Bandwidth and Colocation sponsored by Easynews.com --
>>
>> 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
>
>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> 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