Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
cd /etc/asterisk
grep host * -R -n
; WARNING- THIS FILE IS AUTO-GENERATED BY VICIDIAL, ANY EDITS YOU MAKE WILL BE LOST
; VICIDIAL Carrier: DropTansfer - Drop Tansfer
; Drop Tansfer
; VICIDIAL Carrier:
; XXXXXXXX
[xxxxxxxxxxx]
type=friend
host=xxx.xxx.xxx.xxx
canreinvite=no
insecure=port,invite
disallow=all
allow=g729
allow=ulaw
allow=alaw
dtmfmode=rfc2833
context=trunkinbound
; VICIDIAL Carrier:
; XXXXXXXX
[XXXXXXXX]
type=friend
host=xxx.xxx.xxx.xxx
canreinvite=no
insecure=port,invite
disallow=all
allow=g729
allow=ulaw
allow=alaw
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
; VICIDIAL Carrier: xxxxxxxxxxx - xxxxxxxxxxx
; xxxxxxxxxxx
[xxxxxxxxxxx]
type=friend
host=xxx.xxx.xxx.xxx
canreinvite=no
insecure=port,invite
disallow=all
allow=g729
allow=ulaw
allow=alaw
dtmfmode=rfc2833
context=trunkinbound
; VICIDIAL Carrier: xxxxxxxxxxx- xxxxxxxxxxx
; Manual Dial
[xxxxxxxxxxx]
type=friend
host=xxx.xxx.xxx.xxx
username=xxxxxxxxxxx
secret=xxxxxxxxxxx
canreinvite=no
disallow=all
allow=g729
allow=ulaw
allow=alaw
nat=yes
dtmfmode=rfc2833
context=trunkinbound
[1001]
username=1001
secret=xxxxxxxxxxx
accountcode=1001
callerid="" <1001>
mailbox=1001
context=Test-Nodialout
type=friend
host=dynamic
[1002]
username=1002
secret=xxxxxxxxxxx
accountcode=1002
callerid="" <1002>
mailbox=1002
context=Test-Nodialout
type=friend
host=dynamic
[1003]
username=1003
secret=xxxxxxxxxxx
accountcode=1003
callerid="" <1003>
mailbox=1003
context=Test-Nodialout
type=friend
host=dynamic
[1004]
username=1004
secret=xxxxxxxxxxx
accountcode=1004
callerid="" <1004>
mailbox=1004
context=Test-Nodialout
type=friend
host=dynamic
[1005]
username=1005
secret=xxxxxxxxxxx
accountcode=1005
callerid="" <1005>
mailbox=1005
context=Test-Nodialout
type=friend
host=dynamic
[1006]
username=1006
secret=xxxxxxxxxxx
accountcode=1006
callerid="" <1006>
mailbox=1006
context=Test-Nodialout
type=friend
host=dynamic
[1007]
username=1007
secret=xxxxxxxxxxx
accountcode=1007
callerid="" <1007>
mailbox=1007
context=Test-Nodialout
type=friend
host=dynamic
[1008]
username=1008
secret=xxxxxxxxxxx
accountcode=1008
callerid="" <1008>
mailbox=1008
context=Test-Nodialout
type=friend
host=dynamic
[1009]
username=1009
secret=xxxxxxxxxxx
accountcode=1009
callerid="" <1009>
mailbox=1009
context=Test-Nodialout
type=friend
host=dynamic
[1010]
username=1010
secret=xxxxxxxxxxx
accountcode=1010
callerid="" <1010>
mailbox=1010
context=Test-Nodialout
type=friend
host=dynamic
[1011]
username=1011
secret=xxxxxxxxxxx
accountcode=1011
callerid="" <1011>
mailbox=1011
context=Test-Nodialout
type=friend
host=dynamic
[1012]
username=1012
secret=xxxxxxxxxxx
accountcode=1012
callerid="" <1012>
mailbox=1012
context=Test-Nodialout
type=friend
host=dynamic
[1013]
username=1013
secret=xxxxxxxxxxx
accountcode=1013
callerid="" <1013>
mailbox=1013
context=Test-Nodialout
type=friend
host=dynamic
[1014]
username=1014
secret=xxxxxxxxxxx
accountcode=1014
callerid="" <1014>
mailbox=1014
context=Test-Nodialout
type=friend
host=dynamic
[1015]
username=1015
secret=xxxxxxxxxxx
accountcode=1015
callerid="" <1015>
mailbox=1015
context=Test-Nodialout
type=friend
host=dynamic
[1016]
username=1016
secret=xxxxxxxxxxx
accountcode=1016
callerid="" <1016>
mailbox=1016
context=Test-Nodialout
type=friend
host=dynamic
[1017]
username=1017
secret=xxxxxxxxxxx
accountcode=1017
callerid="" <1017>
mailbox=1017
context=Test-Nodialout
type=friend
host=dynamic
[1018]
username=1018
secret=xxxxxxxxxxx
accountcode=1018
callerid="" <1018>
mailbox=1018
context=Test-Nodialout
type=friend
host=dynamic
[1019]
username=1019
secret=xxxxxxxxxxx
accountcode=1019
callerid="" <1019>
mailbox=1019
context=Test-Nodialout
type=friend
host=dynamic
[1020]
username=1020
secret=xxxxxxxxxxx
accountcode=1020
callerid="" <1020>
mailbox=1020
context=Test-Nodialout
type=friend
host=dynamic
[1021]
username=1021
secret=xxxxxxxxxxx
accountcode=1021
callerid="" <1021>
mailbox=1021
context=Test-Nodialout
type=friend
host=dynamic
[1022]
username=1022
secret=xxxxxxxxxxx
accountcode=1022
callerid="" <1022>
mailbox=1022
context=Test-Nodialout
type=friend
host=dynamic
[1023]
username=1023
secret=xxxxxxxxxxx
accountcode=1023
callerid="" <1023>
mailbox=1023
context=Test-Nodialout
type=friend
host=dynamic
[1024]
username=1024
secret=xxxxxxxxxxx
accountcode=1024
callerid="" <1024>
mailbox=1024
context=Test-Nodialout
type=friend
host=dynamic
[1025]
username=1025
secret=xxxxxxxxxxx
accountcode=1025
callerid="" <1025>
mailbox=1025
context=Test-Nodialout
type=friend
host=dynamic
[1026]
username=1026
secret=xxxxxxxxxxx
accountcode=1026
callerid="" <1026>
mailbox=1026
context=Test-Nodialout
type=friend
host=dynamic
[1027]
username=1027
secret=xxxxxxxxxxx
accountcode=1027
callerid="" <1027>
mailbox=1027
context=Test-Nodialout
type=friend
host=dynamic
[1028]
username=1028
secret=xxxxxxxxxxx
accountcode=1028
callerid="" <1028>
mailbox=1028
context=Test-Nodialout
type=friend
host=dynamic
[1029]
username=1029
secret=xxxxxxxxxxx
accountcode=1029
callerid="" <1029>
mailbox=1029
context=Test-Nodialout
type=friend
host=dynamic
[1096]
username=1096
secret=xxxxxxxxxxx
accountcode=1096
callerid="" <1096>
mailbox=1096
context=Test-Nodialout
type=friend
host=dynamic
[1097]
username=1097
secret=xxxxxxxxxxx
accountcode=1097
callerid="" <1097>
mailbox=1097
context=Test-Nodialout
type=friend
host=dynamic
[1098]
username=1098
secret=xxxxxxxxxxx
accountcode=1098
callerid="" <1098>
mailbox=1098
context=Test-Nodialout
type=friend
host=dynamic
[1099]
username=1099
secret=xxxxxxxxxxx
accountcode=1099
callerid="" <1099>
mailbox=1099
context=Test-Nodialout
type=friend
host=dynamic
[2000]
username=2000
secret=xxxxxxxxxxx
accountcode=2000
callerid="" <2000>
mailbox=2000
context=Test-Nodialout
type=friend
host=dynamic
[2001]
username=2001
secret=xxxxxxxxxxx
accountcode=2001
callerid="" <2001>
mailbox=2001
context=default
type=friend
host=dynamic
[2002]
username=2002
secret=xxxxxxxxxxx
accountcode=2002
callerid="" <2002>
mailbox=2002
context=Test-Nodialout
type=friend
host=dynamic
[2003]
username=2003
secret=xxxxxxxxxxx
accountcode=2003
callerid="" <2003>
mailbox=2003
context=Test-Nodialout
type=friend
host=dynamic
[2004]
username=2004
secret=xxxxxxxxxxx
accountcode=2004
callerid="" <2004>
mailbox=2004
context=Test-Nodialout
type=friend
host=dynamic
[2005]
username=2005
secret=xxxxxxxxxxx
accountcode=2005
callerid="" <2005>
mailbox=2005
context=Test-Nodialout
type=friend
host=dynamic
[2006]
username=2006
secret=xxxxxxxxxxx
accountcode=2006
callerid="" <2006>
mailbox=2006
context=Test-Nodialout
type=friend
host=dynamic
[2007]
username=2007
secret=xxxxxxxxxxx
accountcode=2007
callerid="" <2007>
mailbox=2007
context=Test-Nodialout
type=friend
host=dynamic
[2008]
username=2008
secret=xxxxxxxxxxx
accountcode=2008
callerid="" <2008>
mailbox=2008
context=Test-Nodialout
type=friend
host=dynamic
[2009]
username=2009
secret=xxxxxxxxxxx
accountcode=2009
callerid="" <2009>
mailbox=2009
context=Test-Nodialout
type=friend
host=dynamic
[2010]
username=2010
secret=xxxxxxxxxxx
accountcode=2010
callerid="" <2010>
mailbox=2010
context=Test-Nodialout
type=friend
host=dynamic
[2011]
username=2011
secret=xxxxxxxxxxx
accountcode=2011
callerid="" <2011>
mailbox=2011
context=Test-Nodialout
type=friend
host=dynamic
[2012]
username=2012
secret=xxxxxxxxxxx
accountcode=2012
callerid="" <2012>
mailbox=2012
context=Test-Nodialout
type=friend
host=dynamic
[2013]
username=2013
secret=xxxxxxxxxxx
accountcode=2013
callerid="" <2013>
mailbox=2013
context=Test-Nodialout
type=friend
host=dynamic
[2014]
username=2014
secret=xxxxxxxxxxx
accountcode=2014
callerid="" <2014>
mailbox=2014
context=Test-Nodialout
type=friend
host=dynamic
[2015]
username=2015
secret=xxxxxxxxxxx
accountcode=2015
callerid="" <2015>
mailbox=2015
context=Test-Nodialout
type=friend
host=dynamic
[2016]
username=2016
secret=xxxxxxxxxxx
accountcode=2016
callerid="" <2016>
mailbox=2016
context=Test-Nodialout
type=friend
host=dynamic
[2017]
username=2017
secret=xxxxxxxxxxx
accountcode=2017
callerid="" <2017>
mailbox=2017
context=Test-Nodialout
type=friend
host=dynamic
[2018]
username=2018
secret=xxxxxxxxxxx
accountcode=2018
callerid="" <2018>
mailbox=2018
context=Test-Nodialout
type=friend
host=dynamic
[2019]
username=2019
secret=xxxxxxxxxxx
accountcode=2019
callerid="" <2019>
mailbox=2019
context=Test-Nodialout
type=friend
host=dynamic
[2020]
username=2020
secret=xxxxxxxxxxx
accountcode=2020
callerid="" <2020>
mailbox=2020
context=Test-Nodialout
type=friend
host=dynamic
[2021]
username=2021
secret=xxxxxxxxxxx
accountcode=2021
callerid="" <2021>
mailbox=2021
context=Test-Nodialout
type=friend
host=dynamic
[2022]
username=2022
secret=xxxxxxxxxxx
accountcode=2022
callerid="" <2022>
mailbox=2022
context=Test-Nodialout
type=friend
host=dynamic
[2023]
username=2023
secret=xxxxxxxxxxx
accountcode=2023
callerid="" <2023>
mailbox=2023
context=Test-Nodialout
type=friend
host=dynamic
[2024]
username=2024
secret=xxxxxxxxxxx
accountcode=2024
callerid="" <2024>
mailbox=2024
context=Test-Nodialout
type=friend
host=dynamic
[2025]
username=2025
secret=xxxxxxxxxxx
accountcode=2025
callerid="" <2025>
mailbox=2025
context=Test-Nodialout
type=friend
host=dynamic
[2026]
username=2026
secret=xxxxxxxxxxx
accountcode=2026
callerid="" <2026>
mailbox=2026
context=Test-Nodialout
type=friend
host=dynamic
[2027]
username=2027
secret=xxxxxxxxxxx
accountcode=2027
callerid="" <2027>
mailbox=2027
context=Test-Nodialout
type=friend
host=dynamic
[2028]
username=2028
secret=xxxxxxxxxxx
accountcode=2028
callerid="" <2028>
mailbox=2028
context=Test-Nodialout
type=friend
host=dynamic
[2029]
username=2029
secret=xxxxxxxxxxx
accountcode=2029
callerid="" <2029>
mailbox=2029
context=Test-Nodialout
type=friend
host=dynamic
[2099]
username=2099
secret=xxxxxxxxxxx
accountcode=2099
callerid="" <2099>
mailbox=2099
context=Test-Nodialout
type=friend
host=dynamic
[3099]
username=3099
secret=xxxxxxxxxxx
accountcode=3099
callerid="" <3099>
mailbox=3099
context=Test-Nodialout
type=friend
host=dynamic
[itvoip]
username=itvoip
secret=xxxxxxxxxxx
accountcode=itvoip
callerid="" <9001>
mailbox=9001
context=Test-Nodialout
type=friend
host=dynamic
; END OF FILE
if (maddr)
c = maddr;
hp = ast_gethostbyname(c, &ahp);
if (!hp) {
ast_log(LOG_WARNING, "'%s' is not a valid host\n", c);
return;
}
Users browsing this forum: Google [Bot] and 151 guests