Problems getting audio when call from outside mi LAN.
Both peers in my LAN perfect.
One peer in my LAN, and another outside in the cellphone company
internet; the one outside don't delivery any packet to the one inside my
LAN Them can see each other and try to talk but the packets sended to
the other party get lost. No one receive anything.
Restarting services for rtpproxy and kamailio after every try.
Here is my configuration on /etc/default/rtpproxy file:
USER=kamailio
GROUP=kamailio
CONTROL_SOCK="unix:/var/run/rtpproxy/rtpproxy.sock"
EXTRA_OPTS="-l 72.28.208.16 -s udp:localhost:7722"
Here my configuration on kamailio.cfg file corresponding with NAT:
#!ifdef WITH_NAT
# ----- rtpproxy params -----
#modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7722")
modparam("rtpproxy", "rtpproxy_sock",
"unix:/var/run/rtpproxy/rtpproxy.sock")
# ----- nathelper params -----
modparam("nathelper", "natping_interval", 30)
modparam("nathelper", "ping_nated_only", 1)
modparam("nathelper", "sipping_bflag", FLB_NATSIPPING)
modparam("nathelper", "sipping_from", "sip:pinger@kamailio.org")
# params needed for NAT traversal in other modules
modparam("nathelper|registrar", "received_avp", "$avp(RECEIVED)")
modparam("usrloc", "nat_bflag", FLB_NATB)
#!endif
Ports opened in my router for Kamailio:
udp:35000-65365, udp-tcp:5060, 5061
I know this is personal information but this server is a case study. I'm
Trying to learn from you all and if it's possible contribute in the
future with some knowledge.
Two users for you to test:
user name: support
domain: uscallfree.com
password: support
Not TLS yet
user name: master
domain: uscallfree.com
password: master
Not TLS yet
If one of you wants to try what happen when calls from one peer use that
one above, my user name always active is admin(a)uscallfree.com. I know
it's not working but maybe helps to determine what it's happening.
admin(a)uscallfree.com active 24 hrs. in my nexus 4 native SIP profile
configuration.
Thank for the help provided here in the mailing list. You all rocks
I was trying for too long right now to have a complete call between to parties outside mi local network but they can start the call and nothing its heard. I think it’s because my network it’s behind a NAT but I’m already configure the “rtpproxy” to use my external IP not the one on my private network and still not working.
Kamailio and RTPPROXY are communicating through IP and port udp:127.0.0.1:7722
Local calls works fine but the problem its with one or both parties outside the local network. Register and keep location outside the networks works but don’t ear a sound and in the statics the is no packets travelling between them both.
Thanks you all.
Hi,
I am using iptel SER for quite a long time. Currently am using
presence sharing mechanism of SER.
While testing the same it is observed that SER doesn't send partial NOTIFY
message i.e. it always sends NOTIFY with complete rlmi doc and pidf for
all the buddies.
Isn't it possible to send NOTIFY messages only with the pidf of
the user who is changing the presence not all??
I checked the code and found there is no support of partial notification
(fullState is always set as true). Is there any new version of ser
available where this issue has got resolved???
Please help, its urgent.
Thanks and Regards,
--Piyush Bansal
NATT - I & T, Reliance Tech Services, Delhi, India
(M) +91-93502-30362
Enjoy the widest reach of 3G services across India only On Reliance
www.rcom.co.in/3G
The information contained in this electronic message (email) and any attachments to this email are intended for the exclusive use of the addressee(s) and access to this email by any one else is unauthorised. The email may contain proprietary, confidential or privileged information or information relating to Reliance Group. If you are not the intended recipient, please notify the sender by telephone, fax, or return email and delete this communication and any attachments thereto, immediately from your computer. Any dissemination, distribution, or copying of this communication and the attachments thereto (in whole or part), in any manner, is strictly prohibited and actionable at law. The recipient acknowledges that emails are susceptible to alteration and their integrity can not be guaranteed and that Company does not guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email.
file http://box.tutpro.com/tmp/gdb_kamailio_20131223_145323 contains gdb bt
of all presence server processes when presence server is not responding to
any new requests. looks like several processes are in futexlock.h if that
tells something.
this is with kamailio 4.0.
-- juha
i'm trying to create an array (similar to sql_xquery result) using xavp,
i tried the ff:
$xavp(arr[0]=>foo1) = 'bar1';
$xavp(arr[0]=>foo2) = 'bar2';
$xavp(arr[1]=>foo1) = 'bar3';
$xavp(arr[1]=>foo2) = 'bar4';
this does not work.
Kelvin Chua
Dear Sir,
My Kamailio Server is sending the same Branch ID for all calls on ACK
message... Is there a way to make this Branch id different for each call?
U X.X.X.X:5060 -> Y.Y.Y.Y:5060
ACK sip:Y.Y.Y.Y:5060;transport=udp SIP/2.0.
*Via: SIP/2.0/UDP X.X.X.X;branch=z9hG4bKcydzigwkX.*
Via: SIP/2.0/UDP Z.Z.Z.Z:5060;branch=z9hG4bK077293e0;rport=5060.
From: "1111" <sip:1111@Z.Z.Z.Z>;tag=as35541df8.
To: <sip:011919986013142@X.X.X.X>;tag=52BBDC4F-18FAC498-AC1C1B69.
Contact: <sip:1111@Z.Z.Z.Z>.
Call-ID: 051f04c861941212308149bf3e7e4ea0(a)Z.Z.Z.Z.
CSeq: 102 ACK.
User-Agent: Switch.
Max-Forwards: 69.
Content-Length: 0.
.
U X.X.X.X:5060 -> Y.Y.Y.Y:5060
ACK sip:Y.Y.Y.Y:5060;transport=udp SIP/2.0.
*Via: SIP/2.0/UDP X.X.X.X;branch=z9hG4bKcydzigwkX.*
Via: SIP/2.0/UDP Z.Z.Z.Z:5060;branch=z9hG4bK577c532e;rport=5060.
From: "801555555555" <sip:801555555555@Z.Z.Z.Z>;tag=as706a0ac1.
To: <sip:011919916731781@X.X.X.X>;tag=52BBDC34-18FABB83-AC1C1B69.
Contact: <sip:801555555555@Z.Z.Z.Z>.
Call-ID: 5a795f6a1c76095a515a22fd356526ea(a)Z.Z.Z.Z.
CSeq: 102 ACK.
User-Agent: Switch.
Max-Forwards: 69.
Content-Length: 0.
.
Regards
--
Michel Freiha
Product Manager
NYMGO S.A.
Office: +961 1 373725 ext.116
25 Avenue de la Liberte
L-1931 Luxembourg
www.nymgo.com
Hi and Merry Christmas,
I don't know if I can ask my problem here because it's about CDRTool
not kamailio.
I use kamailio+mediaproxy+callcontrol+cdrtool+freeradius-xs, all calls
are OK, the balance is updated after each calln, and i have start/bye
on freeradius.
All seems ok but after each call I receive from cdrtool something like
this, for example when I call to Germany (00491525XXXXXXX)
Dec 25 17:43:53 billing cdrtool[11656]:
Dec 25 17:45:01 billing cdrtool[17062]: Error: cannot find destination
id for 491525XXXXXXX of customer = '', total destinations = 0
Dec 25 17:45:01 billing cdrtool[17062]: Error: cannot find destination
id for 491525XXXXXXX of customer = '', total destinations = 0
Dec 25 17:45:01 billing cdrtool[17062]: Error: cannot find destination
id for 491525XXXXXXX of customer = '', total destinations = 0
Dec 25 17:45:01 billing cdrtool[17062]: 1 CDRs, 1 normalized in 0 s @ 0 cps
These are logs from cdrtool:
131225 17:43:35 527269 Query select * from prepaid where account =
'teddy(a)sip.test'
527269 Query select * from destinations
where dest_id = '491525'
and (reseller_id = 0 or reseller_id = 0) order by reseller_id
desc limit 1
527269 Query select * from billing_customers
where subscriber = 'teddy(a)sip.test'
or domain = 'sip.test'
or gateway = '10.57.85.221'
or (subscriber = '' and domain = '' and gateway = '')
order by subscriber desc, domain desc, gateway desc limit 1
527269 Query select * from billing_rates where name
= 'bll_prepaid' and destination = '491525' and application = 'audio'
527269 Query update prepaid
set
active_sessions =
'{\"WrNwobXRtxTIrP3YfZtbz8FmGRXJ6oh0\":{\"timestamp\":1387982615,\"duration\":36000,\"BillingPartyId\":\"teddy(a)sip.test\",\"MaxSessionTime\":36000,\"domain\":\"sip.test\",\"gateway\":\"10.57.85.221\",\"Destination\":\"+4915252136282\",\"DestinationId\":\"491525\",\"region\":null,\"connectCost\":\"0.0000\"}}',
session_counter = '1'
where account = 'teddy(a)sip.test'
131225 17:43:53 527269 Query select * from prepaid where account =
'teddy(a)sip.test'
131225 17:44:59 527269 Query select * from destinations
where dest_id = '491525'
and (reseller_id = 0 or reseller_id = 0) order by reseller_id
desc limit 1
527269 Query select * from billing_customers
where subscriber = 'teddy(a)sip.test'
or domain = 'sip.test'
or gateway = '10.57.85.221'
or (subscriber = '' and domain = '' and gateway = '')
order by subscriber desc, domain desc, gateway desc limit 1
527269 Query select * from billing_discounts
where domain = 'sip.test'
and application = 'audio'
and destination = '491525'
527269 Query select * from billing_rates where name
= 'bll_prepaid' and destination = '491525' and application = 'audio'
527269 Query select * from prepaid where account =
'teddy(a)sip.test'
527269 Query update prepaid
set balance = balance - '660.0000',
change_date = NOW(),
active_sessions = '[]',
session_counter = '0'
where account = 'teddy(a)sip.test'
527269 Query insert into prepaid_history
(username,domain,action,description,value,balance,date,session,duration,destination,reseller_id)
values
('teddy','sip.blueline.mg','Debit balance','Session to
+491525XXXXXXX for
66s','-660.0000','895739.9999',NOW(),'WrNwobXRtxTIrP3YfZtbz8FmGRXJ6oh0','66','+491525XXXXXXX',0)
1
when I telnet cdrtool on port 9024 from kamailio, I have the price,
for the destination:
ShowPrice From=sip:teddy@sip.test To=sip:00491525XXXXXXX@sip.test
gateway=10.0.0.1 duration=247
2470.0000
Duration: 247 s
App: audio
Destination: 491525
Customer: domain=sip.test
Connect: 0.0000
StartTime: 2013-12-26 10:50:07
--
Span: 1
Duration: 247 s
ProfileId: bll_prepaid / weekday
RateId: bll_prepaid / 0-24h
Rate: 600.0000 / 60 s
Price: 2,470.0000
I don't know why cdrtool sends mail to me and says that it doesn't
find the destination, can someone help me please. Thanks in advance.
ps: If need, I can show the configuration files or other logs
Regards.
Almost done with another fruitful year, counting two major releases, the
first edition of a dedicated conference for Kamailio and presence at
over a dozen events world wide, it's time to say thanks to everyone that
helped along the time -- developers, users, businesses investing
resources and all the friends around the project!
A Merry Christmas and great winter holidays!
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Hello,
I try to run RTPProxy on a different machine than Kamailio (Kamailio IP is
10.25.1.5 without NAT) for rtp recording.
Remote machine has an IP Address of 10.25.1.1 and started with
/usr/local/bin/rtpproxy -l 10.25.1.1 -s udp:*:7722 -F -P -r/log/rtp_trace
In Kamailio configuration file:
modparam("rtpproxy", "rtpproxy_sock", "udp:10.25.1.1:7722")
And then, we receive an error after Kamailio start:
/usr/local/sbin/kamailio[24510]: ERROR: rtpproxy [rtpproxy.c:1527]: timeout
waiting reply from a RTP proxy
/usr/local/sbin/kamailio[24510]: ERROR: rtpproxy [rtpproxy.c:1536]: proxy
<udp:10.25.153.149:7722> does not respond, disable it
/usr/local/sbin/kamailio[24510]: WARNING: rtpproxy [rtpproxy.c:1404]: RTP
proxy went down during version query
/usr/local/sbin/kamailio[24510]: WARNING: rtpproxy [rtpproxy.c:1430]:
support for RTP proxy <udp:10.25.153.149:7722> has been disabled temporarily
In netstat -a:
udp 0 0 KAMnet-JAF-TST-01:53522 vm-kamnet-dev01.bgtehi:7722
ESTABLISHED
udp 0 0 KAMnet-JAF-TST-01:36633 vm-kamnet-dev01.bgtehi:7722
ESTABLISHED
udp 0 0 KAMnet-JAF-TST-01:32925 vm-kamnet-dev01.bgtehi:7722
ESTABLISHED
It works, when Kamailio & RTPproxy are configured in the same machine, with
modparam("rtpproxy", "rtpproxy_sock", "udp:localhost:7722"),
Is there something wrong in configuration of remote mode?
Thanks for any help,
Julia