Sipnet + Trixbox
Собственно сабж.
Создал транк на сипнет:
Outbound Caller ID: SipNet_ID
Dial Rules: 7496+NXXXXXX
7495+NXXXXXX
7+NXXXXXXXXX
Trunk Name: sipnet
PEER Details:
allow=ulaw&alaw
canreinvite=nodisallow=all
dtmfmode=inband
fromdomain=sipnet.ru
fromuser=sipnet_id
host=sipnet.ru
insecure=very
port=5060
secret=sipnet_pass
type=friend
username=sipnet_id
Register String:
sipnet:sipnet_pass:sipnet@sipnet.ru/sipnet
Дальше в outbound routes
правило 9_outside поменял транк с зап на сипнет.
Сохраняю и ничерта не получаю. нет исходящих звонков . С начало идут гудки а потом дисконект.
Express Talk пишет в логах:
Call has disconnected
Initiated sip call to: 74957379257
Unable to auto-detect public IP. Using private IP
Error. Other side said: Service Unavailable
Call has disconnected
trixbox в логах:
[Mar 26 12:06:50] VERBOSE[4152] logger.c: == Spawn extension (from-internal, 74957379257, 6) exited non-zero on 'SIP/102-b7c05ee8'
[Mar 26 12:06:50] VERBOSE[4152] logger.c: -- Executing [h@from-internal:1] Macro("SIP/102-b7c05ee8", "hangupcall") in new stack
[Mar 26 12:06:50] VERBOSE[4152] logger.c: -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/102-b7c05ee8", "w") in new stack
[Mar 26 12:06:50] DEBUG[4152] app_macro.c: Executed application: ResetCDR
[Mar 26 12:06:50] VERBOSE[4152] logger.c: -- Executing [s@macro-hangupcall:2] NoCDR("SIP/102-b7c05ee8", "") in new stack
[Mar 26 12:06:50] DEBUG[4152] app_macro.c: Executed application: NoCDR
[Mar 26 12:06:50] VERBOSE[4152] logger.c: -- Executing [s@macro-hangupcall:3] GotoIf("SIP/102-b7c05ee8", "1?skiprg") in new stack
[Mar 26 12:06:50] VERBOSE[4152] logger.c: -- Goto (macro-hangupcall,s,6)
[Mar 26 12:06:50] DEBUG[4152] app_macro.c: Executed application: GotoIf
[Mar 26 12:06:50] VERBOSE[4152] logger.c: -- Executing [s@macro-hangupcall:6] GotoIf("SIP/102-b7c05ee8", "1?skipblkvm") in new stack
[Mar 26 12:06:50] VERBOSE[4152] logger.c: -- Goto (macro-hangupcall,s,9)
[Mar 26 12:06:50] DEBUG[4152] app_macro.c: Executed application: GotoIf
[Mar 26 12:06:50] VERBOSE[4152] logger.c: -- Executing [s@macro-hangupcall:9] GotoIf("SIP/102-b7c05ee8", "1?theend") in new stack
[Mar 26 12:06:50] VERBOSE[4152] logger.c: -- Goto (macro-hangupcall,s,11)
[Mar 26 12:06:50] DEBUG[4152] app_macro.c: Executed application: GotoIf
[Mar 26 12:06:50] VERBOSE[4152] logger.c: -- Executing [s@macro-hangupcall:11] Hangup("SIP/102-b7c05ee8", "") in new stack
[Mar 26 12:06:50] VERBOSE[4152] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/102-b7c05ee8' in macro 'hangupcall'
[Mar 26 12:06:50] VERBOSE[4152] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/102-b7c05ee8'
[Mar 26 12:06:54] VERBOSE[4153] logger.c: == Parsing '/etc/asterisk/manager.conf': [Mar 26 12:06:54] VERBOSE[4153] logger.c: Found
[Mar 26 12:06:54] VERBOSE[4153] logger.c: == Parsing '/etc/asterisk/manager_additional.conf': [Mar 26 12:06:54] VERBOSE[4153] logger.c: Found
[Mar 26 12:06:54] VERBOSE[4153] logger.c: == Parsing '/etc/asterisk/manager_custom.conf': [Mar 26 12:06:54] VERBOSE[4153] logger.c: Found
Теперь вопрос:
Где я туплю?
|