Re: Asterisk 1.8 + SPA112 + аналоговые факсы
Добавлено: 11 фев 2014, 17:34
На SPA 122
FAX Enabled T.38 - yes
Конфиг астериска (последний):
sip.conf
sip_additional.conf
sip_general_additional.conf
sip_nat.conf
udptl.conf
Логи:
FAX Enabled T.38 - yes
Конфиг астериска (последний):
sip.conf
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[general]
callcounter=yes
t8pt_udpl=yes,redundancy,maxdatagram=200
#include sip_general_additional.conf
#include sip_general_custom.conf
#include sip_registrations_custom.conf
#include sip_registrations.conf
#include sip_custom.conf
#include sip_additional.conf
#include sip_custom_post.conf
callcounter=yes
t8pt_udpl=yes,redundancy,maxdatagram=200
#include sip_general_additional.conf
#include sip_general_custom.conf
#include sip_registrations_custom.conf
#include sip_registrations.conf
#include sip_custom.conf
#include sip_additional.conf
#include sip_custom_post.conf
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[13]
deny=0.0.0.0/0.0.0.0
secret=*
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
sendrpid=no
type=friend
nat=no
port=5060
qualify=yes
qualifyfreq=60
transport=udp
encryption=no
callgroup=
pickupgroup=
dial=SIP/13
mailbox=13@device
permit=0.0.0.0/0.0.0.0
callerid=Test 13 <13>
callcounter=yes
faxdetect=no
[30]
deny=0.0.0.0/0.0.0.0
secret=*
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
sendrpid=no
type=friend
nat=no
port=5060
qualify=yes
qualifyfreq=60
transport=udp
encryption=no
callgroup=
pickupgroup=
dial=SIP/30
mailbox=30@device
permit=0.0.0.0/0.0.0.0
callerid=Test 30 <30>
callcounter=yes
faxdetect=no
[Er_tel2022010]
disallow=all
username=*username*
type=friend
secret=*secret*
qualify=yes
nat=no
insecure=invite
host=188.187.237.6
fromuser=*fromuser*
fromdomen=188.187.237.6
context=from-pstn-toheader
canreinvite=yes
call-limit=4
allow=alaw
[Er_tel_u1]
disallow=all
type=friend
qualify=yes
nat=no
insecure=port
host=188.187.237.4
context=from-pstn-toheader
canreinvite=yes
call-limit=4
allow=alaw
[Er_tel_u2]
disallow=all
type=friend
qualify=yes
nat=no
insecure=port
host=188.187.237.5
context=from-pstn-toheader
canreinvite=yes
call-limit=2
allow=alaw
[Er_tel_u3]
context=from-trunk-sip-Er_tel_u3
[mtt_1]
disallow=all
secret=*secret*
username=*username*
fromuser=74732022010
host=sip.mtt.ru
fromdomain=sip.mtt.ru
insecure=invite
allow=g729,alaw,ulaw,speex
nat=no
directmedia=no
canreinvite=no
type=peer
context=from-trunk-sip-mtt_1
deny=0.0.0.0/0.0.0.0
secret=*
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
sendrpid=no
type=friend
nat=no
port=5060
qualify=yes
qualifyfreq=60
transport=udp
encryption=no
callgroup=
pickupgroup=
dial=SIP/13
mailbox=13@device
permit=0.0.0.0/0.0.0.0
callerid=Test 13 <13>
callcounter=yes
faxdetect=no
[30]
deny=0.0.0.0/0.0.0.0
secret=*
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
sendrpid=no
type=friend
nat=no
port=5060
qualify=yes
qualifyfreq=60
transport=udp
encryption=no
callgroup=
pickupgroup=
dial=SIP/30
mailbox=30@device
permit=0.0.0.0/0.0.0.0
callerid=Test 30 <30>
callcounter=yes
faxdetect=no
[Er_tel2022010]
disallow=all
username=*username*
type=friend
secret=*secret*
qualify=yes
nat=no
insecure=invite
host=188.187.237.6
fromuser=*fromuser*
fromdomen=188.187.237.6
context=from-pstn-toheader
canreinvite=yes
call-limit=4
allow=alaw
[Er_tel_u1]
disallow=all
type=friend
qualify=yes
nat=no
insecure=port
host=188.187.237.4
context=from-pstn-toheader
canreinvite=yes
call-limit=4
allow=alaw
[Er_tel_u2]
disallow=all
type=friend
qualify=yes
nat=no
insecure=port
host=188.187.237.5
context=from-pstn-toheader
canreinvite=yes
call-limit=2
allow=alaw
[Er_tel_u3]
context=from-trunk-sip-Er_tel_u3
[mtt_1]
disallow=all
secret=*secret*
username=*username*
fromuser=74732022010
host=sip.mtt.ru
fromdomain=sip.mtt.ru
insecure=invite
allow=g729,alaw,ulaw,speex
nat=no
directmedia=no
canreinvite=no
type=peer
context=from-trunk-sip-mtt_1
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
vmexten=*97
accept_outofcall_messages=yes
auth_message_requests=no
outofcall_message_context=phone_context
disallow=all
allow=ulaw
allow=alaw
context=from-sip-external
callerid=Unknown
notifyringing=yes
notifyhold=yes
tos_sip=cs3
tos_audio=ef
tos_video=af41
alwaysauthreject=yes
useragent=FPBX-2.10.1(1.8.20.1)
accept_outofcall_messages=yes
auth_message_requests=no
outofcall_message_context=phone_context
disallow=all
allow=ulaw
allow=alaw
context=from-sip-external
callerid=Unknown
notifyringing=yes
notifyhold=yes
tos_sip=cs3
tos_audio=ef
tos_video=af41
alwaysauthreject=yes
useragent=FPBX-2.10.1(1.8.20.1)
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
externip=ip-адрес
udptl.conf
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[general]
udptlstart=20001
udptlend=20020
udptlchecksums=no
udptlfecentries=3
udptlfecspan=3
t38pt_rtp=no
t38pt_tcp=no
udptlstart=20001
udptlend=20020
udptlchecksums=no
udptlfecentries=3
udptlfecspan=3
t38pt_rtp=no
t38pt_tcp=no
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
2014-02-11 17:13:58] VERBOSE[1209] netsock2.c: == Using SIP RTP TOS bits 184
[2014-02-11 17:13:58] VERBOSE[1209] netsock2.c: == Using SIP RTP CoS mark 5
[2014-02-11 17:13:58] VERBOSE[1209] app_dial.c: -- Called SIP/Er_tel2022010/2397497
[2014-02-11 17:13:59] VERBOSE[1209] app_dial.c: -- SIP/Er_tel2022010-00000f27 is ringing
[2014-02-11 17:13:59] VERBOSE[1209] app_dial.c: -- SIP/Er_tel2022010-00000f27 is making progress passing it to SIP/13-00000f26
[2014-02-11 17:14:02] VERBOSE[1209] app_dial.c: -- SIP/Er_tel2022010-00000f27 answered SIP/13-00000f26
[2014-02-11 17:14:31] WARNING[3178] chan_sip.c: Rejecting offer with image stream due to UDPTL initialization failure
[2014-02-11 17:14:32] WARNING[3178] chan_sip.c: Rejecting offer with image stream due to UDPTL initialization failure
[2014-02-11 17:14:38] WARNING[1209] res_rtp_asterisk.c: RTP Read too short
[2014-02-11 17:14:38] WARNING[1209] res_rtp_asterisk.c: RTP Read too short
[2014-02-11 17:14:38] WARNING[1209] res_rtp_asterisk.c: RTP Read too short
[2014-02-11 17:15:02] VERBOSE[3178] netsock2.c: == Using SIP RTP TOS bits 184
[2014-02-11 17:15:02] VERBOSE[3178] netsock2.c: == Using SIP RTP CoS mark 5
[2014-02-11 17:15:02] VERBOSE[3115] chan_sip.c: == Extension Changed 19[ext-local] new state InUse for Notify User 28
[2014-02-11 17:15:02] VERBOSE[3115] chan_sip.c: == Extension Changed 19[ext-local] new state InUse for Notify User 77 (queued)
[2014-02-11 17:15:02] VERBOSE[3115] chan_sip.c: == Extension Changed 19[ext-local] new state InUse for Notify User 15
[2014-02-11 17:15:02] VERBOSE[3115] chan_sip.c: == Extension Changed 19[ext-local] new state InUse for Notify User 12
[2014-02-11 17:15:02] VERBOSE[3115] chan_sip.c: == Extension Changed 19[ext-local] new state InUse for Notify User 18
[2014-02-11 17:15:02] VERBOSE[3115] chan_sip.c: == Extension Changed 19[ext-local] new state InUse for Notify User 88
[2014-02-11 17:15:02] VERBOSE[3115] chan_sip.c: == Extension Changed 19[ext-local] new state InUse for Notify User 26
[2014-02-11 17:15:02] VERBOSE[1419] pbx.c: -- Executing [89204045531@from-internal:1] Macro("SIP/19-00000f28", "user-callerid,LIMIT,") in new stack
[2014-02-11 17:15:02] VERBOSE[3115] chan_sip.c: == Extension Changed 19[ext-local] new state InUse for Notify User 11
[2014-02-11 17:13:58] VERBOSE[1209] netsock2.c: == Using SIP RTP CoS mark 5
[2014-02-11 17:13:58] VERBOSE[1209] app_dial.c: -- Called SIP/Er_tel2022010/2397497
[2014-02-11 17:13:59] VERBOSE[1209] app_dial.c: -- SIP/Er_tel2022010-00000f27 is ringing
[2014-02-11 17:13:59] VERBOSE[1209] app_dial.c: -- SIP/Er_tel2022010-00000f27 is making progress passing it to SIP/13-00000f26
[2014-02-11 17:14:02] VERBOSE[1209] app_dial.c: -- SIP/Er_tel2022010-00000f27 answered SIP/13-00000f26
[2014-02-11 17:14:31] WARNING[3178] chan_sip.c: Rejecting offer with image stream due to UDPTL initialization failure
[2014-02-11 17:14:32] WARNING[3178] chan_sip.c: Rejecting offer with image stream due to UDPTL initialization failure
[2014-02-11 17:14:38] WARNING[1209] res_rtp_asterisk.c: RTP Read too short
[2014-02-11 17:14:38] WARNING[1209] res_rtp_asterisk.c: RTP Read too short
[2014-02-11 17:14:38] WARNING[1209] res_rtp_asterisk.c: RTP Read too short
[2014-02-11 17:15:02] VERBOSE[3178] netsock2.c: == Using SIP RTP TOS bits 184
[2014-02-11 17:15:02] VERBOSE[3178] netsock2.c: == Using SIP RTP CoS mark 5
[2014-02-11 17:15:02] VERBOSE[3115] chan_sip.c: == Extension Changed 19[ext-local] new state InUse for Notify User 28
[2014-02-11 17:15:02] VERBOSE[3115] chan_sip.c: == Extension Changed 19[ext-local] new state InUse for Notify User 77 (queued)
[2014-02-11 17:15:02] VERBOSE[3115] chan_sip.c: == Extension Changed 19[ext-local] new state InUse for Notify User 15
[2014-02-11 17:15:02] VERBOSE[3115] chan_sip.c: == Extension Changed 19[ext-local] new state InUse for Notify User 12
[2014-02-11 17:15:02] VERBOSE[3115] chan_sip.c: == Extension Changed 19[ext-local] new state InUse for Notify User 18
[2014-02-11 17:15:02] VERBOSE[3115] chan_sip.c: == Extension Changed 19[ext-local] new state InUse for Notify User 88
[2014-02-11 17:15:02] VERBOSE[3115] chan_sip.c: == Extension Changed 19[ext-local] new state InUse for Notify User 26
[2014-02-11 17:15:02] VERBOSE[1419] pbx.c: -- Executing [89204045531@from-internal:1] Macro("SIP/19-00000f28", "user-callerid,LIMIT,") in new stack
[2014-02-11 17:15:02] VERBOSE[3115] chan_sip.c: == Extension Changed 19[ext-local] new state InUse for Notify User 11