Penguin
Diff: AsteriskSipPhoneSetup
EditPageHistoryDiffInfoLikePages

Differences between version 5 and previous revision of AsteriskSipPhoneSetup.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 5 Last edited on Wednesday, September 8, 2004 11:08:47 am by TonyAllen Revert
Older page: version 2 Last edited on Thursday, March 4, 2004 10:10:45 pm by CraigBox Revert
@@ -1,14 +1,16 @@
 An Example setup for connecting from Asterisk to sipphone.com. 
+  
+Note: If you are behind a router/firewall, you'll want to forward the ports 5004, 5060, and 69 to your local ip with the asterisk server on it.  
  
 !!extensions.conf 
  
 <verbatim> 
-[[Globals
+[globals
 
 
-SIPPHONEUSERID=17473863406  
- 
+SIPPHONEUSERID=1747xxxXXXX  
+MYNAME=Bob  
 [[dialout] 
 
 
 include => sip-forced 
@@ -25,9 +27,9 @@
 [[sip-forced] 
  
 exten => _6.,1,SetCallerID(${SIPPHONEUSERID}) 
 exten => _6.,2,SetCIDName(${MYNAME}) 
-exten => _6.,3,Dial(SIP/${EXTEN:1}@sipphone) 
+exten => _6.,3,Dial(SIP/${EXTEN:1}@proxy01. sipphone.com
 exten => _6.,4,Playback(invalid) 
 exten => _6.,5,Hangup 
  
  
@@ -38,9 +40,9 @@
 ; Dial(${PHONES1}&${PHONES2},15,Ttm) 
 ; would cause both lines to ring 
 
  
-[ [from-sipphone] 
+[from-sipphone] 
 exten => ${SIPPHONEUSERID},1,Dial(${PHONES1},30,Ttm) 
 exten => ${SIPPHONEUSERID},2,Voicemail2(u${PHONES1VM}) 
 exten => ${SIPPHONEUSERID},3,Hangup 
 </verbatim> 
@@ -51,22 +53,29 @@
 [[general] 
 
 
 
-register=<YourSIPPhoneID>:<YourSIPPhonePassword>@proxy01.sipphone.com  
-  
- 
+register=<YourSIPPhoneID>:<YourSIPPhonePassword>@proxy01.sipphone.com/<extension>  
+.  
+.  
+;be sure to set your external ip if you're behind a router.  
+;Especially if you want to use sipphone minutes  
+externip=xxx.xxx.xxx.xxx  
+.  
+.  
+;uncomment this line as it should be in your default sip.conf  
+localnet=192.168../255.255..; All RFC 1918 addresses are local networks  
  
  
-[[sipphone] 
+;Note: the name is [proxy01.sipphone.com] so that incoming calls work correctly  
+ [proxy01. sipphone.com
 type=friend 
 secret=<YourSIPPhonePassword> 
 username=<YourSIPPhoneID> 
 host=proxy01.sipphone.com 
 dtmfmode=inband 
-context=home  
+context=dialout ;or your context which includes the dialing rules  
 nat=yes 
+qualify=no  
 reinvite=no 
 canreinvite=no 
-disallow=all  
-allow=all  
 </verbatim> 
The following authors of this page have not agreed to the WlugWikiLicense. As such copyright to all content on this page is retained by the original authors.
  • TonyAllen
  • AdamWentworth
The following authors of this page have agreed to the WlugWikiLicense.

    PHP Warning

    lib/plugin/WlugLicense.php (In template 'html'):99: Warning: Invalid argument supplied for foreach()

    lib/plugin/WlugLicense.php (In template 'html'):111: Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument

    lib/plugin/WlugLicense.php (In template 'html'):111: Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument