1 | изначальная версия редактировать | |
type=peer
insecure=invite
secret=*
username=6**8
fromuser=7**8
fromdomain=188.187.248.6
host=188.187.248.6
nat=yes
disallow=all
allow=alaw
type=friend
host=188.187.248.4
insecure=port
nat=yes
disallow=all
allow=alaw
context=from-trunk
78::68@188.187.242.6/7*8
А вот и логи
Executing [73532660088@from-sip-external:1] NoOp("SIP/188.187.242.5-00000018", "Received incoming SIP connection from unknown peer to 7**8") in new stack
Executing [73532660088@from-sip-external:2] Set("SIP/188.187.242.5-00000018", "DID=7**8") in new stack
Executing [73532660088@from-sip-external:3] Goto("SIP/188.187.242.5-00000018", "s,1") in new stack
Goto (from-sip-external,s,1)
Executing [s@from-sip-external:1] GotoIf("SIP/188.187.242.5-00000018", "0?checklang:noanonymous") in new stack
Goto (from-sip-external,s,5)
Executing [s@from-sip-external:5] Set("SIP/188.187.242.5-00000018", "TIMEOUT(absolute)=15") in new stack
func_timeout.c: -- Channel will hangup at 2014-03-01 14:20:39.480 YEKT.
Executing [s@from-sip-external:6] Answer("SIP/188.187.242.5-00000018", "") in new stack
Executing [s@from-sip-external:7] Wait("SIP/188.187.242.5-00000018", "2") in new stack
Executing [s@from-sip-external:8] Playback("SIP/188.187.242.5-00000018", "ss-noservice") in new stack
<SIP/188.187.242.5-00000018> Playing 'ss-noservice.gsm' (language 'ru')
Spawn extension (from-sip-external, s, 8) exited non-zero on 'SIP/188.187.242.5-00000018'
Executing [h@from-sip-external:1] Hangup("SIP/188.187.242.5-00000018", "") in new stack
Spawn extension (from-sip-external, h, 1) exited non-zero on 'SIP/188.187.242.5-00000018'
Ну следовательно только слышим что номер не подключен
DID вроде совпадает что не так то? Астериск за NAT все порты проброшены
2 | No.2 Revision редактировать |
type=peer
insecure=invite
secret=*
username=6**8
fromuser=7**8
fromdomain=188.187.248.6
host=188.187.248.6
nat=yes
disallow=all
allow=alaw
type=friend
host=188.187.248.4
insecure=port
nat=yes
disallow=all
allow=alaw
context=from-trunk
78::68@188.187.242.6/7*8
А вот и логи
Executing [73532660088@from-sip-external:1] [735326**8@from-sip-external:1] NoOp("SIP/188.187.242.5-00000018", "Received incoming SIP connection from unknown peer to 7**8") in new stack
Executing [73532660088@from-sip-external:2] [735326**8@from-sip-external:2] Set("SIP/188.187.242.5-00000018", "DID=7**8") in new stack
Executing [73532660088@from-sip-external:3] [735326**8@from-sip-external:3] Goto("SIP/188.187.242.5-00000018", "s,1") in new stack
Goto (from-sip-external,s,1)
Executing [s@from-sip-external:1] GotoIf("SIP/188.187.242.5-00000018", "0?checklang:noanonymous") in new stack
Goto (from-sip-external,s,5)
Executing [s@from-sip-external:5] Set("SIP/188.187.242.5-00000018", "TIMEOUT(absolute)=15") in new stack
func_timeout.c: -- Channel will hangup at 2014-03-01 14:20:39.480 YEKT.
Executing [s@from-sip-external:6] Answer("SIP/188.187.242.5-00000018", "") in new stack
Executing [s@from-sip-external:7] Wait("SIP/188.187.242.5-00000018", "2") in new stack
Executing [s@from-sip-external:8] Playback("SIP/188.187.242.5-00000018", "ss-noservice") in new stack
<SIP/188.187.242.5-00000018> Playing 'ss-noservice.gsm' (language 'ru')
Spawn extension (from-sip-external, s, 8) exited non-zero on 'SIP/188.187.242.5-00000018'
Executing [h@from-sip-external:1] Hangup("SIP/188.187.242.5-00000018", "") in new stack
Spawn extension (from-sip-external, h, 1) exited non-zero on 'SIP/188.187.242.5-00000018'
Ну следовательно только слышим что номер не подключен
DID вроде совпадает что не так то? Астериск за NAT все порты проброшены
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.