Hello everyone,
I’ve setup hylafax and iaxmodem with asterisk. I have dialplan configured but it always goes to default context. Below is my dialplan:
sip.conf
; sip.conf
[general]
context=default
bindport=5060
bindaddr=0.0.0.0
dtmfmode=rfc2833
callcounter=yes
prematuremedia=no
[sbc112]
type=peer
directmedia=no
host=10.10.13.112
disallow=all
allow=alaw
context=inbound
dtmfmode=rfc2833
insecure=invite
progressinband=yes
extensions.conf
;extensions.conf
[general]
extenpatternmatchnew=yes
[globals]
CUSTOM_RECORDINGS=/var/lib/asterisk/sounds/custom
[default]
; leave blank for security
[inbound]
exten => _+41412404959,1,NoOp(SBC112-Inbound-Fax)
exten => _+41412404959,n,Dial(IAX2/ttyIAX0)
[outbound]
exten => _00XXXXXXXXXXX,1,NoOp(Outgoing-SBC112-International)
exten => _00XXXXXXXXXXX,n,Dial(SIP/${EXTEN}@sbc112)
exten => _0XXXXXXXXX,1,NoOp(Outgoing-SBC112-National)
exten => _0XXXXXXXXX,n,Dial(SIP/${EXTEN}@sbc112)
iax.conf
[general]
bindport = 4569
bindaddr = 0.0.0.0
disallow=all
allow=alaw
calltokenoptional=127.0.0.1/255.255.255.255
[ttyIAX0]
context=inbound
type=friend
secret=sommer99
port=4570
host=dynamic
defaultip=127.0.0.1
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.255
disallow=all
allow=alaw
jitterbuffer=no
requirecalltoken=no
Thanks all for your help in advance,
Louis