Dears,
I started my lab on VMware (debian lenny) where I installed Kamailio 3.2 and started drouting configuration.
I'm using 2 PCs each having an x-lite softphone and the Kamailio on the vmware all connected locally. My primary test is to make a call from x-lite on PC (192.168.111.11) to x-lite on PC (192.168.111.226) through Kamailio\ drouting modules (192.168.111.139).
What is happening is that when I call 9611558800, for example, am getting 'Calling' message on PC x-lite followed by 'Call Failed: Request Timeout' after a certain time.
Attached is my routing logic script, and ngrep for the call that is failing.
And my dr_tables data is :
dr_rules: 4, '0', '9611', '', 0, '', '#3', 'Lebanon Fix'
dr_gw_lists: 3, '5', 'Test Call'
dr_groups: 3, '.*', '.*', 0, 'Everyone'
dr_gateways: 5, 1, '192.168.111.226', 0, '', '', 2, 'PC1'
I tried adding port number to the gateways, remove '#' and add 5 in the dr_rules, remove the "0" from do_routing in the script, but with no success.
Reading some related documents and books, I found that all scenarios using drouting have gateways as media servers (Asterisks) . So my question: is this a must, to have a media proxy even using my above primary enviroment?
If not, can you please help me finding my mistake that prohibit the call's success(ringing)?
Thanks in advance.
F.Chahrour
Dears,
I started my lab on VMware (debian lenny) where I installed Kamailio 3.2 and started drouting configuration.
I'm using 2 PCs each having an x-lite softphone and the Kamailio on the vmware all connected locally. My primary test is to make a call from x-lite on PC (192.168.111.11) to x-lite on PC (192.168.111.226) through Kamailio\ drouting modules (192.168.111.139).
As you could see on you ngrep capture ... kamailio it's doing it job ok, it forward the request to you .226 PC, but that PC doesn't answer, so call timeout.
Hi,
Thanks for the reply. So can I say that the script and data in tables are correct?
The .266 is doing nothing, neither ringing nor showing any response, and this is the issue! So what might be prohibitting the call ringing? However without the drouting module calling 6000 (.266 username) passes normaly and gives ringing!
Kind Regards, F.Chahrour
-----Original Message----- From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of rabs@dimension-virtual.com Sent: Monday, March 19, 2012 6:51 PM To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List Subject: Re: [SR-Users] FW: Unsuccessful call using DRouting - Request Timeout
Dears,
I started my lab on VMware (debian lenny) where I installed Kamailio 3.2 and started drouting configuration.
I'm using 2 PCs each having an x-lite softphone and the Kamailio on the vmware all connected locally. My primary test is to make a call from x-lite on PC (192.168.111.11) to x-lite on PC (192.168.111.226) through Kamailio\ drouting modules (192.168.111.139).
As you could see on you ngrep capture ... kamailio it's doing it job ok, it forward the request to you .226 PC, but that PC doesn't answer, so call timeout.
_______________________________________________ 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,
Thanks for the reply. So can I say that the script and data in tables are correct?
The .266 is doing nothing, neither ringing nor showing any response, and this is the issue! So what might be prohibitting the call ringing? However without the drouting module calling 6000 (.266 username) passes normaly and gives ringing!
When you use drouting, you are sending a call to a supposed 'gateway' or UAS, it's more than posible that your .266 is getting a request that don't know how to respond to ... and it 'mute'.
Okay, then I will go forward to installing and configuring Asterisk to be defined as gateway and check results! Will update you.
Thanks, F.Chahrour
-----Original Message----- From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of rabs@dimension-virtual.com Sent: Monday, March 19, 2012 10:12 PM To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List Subject: Re: [SR-Users] FW: Unsuccessful call using DRouting - Request Timeout
Hi,
Thanks for the reply. So can I say that the script and data in tables are correct?
The .266 is doing nothing, neither ringing nor showing any response, and this is the issue! So what might be prohibitting the call ringing? However without the drouting module calling 6000 (.266 username) passes normaly and gives
ringing!
When you use drouting, you are sending a call to a supposed 'gateway' or UAS, it's more than posible that your .266 is getting a request that don't know how to respond to ... and it 'mute'.
_______________________________________________ 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
Hello,
The call is successful now after I connected it to C3x gateway.
Kind Regards, F.Chahrour
-----Original Message----- From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Fatima Chahrour~ Vanrise Technical Support Sent: Monday, March 19, 2012 10:15 PM To: 'SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List' Subject: Re: [SR-Users] FW: Unsuccessful call using DRouting - Request Timeout
Okay, then I will go forward to installing and configuring Asterisk to be defined as gateway and check results! Will update you.
Thanks, F.Chahrour
-----Original Message----- From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of rabs@dimension-virtual.com Sent: Monday, March 19, 2012 10:12 PM To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List Subject: Re: [SR-Users] FW: Unsuccessful call using DRouting - Request Timeout
Hi,
Thanks for the reply. So can I say that the script and data in tables are correct?
The .266 is doing nothing, neither ringing nor showing any response, and this is the issue! So what might be prohibitting the call ringing? However without the drouting module calling 6000 (.266 username) passes normaly and gives
ringing!
When you use drouting, you are sending a call to a supposed 'gateway' or UAS, it's more than posible that your .266 is getting a request that don't know how to respond to ... and it 'mute'.
_______________________________________________ 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 list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users