[asterisk-users] One Way Audio

Tim King tim at compnetwork.net
Thu Mar 10 07:22:58 CST 2011


My message with the configuration attached is awaiting moderator approval. I
will try to paste relevant data here.

*sip.conf*
[general]
context=inbound                 ;
allowoverlap=no
udpbindaddr=0.0.0.0
tcpenable=no
tcpbindaddr=0.0.0.0
srvlookup=yes
disallow=all
allow=ulaw
allow=alaw
dtmfmode = rfc2833
directmedia=no

[castlewire]
type=user
host=74.204.4.206
context=outb2
dtmfmode=rfc2833
username=castlewire
secret=1234
quallify=yes
canreinvite=no

[equity]
type=friend
host=dynamic
context=outb2
dtmfmode=rfc2833
username=equity
secret=1234
quallify=yes
canreinvite=no

[3000]
type=friend
host=dynamic
nat=yes
context=inbound
dtmfmode=rfc2833
username=3000
secret=1234
quallify=yes
canreinvite=no

[6168182996]
type=friend
host=dynamic
nat=yes
context=outb2
dtmfmode=rfc2833
username=6168182996
secret=1234
quallify=yes
canreinvite=no

[VITELITY]
type=friend
host=64.2.142.93
port=5060
dtmfmode=auto
context=inbound

[QWEST_OUT]
type=friend
host=67.135.79.80
port=5060
dtmfmode=inband

[QWEST8XX_IN]
type=friend
host=67.135.79.199
port=5060
context=qwest800

[DIDX1]
type=peer
host=67.15.128.14
context=inbound
canreinvite=no

[DIDX2]
type=peer
host=67.15.128.18
context=inbound
canreinvite=no

[DIDX3]
type=peer
host=208.44.220.237
context=inbound
canreinvite=no

[DIDX4]
type=peer
host=208.44.220.234
context=inbound
canreinvite=no

[DIDX5]
type=peer
host=209.62.66.242
context=inbound
canreinvite=no

[DIDX6]
type=peer
host=64.246.22.119
context=inbound
canreinvite=no

[DIDX7]
type=peer
host=70.84.58.18
context=inbound
canreinvite=no

[DIDX8]
type=peer
host=174.133.195.194
context=inbound
canreinvite=no

*iax.conf*

[general]
bandwidth=low
disallow=all
allow=ulaw
allow=alaw
jitterbuffer=no
forcejitterbuffer=no
autokill=yes

register=equity_out:1234 at 74.204.4.166
;register => IAX2/castlewire_trix:1234 at 74.204.4.206

[CASTLEWIRE]
type=friend
;host=74.204.4.206
host=dynamic
trunk=yes
auth=md5,plaintext,rsa
secret=1234
username=CASTLEWIRE
qualify=yes
context=outb2

[castlewire_trix]
type=friend
;host=74.204.4.206
host=dynamic
trunk=yes
auth=md5,plaintext,rsa
secret=1234
username=castlewire_trix
qualify=yes
context=outb2
requirecalltoken=no

[equity]
type=friend
host=dynamic
context=equity-fix
secret=1234
username=default
channels=10
trunk=yes
timezone=America/Detroit
qualify=yes
requirecalltoken=no

[equity_out]
type=friend
host=dynamic
context=outb2
secret=1234
username=equity_out
channels=10
trunk=yes
timezone=America/Detroit
qualify=yes
requirecalltoken=no

*extensions.conf*

[inbound]
;Equity Logistics
;exten => 6168182400,1,Dial(IAX2/equity/${EXTEN})
;exten => 6168182400,n,Hangup()
;exten => 8182400,1,Dial(IAX2/equity/${EXTEN})
;exten => 8182400,n,Hangup()

exten => 6168182400,1,Dial(SIP/equity/${EXTEN})
exten => 6168182400,n,Hangup()

exten => 6168182996,1,Dial(SIP/${EXTEN})
exten => 6168182996,n,Hangup()
;exten => 6168182996,1,Answer()
;exten => 6168182996,n,Milliwatt()

exten => 3000,1,Dial(SIP/${EXTEN})
exten => 3000,n,Hangup()

;CASTELWIRE NUMBERS
exten => 6168182000,1,Dial(IAX2/castlewire_trix/${EXTEN})
exten => 6168182000,n,Hangup()

;exten => 6168182000,1,Dial(SIP/4403712250 at 12.194.10.18)
;exten => 6168182000,n,Hangup()


exten => 6168182999,1,Set(portnum=${CALLERID(rdnis)})
exten => 6168182999,n,Set(cutNum=${CUT(portnum|\-|6)})
exten => 6168182999,n,Dial(SIP/${cutNum})
exten => 6168182999,n,Hangup()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110310/13cc0a3a/attachment.htm>


More information about the asterisk-users mailing list