Jump to content
Калькуляторы

freepbx исходящая маршрутизация.

Доброго времени суток, возникла непонятная ерунда с исходящей маршрутизацией на freepbx , входящие звонки работают,а исходящий астер отвечает набранный номер не может быть набран ( есть другой сревак настроен аналогично и все работает)

Вот снял дамп входящего вызова на астериск
tcpdump -i eth1 udp port 5060 -s 0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 262144 bytes
09:14:25.405501 IP 172.18.0.1.sip > 172.18.10.4.sip: SIP: INVITE sip:3594455@172.18.10.4;user=phone SIP/2.0
09:14:25.406162 IP 172.18.10.4.sip > 172.18.0.1.sip: SIP: SIP/2.0 100 Trying
09:14:26.334453 IP 172.18.10.4.sip > 172.18.0.1.sip: SIP: SIP/2.0 180 Ringing
09:14:26.334873 IP 172.18.10.4.sip > 172.18.9.24.sip: SIP: INVITE sip:200@172.18.9.24:5060 SIP/2.0
09:14:26.348583 IP 172.18.9.24.sip > 172.18.10.4.sip: SIP: SIP/2.0 100 Trying
09:14:26.386006 IP 172.18.9.24.sip > 172.18.10.4.sip: SIP: SIP/2.0 180 Ringing
09:14:26.386656 IP 172.18.10.4.sip > 172.18.0.1.sip: SIP: SIP/2.0 180 Ringing
09:14:28.615460 IP 172.18.9.24.sip > 172.18.10.4.sip: SIP: NOTIFY sip:172.18.10.4 SIP/2.0
09:14:28.615858 IP 172.18.10.4.sip > 172.18.9.24.sip: SIP: SIP/2.0 501 Not Implemented
09:14:32.925907 IP 172.18.9.24.sip > 172.18.10.4.sip: SIP: SIP/2.0 200 OK
09:14:32.926495 IP 172.18.10.4.sip > 172.18.9.24.sip: SIP: ACK sip:200@172.18.9.24:5060 SIP/2.0
09:14:32.927164 IP 172.18.10.4.sip > 172.18.0.1.sip: SIP: SIP/2.0 200 OK
09:14:32.955324 IP 172.18.0.1.sip > 172.18.10.4.sip: SIP: ACK sip:172.18.10.4:5060 SIP/2.0
09:14:33.623606 IP 172.18.10.4.sip > 172.18.0.1.sip: SIP: OPTIONS sip:3594455@172.18.0.1:5060 SIP/2.0
09:14:33.635173 IP 172.18.0.1.sip > 172.18.10.4.sip: SIP: SIP/2.0 200 OK
09:14:39.704729 IP 172.18.0.1.sip > 172.18.10.4.sip: SIP: BYE sip:172.18.10.4:5060 SIP/2.0
09:14:39.705078 IP 172.18.10.4.sip > 172.18.0.1.sip: SIP: SIP/2.0 200 OK
09:14:39.705800 IP 172.18.10.4.sip > 172.18.9.24.sip: SIP: BYE sip:200@172.18.9.24:5060 SIP/2.0
09:14:39.724008 IP 172.18.9.24.sip > 172.18.10.4.sip: SIP: SIP/2.0 200 OK
09:14:41.158198 IP 172.18.10.4.sip > 172.18.9.24.sip: SIP: OPTIONS sip:200@172.18.9.24:5060 SIP/2.0
09:14:41.176952 IP 172.18.9.24.sip > 172.18.10.4.sip: SIP: SIP/2.0 200 OK
09:14:43.624488 IP 172.18.9.24.sip > 172.18.10.4.sip: SIP: NOTIFY sip:172.18.10.4 SIP/2.0
09:14:43.625132 IP 172.18.10.4.sip > 172.18.9.24.sip: SIP: SIP/2.0 501 Not Implemented
 

теперь с внутреннего номера астериска пытаюсь позвонить на номер 98670

09:14:51.096602 IP 172.18.9.24.sip > 172.18.10.4.sip: SIP: INVITE sip:98670@172.18.10.4 SIP/2.0
09:14:51.097049 IP 172.18.10.4.sip > 172.18.9.24.sip: SIP: SIP/2.0 401 Unauthorized
09:14:51.111048 IP 172.18.9.24.sip > 172.18.10.4.sip: SIP: ACK sip:98670@172.18.10.4 SIP/2.0
09:14:51.127815 IP 172.18.9.24.sip > 172.18.10.4.sip: SIP: INVITE sip:98670@172.18.10.4 SIP/2.0
09:14:51.128612 IP 172.18.10.4.sip > 172.18.9.24.sip: SIP: SIP/2.0 100 Trying
09:14:51.132181 IP 172.18.10.4.sip > 172.18.9.24.sip: SIP: SIP/2.0 183 Session Progress
09:14:57.078567 IP 172.18.9.24.sip > 172.18.10.4.sip: SIP: CANCEL sip:98670@172.18.10.4 SIP/2.0
09:14:57.078814 IP 172.18.10.4.sip > 172.18.9.24.sip: SIP: SIP/2.0 200 OK
09:14:57.078925 IP 172.18.10.4.sip > 172.18.9.24.sip: SIP: SIP/2.0 487 Request Terminated
09:14:57.095245 IP 172.18.9.24.sip > 172.18.10.4.sip: SIP: ACK sip:98670@172.18.10.4 SIP/2.0
 

может есть какие соображения почему не хочет работать исходящий вызов?

Share this post


Link to post
Share on other sites

09:14:51.097049 IP 172.18.10.4.sip > 172.18.9.24.sip: SIP: SIP/2.0 401 Unauthorized

 

Вот это Вас не смущает?

Share this post


Link to post
Share on other sites

честно говоря немного смущает, но вот лог с рабочей атс 

12:47:54.368974 IP 172.18.9.19.sip > 172.18.9.18.sip: SIP: INVITE sip:30333@172.18.9.18;user=phone SIP/2.0
12:47:54.369466 IP 172.18.9.18.sip > 172.18.9.19.sip: SIP: SIP/2.0 401 Unauthorized
12:47:54.375964 IP 172.18.9.19.sip > 172.18.9.18.sip: SIP: ACK sip:30333@172.18.9.18;user=phone SIP/2.0
12:47:54.378694 IP 172.18.9.19.sip > 172.18.9.18.sip: SIP: INVITE sip:30333@172.18.9.18;user=phone SIP/2.0
12:47:54.379276 IP 172.18.9.18.sip > 172.18.9.19.sip: SIP: SIP/2.0 100 Trying
12:47:54.396487 IP 172.18.9.18.sip > 172.18.9.19.sip: SIP: SIP/2.0 180 Ringing
12:47:54.403053 IP 172.18.9.18.sip > 172.18.0.1.sip: SIP: INVITE sip:30333@172.18.0.1:5060 SIP/2.0
12:47:54.423323 IP 172.18.0.1.sip > 172.18.9.18.sip: SIP: SIP/2.0 100 Trying
12:47:54.663315 IP 172.18.0.1.sip > 172.18.9.18.sip: SIP: SIP/2.0 183 Session Progress
12:47:55.143453 IP 172.18.0.1.sip > 172.18.9.18.sip: SIP: SIP/2.0 180 Ringing
12:47:55.144141 IP 172.18.9.18.sip > 172.18.9.19.sip: SIP: SIP/2.0 180 Ringing
12:47:58.037680 IP 172.18.9.19.sip > 172.18.9.18.sip: SIP: CANCEL sip:30333@172.18.9.18;user=phone SIP/2.0
12:47:58.038129 IP 172.18.9.18.sip > 172.18.9.19.sip: SIP: SIP/2.0 200 OK
12:47:58.038241 IP 172.18.9.18.sip > 172.18.9.19.sip: SIP: SIP/2.0 487 Request Terminated
12:47:58.038562 IP 172.18.9.18.sip > 172.18.0.1.sip: SIP: CANCEL sip:30333@172.18.0.1:5060 SIP/2.0
12:47:58.103395 IP 172.18.9.19.sip > 172.18.9.18.sip: SIP: ACK sip:30333@172.18.9.18;user=phone SIP/2.0
12:47:58.103432 IP 172.18.0.1.sip > 172.18.9.18.sip: SIP: SIP/2.0 200 OK
12:47:58.103437 IP 172.18.0.1.sip > 172.18.9.18.sip: SIP: SIP/2.0 487 Request Terminated
12:47:58.103724 IP 172.18.9.18.sip > 172.18.0.1.sip: SIP: ACK sip:30333@172.18.0.1:5060 SIP/2.0
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now