Re: [OpenSBC] OpenSBC Upper Registration
Brought to you by:
joegenbaclor
|
From: Joegen B. <joe...@gm...> - 2009-04-02 00:37:10
|
Hi Ramu,
If the REGISTER you sent here came from SJPhone going to OSBC, then having the private contact address in 200 OK is the correct behavior. Can you send me a level 5 log of the call itself please.
Joegen
From: Ramu
Sent: Thursday, April 02, 2009 2:20 AM
To: Joegen Baclor ; ope...@li...
Subject: Re: [OpenSBC] OpenSBC Upper Registration
Hi,
With CVS build Upper Registration and Calls working fine.
But 200 OK for REGISTER message are not getting natted. Please see my sip trace.
You will find private ip in contact header. Because of this ACK is going to private IP when I make calls.
U 59.93.60.62:5060 -> 66.42.9.197:6060
REGISTER sip:66.42.9.197:5070 SIP/2.0.
Via: SIP/2.0/UDP 192.168.0.102;branch=z9hG4bKc0a800660000001349d3afc400001ef000000000;rport.
From: "unknown" <sip:3000@66.42.9.197:5070>;tag=6ca7a3d846.
To: <sip:3000@66.42.9.197:5070>.
Contact: <sip:3000@192.168.0.102>.
Call-ID: BD761434D6A844C69C1D62D7D60C92E50xc0a80066.
CSeq: 1 REGISTER.
Max-Forwards: 70.
User-Agent: SJphone/1.65.377a (SJ Labs).
Content-Length: 0.
.
U 66.42.9.197:6060 -> 59.93.60.62:5060
SIP/2.0 200 OK.
From: "unknown" <sip:3000@66.42.9.197:5070>;tag=6ca7a3d846.
To: <sip:3000@66.42.9.197:5070>;tag=868a1bf6d23ab55fc42f5c2b5d8a518a.59ac.
Via: SIP/2.0/UDP 192.168.0.102;branch=z9hG4bKc0a800660000001349d3afc400001ef000000000;rport=5060;received=59.93.60.62.
CSeq: 1 REGISTER.
Call-ID: BD761434D6A844C69C1D62D7D60C92E50xc0a80066.
Contact: <sip:3000@192.168.0.102>;expires=3600.
Server: Kamailio (1.4.3-notls (i386/linux)).
Content-Length: 0.
On Tue, Mar 31, 2009 at 11:22 PM, Ramu <ram...@gm...> wrote:
Hi,
After setting "Route-List" as "[sip:*] 192.168.0.160 in "B2BUA-Routes" page am not getting "404 Not Found" but call is not reaching other party.
If I remove this entry then I am getting "404 Not Found"
When I do SIP trace I come to know that SIP packets are traversing in loopback interface and finally getting "483 Too many hops" message.
Please see the attached SIP trace file.
1) In "OpenSBC-General-Parameters" page I set SBC-Application-Mode to "B2BUpperReg mode"
2) In "Upper-Registration" page I checked All-Reg-As-Upper-Reg
2009/3/31 Joegen Baclor <joe...@gm...>
Sorry for the late response. Would you be able to trace through the code to see where it ends up with a 404. If you can, put a breakpoint inside
void SBCBackDoorTrunk::OnReceivedBypassedMessage
function located in (ironically enough) line 404 of SBCBackDoorTrunk.cxx.
From: Ramu
Sent: Tuesday, March 31, 2009 12:56 AM
To: ope...@li...
Subject: [OpenSBC] OpenSBC Upper Registration
Hi,
I am trying to use OpenSBC for Upper Registration.
OpenSBC is sending register request to other registrar/proxy and phones (UA) are registering with other registrar but the problem is when I try to call the user am getting "404 Not Found" from OpenSBC.
My setup as follows:
Phones (UA) ===> OpenSBC ===> Registrar (OpenSER)
Registrations are happening perfect.
I am herewith attaching REGISTER and INVITE SIP captures.
In my setup OpenSBC is running in 192.168.0.200 and OpenSER is running in 192.168.0.160 as registrar.
Thanks
/Ramu
----------------------------------------------------------------------------
------------------------------------------------------------------------------
----------------------------------------------------------------------------
_______________________________________________
Opensipstack-osbcdevel mailing list
Ope...@li...
https://lists.sourceforge.net/lists/listinfo/opensipstack-osbcdevel
----------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.238 / Virus Database: 270.11.33/2031 - Release Date: 03/30/09 17:56:00
------------------------------------------------------------------------------
_______________________________________________
Opensipstack-osbcdevel mailing list
Ope...@li...
https://lists.sourceforge.net/lists/listinfo/opensipstack-osbcdevel
--
Regards,
/Ramu
--
Regards,
/Ramu
--------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.238 / Virus Database: 270.11.35/2033 - Release Date: 03/31/09 13:05:00
|