my working settings

Comment on Asterisk settings for sipcall.ch
voipma
Joined: Thu 13 of Jul, 2006

my working settings

Posted:Thu 13 of Jul, 2006 (22:40 UTC)
Works for receiving calls to a sipcall.ch number (4132...) on a sip client through asterisk.

sip.conf

[general]
context=default
realm=myhost.domain.tld
port=5060
useragent=myvoipbbox
language=de

register => number:password@sip.backbone.ch/number

[sipcallch]
type=friend
username=number
secret=password
host=sip.backbone.ch
fromuser=number
fromdomain=sip.backbone.ch
nat=yes
qualify=yes
insecure=very
context=calls
canreinvite=no
dtmfmode=info


in extension.conf


[default]
include => calls

[calls]
; forwarding incoming to sip client 200
exten => number,1,Dial(SIP/200,10,Ttr)
exten => number,2,Hangup

; outgoing over sipcall.ch
; (not tested yet!)
;exten => _3.,1,Dail(SIP/${EXTEN
1}@sipcallch,10,Ttr)
;exten => _3.,2,Congestion
;exten => _3.,3,Busy
;exten => _3.,4,Hang