RE: [Asterisk-Users] WRT54GP2 SIP server on LAN port

2005-09-30 Thread Sherwood McGowan
I'm quite sorry mate, I didn't realize how you meant to connect it. I just
recently tried it because I decided to connect my router back into the local
network to find the system so that I could just have my * system take care
of all calls, etc...

I encountered the same problem. If you found any way to make this work,
please let me know, as I'm interested to see if I can get this to work.

Thanks,

Sherwood

->-Original Message-
->From: [EMAIL PROTECTED] 
->[mailto:[EMAIL PROTECTED] On Behalf Of Johannes
->Sent: Tuesday, September 27, 2005 5:40 AM
->To: [EMAIL PROTECTED]; Asterisk Users Mailing List - 
->Non-Commercial Discussion
->Subject: RE: [Asterisk-Users] WRT54GP2 SIP server on LAN port
->
->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  /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: 
->SIP Proxy-Require: 
->Proxy: 192.168.15.10
->Outbound Proxy: 
->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


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@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


RE: [Asterisk-Users] WRT54GP2 SIP server on LAN port

2005-09-27 Thread Johannes
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  /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: 
SIP Proxy-Require: 
Proxy: 192.168.15.10
Outbound Proxy: 
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=x
> 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/0755xx-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/0755xxx-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/0755xxx-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: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Tom Vile
>> Sent: Sunday, September 25, 2005 5:45 PM
>> To: [EMAIL PROTECTED]; 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 <[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]> > 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 c

RE: [Asterisk-Users] WRT54GP2 SIP server on LAN port

2005-09-26 Thread 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=x
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/0755xx-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/0755xxx-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/0755xxx-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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Tom Vile
> Sent: Sunday, September 25, 2005 5:45 PM
> To: [EMAIL PROTECTED]; 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 <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> > 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@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@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@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


RE: [Asterisk-Users] WRT54GP2 SIP server on LAN port

2005-09-25 Thread Sherwood McGowan



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: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Tom 
  VileSent: Sunday, September 25, 2005 5:45 PMTo: 
  [EMAIL PROTECTED]; Asterisk Users Mailing List - Non-Commercial 
  DiscussionSubject: 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 <[EMAIL PROTECTED] > 
  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 worksjust 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 Ispecified a LAN IP as the 
gateway.Has anyone set up the WRT54GP2 to connect to a asterisk 
server thats onthe LAN ports with a LAN IP? Or is this impossible? 
Regards,~Johannes___--Bandwidth 
and Colocation sponsored by Easynews.com 
--Asterisk-Users mailing listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo 
UNSUBSCRIBE or update options visit:   http://lists.digium.com/mailman/listinfo/asterisk-users-- Tom VileBaldwin Technology Solutions, 
  IncConsulting - Web Design - VoIP Telephonywww.baldwintechsolutions.comPhone: 
  518-631-2855 x205Fax: 518-631-2856 

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@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

Re: [Asterisk-Users] WRT54GP2 SIP server on LAN port

2005-09-25 Thread Tom Vile
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 <[EMAIL PROTECTED]
> 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 worksjust 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 Ispecified a LAN IP as the gateway.Has anyone set up the WRT54GP2 to connect to a asterisk server thats onthe 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@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo UNSUBSCRIBE or update options visit:   
http://lists.digium.com/mailman/listinfo/asterisk-users-- Tom VileBaldwin Technology Solutions, IncConsulting - Web Design - VoIP Telephony
www.baldwintechsolutions.comPhone: 518-631-2855 x205Fax: 518-631-2856
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@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