Thread: [OpenSBC] OpenSBC Upper Registration
Brought to you by:
joegenbaclor
|
From: Ramu <ram...@gm...> - 2009-03-30 16:56:15
Attachments:
opensbc-invite.txt
|
Phone -> OpenSBC U 192.168.0.102:5060 -> 192.168.0.200:5060 REGISTER sip:master.pbx.dsip1.telivo.net SIP/2.0. Via: SIP/2.0/UDP 192.168.0.102;branch=z9hG4bKc0a800660000001349d0eee300001a0000000000;rport. From: "unknown" <sip:20...@ma...>;tag=6ed1506665. To: <sip:20...@ma...>. Contact: <sip:2000@192.168.0.102>. Call-ID: F073E12C96A7407D8B692573F3BE67030xc0a80066. CSeq: 1 REGISTER. Max-Forwards: 70. User-Agent: SJphone/1.65.377a (SJ Labs). Content-Length: 0. . U 192.168.0.200:5060 -> 192.168.0.160:5060 REGISTER sip:master.pbx.dsip1.telivo.net SIP/2.0. From: "unknown" <sip:20...@ma...>;tag=6ed1506665. To: <sip:20...@ma...>. Via: SIP/2.0/UDP 192.168.0.200:5060;branch=z9hG4bK7c410f83f01bde11809e9e20496fab11;uas-addr=192.168.0.160;x-reg-id=c2lwOjIwMDBAMTkyLjE2OC4wLjEwMg%3D%3D. Via: SIP/2.0/UDP 192.168.0.102;branch=z9hG4bKc0a800660000001349d0eee300001a0000000000;rport=5060;received=192.168.0.102. CSeq: 1 REGISTER. Call-ID: F073E12C96A7407D8B692573F3BE67030xc0a80066. Contact: <sip:2000@192.168.0.200:5062>;expires=3600. User-Agent: SJphone/1.65.377a (SJ Labs). Expires: 3600. Max-Forwards: 70. Content-Length: 0. . U 192.168.0.160:5060 -> 192.168.0.200:5060 SIP/2.0 100 Trying. From: "unknown" <sip:20...@ma...>;tag=6ed1506665. To: <sip:20...@ma...>. Via: SIP/2.0/UDP 192.168.0.200:5060;branch=z9hG4bK7c410f83f01bde11809e9e20496fab11;uas-addr=192.168.0.160;x-reg-id=c2lwOjIwMDBAMTkyLjE2OC4wLjEwMg%3D%3D. Via: SIP/2.0/UDP 192.168.0.102;branch=z9hG4bKc0a800660000001349d0eee300001a0000000000;rport=5060;received=192.168.0.102. CSeq: 1 REGISTER. Call-ID: F073E12C96A7407D8B692573F3BE67030xc0a80066. Server: Kamailio (1.4.3-notls (i386/linux)). Content-Length: 0. . U 192.168.0.160:5060 -> 192.168.0.200:5060 SIP/2.0 200 OK. From: "unknown" <sip:20...@ma...>;tag=6ed1506665. To: <sip:20...@ma...>;tag=09c423fa455feb593b3ce9123f2eb857.a184. Via: SIP/2.0/UDP 192.168.0.200:5060;branch=z9hG4bK7c410f83f01bde11809e9e20496fab11;uas-addr=192.168.0.160;x-reg-id=c2lwOjIwMDBAMTkyLjE2OC4wLjEwMg%3D%3D. Via: SIP/2.0/UDP 192.168.0.102;branch=z9hG4bKc0a800660000001349d0eee300001a0000000000;rport=5060;received=192.168.0.102. CSeq: 1 REGISTER. Call-ID: F073E12C96A7407D8B692573F3BE67030xc0a80066. Contact: <sip:2000@192.168.0.200:5062>;expires=3600. Server: Kamailio (1.4.3-notls (i386/linux)). Content-Length: 0. . U 192.168.0.200:5061 -> 192.168.0.102:5060 SIP/2.0 200 OK. From: "unknown" <sip:20...@ma...>;tag=6ed1506665. To: <sip:20...@ma...>;tag=09c423fa455feb593b3ce9123f2eb857.a184. Via: SIP/2.0/UDP 192.168.0.102;branch=z9hG4bKc0a800660000001349d0eee300001a0000000000;rport=5060;received=192.168.0.102. CSeq: 1 REGISTER. Call-ID: F073E12C96A7407D8B692573F3BE67030xc0a80066. Contact: <sip:2000@192.168.0.102>;expires=3600. Server: Kamailio (1.4.3-notls (i386/linux)). Content-Length: 0. . |
|
From: Joegen B. <joe...@gm...> - 2009-03-31 13:12:29
|
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 |
|
From: Ramu <ram...@gm...> - 2009-03-31 17:52:29
|
U 192.168.0.200:5062 -> 192.168.0.200:5060 INVITE sip:1004@192.168.0.200:5060;rinstance=895753b4e8f49b0b SIP/2.0. From: "unknown" <sip:2000@192.168.0.160>;tag=473883130d. To: <sip:1004@192.168.0.160>. Via: SIP/2.0/UDP 192.168.0.200:5062;iid=4469;branch=z9hG4bKe41a8a4ac11cde118394942394bda2af;uas-addr=192.168.0.200;rport. CSeq: 1 INVITE. Call-ID: 09DB045D150441D39F8F86A89B950CBB0xc0a80066-0x0001-0x0002. Contact: <sip:2000@192.168.0.200:5062>. User-Agent: Backdoor Trunk. Max-Forwards: 67. Supported: replaces, norefersub, timer. Content-Type: application/sdp. Content-Length: 368. . v=0. o=- 3447509823 3447509823 IN IP4 192.168.0.102. s=SJphone. c=IN IP4 192.168.0.200. t=0 0. m=audio 30006 RTP/AVP 3 97 98 8 0 101. c=IN IP4 192.168.0.200. a=rtpmap:3 GSM/8000. a=rtpmap:97 iLBC/8000. a=rtpmap:98 iLBC/8000. a=fmtp:98 mode=20. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=setup:active. a=sendrecv. U 192.168.0.200:5061 -> 192.168.0.200:5062 SIP/2.0 100 Trying. From: "unknown" <sip:2000@192.168.0.160>;tag=473883130d. To: <sip:1004@192.168.0.160>. Via: SIP/2.0/UDP 192.168.0.200:5062;iid=4469;branch=z9hG4bKe41a8a4ac11cde118394942394bda2af;uas-addr=192.168.0.200;rport=5062;received=192.168.0.200. CSeq: 1 INVITE. Call-ID: 09DB045D150441D39F8F86A89B950CBB0xc0a80066-0x0001-0x0002. Content-Length: 0. |
|
From: Ramu <ram...@gm...> - 2009-04-01 18:21:09
|
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 <sip%3A3000@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 <sip%3A3000@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 <ram...@gm...> >> *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 |
|
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
|