Hello.
I'm having problems trying to make SER, NAT'd endpoints and reINVITE work
together.
I was using the "gw-pstn3.07.cfg" file from
onsip.org to do some tests, and
this is what i have. In one side i have an Asterisk with an endpoint
registered in it (let's call it A). In the other side i have a PAP2 under
NAT (let's call it B).
A ---------- Asterisk ----------- SER ----------- B (NAT'd)
200.0.0.7 200.0.0.6 200.0.0.5
10.0.0.4
When i make a call from "A" to "B" this is what i see (in terms of
SDP).
Looking from SER.
A --------- Asterisk ------------ SER ------------ B (NAT'd)
Public:
200.0.0.4
200.0.0.7 200.0.0.6 200.0.0.5 Inside:
10.0.0.1
INVITE
c:200.0.0.6:19996
------------------->
INVITE
c:200.0.0.5:35010
---------------->
Caller Via Called Status Duration
Codec Type Traffic
--------------------------------------------------------------------------
200.0.0.6:19996 - 200.0.0.5:35010 - ?.?.?.?:? inactive 0'04" Unknown
Audio 0/0/0
Total traffic: 0bps/0bps/0bps (in1/in2/out)
Session count: 1
So far is ok..........and the phone is answered
OK
c:10.0.0.1:16440
<---------------- (the phone is
answered)
OK
c:200.0.0.5:35010
<---------------------
reINVITE
c:200.0.0.7:19996
--------------------->
reINVITE
c:200.0.0.7:19996
---------------->
OK
c:10.0.0.1:16440
<----------------
OK
c:10.0.0.1:16440
<---------------------
Finally according to the "session" information :
Caller Via Called
Status Duration Codec Type Traffic
----------------------------------------------------------------------------
----------
200.0.0.6:19996 - 200.0.0.5:35010 - 200.0.0.7:16420 inactive 0'26"
G729 Audio 0/11.48k/11.48k
Total traffic: 0bps/0bps/0bps (in1/in2/out)
Session count: 1
And the audio is only in one way. :(
So. you can see the reINVITE message apparently is not being processed as a
call to a NAT'd endpoint and therefore is not using the mediaproxy, you can
see the second "OK" messsage has the invalid IP from the NAT'd user is in
his sdp information.
As i said it before i am using the gw-pstn configuration file from the
onsip.org and as far as i can remember this configuration can handle the
reINVITE? isn't
I'm also using the last version of the mediaproxy (1.3.1).
Can someone tell me what i'm doing wrong?
Hope someone could help me here.
Thanks in advance.
Regards...
Ricardo Martinez.-