Peers & Trunks: Difference between revisions
No edit summary |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 268: | Line 268: | ||
For some reason MNF will only operate as a type=friend rather than setting an inbound and outbound context. | For some reason MNF will only operate as a type=friend rather than setting an inbound and outbound context. | ||
=== fwdOUT === | === fwdOUT === | ||
<table border="0" cellspacing="0" cellpadding="0 | <table border="0" cellspacing="0" cellpadding="0"> | ||
<tr> | <tr> | ||
<td width="120"> </td> | <td width="120"> </td> | ||
Line 277: | Line 277: | ||
<td valign="top">[fwdOUT]<br> | <td valign="top">[fwdOUT]<br> | ||
type=friend<br> | type=friend<br> | ||
username= | username=username<br> | ||
secret= | secret=password<br> | ||
host=iax.fwdOUT.com<br> | host=iax.fwdOUT.com<br> | ||
context=fromfwdOUT<br> | context=fromfwdOUT<br> | ||
Line 299: | Line 299: | ||
<td valign="top"> | <td valign="top"> | ||
register=username:password@iax.fwdout.com</td> | register=username:password@iax.fwdout.com</td> | ||
</tr> | |||
<tr> | |||
<td width="120"> </td> | |||
<td valign="top"></td> | |||
</tr> | |||
<tr> | |||
<td width="120"> </td> | |||
<td valign="top"> | |||
[internal]<br> | |||
;fwdOUT<br> | |||
exten => _01X.,1,Set(CALLERID(all)="Klaverstyn" <6173???????>)<br> | |||
exten => _01X.,n,Dial(IAX2/username@fwdOUT/${EXTEN:2},60)<br> | |||
exten => _01X.,n,Congestion<br> | |||
<br> | |||
[fromfwdOUT]<br> | |||
exten => _61[2378]XXXXXXXX,1,Dial(SIP/GoTalk/0${EXTEN:2},60)<br> | |||
exten => _61[2378]XXXXXXXX,n,HangUp<br> | |||
<br> | |||
exten => _614XXXXXXXX,1,Dial(SIP/GoTalk/0${EXTEN:2},60L(1800000:1790000))<br> | |||
exten => _614XXXXXXXX,n,HangUp<br> | |||
<br> | |||
exten => _611800XXXXXX,1,Dial(SIP/GoTalk/${EXTEN:2},60)<br> | |||
exten => _611800XXXXXX,n,HangUp</td> | |||
</tr> | </tr> | ||
</table> | </table> | ||
= Asterisk 1.4.x = | = Asterisk 1.4.x = | ||
== IAX Configuration == | == IAX Configuration == |
Latest revision as of 01:52, 16 April 2009
Asterisk Users and Peers
Here is a list of my current VSP settings. Since installing Asterisk 1.6.x I have found that my peers and trunk configuration had to be changed.
Asterisk 1.6.x
Templates
[exten-set](!) type=friend |
[lan-codec](!) disallow=all |
SIP Configuration
GoTalk
Peer | User | ||
;GoTalk Outbound [GoTalk](wan-codec) |
;GoTalk Inbound [username](wan-codec) |
||
Registration | |||
register=username:password@sip.gotalk.com/username | |||
NOTE: Username is not your DID but you GoTalk 09 number. Also the DTMF settings on an ATA or IP Phone should be set to AVT |
PennyTel
Peer | User | ||
;PennyTel Outbound [PennyTel](wan-codec) |
;PennyTel Inbound [username](wan-codec) |
||
Registration | |||
register=username:password@sip.pennytel.com/username |
BBPGlobal
Peer | User | ||
[BBPGlobal](wan-codec) defaultuser=username |
;BBP Global inbound [1104848](wan-codec) |
||
Registration | |||
register=username:password@sip2.bbpglobal.com/username |
Free World Dialpoint
Peer | User | ||
[WorldDialPoint](wan-codec) defaultuser=username |
;;Free World Dial Inbound [username](wan-codec) |
||
Registration | |||
register=username:password@202.168.56.133 |
MyNetFone
Peer | User | ||
;MyNetFone Outbound [MyNetFone](wan-codec) |
[;MyNetFone Inbound [username](wan-codec) |
||
Registration | |||
register=09xxxxxx:yyyyyyyy@sip00.mynetfone.com.au/09xxxxxx |
For some reason MNF will only operate as a type=friend rather than setting an inbound and outbound context.
fwdOUT
Peer & User | |
[fwdOUT] type=friend |
|
Registration | |
register=username:password@iax.fwdout.com | |
[internal] |
Asterisk 1.4.x
IAX Configuration
FWD (Free World Dialup)
Peer | User | ||
[fwd] CallerID="David" <username> |
[iaxfwd] username=username |
||
Registration | |||
register=username:password@iax2.fwdnet.net |
SIP Configuration
GoTalk
Peer | User | ||
[GoTalk] username=username |
;GoTalk Inbound [username] |
||
Registration | |||
register=username:password@sip.gotalk.com/username | |||
NOTE: Username is not your DID but you GoTalk 09 number. Also the DTMF settings on an ATA or IP Phone should be set to AVT |
PennyTel
Peer | User | ||
[PennyTel] username=username |
;PennyTel Inbound [username] |
||
Registration | |||
register=username:password@sip.pennytel.com/username |
BBPGlobal
Peer | User | ||
[BBPGlobal] username=username |
;BBP Global inbound [username] |
||
Registration | |||
register=username:password@sip2.bbpglobal.com/username |
Free World Dialpoint
Peer | User | ||
[WorldDialPoint] username=username |
;Wold Dial Point Inbound [username] |
||
Registration | |||
register=username:password@202.168.56.133 |
MyNetFone
Peer & User | |
[MyNetFone] type=friend |
|
Registration | |
register=09xxxxxx:yyyyyyyy@sip00.mynetfone.com.au/09xxxxxx |
For some reason MNF will only operate as a type=friend rather than setting an inbound and outbound context.
fwdOUT
Peer & User | |
[fwdOUT] type=friend |
|
Registration | |
register=username:password@iax.fwdout.com |