[Asterisk-Users] Follow-up -- Using Asterisk with Nikotel

BK [address only for mailing lists] bk_mailinglists at yahoo.co.uk
Mon Jul 7 13:15:19 MST 2003


Hi

thanks to everybody who has been assisting me in solving the various 
problems I had to dial out from Asterisk to a PSTN number with SIP using 
Nikotel's VoIP service.

I have drafted a mini-how-to which is available at

http://www.akabeni.com/benjk/Using_Asterisk_with_Nikotel.pdf

This is a first draft, I will amend this further, in particular the 
"verify and debug" section which is blank right now.


here is a plain text summary:

in sip.conf ...

------------------------------------------------------
; SIP Registration with Nikotel
;
register => myusername:mypassword at calamar0.nikotel.com

; SIP peer definition
;
[nikotel]
type=friend
secret=mypassword
auth=md5
username=myusername
fromuser=myusername	; IMPORTANT! Nikotel requires this!
host=calamar0.nikotel.com
------------------------------------------------------

in extensions.conf

------------------------------------------------------
; Extensions
;
[globals]
CC => 81	; Local country code (here Japan)
PSTN     => Zap/1	; incoming NTT line
REDPHONE => Zap/2	; internal analog line
FAXPHONE => Zap/3	; internal fax line
IPPHONE1 => SIP/Sip1	; IP phone #1
IPPHONE2 => SIP/Sip2	; IP phone #2

; International long distance through VoIP service
;
[voipintl]
exten => _00N.,1,Dial(SIP/${EXTEN:2}@nikotel,60,r)
exten => _00N.,2,Congestion

[voipnatl]
;
; National long distance and local throuh VoIP service
;
exten => _0N.,1,Dial(SIP/${CC}${EXTEN:1}@nikotel,60,r)
exten => _0N.,2,Congestion

[international]
include => voipintl

[national]
include => voipnatl

[incoming]
exten => s,1,Dial(${IPPHONE1}&${IPPHONE2),20,r)

[internal]
exten => 1001,1,Dial(${IPPHONE1},20,tr)
exten => 1001,2,Congestion
exten => 1002,1,Dial(${IPPHONE2},20,tr)
exten => 1002,2,Congestion
include => national
include => international
------------------------------------------------------

regards
bk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1999 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20030707/0083a49f/attachment.bin


More information about the asterisk-users mailing list