problem with Obi200 and sip phone

(1/2) > >>

mec755:
Hi,

I have a strange problem right now:
I started some days ago with a Obi110, configured it for GV and used the second account to connect with my Grandstream GXP2000. It was very easy and worked fine. I could receive and make calls from the SIP phone using GV.
However, I used the Obi110 only temporary and have now the Obi200. With this one I tried to do exactly the same - using sp1 with GV and sp2 to connect with the SIP phone. I think I did exactly the same changes which I did for the OBI110, gave the OBI200 the same IP the Obi110 used before,  but it doesn't work.
Using a analog phone on the phone line, I can receive and make calls using sp1 - so the GV configuration should be fine. When I get an incoming call, the sip phone rings but when I take the call nothing happens except that the sip phone stops to ring and other phones still ring. If I don't answer the call on any other phone then the SIP phone shows after a while 1 more missed call. If I try to make an outgoing call from the sip phone I only get an error 404, number not found.

Here's the configuration with the changes I made compared to default:

IP 192.168.1.138

ITSP Profile B General
  Name     GXP

ITSP Profile B SIP
  ProxyServer            192.168.1.103
  ProxyServerPort      5062
  RegistrarServerPort  5062
  OutboundProxy       192.168.1.103
  OutboundProxyPort  5062
  X_SpoofCallerID        checked
 

SP1 Service
 X_InboundCallRoute   {sp2(GXP),ph}

SP2 Service
  X_ServProvProfile           B
  X_InboundCallRoute       GXP>(xx.):sp1
  X_RegisterEnable          unchecked
  X_KeepAliveServerPort   5062
  X_UserAgentPort           5062
  X_Proxy                        checked

  AuthUserName              GXP
 

GXP2000 configuration for line2:
  IP                         192.168.1.103
  Port                      5062
  SIP Server             192.168.1.138:5062
  Outbound Proxy     192.168.1.138:5062
   SIP ID                   GXP
   SIP Register          No


As I mentioned, it worked perfectly with the Obi110, but I can't get it to work with the Obi200. Seems there are much more settings in there than for the Obi110. Anyone has an idea what could be wrong here?


ianobi:
I would try using a different port for the OBi200 sp2 and the GXP2000. Try something like:

SP2 Service
  X_UserAgentPort           5091

GXP2000 configuration for line2:
    SIP Server             192.168.1.138:5091
  Outbound Proxy     192.168.1.138:5091

The default port for the your old OBi110 sp2 would have been 5061. Any port is ok so long as you use it consistently.

mec755:
Still not working.
I switched syslog on and see the following for it (phone number changed to xxxxx, it also still says obi110.dyndns.org but it's the obi200):

Sep 27 10:23:43 192.168.1.103 GS_LOG: [00:0B:82:06:9B:93][000][FF71][01020503] Send SIP message: INVITE To 192.168.1.138:5091, sip_handle: 0x0052F8CA

Sep 27 10:23:43 obi110.dyndns.org  OBI: RxFrom:c0a80167:5062

Sep 27 10:23:43 obi110.dyndns.org INVITE sip:xxxxx@192.168.1.138:5091 SIP/2.0
 Via: SIP/2.0/UDP 192.168.1.103:5062;branch=z9hG4bK0bece92e2d10962c
 From: "Ebert" <sip:GXP@192.168.1.138:5091>;tag=d25465983ffa4bba
 To: <sip:xxxxx@192.168.1.138:5091>
 Contact: <sip:GXP@192.168.1.103:5062;transport=udp>
 Supported: replaces, timer, path
 P-Early-Media: Supported
 Call-ID: abef01157eb62168@192.168.1.103
 CSeq: 31860 INVITE^M User-Agent: Grandstream GXP2000 1.2.5.3
 Max-Forwards: 70^M Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE
 Content-Type: application/sdp
 Content-Length: 519
  v=0
  o=GXP 8000 8000 IN IP4 192.168.1.103
  s=SIP Call^M c=IN IP4 192.168.1.103
  t=0 0
  m=audio 5044 RTP/SAVP 18 97 4 9 3 0 8 2
  a=sendrecv
  a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:sWF+uenIQvhCFR3wEPvZrW+SqWiUpwRfPfysyetN
  a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:1LKGO16PTreA3Tjm1YWi0Rn4WuBmaUEUZB/90W/C
  a=rtpmap:18 G729/8000
  a=rtpmap:97 iLBC/8000
  a=fmtp:97 mode=20
  a=rtpmap:4 G723/8000
  a

Sep 27 10:23:43 obi110.dyndns.org  OBI: sendto c0a80167:5062(430)

Sep 27 10:23:43 obi110.dyndns.org SIP/2.0 401 Unauthorized
 Call-ID: abef01157eb62168@192.168.1.103
 CSeq: 31860 INVITE
 Content-Length: 0
 From: "Ebert" <sip:GXP@192.168.1.138:5091>;tag=d25465983ffa4bba
 To: <sip:xxxxx@192.168.1.138:5091>
 Via: SIP/2.0/UDP 192.168.1.103:5062;branch=z9hG4bK0bece92e2d10962c;received=192.168.1.103;rport=5062
 WWW-Authenticate: Digest algorithm=MD5,nonce="fd9f5c96FBFDC99C",opaque="e3d53a167ffb9634",realm="pnn.obihai.com"
 
Sep 27 10:23:43 192.168.1.103 GS_LOG: [00:0B:82:06:9B:93][000][FF71][01020503] sip_len: 1117,
 sip_handle: 0x0052F8CA, INVITE sip:xxxxx@192.168.1.138:5091 SIP/2.0
  Via: SIP/2.0/UDP192.168.1.103:5062;branch=z9hG4bK0bece92e2d10962c  From: "Ebert"   
  <sip:GXP@192.168.1.138:5091>;tag=d25465983ffa4bba  To: <sip:xxxxx@192.168.1.138:5091>
  Contact: <sip:GXP@192.168.1.103:5062;transport=udp>  Supported: replaces, timer, path  P-Early-Media: Supported   
  Call-ID: abef01157eb62168@192.168.1.103  CSeq: 31860
  INVITE  User-Agent: Grandstream GXP2000 1.2.5.3  Max-Forwards: 70  Allow:
  INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE
  Content-Type: application/sdp  Content-Length: 519    v=0  o=GXP 8000 8000 IN IP4 192.168.1.103  s=SIP Call  c=IN
  IP4 192.168.1.103  t=0 0  m=audio 5044 RTP/SAVP 18 97 4 9 3 0 8 2  a=sendrecv  a=crypto:1
  AES_CM_128_HMAC_SHA1_80 inline:sWF+uenIQvhCFR3wEPvZrW+SqWiUpwRfPfysyetN 
  a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:1LKGO16PTreA3Tjm1YWi0Rn4WuBmaUEUZB/90W/C 
  a=rtpmap:18 G729/8000  a=

Sep 27 10:23:43 192.168.1.103 GS_LOG: [00:0B:82:06:9B:93][000][FF71][01020503] SIPReceive(430, Account2): SIP/2.0 401 Unauthorized  Call-ID: abef01157eb62168@192.168.1.103  CSeq: 31860 INVITE  Content-Length: 0  From: "Ebert" <sip:GXP@192.168.1.138:5091>;tag=d25465983ffa4bba  To: <sip:xxxxx@192.168.1.138:5091>  Via: SIP/2.0/UDP 192.168.1.103:5062;branch=z9hG4bK0bece92e2d10962c;received=192.168.1.103;rport=5062  WWW-Authenticate: Digest algorithm=MD5,nonce="fd9f5c96FBFDC99C",opaque="e3d53a167ffb9634",realm="pnn.obihai.com"   
Sep 27 10:23:43 192.168.1.103 GS_LOG: [00:0B:82:06:9B:93][000][FF71][01020503] Received SIP message: 401



edit: This syslog entries are received when I tried to make a call from the GXP2000

ianobi:
Try unchecking this:

SP2 Service
    X_Proxy                        checked

X_Proxy is used when you wish to get the ip phone to register with the OBi200. Here you really are just looking for a simple ip to ip connection with no registration.


mec755:
Problem solved:  I added a password under line2 on the GXP to connect to the Obi and also in SP2 in the SIP Credentials in the OBI200 configuration. Now everything works - incoming and outgoing is fine.


Edit: Ianobi, I only saw your post after I already tried with a password which worked. I tried now to remove the password again and uncheck X_Proxy, but then it's again not working. Seems there has to be a password in there.

Navigation

[0] Message Index

[#] Next page