Peers (from Internet behind NAT) registered on Kamailio (local ip 192.168.182.1), calls from/to routed via Asterisk (192.168.182.24).
Can't use qualify info:
<-------------> --- (8 headers 0 lines) --- Really destroying SIP dialog ' 1efe8f023a80bfb343495d5c4f20ea35@192.168.182.24:5060' Method: OPTIONS
<--- SIP read from UDP:192.168.182.1:5060 ---> SIP/2.0 484 Address Incomplete Via: SIP/2.0/UDP 192.168.182.24:5060;branch=z9hG4bK4a817c26;rport=5060 From: "asterisk" sip:asterisk@192.168.182.24;tag=as34bfcba7 To: sip:192.168.182.1;tag=b27e1a1d33761e85846fc98f5f3a7e58.2d0e Call-ID: 753402f55d9b5ceb6dc402b93e206025@192.168.182.24:5060 CSeq: 102 OPTIONS Server: kamailio (4.1.2 (x86_64/linux)) Content-Length: 0
<------------->
On Monday 24 March 2014 15:23:31 Alexandr Usov wrote:
Peers (from Internet behind NAT) registered on Kamailio (local ip 192.168.182.1), calls from/to routed via Asterisk (192.168.182.24).
Can't use qualify info:
<--- SIP read from UDP:192.168.182.1:5060 ---> SIP/2.0 484 Address Incomplete
...
<------------->
Check your kamailio.cfg. In the "default" config OPTIONS get this response due to: if ($rU==$null) { # request with no Username in RURI sl_send_reply("484","Address Incomplete"); exit; }
You'll have to response with a 200 yourself, eg:
route[REQINIT]{ ... if($si=="192.168.182.24" && is_method("OPTIONS")) { sl_send_reply("200","Up and running"); exit; }
It's up to you to decide to which OPTIONS requests to response with what code.
Thanks! Will try.
Can you tell me how I can get from Asterisk host hint status of Kamailio registered peers?
asterisk> core show hints
11@ext-status : SIP/11 State:Idle Watchers 0 12@ext-status : SIP/12 State:Idle Watchers 0
It is always Idle, even offline on Kamailio. So I belived that qualify options can help me, but qualify check only host, but not user@host
2014-03-24 17:37 GMT+02:00 Daniel Tryba daniel@pocos.nl:
On Monday 24 March 2014 15:23:31 Alexandr Usov wrote:
Peers (from Internet behind NAT) registered on Kamailio (local ip 192.168.182.1), calls from/to routed via Asterisk (192.168.182.24).
Can't use qualify info:
<--- SIP read from UDP:192.168.182.1:5060 ---> SIP/2.0 484 Address Incomplete
...
<------------->
Check your kamailio.cfg. In the "default" config OPTIONS get this response due to: if ($rU==$null) { # request with no Username in RURI sl_send_reply("484","Address Incomplete"); exit; }
You'll have to response with a 200 yourself, eg:
route[REQINIT]{ ... if($si=="192.168.182.24" && is_method("OPTIONS")) { sl_send_reply("200","Up and running"); exit; }
It's up to you to decide to which OPTIONS requests to response with what code.
--
POCOS B.V. - Croy 9c - 5653 LC Eindhoven Telefoon: 040 293 8661 - Fax: 040 293 8658 http://www.pocos.nl/ - http://www.sipo.nl/ K.v.K. Eindhoven 17097024
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
It is work for qualify - thanks.
Looking for solution for external Asterisk subsribtion of presence states. Found the Pinan projec in the web, but it seems only Asterisk 1.4 supported. I needs for Asterisk 11 or 12 version.
2014-03-24 17:37 GMT+02:00 Daniel Tryba daniel@pocos.nl:
On Monday 24 March 2014 15:23:31 Alexandr Usov wrote:
Peers (from Internet behind NAT) registered on Kamailio (local ip 192.168.182.1), calls from/to routed via Asterisk (192.168.182.24).
Can't use qualify info:
<--- SIP read from UDP:192.168.182.1:5060 ---> SIP/2.0 484 Address Incomplete
...
<------------->
Check your kamailio.cfg. In the "default" config OPTIONS get this response due to: if ($rU==$null) { # request with no Username in RURI sl_send_reply("484","Address Incomplete"); exit; }
You'll have to response with a 200 yourself, eg:
route[REQINIT]{ ... if($si=="192.168.182.24" && is_method("OPTIONS")) { sl_send_reply("200","Up and running"); exit; }
It's up to you to decide to which OPTIONS requests to response with what code.
--
POCOS B.V. - Croy 9c - 5653 LC Eindhoven Telefoon: 040 293 8661 - Fax: 040 293 8658 http://www.pocos.nl/ - http://www.sipo.nl/ K.v.K. Eindhoven 17097024
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
typing error
Looking for solution for external Asterisk subsribtion of presence states.
should be ...
Looking for solution for external Kamailio subsribtion of presence states.
;-) Rainer
Am 24.03.2014 20:28, schrieb Alexandr Usov:
It is work for qualify - thanks.
Looking for solution for external Asterisk subsribtion of presence states. Found the Pinan projec in the web, but it seems only Asterisk 1.4 supported. I needs for Asterisk 11 or 12 version.
2014-03-24 17:37 GMT+02:00 Daniel Tryba <daniel@pocos.nl mailto:daniel@pocos.nl>:
On Monday 24 March 2014 15:23:31 Alexandr Usov wrote: > Peers (from Internet behind NAT) registered on Kamailio (local ip > 192.168.182.1), calls from/to routed via Asterisk (192.168.182.24). > > > Can't use qualify info: > > <--- SIP read from UDP:192.168.182.1:5060 <http://192.168.182.1:5060> ---> > SIP/2.0 484 Address Incomplete ... > <-------------> Check your kamailio.cfg. In the "default" config OPTIONS get this response due to: if ($rU==$null) { # request with no Username in RURI sl_send_reply("484","Address Incomplete"); exit; } You'll have to response with a 200 yourself, eg: route[REQINIT]{ ... if($si=="192.168.182.24" && is_method("OPTIONS")) { sl_send_reply("200","Up and running"); exit; } It's up to you to decide to which OPTIONS requests to response with what code. -- POCOS B.V. - Croy 9c - 5653 LC Eindhoven Telefoon: 040 293 8661 - Fax: 040 293 8658 http://www.pocos.nl/ - http://www.sipo.nl/ K.v.K. Eindhoven 17097024 _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hi, i have installed the new version ok kamailio 4.1.2.
I don't know why Kamailio crash writing this ob the log:
: <core> [mem/q_malloc.c:468]: qm_free(): BUG: qm_free: freeing already freed pointer (0x7fc3ab755eb0), called from dialog: dlg_hash.c: dlg_update_cseq(591), first free dialog: dlg_hash.c: dlg_update_cseq(591) - aborting
Anybody can help me to undertand what is the problem?
thanks
Btw) 24.03.2014 21:51 пользователь "Rainer Piper" rainer.piper@soho-piper.de написал:
typing error
Looking for solution for external Asterisk subsribtion of presence states.
should be ...
Looking for solution for external Kamailio subsribtion of presence states.
;-) Rainer
Am 24.03.2014 20:28, schrieb Alexandr Usov:
It is work for qualify - thanks.
Looking for solution for external Asterisk subsribtion of presence states. Found the Pinan projec in the web, but it seems only Asterisk 1.4 supported. I needs for Asterisk 11 or 12 version.
2014-03-24 17:37 GMT+02:00 Daniel Tryba daniel@pocos.nl:
On Monday 24 March 2014 15:23:31 Alexandr Usov wrote:
Peers (from Internet behind NAT) registered on Kamailio (local ip 192.168.182.1), calls from/to routed via Asterisk (192.168.182.24).
Can't use qualify info:
<--- SIP read from UDP:192.168.182.1:5060 ---> SIP/2.0 484 Address Incomplete
...
<------------->
Check your kamailio.cfg. In the "default" config OPTIONS get this response due to: if ($rU==$null) { # request with no Username in RURI sl_send_reply("484","Address Incomplete"); exit; }
You'll have to response with a 200 yourself, eg:
route[REQINIT]{ ... if($si=="192.168.182.24" && is_method("OPTIONS")) { sl_send_reply("200","Up and running"); exit; }
It's up to you to decide to which OPTIONS requests to response with what code.
--
POCOS B.V. - Croy 9c - 5653 LC Eindhoven Telefoon: 040 293 8661 - Fax: 040 293 8658 http://www.pocos.nl/ - http://www.sipo.nl/ K.v.K. Eindhoven 17097024
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- *Rainer Piper* NOC - +49 (0)228 97167161 - sip.soho-piper.de NOC - +49 (0)2247 9064188 - sip.tele33.de - sip.tefonix.de - D293
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
On Mon, Mar 24, 2014 at 1:28 PM, Alexandr Usov blessendor@gmail.com wrote:
It is work for qualify - thanks.
Looking for solution for external Asterisk subsribtion of presence states. Found the Pinan projec in the web, but it seems only Asterisk 1.4 supported. I needs for Asterisk 11 or 12 version.
I not sure this solution exists at this time. See this thread on asterisk-dev last week:
http://lists.digium.com/pipermail/asterisk-dev/2014-March/066204.html
Corey