Hi,
first of all, I am new to the SIP world, so please forgive me if
I ask anything dumb.
I am trying to set up a NAT-traversal SIP proxy, with the help
of the nathelper module and rtpproxy. I only have access to the
proxy and one softphone behind it.
I am facing two problems: when someone in the outer world wants to call
my softphone (which is behind the proxy), the proxy forwards the
INVITE message to itself and recurses until the mf_process_maxfwd_header()
statement stops further processing. I am not sure how to handle this.
My guess is that I should use the registrar module and when the
proxy receives an INVITE message, it should use registered() method
in order to know where to forward the request ; but I don't know how
to do that. Help would be welcome.
My second problem is that when the peer hangs off the phone, I should
receive a BYE message but I can't see it. Given I have no access on
the other end, I guessed that the BYE message had been sent elsewhere.
That's why I fixed the Contact header field. However, I still can't
see actions coming from the outer phone. Any idea ?
(I didn't attached any packet dump for now because I think it can
be more misleading than informative because there are two proxies
on the same machine: one that is a tunnel broker to encapsulate
VoIP traffic in HTTP, and the other one is OpenSER. Basically,
every SIP session is being tunneled in HTTP, then the datagram
in unwrapped by the first proxy and then forwarded to the second
one, which is OpenSER. Nonetheless I would be glad to provide
any packet dump upon request.)
My configuration file is attached. If you find any other
mistakes or inconsistencies in this configuration file, please tell me.
Best regards,
--
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >