Hi there my config file is
http://pastebin.com/d33669ee8
I have set
modparam("nathelper", "ping_nated_only", 1)
modparam("registrar", "nat_flag", 6)
This gives me the following error:
Jan 31 16:47:26 [16380] ERROR:core:set_mod_param_regex: parameter
<nat_flag> not found in module <registrar>
Jan 31 16:47:26 [16380] CRITICAL:core:yyerror: parse error in config
file, line 173, column 19-20: Can't set module parameter
If I set
modparam("nathelper", "ping_nated_only", 0)
and ### modparam("registrar", "nat_flag", 6)
This allows me to run openser but when I make a call to PSTN the
following warning is sent out
Jan 31 16:55:45 [16484] ERROR:nathelper:send_rtpp_command: can't connect
to RTP proxy
Jan 31 16:55:45 [16484] ERROR:nathelper:send_rtpp_command: proxy
</var/run/rtpproxy.sock> does not respond, disable it
Jan 31 16:55:45 [16484] WARNING:nathelper:rtpp_test: can't get version
of the RTP proxy
Jan 31 16:55:45 [16484] WARNING:nathelper:rtpp_test: support for RTP
proxy </var/run/rtpproxy.sock> has been disabled temporarily
Calls between softphones work but a call to the PSTN ends up with the
following
Jan 31 16:57:26 [16509] DBG:core:grep_sock_info: checking if port 5060
matches port 5060
International PSTN
Jan 31 16:57:26 [16509] DBG:core:parse_headers: flags=80
Jan 31 16:57:26 [16509] DBG:core:parse_headers: flags=ffffffffffffffff
Jan 31 16:57:26 [16509] DBG:nathelper:check_content_type: type
<application/sdp> found valid
Jan 31 16:57:26 [16509] DBG:core:parse_headers: flags=40
===>Jan 31 16:57:26 [16509] ERROR:nathelper:force_rtp_proxy2_f: no
available proxies
Routed to PSTN gateway
Jan 31 16:57:26 [16509] DBG:tm:t_unref: UNREF_UNSAFE: after is 0
Jan 31 16:57:26 [16509] DBG:core:destroy_avp_list: destroying list (nil)
Jan 31 16:57:26 [16509] DBG:core:receive_msg: cleaning up
Jan 31 16:57:27 [16514] DBG:tm:utimer_routine: timer
routine:4,tl=0x406ddf7c next=(nil), timeout=25100000
Jan 31 16:57:27 [16514] DBG:tm:retransmission_handler:
retransmission_handler : request resending (t=0x406dde30, INVITE si ...
)
Jan 31 16:57:27 [16514] DBG:tm:set_timer: relative timeout is 1000000
Jan 31 16:57:27 [16514] DBG:tm:insert_timer_unsafe: [5]: 0x406ddf7c
(26100000)
Jan 31 16:57:27 [16514] DBG:tm:retransmission_handler:
retransmission_handler : done
Jan 31 16:57:28 [16514] DBG:tm:utimer_routine: timer
routine:5,tl=0x406ddf7c next=(nil), timeout=26100000
Jan 31 16:57:28 [16514] DBG:tm:retransmission_handler:
retransmission_handler : request resending (t=0x406dde30, INVITE si ...
)
If I use tcpdump I don't see any traffic leaving for my PSTN GW.
With Regards
Ali Jawad
System Administrator
Splendor Telecom (
www.splendor.net)
Beirut, Lebanon
Phone: +961 1 373725
Fax: + 961 1 375554