Hi there my config file is
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
On Thu, 31 Jan 2008 15:59:43 +0100 Ali Jawad ali.jawad@splendor.net wrote:
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
I guess you use OpenSER 1.3 http://www.openser.org/docs/modules/1.3.x/registrar.html#AEN438
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 <> has been disabled temporarily
You have to run the rtpproxy software on the same host if you want openser to connect to /var/run/rtpproxy.sock
http://www.openser.org/docs/modules/1.3.x/nathelper.html#AEN160
cheers,
Patrick.
This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your cooperation. Information pursuant to paragraph 14 Austrian Companies Code: UPC Austria GmbH; Registered Office: Wolfganggasse 58-60, 1120 Vienna Company Register Number: FN 189858d at the Commercial Court of Vienna
Dear Patrick Yes I am using the 1.3 version, should be using 1.2 I am more about consistency it seems the example I was working on do not work with 1.3..shooot !!..so do you think I should go for 1.2 ?
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
I guess you use OpenSER 1.3 http://www.openser.org/docs/modules/1.3.x/registrar.html#AEN438
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 <> has been disabled temporarily
You have to run the rtpproxy software on the same host if you want openser to connect to /var/run/rtpproxy.sock
http://www.openser.org/docs/modules/1.3.x/nathelper.html#AEN160
cheers,
Patrick.
This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your cooperation. Information pursuant to paragraph 14 Austrian Companies Code: UPC Austria GmbH; Registered Office: Wolfganggasse 58-60, 1120 Vienna Company Register Number: FN 189858d at the Commercial Court of Vienna
_______________________________________________ Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
On Thu, 31 Jan 2008 16:21:36 +0100 Ali Jawad ali.jawad@splendor.net wrote:
Dear Patrick Yes I am using the 1.3 version, should be using 1.2 I am more about consistency it seems the example I was working on do not work with 1.3..shooot !!..so do you think I should go for 1.2 ?
that's not what I said, I just pointed out that you were working with wrong informations ;-)
Just stick to examples/module descriptions that are for your version, but you might find more examples on the net for 1.1.x and 1.2.x
cheers.
This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your cooperation. Information pursuant to paragraph 14 Austrian Companies Code: UPC Austria GmbH; Registered Office: Wolfganggasse 58-60, 1120 Vienna Company Register Number: FN 189858d at the Commercial Court of Vienna
Thanks patrick for the guidelines so far. Does anyone have a running config example for version 1.3 I am afraid that I messed my config file with examples from 1.2 :(.
-----Original Message----- From: users-bounces@lists.openser.org [mailto:users-bounces@lists.openser.org] On Behalf Of Patrick Miccio Sent: Thursday, January 31, 2008 5:33 PM Cc: users@lists.openser.org Subject: Re: [OpenSER-Users] Help Sending calls to PSTN
On Thu, 31 Jan 2008 16:21:36 +0100 Ali Jawad ali.jawad@splendor.net wrote:
Dear Patrick Yes I am using the 1.3 version, should be using 1.2 I am more about consistency it seems the example I was working on do not
work
with 1.3..shooot !!..so do you think I should go for 1.2 ?
that's not what I said, I just pointed out that you were working with wrong informations ;-)
Just stick to examples/module descriptions that are for your version, but you might find more examples on the net for 1.1.x and 1.2.x
cheers.
This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your cooperation. Information pursuant to paragraph 14 Austrian Companies Code: UPC Austria GmbH; Registered Office: Wolfganggasse 58-60, 1120 Vienna Company Register Number: FN 189858d at the Commercial Court of Vienna
_______________________________________________ Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users