Re: [SR-Users] kamailio + rtpproxy behind nat possible?

2011-06-29 Thread Ovidiu Sas
As I mentioned before, based on direction of the call you may or may not need to force an advertised IP/port (see the advertised_address core parameter and set_advertised_address() core function) Also, you will need to force the same IP in the Route/Record-Route headers (see the rr module). And als

Re: [SR-Users] kamailio + rtpproxy behind nat possible?

2011-06-29 Thread MingHon
Hi, Can you give me more detail, could you guide me how to? thanks you very much.. -- Regards, MingHon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mail

Re: [SR-Users] Proxy setup in a non-recursive mode

2011-06-29 Thread Klaus Darilion
Abdul Hakeem wrote: Thanks for the response. Is Kamailio able to do a route lookup via HTTP get/post Yes. Either use xhttp module (simple GET http request) or use a perl/python/lua script and do the http lookup in the script (for more complex http requests) > & pass the variables receive

Re: [SR-Users] MWI Notify Request

2011-06-29 Thread Ovidiu Sas
All you need to do is send PUBLISH requests to kamailio. If there's a subscription for the MWI for the account that PUBISH is intended for, a NOTIFY will be sent out. More info here: http://www.faqs.org/rfcs/rfc3265.html http://www.faqs.org/rfcs/rfc3903.html Regards, Ovidiu Sas On Wed, Jun 29,

[SR-Users] "select count(*)" with avp_db_query always returns null

2011-06-29 Thread Andrade Ricardo (CI/AFU1)
Hi list, Perhaps this fits better into a bug report, but I'd like to know if somebody out there experienced a similar issue. I am executing a "select count" query using the avp_db_query function, but it is not storing the results in any avp. Other queries are working fine. I use db_mysql connect

[SR-Users] MWI Notify Request

2011-06-29 Thread Marvin59
Hi all, I would like to know how kamailio sends Notify request by using the handle_subscribe of presence module. My purpose is to modify the request to add information for "message waiting indication" like : Messages-Waiting: yes, Voice-Message: 2/0 (0/0), ... I need your help ! Thanks in advan

[SR-Users] Presence and Presence_mwi

2011-06-29 Thread Marvin59
Hi all, I am trying to configure kamailio-3.1.4 in order to send me MWI Notify when there is change in messages. I have already configure it, in order to use a FreeRadius to authenticate my users but I have no idea to use Presence and Presence_mwi module. I need this behavior : - The phone send

Re: [SR-Users] Questions about LCR module

2011-06-29 Thread Fabian Borot
Thanks Juha I populated the lcr tables by hand. This is how they look now, I have 2 lcr_ids [1 and 2], each instance has its own gw. And each instance has its own prefix to match for [ and ]. The idea is that a call comes in with R-URI 13051234567, it should match the

Re: [SR-Users] kamailio + rtpproxy behind nat possible?

2011-06-29 Thread Ovidiu Sas
I experimented with it a while ago in my lab and the setup is no longer active. There's no out of the box solution for this, as you need to craft proper Route, Record-Route and Via headers based on the direction of the call. You need to understand how loose routing works in order to set correct he

Re: [SR-Users] kamailio + rtpproxy behind nat possible?

2011-06-29 Thread MingHon
Hi, Im using kamailio 3.1.4 as proxy and rtpproxy 1.2.1 in a same server and asterisk 1.6 is at another server both server in the same lan. im new at kamailio and rtpproxy. do you have to source or example mind to share? i try googling but i cant find any. thank you very much. -- Regards, Mi

Re: [SR-Users] MWI handling

2011-06-29 Thread Ovidiu Sas
If you are using asterisk for voicemail, you should let asterisk notify the subscribers about mwi. If you want to use kamailio for notifications, then you need to configure asterisk to send PUBLISH requests to kamailio and kamailio will notify the subscribers. Regards, Ovidiu Sas On Wed, Jun 29,

Re: [SR-Users] kamailio + rtpproxy behind nat possible?

2011-06-29 Thread Ovidiu Sas
It is possible to use kamailio and rtpproxy behind a NAT. You need to properly craft the config to deal with the fact that kamailio is behind NAT (proper Via, Route, Record-Route headers) and you need to do port forwarding for SIP signalling and rtp. Regards, Ovidiu Sas On Wed, Jun 29, 2011 at 9

Re: [SR-Users] Questions about LCR module

2011-06-29 Thread Fabian Borot
lcr.reload load the tables to memory and does not print anything. lcr.dump_[gws|rules] prints what is in memory. perhaps you didn't set lcr_count. please read whole README carefully. -- juha you are right, I guess I did not have the module well configured From: fbo...@hotmail.com To: sr-u

Re: [SR-Users] kamailio + rtpproxy behind nat possible?

2011-06-29 Thread Andrew Pogrebennyk
What are you using - rtpproxy, mediaproxy etc? There is an experimental patch for advertised_address support in rtpproxy on the internet, but I've never had a chance to try it out. You may want to try spce-v2.2, which comes with mediaproxy-ng supporting the advertised_address out of the box: ht

[SR-Users] kamailio + rtpproxy behind nat possible?

2011-06-29 Thread MingHon
will kamailio as proxy behind nat and UACs behind another nat work? port forward sip and rtp done in the router. UACs register successfully but no audio. advertised_address = public_ip advertised_port = sip both define after the line of listen=public_ip please advice. thanks. -- Regards, M

[SR-Users] dispatcher gw state autochange

2011-06-29 Thread vaad.f...@gmail.com
Hi all, Is it possible to autochange gateway's state from pending to active after gw get up ? http://www.kamailio.org/docs/modules/1.4.x/dispatcher.html says only about ping caused autochange state from active to pending, but nothing about change gw's state back. -- Vadim F. _

[SR-Users] MWI handling

2011-06-29 Thread Spinov Evgeniy
Hello. Trying to understand how to work with the presence_mwi module. It seems to me, that it's just for my purpose - inform subscribed peers about waiting messages. But it do not export any functions, noting. The scheme is simple: Peer->Kamailio->Asterisk. Asterisk can accept voicemail and when

Re: [SR-Users] Proxy setup in a non-recursive mode

2011-06-29 Thread Abdul Hakeem
Thanks for the response. Is Kamailio able to do a route lookup via HTTP get/post & pass the variables received to it's routing table before routing the call ? -Original Message- From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Klaus D