This Question is Answered

1 "helpful" answer available (1 pts)
14 Replies Last post: Sep 23, 2009 3:31 PM by cbntech  
  10 posts since
Apr 28, 2009

Apr 28, 2009 10:58 PM

OpenSBC inbound call problem


Greetings,

first of all, this is a great community. You all are changing the future of how things. A true revolution.

I have installed OpenSBC, B2BUpperReg mode, with Asterisk as upper registration box. Outbound works like charm, but I have a couple of issues:

  • No inbound calls working on Re-Invite, not even Trying or Progress
  • No audio on nated clients
  • When inbound works, funny latency, and OpenSBC terminates call 10 seconds later.

Before I stuff this thread with logs and pcaps I would like to know if there is a simple way through this,
is this a simple issue? or Is there something obvious I'm missing?

Thanks in advance.

Click to view Get_The_Fish's profile   20 posts since
Apr 25, 2009
1. Apr 29, 2009 11:22 PM in response to: xenomuta
Re: OpenSBC inbound call problem
What is the contact address on the re-invite? Can you tell from the log files which side is dropping the call? This might be similar to an issue that I am having as well [http://www.opensourcesip.org:8080/clearspacex/message/9516|m-9516]. Take a look at that and see if the issue is similar.
Click to view Get_The_Fish's profile   20 posts since
Apr 25, 2009
3. Apr 30, 2009 5:15 PM in response to: xenomuta
Re: OpenSBC inbound call problem
Can you turn up the verbosity of the logging and give me all the sip packets between the ATA and Asterisk? Is the ATA behind a NAT firewall?
Click to view joegen's profile   539 posts since
Apr 28, 2007
5. May 6, 2009 10:38 PM in response to: xenomuta
Re: OpenSBC inbound call problem
Ok I know what your problem is. When asterisk sends a call towards OpenSBC, it sends the INVITE to the Main Trunk (5060). However, when OpenSBC relayed upper reg to asterisk, it sent 5062 as the port (Back-door). The solution here lies in asterisk. If asterisk is using OpenSBC for not, make sure that the extension is not configured as NATted in asterisk since OpenSBC will be traversing NAT for it. If you disable NAT in asterisk, it should eb able to send the INVITE to the correct OSBC port.
Click to view Get_The_Fish's profile   20 posts since
Apr 25, 2009
7. May 7, 2009 5:12 PM in response to: xenomuta
Re: OpenSBC inbound call problem
Xenomuta, how did you disable NAT? What process did you use? This can be a little tricky, just want to make sure....
Click to view Get_The_Fish's profile   20 posts since
Apr 25, 2009
9. May 7, 2009 8:16 PM in response to: xenomuta
Re: OpenSBC inbound call problem
That too, but you also need to make sure that /etc/asterisk/sip_nat.conf is empty. These are the global SIP nat settings. Make sure that configuration file is empty as well.
Click to view joegen's profile   539 posts since
Apr 28, 2007
12. May 9, 2009 9:22 PM in response to: xenomuta
Re: OpenSBC inbound call problem

1. No, that is not related to your problem. I've already stated what is causing this issue and that is asterisk is sedning the INVITE to port 5060 whereas OpenSBC sends 5062 as the contact when it relayed the REGISTER. In the past, a customer of ours encountered this same issue and the solution was disable NAT in asterisk if its behind OSBC.


2. Given the above, when you said you already disabled NAT in asterisk, did you bother to check where it is sending the INVITE now?

Click to view cbntech's profile   18 posts since
Aug 13, 2009
14. Sep 23, 2009 3:31 PM in response to: xenomuta
Re: OpenSBC inbound call problem

Hi xenomuta

I know it has been a long time, was wondering if you could explain How you got asterisk to talk back to SBC on backdoor ... I have same issue as yours, changed ports on device and OSBC, disabled NAT on device ............ Even recompiled OSBC from CVS yesterday, but still no go. Outbound works like a charm, but inbound does not, not even TRYING in OSBC log ... Hopefully you can get me somewhere. Opened a new thread, but no answers so far ... :-(

Thanks for your help