Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
Brekeke MT cannot receive incoming call. Goto page 1, 2  Next
Author Message
MT Ha
Brekeke Member


Joined: 15 Feb 2016
Posts: 12
Location: Vietnam

PostPosted: Thu Apr 21, 2016 1:32 am    Post subject: Brekeke MT cannot receive incoming call. Reply with quote

1. Brekeke Product Name and Version: Brekeke 3.4.5.1 Multi tenant

2. Java version:

3. OS type and the version: Centos 6.7

4. UA (phone), gateway or other hardware/software involved: software

5. Your problem: I have connected with ISP by trunk sip account, i can call out bound, but i can't receive incoming call.

Please give me some ideal.
Back to top
View user's profile Send e-mail
MT Ha
Brekeke Member


Joined: 15 Feb 2016
Posts: 12
Location: Vietnam

PostPosted: Thu Apr 21, 2016 1:40 am    Post subject: Brekeke MT cannot receive incoming call. Reply with quote

I config in ARS on PBX
-------------------------------------------------------------
Register URI: sip:087303XXXX@your provider's IP
Proxy Address: your proxy provider's IP
User: 087303XXXX
Password: xxxxxxxx

patterns - IN

matching patterns:
To: sip:087303XXXX

Deploy patterns:
To: pbx_ext

Select [Apply to Request URI instead of To] checkbox and save the setting.
patterns - OUT

[Matching Patterns]
To: sip:([0-9]{7,})@

[Deploy Patterns]
From: sip:087303XXXX@your proxy provider's IP
To: sip:$1@your proxy provider's IP
---------------------------------------
Please help me!
Back to top
View user's profile Send e-mail
taitan
Brekeke Master Guru


Joined: 15 Mar 2008
Posts: 237

PostPosted: Thu Apr 21, 2016 10:16 am    Post subject: Reply with quote

Are there any records in [SIP Server]->[Logs]->[Session Logs] and [Error Logs] which indicate incoming calls?
Back to top
View user's profile
MT Ha
Brekeke Member


Joined: 15 Feb 2016
Posts: 12
Location: Vietnam

PostPosted: Sun Apr 24, 2016 9:08 pm    Post subject: Reply with quote

Thank you for your suggest

I find out in [ Session Logs], But there aren't any records in [SIP Server] -> [Logs] -> [Session Logs]and [Error Logs] which indicate incoming calls.
Back to top
View user's profile Send e-mail
taitan
Brekeke Master Guru


Joined: 15 Mar 2008
Posts: 237

PostPosted: Mon Apr 25, 2016 9:59 am    Post subject: Reply with quote

If there are no records which indicate incoming calls, it seems ISP didn't send calls to the Brekeke PBX.

Which ISP is it?
Does the issue happen always?
Back to top
View user's profile
MT Ha
Brekeke Member


Joined: 15 Feb 2016
Posts: 12
Location: Vietnam

PostPosted: Mon Apr 25, 2016 7:34 pm    Post subject: Reply with quote

Thank you for Taitan's assistances

Now, Call outbound work fine, i captured on server and receive it.
X.X.X.X is server ISP
Y.Y.Y.Y is server Brekeke
aaaaaaa is DID number
When i call inbound:

source destination
x.x.x.x y.y.y.y SIP/SDF INVITE sip:aaaaaaa@y.y.y.y
y.y.y.y x.x.x.x 100 Trying
y.y.y.y x.x.x.x 404 Not Found
x.x.x.x y.y.y.y ACK sip:aaaaaaa@y.y.y.y

I think maybe, I config dial plan is incorrectly.
Please give me dialplan template to receive incoming call.
Thanks you so much.

Regards
Ha
Back to top
View user's profile Send e-mail
taitan
Brekeke Master Guru


Joined: 15 Mar 2008
Posts: 237

PostPosted: Mon Apr 25, 2016 7:56 pm    Post subject: Reply with quote

Can you capture INVITE packet if you make a incoming call?
If not, the ISP didn't send calls to the Brekeke PBX.
Back to top
View user's profile
MT Ha
Brekeke Member


Joined: 15 Feb 2016
Posts: 12
Location: Vietnam

PostPosted: Mon Apr 25, 2016 7:59 pm    Post subject: Reply with quote

yes, i can, please wait a moment. On forum i cannt see where is attachment. How to send to you?
Thanks
Back to top
View user's profile Send e-mail
MT Ha
Brekeke Member


Joined: 15 Feb 2016
Posts: 12
Location: Vietnam

PostPosted: Mon Apr 25, 2016 8:07 pm    Post subject: Reply with quote

I can capture INVITE from ISP to Brekeke. after Brekeke 100 Trying is 404 Not Found.
I think issue maybe on dialplan or ARS.

Ha
Back to top
View user's profile Send e-mail
taitan
Brekeke Master Guru


Joined: 15 Mar 2008
Posts: 237

PostPosted: Tue Apr 26, 2016 11:33 am    Post subject: Reply with quote

Ha,

Have you read this?
http://wiki.brekeke.com/wiki/Setup-for-Connecting-ITSP
Back to top
View user's profile
MT Ha
Brekeke Member


Joined: 15 Feb 2016
Posts: 12
Location: Vietnam

PostPosted: Tue Apr 26, 2016 8:34 pm    Post subject: Reply with quote

Thanks Taitan so much

I have read this guide.
i can call outbound, but i cann't receive incoming call. Sad

Ha.
Back to top
View user's profile Send e-mail
taitan
Brekeke Master Guru


Joined: 15 Mar 2008
Posts: 237

PostPosted: Tue Apr 26, 2016 9:10 pm    Post subject: Reply with quote

Have you edited DialPlan rules?
If you use ARS, you don't have to edit DialPlan.

Also let me know the name of ITSP if possible..
Back to top
View user's profile
MT Ha
Brekeke Member


Joined: 15 Feb 2016
Posts: 12
Location: Vietnam

PostPosted: Wed Apr 27, 2016 8:19 pm    Post subject: Reply with quote

Yes I have a litle.
ITSP is FPT, The Provider in Vietnam.
They provide services eVoice. Connect between IP and analog system.
I will make dialplan default.
Thank you.
Back to top
View user's profile Send e-mail
MT Ha
Brekeke Member


Joined: 15 Feb 2016
Posts: 12
Location: Vietnam

PostPosted: Wed Apr 27, 2016 10:35 pm    Post subject: Reply with quote

Hi Taitan,

I make it to turn back dialplan default, But i can't receive incoming call. I have refer some link:
http://wiki.brekeke.com/wiki/Setup-for-Connecting-ITSP
http://wiki.brekeke.com/wiki/Skype

Now, i don't have any idea. Brekeke Server response 404 Not Found Sad
Back to top
View user's profile Send e-mail
taitan
Brekeke Master Guru


Joined: 15 Mar 2008
Posts: 237

PostPosted: Thu Apr 28, 2016 11:57 am    Post subject: Reply with quote

Can you find "404" in the SIP Server's [Logs]->[Error Logs] or [Session Logs]?

If you found "404" in the [Error Logs], you have a problem in DialPlan.
If you found "404" in the [Session Logs], you have a problem in PBX's ARS.
Back to top
View user's profile
MT Ha
Brekeke Member


Joined: 15 Feb 2016
Posts: 12
Location: Vietnam

PostPosted: Fri Apr 29, 2016 12:01 am    Post subject: Reply with quote

I cannt find "404"in the SIP Server's [Logs]->[Error Logs] or [Session Logs].
Maybe , this problem have in PBX's ARS . I try to read carefully guide on wiki brekeke. But i can't solve this problem.
Back to top
View user's profile Send e-mail
llucy
Brekeke Talented


Joined: 31 Jan 2014
Posts: 52

PostPosted: Fri Apr 29, 2016 11:16 am    Post subject: Reply with quote

Ha,

Yes, please use the default dial plan. I don't think you need to modify the dial plan to connect to the ITSP.
I recommend you to follow the steps below,

-- Update your PBX to the latest ver 3.5.
-- Turn on all the debug options from the [SYSTEM] > [Diagnostics] > [Debug Logs] page.
-- Try with the default dial plan and capture the packets with Wireshark.
-- Download the debug logs from the SYSTEM] > [Diagnostics] > [Debug Logs] page.
-- Back up the settings from [MAINTENANCE] > [Back up].
-- Send the backup file, the log file and the wireshark capture file to support@brekeke.com.

Lucy
Back to top
View user's profile
MT Ha
Brekeke Member


Joined: 15 Feb 2016
Posts: 12
Location: Vietnam

PostPosted: Tue May 03, 2016 9:33 pm    Post subject: Reply with quote

Thank you for your supporting,

Today i get notification on Error Logs. When i try to receive incoming call

2016-05-04 11:26:41.715 210.245.15.18:5060 INVITE 400 Invalid SIP packet: java.net.UnknownHostException: sia-hcm1ca146.fpt.net sip:0873030339@125.212.241.253:5060 sip:0986749437@sia-HCM1CA146.fpt.net sip:0873030339@sia-HCM1CA146.fpt.net BTS10200/900-06.00.01.V02 (SIA)

It seems that Brekeke can't resolve "sia-hcm1ca146.fpt.net".
Please give me, how can i do?
Thanks a lot.
Back to top
View user's profile Send e-mail
Laurie
Brekeke Master Guru


Joined: 07 Jan 2008
Posts: 241

PostPosted: Wed May 04, 2016 11:55 am    Post subject: Reply with quote

Can you nslookup that domain from your PC?

Generally the UnknownHostException will not happen if you use default DialPlan rules because "To PBX" rule is used.
Back to top
View user's profile
MT Ha
Brekeke Member


Joined: 15 Feb 2016
Posts: 12
Location: Vietnam

PostPosted: Wed May 04, 2016 8:12 pm    Post subject: Reply with quote

Yes, i can nslookup that domain from my PC.
I make default dialplanand used "To PBX" rule. now i receive this error:

2016-05-05 10:09:56.870 210.245.15.18:5060 INVITE 407 Authorization failed sip:0873030339@125.212.241.253:5060 sip:0873087111@sia-HCM1CA146.fpt.net sip:0873030339@sia-HCM1CA146.fpt.net
Back to top
View user's profile Send e-mail
Laurie
Brekeke Master Guru


Joined: 07 Jan 2008
Posts: 241

PostPosted: Thu May 05, 2016 12:18 am    Post subject: Reply with quote

I don't think you use the default setting because the SIP Server rejected an INVITE with 407.

Let you send your backup file to support@brekeke.com.
Back to top
View user's profile
Mr Tho
Brekeke Addict


Joined: 25 May 2016
Posts: 25

PostPosted: Wed May 25, 2016 7:17 pm    Post subject: Reply with quote

[quote="MT Ha"]Thank you for your supporting,

Last edited by Mr Tho on Fri Jul 01, 2016 3:20 am; edited 1 time in total
Back to top
View user's profile
Haddas
Brekeke Guru


Joined: 17 Jan 2008
Posts: 170

PostPosted: Thu May 26, 2016 11:50 am    Post subject: Reply with quote

How often does the same issue happen?

Are you sure you can nslookup these domains?
I can not "nslookup sia-hcm1ca146.fpt.net" from my PC.. so I suppose there are DNS issues or the ITSP put unresolvable URI in INVITE.


ANYWAY! I think you are not using the default DialPlan in Brekeke PBX.
If you are using the default DialPlan, UnknownHostException will not happen.

Let you check [DialPlan History] after the same problem happens to see which DialPlan rule is used.
Back to top
View user's profile
Mr Tho
Brekeke Addict


Joined: 25 May 2016
Posts: 25

PostPosted: Fri May 27, 2016 1:03 am    Post subject: Reply with quote

[quote="Haddas"]How often does the same issue happen?

Are you sure you can nslookup these domains?

ANYWAY! I think you are not using the default DialPlan in Brekeke PBX.
If you are using the default DialPlan, UnknownHostException will not happen.


Last edited by Mr Tho on Fri Jul 01, 2016 3:22 am; edited 3 times in total
Back to top
View user's profile
Haddas
Brekeke Guru


Joined: 17 Jan 2008
Posts: 170

PostPosted: Wed Jun 01, 2016 10:42 am    Post subject: Reply with quote

Can you check the DialPlan History to confirm whether "To PBX" rule is used or not?
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 of 2