January 04, 2022, 09:15:14 am *
Welcome, Guest. Please login or register.
News:
 
   Forum Home   Search Login Register OBiTALK  
Pages: [1]
  Print  
Author Topic: Incoming calls not reaching Asterisk  (Read 4187 times)
mrjoe
Sr. Member
****
Posts: 263


« on: January 22, 2015, 12:56:06 am »

I've setup an Obi110's PSTN port to work with outgoing calls using FreePBX but whenever a call comes in Obi110's Call History shows (404 Error Not Found)

I've tried also sending calls to sp1(PBX's Inbound callroute name@10.100.102.5060) but I get the same error.

Please could someone help me.
« Last Edit: January 22, 2015, 03:45:47 pm by mrjoe » Logged
drgeoff
Hero Member & Beta Tester
*****
Posts: 5539


« Reply #1 on: January 22, 2015, 03:59:07 am »

Mrjoe, as someone who has visited this forum enough times to make over 200 posts, you ought to realise that without knowing exactly how you configured both the OBi110 and FreePBX, it is almost impossible for anyone to help. Sad
Logged
mrjoe
Sr. Member
****
Posts: 263


« Reply #2 on: January 22, 2015, 04:14:33 am »

you're right drgeoff, I'm sorry.  I was up so late last night trying to figure it out that I wanted to post the shortest possible post...

I used this without the registration: http://www.obitalk.com/forum/index.php?topic=1157.msg7261#msg7261

I managed to get the calls coming through now by sending Line calls to sp1(600@10.100.102.4:5060) but I don't get any caller id.  600 is a ring group which rings all of my phones.

It just shows "PSTN 210" as incoming caller id (which is the name of ext 210 which is on SP1)

I have ticked spoof caller id in both SPs

Thank you in advance for your help drgeoff
« Last Edit: January 22, 2015, 04:16:46 am by mrjoe » Logged
ianobi
Hero Member & Beta Tester
*****
Posts: 1831


« Reply #3 on: January 22, 2015, 04:50:30 am »

I'm sure you have checked, but I'll mention it anyway - have you checked Call History to see if the OBi110 has actually decoded the incoming CallerID? If it has decoded the CallerID, then you could try this in Line Port InboundCallRoute:

sp1(600@10.100.102.4:5060;ui=$1)
Logged
mrjoe
Sr. Member
****
Posts: 263


« Reply #4 on: January 22, 2015, 05:22:34 am »

I did check and it is receiving the CLI properly just not passing it on.

Adding ;ui=$1 didn't seem to do anything unfortunately.
« Last Edit: January 22, 2015, 05:24:21 am by mrjoe » Logged
azrobert
Hero Member & Beta Tester
*****
Posts: 4173


« Reply #5 on: January 22, 2015, 06:44:49 am »

The UI=$1 should work.

Anyway, try setting it back to what you had without the UI then:

Service Providers -> ITSP Profile A -> SIP -> X_SpoofCallerID: Checked

Checking X_ SpoofCallerID includes CName, UI doesn't.
Logged
mrjoe
Sr. Member
****
Posts: 263


« Reply #6 on: January 22, 2015, 04:02:28 pm »

Actually using ui= stopped the calls coming through to the extensions for some reason.
Logged
mrjoe
Sr. Member
****
Posts: 263


« Reply #7 on: January 23, 2015, 04:06:13 am »

I removed "context=from-trunk" and it is now working as it should.

Now I want to adjust the setup to allow me to use the FXS on the OBi110.

Thanks for your suggestions
Logged
azrobert
Hero Member & Beta Tester
*****
Posts: 4173


« Reply #8 on: January 23, 2015, 06:27:22 am »

Pick an extension number for FreePBX, like 700.

Define a Voice Gateway on OBi110:
AccessNumber: sp1(10.100.102.4:5060)
AuthUserID: 700
AuthPassword: 700_PW

Define extension 700 with FreePBX
Change the Dial Parm to: SIP/0@xx.xx.xx.xx:5060

Route Inbound PBX calls to extension 700
xx.xx.xx.xx:5060 is the IP address and port of SP1 on the OBi110.
Make sure SP1 X_InboundCallRoute will accept the call.
Route outbound OBi110 calls to VG.
Logged
mrjoe
Sr. Member
****
Posts: 263


« Reply #9 on: January 24, 2015, 01:09:44 pm »

Thank you Azrobert - working great now!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Advertisement
Advertisement