Hello
I use the htable module a lot but the only problem, when I add a new
entry in a htable, is when I will delete it. My question is: if the
hash table is completely filled and I try to add a new value to it, do
I get an error or is an old value automatically deleted to be able to
write my new value? If an old value was automatically deleted whenever
a new value is added, I wouldn't have to bother deleting the values I
no longer need.
Thanks
Catalina
hi everyone:
sorry to trouble you again!
I use the SER as a proxy between a SIP-softphone and the asterisk.
The message between the sip-phone and SER is TLS and i want to translant the message by UDP to my asterisk.HOW would i do?
I have tried the forward_udp , t_relay_to_tls ,t_relay_to_udp and no useless.
which function should i prefer?
thanks!!
qiulei212
2009-08-26
hi!
i'm the developer of a sip app that happens to be connecting to a sip
server that's using SER.
i'm having troublewith the way SER handles incoming calls to my
stun-enabled ua (which is placed behind a router)
I have two clients running on the same machine. one is my app, the other
is Gizmo5.
when i make an outgoing call from my app to the user i'm logged in with
in Gizmo5, everything works.
but when i call my app from the Gizmo5 app, sniffing the network
traffic with wireshark, the only thing i see happening is the sip server
sending a 100 Giving a try to the calling ua.
The reason i'm posting this here, is that i know it's not a bug with my
app, since everything works fine when i don't use stun.
(note that i don't have direct access to ser's configuration)
this is my app's REGISTER request (note that it has a *public ip*):
REGISTER sip:proxy01.sipphone.com SIP/2.0
Via: SIP/2.0/UDP 93.148.135.54:5060;rport;branch=z9hG4bK70207
Max-Forwards: 70
To: <sip:asymmetric@proxy01.sipphone.com>
From: <sip:asymmetric@proxy01.sipphone.com>;tag=z9hG4bK57274073
Call-ID: 557402852938(a)93.148.135.54
CSeq: 2 REGISTER
Contact: <sip:asymmetric@93.148.135.54:5060;transport=udp>
Expires: 3600
User-Agent: mjsip stack 1.6
Authorization: Digest username="asymmetric",
realm="proxy01.sipphone.com", nonce="xxx",
uri="sip:proxy01.sipphone.com", algorithm=md5, response="yyy"
Content-Length: 0
and the response:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 93.148.135.54:5060;rport=12810;branch=z9hG4bK70207
To:
<sip:asymmetric@proxy01.sipphone.com>;tag=92390300a369f0d75803e369c733575e.50aa
From: <sip:asymmetric@proxy01.sipphone.com>;tag=z9hG4bK57274073
Call-ID: 557402852938(a)93.148.135.54
CSeq: 2 REGISTER
Contact: <sip:asymmetric@93.148.135.54:5060;transport=udp>;expires=3600
Content-Length: 0
Gizmo5's app REGISTER request:
REGISTER sip:proxy01.sipphone.com SIP/2.0
Via: SIP/2.0/UDP
192.168.1.100:64064;branch=z9hG4bK-d87543-bbc1e2712d417352-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:17474492586@93.148.135.54:10251>
To: <sip:17474492586@proxy01.sipphone.com>
From: <sip:17474492586@proxy01.sipphone.com>;tag=f43be43c
Call-ID: b1b4a060512d4b0c1250955005@YXN5bW1ldHJpYy5sb2NhbA..
CSeq: 2 REGISTER
Expires: 1800
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
User-Agent: MacGizmo/2.0.02 (Gizmo-s2n1)
Authorization: Digest
username="17474492586",realm="proxy01.sipphone.com",nonce="xxx",uri="sip:proxy01.sipphone.com",response="yyy",algorithm=MD5
Content-Length: 0
and response:
SIP/2.0 200 OK
Via: SIP/2.0/UDP
192.168.1.100:64064;branch=z9hG4bK-d87543-bbc1e2712d417352-1--d87543-;rport=10251;received=93.148.135.54
To:
<sip:17474492586@proxy01.sipphone.com>;tag=92390300a369f0d75803e369c733575e.c70f
From: <sip:17474492586@proxy01.sipphone.com>;tag=f43be43c
Call-ID: b1b4a060512d4b0c1250955005@YXN5bW1ldHJpYy5sb2NhbA..
CSeq: 2 REGISTER
P-Behind-NAT: Yes
Contact: <sip:17474492586@93.148.135.54:10251>;expires=1800
Content-Length: 0
in the second case, the client gets the P-Behind-NAT flag set to Yes,
and for a good reason.
But then why is this all i get when trying to call the first ua? :
SIP/2.0 100 Giving a try
Via: SIP/2.0/UDP
192.168.1.100:64064;branch=z9hG4bK-d87543-7fb07a028db5c137-1--d87543-;rport=10251;received=93.148.135.54
To: <sip:asymmetric@proxy01.sipphone.com>
From: <sip:17474492586@proxy01.sipphone.com>;tag=bc135372
Call-ID: 88d41c746d51146e1250955219@YXN5bW1ldHJpYy5sb2NhbA..
CSeq: 1 INVITE
P-Behind-NAT: Yes
Content-Length: 0
whereas the inverse works:
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 198.65.166.131;branch=z9hG4bKf3b1.bc014575.0
Via: SIP/2.0/UDP 93.148.135.54:5060;rport=13171;branch=z9hG4bK82654
Record-Route: <sip:198.65.166.131;lr;ftag=z9hG4bK90319798>
Contact: <sip:17474492586@proxy01.sipphone.com>
To: <sip:17474492586@proxy01.sipphone.com>;tag=6ae0e759
From: "asymmetric"<sip:asymmetric@proxy01.sipphone.com>;tag=z9hG4bK90319798
Call-ID: 593542951976(a)93.148.135.54
CSeq: 1 INVITE
User-Agent: MacGizmo/2.0.02 (Gizmo-s2n1)
Content-Length: 0
CQBM: 244
--
thanks a lot!
asymmetric
Is there any samples let's forwarded Subscribe fix the Contact:
I mean Proxy URI not the customer mapped.
Let's the followed NOTIFY go over proxy not P2P.
Thanks in avance.
Andrew O. Zhukov
Hello everybody,
during the last IRC devel meeting, we pinned end of summer to be the
time to enter testing phase for the new major release - codenamed
kamailio 3.0.
There was quite a lot of brand new features, considering that most of
devel effort was directed to integration. A try to collect new items is
available at:
http://sip-router.org/wiki/features/new-in-devel
Of course, all ser features are available as well, resulting a large
amount of new stuff in kamailio 3.0 vs kamailio 1.5.x. See:
http://sip-router.org/benefits/http://www.iptel.org/ser/features
I propose to start the testing phase sometime next week.
Meanwhile, let's see if something important was forgotten from kamailio
core or tm. To my knowledge:
- path support in tm - Andrei has it on his todo afaik - in a way or
another, it must get in next release
- drop compatibility - drop reply in reply_route - internally drop and
exit are now differentiated by core, needs review and update of handling
after running the routes - on my to-do
Apart seas, all Kamailio modules are fully ugraded to new core - I
started but lack of test env + busy summer resulted in delays - can be
done during testing period, being just api updates.
If you have discovered something else, let us know.
Thanks,
Daniel
--
Daniel-Constantin Mierla
* http://www.asipto.com/
Hi!
I have the following setup:
PSTN<------>Asterisk<-----SIP-->Asterisk
GW/LCR \ \ ...
\ \ ...
\ --SIP-->Asterisk
\ ...
------->Asterisk
The GW-Asterisk just does the gatewaying stuff and writes the CDRs for
the billing system. The other Asterisk servers handle all the services
(IVR, REGISTER, ...)
Some scenarios require to write some additional data to the CDRs. For
outgoing calls this is not a problem (I signal the extra data in a SIP
header and set a CDR() variable in the GW asterisk).
My problem are incoming calls. The "extra data" is only known to the
service Asterisk, but the CDR is written by the GW Asterisk. Does
anybody know a method how to signal the "extra data" during the call
from the server Asterisk back to the GW Asterisk und put it into a CDR()
variable?
Regards
Klaus
Hello,
My Kamailio (tls version) is configured to handle TCP as well as TLS
traffic.
Making calls from softphone using TCP only works fine.
But my TLS traffic has been stucked. I can see lots of error as below in
messages file:
======================================================================
Aug 24 06:05:01 ns110 /usr/local/sbin/kamailio[24273]:
ERROR:core:tcpconn_connect: tcp_blocking_connect failed
Aug 24 06:05:01 ns110 /usr/local/sbin/kamailio[24273]: ERROR:core:tcp_send:
connect failed
Aug 24 06:05:01 ns110 /usr/local/sbin/kamailio[24273]: ERROR:tm:msg_send:
tcp_send failed
Aug 24 06:08:10 ns110 /usr/local/sbin/kamailio[24273]:
ERROR:core:tcp_blocking_connect: poll error: flags 18
Aug 24 06:08:10 ns110 /usr/local/sbin/kamailio[24273]:
ERROR:core:tcp_blocking_connect: failed to retrieve SO_ERROR (110)
Connection timed out
Aug 24 06:08:10 ns110 /usr/local/sbin/kamailio[24273]:
ERROR:core:tcpconn_connect: tcp_blocking_connect failed
Aug 24 06:08:10 ns110 /usr/local/sbin/kamailio[24273]: ERROR:core:tcp_send:
connect failed
Aug 24 06:08:10 ns110 /usr/local/sbin/kamailio[24273]: ERROR:tm:msg_send:
tcp_send failed
Aug 24 06:08:25 ns110 /usr/local/sbin/kamailio[24279]: ERROR:core:_tls_read:
something wrong in SSL: 5
Aug 24 06:08:25 ns110 /usr/local/sbin/kamailio[24279]:
ERROR:core:tcp_read_req: failed to read
Aug 24 06:09:00 ns110 /usr/local/sbin/kamailio[24277]: INFO:core:tls_accept:
client did not present a certificate
=================================================================================
I am very confused, because with the same configuration, another kamailio
server works very well without any error. I am not able to know what could
be the issue in this server with same configuration.
What could be the cause and resolution of this errors?
Any help will be appreciated
Thanks in advance,
Mohammed Shehzad
--
View this message in context: http://www.nabble.com/TLS-TCP-error-tp25114961p25114961.html
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.
Hi,body.
I'm using the kamailio as a sip server,If in the local network ,It works very well ,But when i set the sip server in the internet, When starting voice chat,Two sip phone will receive the behind net ip address(sip phone's local ip address).
How i can configure sip server(kamailio) let sip server send sip phone's peer ip address using front nat ip address(internet ip address)?
Any body can give me how to realize it?
Thank you!
--Aiphie
2009-08-21
“欢乐家庭总动员”--第七届全球通演出季网络互动有惊喜,千元大奖送给您!移动新推GPRS流量优惠系列新套餐,手机上网省钱又省心!
On 24.08.2009 9:38 Uhr, aiphie wrote:
> hi,all
>
you probably forgot to cc to the mailing list. please do so all the time
- there might be people that can help faster and better.
>
> I have use sed command to clear the comment which in front of regarding nat,But it's always use local network IP to fill session description protocol->connection information->connection address,I know sip server can rewrite this message item,Can you tell me how to let sip server rewrite it?
> annex is my config file,please look what wrong in this?
>
It is very unlikely that one will debug a whole config file for you. You
just need to investigate yourself and come to mailing list with specific
questions.
The media IP is updated with what RTPPproxy is listening on. What is the
command used to start rtpproxy?
Cheers,
Daniel
> thank you!
>
> --aiphie
>
>
>
> ----- Original Message -----
> From: "Daniel-Constantin Mierla" <miconda(a)gmail.com>
> To: "aiphie" <chengwu8(a)139.com>
> Cc: <users(a)lists.kamailio.org>
> Sent: Friday, August 21, 2009 6:55 PM
> Subject: Re: [Kamailio-Users] sip phone behind the nat
>
>
>
>> Hello,
>>
>> On 21.08.2009 12:52 Uhr, aiphie wrote:
>>
>>> Hi,body.
>>> I'm using the kamailio as a sip server,If in the local network ,It
>>> works very well ,But when i set the sip server in the internet, When
>>> starting voice chat,Two sip phone will receive the behind net ip
>>> address(sip phone's local ip address).
>>> How i can configure sip server(kamailio) let sip server send sip
>>> phone's peer ip address using front nat ip address(internet ip address)?
>>> Any body can give me how to realize it?
>>>
>> you need to enable nathelper module + appropriate lines in config file
>> and install rtpptoxy.
>>
>> If you check the default config file you will see at the top some
>> comments regarding nat traversal and what sed command you can use to
>> enable it.
>>
>> Cheers,
>> Daniel
>>
>> --
>> Daniel-Constantin Mierla
>> * http://www.asipto.com/
>>
> >
--
Daniel-Constantin Mierla
* http://www.asipto.com/