hi all,
i have configured kamailio and RTPProxy on one ubuntu server then
freeswitch on another server.
all servers installed on digital ocean.
i was tried to build following setup,
SIP_Call------> kamailio+RTPPROXY-------> freeswitch
put following configurations on kamailio.
modparam("rtpproxy", "rtpproxy_sock", "udp:localhost:7722")
modparam("rtpproxy", "rtpproxy_retr", 2)
modparam("rtpproxy", "ice_candidate_priority_avp", "$avp(ice_priority)")
mhomed=1
route[FROM_TRUNK]
#force_send_socket("pu.bl.ic.ip ");
rtpproxy_manage("","pu.bl.ic.ip ");
$du="sip:ip.of.free.switch:5080";
route(RELAY);
call was connected but rtp is not going through the kamailio server like
folows,
SIP FLOOR
SIP_Call------> kamailio-------> freeswitch
SIP_Call<------ kamailio<------- freeswitch
RTP FLOOR
SIP_Call ------> freeswitch
SIP_Call <------ freeswitch
please help me to configure kamailio and RTPProxy to manage RTP
--
thanking you..
Achintha
Hi Daniel,
Thanks again for your reply again.
I remembered about the debug setting and done it yesterday, not at my pc
right now but I remember one of the log lines was saying "the topmost route
header is me".
Still trying to understand it, but will get a copy of the log lines for
you, if you wouldn't mind taking a look.
Thanks again,
Luke
On 4 Aug 2016 06:57, "Daniel-Constantin Mierla" <miconda(a)gmail.com> wrote:
Hello,
set debug=3 in kamailio.cfg and look at log messages in syslog.
If you find it too verbose, use dispatcher module and set debug level only
for core and rr modules to 3.
Cheers,
Daniel
On 03/08/16 13:22, Luke Milbourne wrote:
Hi Daniel,
I've added some more logging and can see loose_route() is returning -1 -
route calculation has been unsuccessful.
Is there a way of finding out why this is the case?
Kind regards,
Luke
On 2 August 2016 at 09:49, Luke Milbourne <luke.milbourne(a)gmail.com> wrote:
> I added the below xlog lines into my script:
>
> xlog("L_NOTICE", "Before loose_route: $si -> $ru - $du\n");
> xlog("L_NOTICE", "Before record_route: $si -> $ru - $du\n");
> xlog("L_NOTICE", "After both: $si -> $ru - $du\n");
>
> Which generated the below output in syslog:
>
> Aug 2 09:46:11 ip-10-10-2-5 /sbin/kamailio[529]: NOTICE: <script>: Before
> loose_route: 10.10.0.25 -> sip:201@192.168.1.114:5062 - <null>
> Aug 2 09:46:11 ip-10-10-2-5 /sbin/kamailio[529]: NOTICE: <script>: Before
> record_route: 10.10.0.25 -> sip:201@192.168.1.114:5062 - <null>
> Aug 2 09:46:11 ip-10-10-2-5 /sbin/kamailio[529]: NOTICE: <script>: After
> both: 10.10.0.25 -> sip:201@192.168.1.114:5062 - <null>
>
> Seems that the destination URI is never set, the Route header is below:
>
> Route: <sip:201@10.10.2.5:5072>;lr;received=sip:[PUBLIC_IP]:45126
>
> The use_received modparam for path is also set to 1.
>
> Any idea's/suggestions are greatly appreciated :)
>
> Kind regards,
> Luke
>
> On 2 August 2016 at 09:40, Luke Milbourne <luke.milbourne(a)gmail.com>
> wrote:
>
>> Morning Gents,
>>
>> Firstly, thanks for taking the time to reply :)
>>
>> Kamailio is doing the NAT detection and simply acting as a passthrough to
>> FreeSWITCH (which handles all SIP registrations etc).
>>
>> Will setup the log lines shortly and share the results.
>>
>> kamailio -V outputs;
>>
>> version: kamailio 4.3.4 (x86_64/linux) 83e842
>> flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS,
>> DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC,
>> DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
>> USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
>> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
>> MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
>> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
>> id: 83e842
>> compiled on 18:22:39 Jan 26 2016 with gcc 4.9.2
>>
>> Kind regards,
>> Luke - Chicane Support
>>
>> On 2 August 2016 at 07:52, Daniel-Constantin Mierla <miconda(a)gmail.com>
>> wrote:
>>
>>> Hello,
>>>
>>> yes, loose_route() should be used there. Can you add a log message and
>>> print $ru and $du before and after loose_route() in config and then send
>>> the result to this mailing list?
>>>
>>> Btw, what version of Kamailio are you using?
>>>
>>> Cheers,
>>> Daniel
>>>
>>> On 01/08/16 14:46, Luke Milbourne wrote:
>>>
>>> Is it correct to use loose_route() along side the path module?
>>>
>>> On 1 August 2016 at 13:33, Luke Milbourne <luke.milbourne(a)gmail.com>
>>> wrote:
>>>
>>>> Hi Daniel,
>>>>
>>>> Yep, I've got the below in my kamailio.cfg
>>>>
>>>> modparam("path", "use_received", 1)
>>>>
>>>> Kind regards,
>>>> Luke
>>>>
>>>> On 1 August 2016 at 13:25, Daniel-Constantin Mierla <miconda(a)gmail.com>
>>>> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> On 01/08/16 14:14, Luke Milbourne wrote:
>>>>>
>>>>> Hi all,
>>>>>
>>>>> Currently trying to use Kamailio as a passthrough to some FreeSWITCH
>>>>> boxes.
>>>>>
>>>>> When receiving an invite from FreeSWITCH which contains a Route header
>>>>> including received information, example below;
>>>>>
>>>>> Route: <sip:201@10.10.2.5:5072>;lr;received=sip:[PUBLIC_IP]:45126
>>>>>
>>>>> When using loose_route() Kamailio still send the invite to the rfc1918
>>>>> address instead of the received IP:PORT in the Route header.
>>>>>
>>>>> Am I misunderstanding how this should work?
>>>>>
>>>>>
>>>>> if you use path module, have you enabled the option to use the
>>>>> received parameter?
>>>>>
>>>>>
>>>>> https://www.kamailio.org/docs/modules/stable/modules/path.html#idp38033932
>>>>>
>>>>> Cheers,
>>>>> Daniel
>>>>>
>>>>> --
>>>>> Daniel-Constantin Mierlahttp://www.asipto.com - http://www.kamailio.orghttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>>> sr-users(a)lists.sip-router.org
>>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Luke Milbourne
>>>>
>>>> Tel: 07857154817
>>>> Google Talk/Email: luke.milbourne(a)gmail.com
>>>>
>>>
>>>
>>>
>>> --
>>> Luke Milbourne
>>>
>>> Tel: 07857154817
>>> Google Talk/Email: luke.milbourne(a)gmail.com
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>> --
>>> Daniel-Constantin Mierlahttp://www.asipto.com - http://www.kamailio.orghttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users(a)lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>
>>
>> --
>> Luke Milbourne
>>
>> Tel: 07857154817
>> Google Talk/Email: luke.milbourne(a)gmail.com
>>
>
>
>
> --
> Luke Milbourne
>
> Tel: 07857154817
> Google Talk/Email: luke.milbourne(a)gmail.com
>
--
Luke Milbourne
Tel: 07857154817
Google Talk/Email: luke.milbourne(a)gmail.com
_______________________________________________
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
--
Daniel-Constantin Mierlahttp://www.asipto.com -
http://www.kamailio.orghttp://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hi all,
I'm switching my development environment from Linux to Mac.
Is there any tutorial on how to setup Kamailio on this OS? It may be an
Unix flavor, but it's still quite different from Linux :).
Thanks,
--
Carlos
http://caruizdiaz.comhttp://ngvoice.com
+52 55 3048 3303
[03:50] <meamo> I have a small query, can anybody assist please?
[03:51] <meamo> I am running kamailio + rtpengine on a google compute cloud instance
[03:51] <meamo> have setup them to work with devices behind nat, and everything works
[03:52] <meamo> no i have added freeswitch. but I don't know how to configure rtpengine to work with both
[03:52] <meamo> when I use #!define with_nat and #!define with_freeswitch, I get no voice in the calls. When I remove, #!define with_freeswitch, everything works normally
Best regards,
Amir
--
Amir KOTB, Msc., Bsc.
Postgraduate Researcher
Department of Electrical Engineering & Electronics,
The University of Liverpool,
Brownlow Hill,
Liverpool L69 3GJ,
UK
Mobile: +44-(0) 7428844234
Email: A.Kotb(a)liverpool.ac.uk
Skype: A.kotb1
Web: Http://uk.linkedin.com/in/AOKotb
Please consider the environment before printing this email
Hi all,
Currently trying to use Kamailio as a passthrough to some FreeSWITCH boxes.
When receiving an invite from FreeSWITCH which contains a Route header
including received information, example below;
Route: <sip:201@10.10.2.5:5072>;lr;received=sip:[PUBLIC_IP]:45126
When using loose_route() Kamailio still send the invite to the rfc1918
address instead of the received IP:PORT in the Route header.
Am I misunderstanding how this should work?
--
Luke Milbourne
<luke.milbourne(a)gmail.com>
Tel: 07857154817
Google Talk/Email: luke.milbourne(a)gmail.com
Hi,
I'm currently running Kamailio 4.1 and was wondering if there is a way to
control ds_ping_interval on a dispatcher setid.
Thanks.
--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen(a)thinkingphones.com
Hi. All trunks works fine ony one not works
Kamailio sends REGISTER with proxy auth
provider answers with 407
Kamailio not send any REGISTER
Just answers in log
uac_reg_tm_callback(): authentication failed for <trunkname>
At attachement kamialio debug 3 log and sip log
I'm not sure where to send this information so I hope it's okay to share it with the mailing list, as well as the whois registrants:
I went to register for a new account at https://serweb.iptel.org/user/reg.
Firefox told me that the SSL certificate was bad. Specifically:
--
serweb.iptel.org uses an invalid security certificate. The certificate is not trusted because it was signed using a signature algorithm that was disabled because that algorithm is not secure. The certificate expired on 10/22/2014 12:39 AM. The current time is 08/01/2016 09:55 PM.
--
Thank you.
I'm not sure where to send this information so I hope it's okay to share it here:
I went to register for a new account at https://serweb.iptel.org/user/reg.
Firefox told me that the SSL certificate was bad. Specifically:
Hello,
a short note to announce that the os on kamailio.org server will be
upgraded in the near future, likely next week, exact date still to be
decided. Hopefully there will be only very short downtime intervals.
Main affected services: website (including the wiki) and mailing lists.
I will send a notification once the procedure starts, but I wanted to
allow enough time for this information to propagate properly within the
community.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.orghttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda