Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Windows Asterisk Help


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
murthy64 at hotmail.com
Guest





PostPosted: Wed Jul 29, 2015 9:01 am    Post subject: [asterisk-users] Windows Asterisk Help Reply with quote

Hi All,

Downloaded latest version of Asterisk from www.asteriskwin32.com and installed on Windows 7.


Here is my sip.conf


[general]
context = demo ; Default context for incoming calls
bindport = 5060 ; UDP Port to bind to (SIP standard port is 5060)
bindaddr = 0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
srvlookup = yes ; Enable DNS SRV lookups on outbound calls
context=incoming
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=g723
externip=72.220.28.226
localnet=192.168.0.0
nat=yes
maxexpiry=15
minexpiry=14
;rtautoclear=no
;autofallthrough=yes


register =>16194077214:<<password>@69.59.234.67:5060/202


[authentication]
[3000]
type = friend
context = default
username = 3000
host = dynamic
mailbox = 3000
dtmfmode = rfc2833
[3001]
type = friend
context = default
username = 3001
host = dynamic
mailbox = 3001
dtmfmode = rfc2833


[3002]
type = friend
username = 3002
context = default
host = dynamic
mailbox = 3002
dtmfmode = rfc2833


[vonage-out]


username=16194077214


type=friend


secret=<<password>>


port=5061


nat=yes


host=69.59.234.67


fromuser=16194077214


fromdomain=69.59.234.67


dtmfmode=rfc2833


auth=md5


[vonage202]


username=16194077214


;type=friend
type=peer
;type=user


secret=<<password>>


port=5061


nat=yes


insecure=port,invite


host=69.59.234.67


fromuser=16194077214


fromdomain=69.59.234.67


;dtmfmode=inband


context=from-pstn


canreinvite=no


;auth=md5
disallow=all
allow=ulaw
;allow=alaw
;allow=g729
;allow=g723



Here is my extensions.conf


[from-pstn]
;exten => 16194077214,1,verbose(0, hello)
exten => 16194077214,1,Answer;
exten => 16194077214,n,SayUnixTime()
exten => 16194077214,n,Hangup





I am able to connect with Asterisk on the first try after fresh load, but not on the subsequent tries.
I have to re-reload sip.conf and extensions.conf to connect with Asterisk. Looking at the logs, it seems like a registration issue. So I set minexpirty and maxexpirty that seems to have no effect. can post the logs, if someone wants me to.


Your kind help is appreciated.


Best regards
murthy
Back to top
webaccounts173 at jgoe...
Guest





PostPosted: Wed Jul 29, 2015 9:12 am    Post subject: [asterisk-users] Windows Asterisk Help Reply with quote

Quote:

Downloaded latest version of Asterisk from www.asteriskwin32.com and installed on Windows 7.


Here  is my sip.conf


[general]
context = demo  ;              Default context for incoming calls
bindport = 5060  ;              UDP Port to bind to (SIP standard port is 5060)
bindaddr = 0.0.0.0  ;              IP address to bind to (0.0.0.0 binds to all)
srvlookup = yes  ;              Enable DNS SRV lookups on outbound calls
context=incoming 
disallow=all 
allow=ulaw 
allow=alaw 
allow=g729 
allow=g723 
externip=72.220.28.226 
localnet=192.168.0.0 
nat=yes 
maxexpiry=15
minexpiry=14
;rtautoclear=no
;autofallthrough=yes


register =>16194077214:<<password>@69.59.234.67:5060/202


[authentication]
[3000]
type = friend
context = default
username = 3000
host = dynamic
mailbox = 3000
dtmfmode = rfc2833
[3001]
type = friend
context = default
username = 3001
host = dynamic
mailbox = 3001
dtmfmode = rfc2833


[3002]
type = friend
username = 3002
context = default
host = dynamic
mailbox = 3002
dtmfmode = rfc2833


[vonage-out]


username=16194077214


type=friend


secret=<<password>>


port=5061


nat=yes


host=69.59.234.67


fromuser=16194077214


fromdomain=69.59.234.67


dtmfmode=rfc2833


auth=md5


[vonage202]


username=16194077214


;type=friend
type=peer
;type=user


secret=<<password>>


port=5061


nat=yes


insecure=port,invite


host=69.59.234.67


fromuser=16194077214


fromdomain=69.59.234.67


;dtmfmode=inband


context=from-pstn


canreinvite=no


;auth=md5
disallow=all
allow=ulaw 
;allow=alaw 
;allow=g729 
;allow=g723 



Here is my extensions.conf


[from-pstn]
;exten => 16194077214,1,verbose(0, hello)
exten => 16194077214,1,Answer;
exten => 16194077214,n,SayUnixTime()
exten => 16194077214,n,Hangup





I am able to connect with Asterisk on the first try after fresh load, but not on the subsequent tries.
I have to re-reload sip.conf and extensions.conf to connect with Asterisk. Looking at the logs, it seems like a registration issue.  So I set minexpirty and maxexpirty that seems to have no effect.  can post the logs, if someone wants me to.


Your kind help is appreciated.


Best regards
murthy







www.asteriskwin32.com hosts only a very very old version of Asterisk (1.2.something). What speaks against setting up a small virtual machine to host a recent version of Asterisk?

jg
Back to top
murthy64 at hotmail.com
Guest





PostPosted: Wed Jul 29, 2015 9:27 am    Post subject: [asterisk-users] Windows Asterisk Help Reply with quote

To: asterisk-users@lists.digium.com
From: webaccounts173@jgoettgens.de
Date: Wed, 29 Jul 2015 16:11:31 +0200
Subject: Re: [asterisk-users] Windows Asterisk Help



Quote:

Downloaded latest version of Asterisk from www.asteriskwin32.com and installed on Windows 7.


Here is my sip.conf


[general]
context = demo ; Default context for incoming calls
bindport = 5060 ; UDP Port to bind to (SIP standard port is 5060)
bindaddr = 0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
srvlookup = yes ; Enable DNS SRV lookups on outbound calls
context=incoming
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=g723
externip=72.220.28.226
localnet=192.168.0.0
nat=yes
maxexpiry=15
minexpiry=14
;rtautoclear=no
;autofallthrough=yes


register =>16194077214:<<password>@69.59.234.67:5060/202


[authentication]
[3000]
type = friend
context = default
username = 3000
host = dynamic
mailbox = 3000
dtmfmode = rfc2833
[3001]
type = friend
context = default
username = 3001
host = dynamic
mailbox = 3001
dtmfmode = rfc2833


[3002]
type = friend
username = 3002
context = default
host = dynamic
mailbox = 3002
dtmfmode = rfc2833


[vonage-out]


username=16194077214


type=friend


secret=<<password>>


port=5061


nat=yes


host=69.59.234.67


fromuser=16194077214


fromdomain=69.59.234.67


dtmfmode=rfc2833


auth=md5


[vonage202]


username=16194077214


;type=friend
type=peer
;type=user


secret=<<password>>


port=5061


nat=yes


insecure=port,invite


host=69.59.234.67


fromuser=16194077214


fromdomain=69.59.234.67


;dtmfmode=inband


context=from-pstn


canreinvite=no


;auth=md5
disallow=all
allow=ulaw
;allow=alaw
;allow=g729
;allow=g723



Here is my extensions.conf


[from-pstn]
;exten => 16194077214,1,verbose(0, hello)
exten => 16194077214,1,Answer;
exten => 16194077214,n,SayUnixTime()
exten => 16194077214,n,Hangup





I am able to connect with Asterisk on the first try after fresh load, but not on the subsequent tries.
I have to re-reload sip.conf and extensions.conf to connect with Asterisk. Looking at the logs, it seems like a registration issue. So I set minexpirty and maxexpirty that seems to have no effect. can post the logs, if someone wants me to.


Your kind help is appreciated.


Best regards
murthy







www.asteriskwin32.com hosts only a very very old version of Asterisk (1.2.something). What speaks against setting up a small virtual machine to host a recent version of Asterisk?

jg

You have a point. My SIP provider at the moment is Vonage which I can't access from work (some security issue:)
So I am confined to testing from home and I don't have any other machine to spare. If there is no other way
to trouble-shoot the problem, I will have to do what you suggest.


Thanks & Regards
murthy
Back to top
jnovack at stromberg-c...
Guest





PostPosted: Wed Jul 29, 2015 10:18 am    Post subject: [asterisk-users] Windows Asterisk Help Reply with quote

Murthy Gandikota wrote:

Quote:


To: asterisk-users@lists.digium.com (asterisk-users@lists.digium.com)
From: webaccounts173@jgoettgens.de (webaccounts173@jgoettgens.de)
Date: Wed, 29 Jul 2015 16:11:31 +0200
Subject: Re: [asterisk-users] Windows Asterisk Help



Quote:

Downloaded latest version of Asterisk from www.asteriskwin32.com and installed on Windows 7.


Here  is my sip.conf


[general]
context = demo  ;              Default context for incoming calls
bindport = 5060  ;              UDP Port to bind to (SIP standard port is 5060)
bindaddr = 0.0.0.0  ;              IP address to bind to (0.0.0.0 binds to all)
srvlookup = yes  ;              Enable DNS SRV lookups on outbound calls
context=incoming 
disallow=all 
allow=ulaw 
allow=alaw 
allow=g729 
allow=g723 
externip=72.220.28.226 
localnet=192.168.0.0 
nat=yes 
maxexpiry=15
minexpiry=14
;rtautoclear=no
;autofallthrough=yes


register =>16194077214:<<password>@69.59.234.67:5060/202


[authentication]
[3000]
type = friend
context = default
username = 3000
host = dynamic
mailbox = 3000
dtmfmode = rfc2833
[3001]
type = friend
context = default
username = 3001
host = dynamic
mailbox = 3001
dtmfmode = rfc2833


[3002]
type = friend
username = 3002
context = default
host = dynamic
mailbox = 3002
dtmfmode = rfc2833


[vonage-out]


username=16194077214


type=friend


secret=<<password>>


port=5061


nat=yes


host=69.59.234.67


fromuser=16194077214


fromdomain=69.59.234.67


dtmfmode=rfc2833


auth=md5


[vonage202]


username=16194077214


;type=friend
type=peer
;type=user


secret=<<password>>


port=5061


nat=yes


insecure=port,invite


host=69.59.234.67


fromuser=16194077214


fromdomain=69.59.234.67


;dtmfmode=inband


context=from-pstn


canreinvite=no


;auth=md5
disallow=all
allow=ulaw 
;allow=alaw 
;allow=g729 
;allow=g723 



Here is my extensions.conf


[from-pstn]
;exten => 16194077214,1,verbose(0, hello)
exten => 16194077214,1,Answer;
exten => 16194077214,n,SayUnixTime()
exten => 16194077214,n,Hangup





I am able to connect with Asterisk on the first try after fresh load, but not on the subsequent tries.
I have to re-reload sip.conf and extensions.conf to connect with Asterisk. Looking at the logs, it seems like a registration issue.  So I set minexpirty and maxexpirty that seems to have no effect.  can post the logs, if someone wants me to.


Your kind help is appreciated.


Best regards
murthy







www.asteriskwin32.com hosts only a very very old version of Asterisk (1.2.something). What speaks against setting up a small virtual machine to host a recent version of Asterisk?

jg

You have a point. My SIP provider at the moment is Vonage which I can't access from work (some security issue:)
So I am confined to testing from home and I don't have any other machine to spare. If there is no other way
to trouble-shoot the problem, I will have to do what you suggest. 


Thanks & Regards
murthy



For very little $$$ you could obtain an HP thin client, load a modern version of Asterisk using AstLinux, and leave your Win 7 machine to do what it does best ( which is certainly NOT Asterisk )
Once installed, it can be completely controlled and configured remotely over your home LAN, consumes very little power, has a universal power supply, consumes little power and no noisy fans.
HP5720 units can be had off eBay for $20-30 US. Even with shipping to your country, really low cost solution much more in the mainstream.
AstLinux uses standard Asterisk confs. The GUI is used for management and editing, and doesn't  use the difficult to troubleshoot  and quirky overlays of a TrixBox or FreePBX
Check out the astlinux website for more details

John Novack

Quote:
--

Dog is my Co-pilot
Back to top
sgriepentrog at digium...
Guest





PostPosted: Wed Jul 29, 2015 11:47 am    Post subject: [asterisk-users] Windows Asterisk Help Reply with quote

On Wed, Jul 29, 2015 at 10:16 AM, John Novack <jnovack@stromberg-carlson.org (jnovack@stromberg-carlson.org)> wrote:
Quote:


Murthy Gandikota wrote:

Quote:


To: asterisk-users@lists.digium.com (asterisk-users@lists.digium.com)
From: webaccounts173@jgoettgens.de (webaccounts173@jgoettgens.de)
Date: Wed, 29 Jul 2015 16:11:31 +0200
Subject: Re: [asterisk-users] Windows Asterisk Help



Quote:

Downloaded latest version of Asterisk from www.asteriskwin32.com and installed on Windows 7.


Here  is my sip.conf


[general]
context = demo  ;              Default context for incoming calls
bindport = 5060  ;              UDP Port to bind to (SIP standard port is 5060)
bindaddr = 0.0.0.0  ;              IP address to bind to (0.0.0.0 binds to all)
srvlookup = yes  ;              Enable DNS SRV lookups on outbound calls
context=incoming 
disallow=all 
allow=ulaw 
allow=alaw 
allow=g729 
allow=g723 
externip=72.220.28.226 
localnet=192.168.0.0 
nat=yes 
maxexpiry=15
minexpiry=14
;rtautoclear=no
;autofallthrough=yes


register =>16194077214:<<password>@69.59.234.67:5060/202


[authentication]
[3000]
type = friend
context = default
username = 3000
host = dynamic
mailbox = 3000
dtmfmode = rfc2833
[3001]
type = friend
context = default
username = 3001
host = dynamic
mailbox = 3001
dtmfmode = rfc2833


[3002]
type = friend
username = 3002
context = default
host = dynamic
mailbox = 3002
dtmfmode = rfc2833


[vonage-out]


username=16194077214


type=friend


secret=<<password>>


port=5061


nat=yes


host=69.59.234.67


fromuser=16194077214


fromdomain=69.59.234.67


dtmfmode=rfc2833


auth=md5


[vonage202]


username=16194077214


;type=friend
type=peer
;type=user


secret=<<password>>


port=5061


nat=yes


insecure=port,invite


host=69.59.234.67


fromuser=16194077214


fromdomain=69.59.234.67


;dtmfmode=inband


context=from-pstn


canreinvite=no


;auth=md5
disallow=all
allow=ulaw 
;allow=alaw 
;allow=g729 
;allow=g723 



Here is my extensions.conf


[from-pstn]
;exten => 16194077214,1,verbose(0, hello)
exten => 16194077214,1,Answer;
exten => 16194077214,n,SayUnixTime()
exten => 16194077214,n,Hangup





I am able to connect with Asterisk on the first try after fresh load, but not on the subsequent tries.
I have to re-reload sip.conf and extensions.conf to connect with Asterisk. Looking at the logs, it seems like a registration issue.  So I set minexpirty and maxexpirty that seems to have no effect.  can post the logs, if someone wants me to.


Your kind help is appreciated.


Best regards
murthy







www.asteriskwin32.com hosts only a very very old version of Asterisk (1.2.something). What speaks against setting up a small virtual machine to host a recent version of Asterisk?

jg

You have a point. My SIP provider at the moment is Vonage which I can't access from work (some security issue:)
So I am confined to testing from home and I don't have any other machine to spare. If there is no other way
to trouble-shoot the problem, I will have to do what you suggest. 


Thanks & Regards
murthy





For very little $$$ you could obtain an HP thin client, load a modern version of Asterisk using AstLinux, and leave your Win 7 machine to do what it does best ( which is certainly NOT Asterisk )
Once installed, it can be completely controlled and configured remotely over your home LAN, consumes very little power, has a universal power supply, consumes little power and no noisy fans.
HP5720 units can be had off eBay for $20-30 US. Even with shipping to your country, really low cost solution much more in the mainstream.
AstLinux uses standard Asterisk confs. The GUI is used for management and editing, and doesn't  use the difficult to troubleshoot  and quirky overlays of a TrixBox or FreePBX
Check out the astlinux website for more details

John Novack

Quote:
--

Dog is my Co-pilot


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


​Another option (assuming your computer has enough ram and disk space) is to run a copy of Linux in Vmware Player (which is available for free).  It allows you to run the Linux environment in a virtual computer as if it was an application on windows.  Then you can test the most recent release of Asterisk (version 13 at the moment).​


--
Scott Griepentrog
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 256 580 6090
Check us out at: http://digium.com · http://asterisk.org
Back to top
murthy64 at hotmail.com
Guest





PostPosted: Wed Jul 29, 2015 11:02 pm    Post subject: [asterisk-users] Windows Asterisk Help Reply with quote

Date: Wed, 29 Jul 2015 11:47:19 -0500
From: sgriepentrog@digium.com
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Windows Asterisk Help


On Wed, Jul 29, 2015 at 10:16 AM, John Novack <jnovack@stromberg-carlson.org (jnovack@stromberg-carlson.org)> wrote:
Quote:


Murthy Gandikota wrote:

Quote:


To: asterisk-users@lists.digium.com (asterisk-users@lists.digium.com)
From: webaccounts173@jgoettgens.de (webaccounts173@jgoettgens.de)
Date: Wed, 29 Jul 2015 16:11:31 +0200
Subject: Re: [asterisk-users] Windows Asterisk Help



Quote:

Downloaded latest version of Asterisk from www.asteriskwin32.com and installed on Windows 7.


Here is my sip.conf


[general]
context = demo ; Default context for incoming calls
bindport = 5060 ; UDP Port to bind to (SIP standard port is 5060)
bindaddr = 0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
srvlookup = yes ; Enable DNS SRV lookups on outbound calls
context=incoming
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=g723
externip=72.220.28.226
localnet=192.168.0.0
nat=yes
maxexpiry=15
minexpiry=14
;rtautoclear=no
;autofallthrough=yes


register =>16194077214:<<password>@69.59.234.67:5060/202


[authentication]
[3000]
type = friend
context = default
username = 3000
host = dynamic
mailbox = 3000
dtmfmode = rfc2833
[3001]
type = friend
context = default
username = 3001
host = dynamic
mailbox = 3001
dtmfmode = rfc2833


[3002]
type = friend
username = 3002
context = default
host = dynamic
mailbox = 3002
dtmfmode = rfc2833


[vonage-out]


username=16194077214


type=friend


secret=<<password>>


port=5061


nat=yes


host=69.59.234.67


fromuser=16194077214


fromdomain=69.59.234.67


dtmfmode=rfc2833


auth=md5


[vonage202]


username=16194077214


;type=friend
type=peer
;type=user


secret=<<password>>


port=5061


nat=yes


insecure=port,invite


host=69.59.234.67


fromuser=16194077214


fromdomain=69.59.234.67


;dtmfmode=inband


context=from-pstn


canreinvite=no


;auth=md5
disallow=all
allow=ulaw
;allow=alaw
;allow=g729
;allow=g723



Here is my extensions.conf


[from-pstn]
;exten => 16194077214,1,verbose(0, hello)
exten => 16194077214,1,Answer;
exten => 16194077214,n,SayUnixTime()
exten => 16194077214,n,Hangup





I am able to connect with Asterisk on the first try after fresh load, but not on the subsequent tries.
I have to re-reload sip.conf and extensions.conf to connect with Asterisk. Looking at the logs, it seems like a registration issue. So I set minexpirty and maxexpirty that seems to have no effect. can post the logs, if someone wants me to.


Your kind help is appreciated.


Best regards
murthy







www.asteriskwin32.com hosts only a very very old version of Asterisk (1.2.something). What speaks against setting up a small virtual machine to host a recent version of Asterisk?

jg

You have a point. My SIP provider at the moment is Vonage which I can't access from work (some security issue:)
So I am confined to testing from home and I don't have any other machine to spare. If there is no other way
to trouble-shoot the problem, I will have to do what you suggest.


Thanks & Regards
murthy





For very little $$$ you could obtain an HP thin client, load a modern version of Asterisk using AstLinux, and leave your Win 7 machine to do what it does best ( which is certainly NOT Asterisk )
Once installed, it can be completely controlled and configured remotely over your home LAN, consumes very little power, has a universal power supply, consumes little power and no noisy fans.
HP5720 units can be had off eBay for $20-30 US. Even with shipping to your country, really low cost solution much more in the mainstream.
AstLinux uses standard Asterisk confs. The GUI is used for management and editing, and doesn't use the difficult to troubleshoot and quirky overlays of a TrixBox or FreePBX
Check out the astlinux website for more details

John Novack

Quote:
--

Dog is my Co-pilot


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


​Another option (assuming your computer has enough ram and disk space) is to run a copy of Linux in Vmware Player (which is available for free). It allows you to run the Linux environment in a virtual computer as if it was an application on windows. Then you can test the most recent release of Asterisk (version 13 at the moment).​


--
Scott Griepentrog
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 256 580 6090
Check us out at: http://digium.com · http://asterisk.org






-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users








Many thanks for your kind replies. Here is what I have done:


a) Downloaded VM Player and Ubuntu ISO


http://theholmesoffice.com/installing-ubuntu-in-vmware-player-on-windows/


b) installed Ubuntu 14 something on Windows 7


(By the way the Wubi which is supposed to download and install Ubuntu turned out to be a dud)


c) installed Asterisk 11


http://blogs.digium.com/2012/11/14/how-to-install-asterisk-11-on-ubuntu-12-4-lts/


By the way, there was an undocumented problem with compiling DAHDI
So I skipped that step


d) ran Asterisk and everything is back where they should be


However, some times I get "User Busy" response from Vonage. I think this
is an Asterisk issue. If anyone knows how to rejig Asterisk so that it won't hold
on to the session after hang up, kindly let me know.


Best regards
murthy
Back to top
sgriepentrog at digium...
Guest





PostPosted: Thu Jul 30, 2015 9:41 am    Post subject: [asterisk-users] Windows Asterisk Help Reply with quote

On Wed, Jul 29, 2015 at 11:02 PM, Murthy Gandikota <murthy64@hotmail.com (murthy64@hotmail.com)> wrote:
Quote:


Date: Wed, 29 Jul 2015 11:47:19 -0500
From: sgriepentrog@digium.com (sgriepentrog@digium.com)
To: asterisk-users@lists.digium.com (asterisk-users@lists.digium.com)
Subject: Re: [asterisk-users] Windows Asterisk Help


On Wed, Jul 29, 2015 at 10:16 AM, John Novack <jnovack@stromberg-carlson.org (jnovack@stromberg-carlson.org)> wrote:
Quote:


Murthy Gandikota wrote:

Quote:


To: asterisk-users@lists.digium.com (asterisk-users@lists.digium.com)
From: webaccounts173@jgoettgens.de (webaccounts173@jgoettgens.de)
Date: Wed, 29 Jul 2015 16:11:31 +0200
Subject: Re: [asterisk-users] Windows Asterisk Help



Quote:

Downloaded latest version of Asterisk from www.asteriskwin32.com and installed on Windows 7.


Here  is my sip.conf


[general]
context = demo  ;              Default context for incoming calls
bindport = 5060  ;              UDP Port to bind to (SIP standard port is 5060)
bindaddr = 0.0.0.0  ;              IP address to bind to (0.0.0.0 binds to all)
srvlookup = yes  ;              Enable DNS SRV lookups on outbound calls
context=incoming 
disallow=all 
allow=ulaw 
allow=alaw 
allow=g729 
allow=g723 
externip=72.220.28.226 
localnet=192.168.0.0 
nat=yes 
maxexpiry=15
minexpiry=14
;rtautoclear=no
;autofallthrough=yes


register =>16194077214:<<password>@69.59.234.67:5060/202


[authentication]
[3000]
type = friend
context = default
username = 3000
host = dynamic
mailbox = 3000
dtmfmode = rfc2833
[3001]
type = friend
context = default
username = 3001
host = dynamic
mailbox = 3001
dtmfmode = rfc2833


[3002]
type = friend
username = 3002
context = default
host = dynamic
mailbox = 3002
dtmfmode = rfc2833


[vonage-out]


username=16194077214


type=friend


secret=<<password>>


port=5061


nat=yes


host=69.59.234.67


fromuser=16194077214


fromdomain=69.59.234.67


dtmfmode=rfc2833


auth=md5


[vonage202]


username=16194077214


;type=friend
type=peer
;type=user


secret=<<password>>


port=5061


nat=yes


insecure=port,invite


host=69.59.234.67


fromuser=16194077214


fromdomain=69.59.234.67


;dtmfmode=inband


context=from-pstn


canreinvite=no


;auth=md5
disallow=all
allow=ulaw 
;allow=alaw 
;allow=g729 
;allow=g723 



Here is my extensions.conf


[from-pstn]
;exten => 16194077214,1,verbose(0, hello)
exten => 16194077214,1,Answer;
exten => 16194077214,n,SayUnixTime()
exten => 16194077214,n,Hangup





I am able to connect with Asterisk on the first try after fresh load, but not on the subsequent tries.
I have to re-reload sip.conf and extensions.conf to connect with Asterisk. Looking at the logs, it seems like a registration issue.  So I set minexpirty and maxexpirty that seems to have no effect.  can post the logs, if someone wants me to.


Your kind help is appreciated.


Best regards
murthy







www.asteriskwin32.com hosts only a very very old version of Asterisk (1.2.something). What speaks against setting up a small virtual machine to host a recent version of Asterisk?

jg

You have a point. My SIP provider at the moment is Vonage which I can't access from work (some security issue:)
So I am confined to testing from home and I don't have any other machine to spare. If there is no other way
to trouble-shoot the problem, I will have to do what you suggest. 


Thanks & Regards
murthy





For very little $$$ you could obtain an HP thin client, load a modern version of Asterisk using AstLinux, and leave your Win 7 machine to do what it does best ( which is certainly NOT Asterisk )
Once installed, it can be completely controlled and configured remotely over your home LAN, consumes very little power, has a universal power supply, consumes little power and no noisy fans.
HP5720 units can be had off eBay for $20-30 US. Even with shipping to your country, really low cost solution much more in the mainstream.
AstLinux uses standard Asterisk confs. The GUI is used for management and editing, and doesn't  use the difficult to troubleshoot  and quirky overlays of a TrixBox or FreePBX
Check out the astlinux website for more details

John Novack

Quote:
--

Dog is my Co-pilot


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


​Another option (assuming your computer has enough ram and disk space) is to run a copy of Linux in Vmware Player (which is available for free).  It allows you to run the Linux environment in a virtual computer as if it was an application on windows.  Then you can test the most recent release of Asterisk (version 13 at the moment).​


--
Scott Griepentrog
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 256 580 6090
Check us out at: http://digium.com · http://asterisk.org






-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users










Many thanks for your kind replies. Here is what I have done:


a) Downloaded VM Player and Ubuntu ISO


http://theholmesoffice.com/installing-ubuntu-in-vmware-player-on-windows/


b) installed Ubuntu 14 something on Windows 7


(By the way the Wubi which is supposed to download and install Ubuntu turned out to be a dud)


c) installed Asterisk 11 


http://blogs.digium.com/2012/11/14/how-to-install-asterisk-11-on-ubuntu-12-4-lts/


By the way, there was an undocumented problem with compiling DAHDI 
So I skipped that step




​In a virtual environment, the DAHDI library is not useful, as it only serves to connect to hardware cards that you likely don't have and VMware generally doesn't support passing through to the virtual machine anyway.

 ​
 
Quote:


d) ran Asterisk and everything is back where they should be


However, some times I get "User Busy" response from Vonage. I think this
is an Asterisk issue. If anyone knows how to rejig Asterisk so that it won't hold
on to the session after hang up, kindly let me know.







To get assistance with specific SIP call failures, you would need to capture the SIP messaging for an instance where it failed, using 'sip set debug' in Asterisk or wireshark, and then share that.  You'll only need the actual SIP traffic on port 5060, not the RTP.




I would also recommend testing with a different provider (ITSP) first.  I have used voip.ms successfully with Asterisk.

​
 
Quote:

Best regards
murthy



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




--
Scott Griepentrog
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 256 580 6090
Check us out at: http://digium.com · http://asterisk.org
Back to top
asterisk_list at earth...
Guest





PostPosted: Fri Jul 31, 2015 4:16 am    Post subject: [asterisk-users] Windows Asterisk Help Reply with quote

On Wednesday 29 Jul 2015, Murthy Gandikota wrote:
Quote:
Hi All,As
Downloaded latest version of Asterisk from www.asteriskwin32.com and
installed on Windows 7.

Why?

Trying to get Asterisk to run on Windows is like trying to teach a gerbil to
bark. It's an extraordinary effort, and the result is unlikely to do anything
other than disappoint.


* Asterisk was designed from the outset to run on Unix-like systems, and has
certain design decisions baked into it that preclude it from building on
legacy systems such as Windows without serious modifications. Any version of
Asterisk that has been persuaded to run on Windows will be behind the curve,
and missing the latest and greatest features.

* Asterisk, even on its native Linux platform where all the bits work
properly, is harder to use than Linux. The supposed "advantage" of not
needing to learn to use Linux is negated by the steeper learning curve of
Asterisk.

* Asterisk doesn't make too many demands of hardware, except for preferring to
have its hardware all to itself. You can try it out on a scrap PC (available
free almost anywhere) at first and then, if you like it, install it on a
dedicated machine. If you don't need dedicated PCI / PCI express hardware,
then you can even run Asterisk on something like a Raspberry Pi.


If you want to run Asterisk, then you might as well bite the bullet and run it
on Linux. Also, forget about pre-compiled packages, just build it from
Source Code.


--
AJS

Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services