login | register
Fri 04 of Jul, 2008 [20:38 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Samuel, Thu 03 of Jul, 2008 [13:41 UTC]: ok thank you
  • Mats Karlsson, Thu 03 of Jul, 2008 [13:37 UTC]: Nice Samuel, will look forward to rad it.
  • bwl_fernstudent, Thu 03 of Jul, 2008 [09:08 UTC]: Your blog shows some usefull code
  • Samuel, Thu 03 of Jul, 2008 [08:04 UTC]: I'll translate it, for sure
  • Mats Karlsson, Wed 02 of Jul, 2008 [20:46 UTC]: LOL, in french! Translate it to English and I will read it.
  • Samuel, Wed 02 of Jul, 2008 [08:07 UTC]: Hello, i wrote a blog about Asterisk, speaking about installation,programming and more http://sambranche.blogspot.com/
  • Nick Barnes, Tue 01 of Jul, 2008 [17:46 UTC]: Steve - Asterisk doesn't 'fit into linux' - it's an application which runs on top of Linux.
  • Steve, Mon 30 of Jun, 2008 [18:07 UTC]: anyone know where I can find a block diagram of how asterisk fits into linux. my f'ing bosses want me to draw something up.. ugh.
  • akbar, Fri 27 of Jun, 2008 [10:37 UTC]: marley_boyz@yahoo.com how to configure call forward, call back, call pick up using TDM and asterisk 1.2.13... please help me.. thx...
  • Matthew Williams, Tue 24 of Jun, 2008 [22:37 UTC]: We are looking for Tier II VoIP Support Technicians in St Louis. Send resumes to mwilliams AT voxitas DOT com.
Server Stats
  • Execution time: 0.43s
  • Memory usage: 2.59MB
  • Database queries: 33
  • GZIP: Disabled
  • Server load: 0.43

Sample Asterisk config for StanaPhone

Sample Asterisk config for StanaPhone


This works for me. All calls to my StanaPhone number ring on my extension 101, and after 20 seconds goes to my * voicemail. To use the StanaPhone network I dial 9 and the number.

sip.conf

 [general]
 port = 5060
 bindaddr = 0.0.0.0
 allow=ulaw

 ; This section is because i'm behind nat
 externip = 206.45.88.212 ;Outside address
 localnet = 192.168.2.10 ;Inside address
 localmask = 255.255.255.0 ;Inside subnet

 context = sip ; Default context for incoming calls
 register => stanaphonenumber:stanaphonepassword@sip.stanaphone.com/101

 [stanaphone]
 type = friend
 username = Stanaphonenumber
 secret = Stanaphonepassword
 host = sip.stanaphone.com
 context = sip
 nat = yes
 canreinvite=no ; for NAT, but it will eat up TWICE the bandwidth because everything will go through *
 insecure=very ; this will prevent * from sending a SIP 407 error back when a call comes in


 [phone1] ;x-lite
 type=friend
 username=phone1
 secret=12345678
 host=dynamic
 defaultip=192.168.2.199
 dtmfmode=rfc2833
 context=intern
 callerid="phone1" <101>
 mailbox=101



extensions.conf

 [general]
 static=yes
 writeprotect=no

 [globals]
 STANAPHONEUSERID=stanaphonenumber

 [intern]
 include => stana-out
 include => sip

 [stana-out]
 ; STANAPHONE - Dial 9 & number to use stanaphone
 exten => _9.,1,SetCallerID(${STANAPHONEUSERID})
 exten => _9.,2,Dial(SIP/${EXTEN:1}@sip.stanaphone.com,60,tr)

 [sip]
 ; phone1 - x-lite
 exten => 101,1,Dial(SIP/phone1,20,tr)
 exten => 101,2,Voicemail(u101)
 exten => 101,3,Hangup
 exten => 101,102,VoiceMail(b101)
 exten => 101,103,Hangup 


For me this above did not work, I was getting "Failed to authenticate on INVITE to" or similiar messages,
I have found working config on

http://forum.stanaphone.com/viewtopic.php?t=993&sid=000fc84c46fabe94bbd324e95963c624
http://forum.stanaphone.com/viewtopic.php?t=1327
http://forum.stanaphone.com/viewtopic.php?t=1153

Using AMP to configure Stanaphone

General SIP configuration

Created by papafox, Last modification by bui nguyen bao anh on Thu 05 of Apr, 2007 [11:04 UTC]

Comments Filter

stanaphone firewall

by kFuQ on Wednesday 05 of April, 2006 [20:29:23 UTC]
i had to open tcp and udp ports 5060-5069 for stanaphone to register with asterisk

snip from sip.conf

;stanaphone
register=> 081xxxxx:xxxxxx@sip.stanaphone.com/081xxxxx

Stanaphone
username=081xxxxx
context=sip:incoming
type=peer
secret=xxxxxx
qualify=yes
nat=1
insecure=very
host=sip.stanaphone.com
dtmfmode=rfc2833
canreinvite=no


Edit

Re: is this working

by Anonymous on Tuesday 21 of December, 2004 [03:35:30 UTC]
Yes, It works.
Did not enter all the reqired information(:lol:)
Edit

is this working

by Anonymous on Monday 20 of December, 2004 [03:03:05 UTC]
is this working?
I entered my number and password following the above step. This does not work(:question:)

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver