Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
Witam,
Mam w sieci dwie lokalne centrale Elastix (E1 i E2) połączone trunkiem IAX. Jedna (E1) ma numery w zakresie 500-599, druga (E2) 600-699.
Obydwie centrale mają swoje numery publiczne. Połączenia lokalne z numerów 5xx do 6xx i odwrotnie działają bez problemu.
Problem jest gdy dzwonię z zewnątrz na jedną centralę, np. E1 i chcę wybrać numer wew. drugiej centerali np 601. Otrzymuję komunikat, że "extension is invalid". Jak skonfigurować centrale aby była możliwa taka kombinacja?
Jacek
Offline
Jeżeli nie widać żadnych konfigów Asteriska ani logów Asteriska, to idź z tym strasznym problemem do wróżki, żeby sprawdziła w swojej wielkiej szklanej kuli.
Offline
Tu nie chodzi o wróżenie z czekogolwiek. Sądzę, że za taką funkcjonalność odpowiada jakiś brakujący wpis w pliku konfiguracyjnym. Z pewnością są eksperci, którzy wiedzą co trzeba ustawić i na takich liczyłem.
Log dotyczący tego przypadku:
[Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [xxxx@from-trunk:1] Set("SIP/freeconet-in1-00000881", "__FROM_DID=xxxx") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [xxxx@from-trunk:2] Set("SIP/freeconet-in1-00000881", "CHANNEL(language)=pl") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [xxxx@from-trunk:3] Gosub("SIP/freeconet-in1-00000881", "app-blacklist-check,s,1") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [s@app-blacklist-check:1] GotoIf("SIP/freeconet-in1-00000881", "0?blacklisted") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [s@app-blacklist-check:2] Set("SIP/freeconet-in1-00000881", "CALLED_BLACKLIST=1") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [s@app-blacklist-check:3] Return("SIP/freeconet-in1-00000881", "") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [xxxx@from-trunk:4] ExecIf("SIP/freeconet-in1-00000881", "0 ?Set(CALLERID(name)=zzzzzz)") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [xxxx@from-trunk:5] Ringing("SIP/freeconet-in1-00000881", "") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [xxxx@from-trunk:6] Set("SIP/freeconet-in1-00000881", "__CALLINGPRES_SV=allowed_not_screened") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [xxxx@from-trunk:7] Set("SIP/freeconet-in1-00000881", "CALLERPRES()=allowed_not_screened") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [xxxx@from-trunk:8] Goto("SIP/freeconet-in1-00000881", "ivr-6,s,1") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Goto (ivr-6,s,1) [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [s@ivr-6:1] Set("SIP/freeconet-in1-00000881", "MSG=custom/gajd1") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [s@ivr-6:2] Set("SIP/freeconet-in1-00000881", "LOOPCOUNT=0") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [s@ivr-6:3] Set("SIP/freeconet-in1-00000881", "__DIR-CONTEXT=") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [s@ivr-6:4] Set("SIP/freeconet-in1-00000881", "_IVR_CONTEXT_ivr-6=") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [s@ivr-6:5] Set("SIP/freeconet-in1-00000881", "_IVR_CONTEXT=ivr-6") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [s@ivr-6:6] GotoIf("SIP/freeconet-in1-00000881", "0?begin") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [s@ivr-6:7] Answer("SIP/freeconet-in1-00000881", "") in new stack [Aug 2 12:08:31] VERBOSE[15719] pbx.c: -- Executing [s@ivr-6:8] Wait("SIP/freeconet-in1-00000881", "1") in new stack [Aug 2 12:08:32] VERBOSE[15719] pbx.c: -- Executing [s@ivr-6:9] Set("SIP/freeconet-in1-00000881", "TIMEOUT(digit)=3") in new stack [Aug 2 12:08:32] VERBOSE[15719] func_timeout.c: -- Digit timeout set to 3.000 [Aug 2 12:08:32] VERBOSE[15719] pbx.c: -- Executing [s@ivr-6:10] Set("SIP/freeconet-in1-00000881", "TIMEOUT(response)=8") in new stack [Aug 2 12:08:32] VERBOSE[15719] func_timeout.c: -- Response timeout set to 8.000 [Aug 2 12:08:32] VERBOSE[15719] pbx.c: -- Executing [s@ivr-6:11] Set("SIP/freeconet-in1-00000881", "__IVR_RETVM=") in new stack [Aug 2 12:08:32] VERBOSE[15719] pbx.c: -- Executing [s@ivr-6:12] ExecIf("SIP/freeconet-in1-00000881", "1?Background(custom/gajd1)") in new stack [Aug 2 12:08:32] VERBOSE[15719] file.c: -- <SIP/freeconet-in1-00000881> Playing 'custom/gajd1.slin' (language 'pl') [Aug 2 12:08:34] VERBOSE[15719] pbx.c: -- Invalid extension '6' in context 'ivr-6' on SIP/freeconet-in1-00000881 [Aug 2 12:08:34] VERBOSE[15719] pbx.c: == CDR updated on SIP/freeconet-in1-00000881 [Aug 2 12:08:34] VERBOSE[15719] pbx.c: -- Executing [i@ivr-6:1] Playback("SIP/freeconet-in1-00000881", "invalid") in new stack [Aug 2 12:08:34] VERBOSE[15719] file.c: -- <SIP/freeconet-in1-00000881> Playing 'invalid.gsm' (language 'pl') [Aug 2 12:08:38] VERBOSE[15719] pbx.c: -- Executing [i@ivr-6:2] Goto("SIP/freeconet-in1-00000881", "loop,1") in new stack [Aug 2 12:08:38] VERBOSE[15719] pbx.c: -- Goto (ivr-6,loop,1) [Aug 2 12:08:38] VERBOSE[15719] pbx.c: -- Executing [loop@ivr-6:1] Set("SIP/freeconet-in1-00000881", "LOOPCOUNT=1") in new stack [Aug 2 12:08:38] VERBOSE[15719] pbx.c: -- Executing [loop@ivr-6:2] GotoIf("SIP/freeconet-in1-00000881", "1?hang,1") in new stack [Aug 2 12:08:38] VERBOSE[15719] pbx.c: -- Goto (ivr-6,hang,1) [Aug 2 12:08:38] VERBOSE[15719] pbx.c: -- Executing [hang@ivr-6:1] Playback("SIP/freeconet-in1-00000881", "vm-goodbye") in new stack [Aug 2 12:08:38] VERBOSE[15719] file.c: -- <SIP/freeconet-in1-00000881> Playing 'vm-goodbye.ulaw' (language 'pl') [Aug 2 12:08:39] VERBOSE[15719] pbx.c: -- Executing [hang@ivr-6:2] Hangup("SIP/freeconet-in1-00000881", "") in new stack [Aug 2 12:08:39] VERBOSE[15719] pbx.c: == Spawn extension (ivr-6, hang, 2) exited non-zero on 'SIP/freeconet-in1-00000881' [Aug 2 12:08:39] VERBOSE[15719] pbx.c: -- Executing [h@ivr-6:1] Hangup("SIP/freeconet-in1-00000881", "") in new stack [Aug 2 12:08:39] VERBOSE[15719] pbx.c: == Spawn extension (ivr-6, h, 1) exited non-zero on 'SIP/freeconet-in1-00000881'
Który plik konfiguracyjny mam załączyć?
Jacek
Offline
Nie wiem,czy ja jestem ślepy, ale wszystkie Goto* dotyczą sip.freeconet.pl, nie widać tam żadnej akcji na wewn 6xx zakończonego failem.
Swoją drogą, najlepiej na Asterisku tutaj znał się [url=https://forum.dug.net.pl/profile.php?id=1460]Bercik[/url], ale dawno go nie widziałem
na forum.
Tu masz opis plików konfiguracyjnych Asteriska autorstwa Bercika:
http://www.opcode.eu.org/usage_and_config/network_services/voip/
Ostatnio edytowany przez Jacekalex (2017-08-03 08:47:16)
Offline
Strony: 1
Time (s) | Query |
---|---|
0.00027 | SET CHARSET latin2 |
0.00006 | SET NAMES latin2 |
0.00171 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.137.169.56' WHERE u.id=1 |
0.00090 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.137.169.56', 1732715407) |
0.00053 | SELECT * FROM punbb_online WHERE logged<1732715107 |
0.00075 | SELECT topic_id FROM punbb_posts WHERE id=312974 |
0.00005 | SELECT id FROM punbb_posts WHERE topic_id=29784 ORDER BY posted |
0.00079 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=29784 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00109 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=29784 ORDER BY p.id LIMIT 0,25 |
0.00141 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=29784 |
Total query time: 0.00761 s |