Hello,
I try to understand the nonce count handling.
By parameter "modparam("auth", "nonce_expire", 21600)" I can define the validity of the Nonce in the time.
But I want also to define the validity of the Nonce in the number of use. For exemple, I want to limit the reuse of the nonce at 64 times (including register, Invite)
But I can see the definition of the nonce_count for all the SIP users on Kamailio and not user per user.
If I understand when I use
modparam("auth", "nonce_count", 1) # enable nonce_count support
modparam("auth", "nc_array_order", 20) # 1M in-flight nonces, using 1Mb memory
modparam("auth", "nid_pool_no", 4)
I define a memory to store the nonce values for all the SIP users.
So when User A use nonce x for REGISTER and nonce y for INVITE, nonce x is still valid !
My understanding is it correct ?
Is anyway to define a nonce validity in number of times per user ?
Patrice B
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
Hi,
I am trying to use RTPproxy 1.2.1 in bridge mode between IPv4 and IPv6
together with Kamailio 3.2. I configured and ran it on server together with
Kamailio.
I start it with parameters:
-l 192.168.6.2 -6 /2001:6666:6666:6666::2 -s udp:localhost:7722
SIP messages are correctly exchanged, SDP looks to be translated, but when
RTP session starts, I see RTP flow only from UC1 to RTPproxy and nothing
more.
On RTPproxy server I see 4 open ports for IPv4 address but no one for IPv6
address.
When I tried to change start parameters to
-6 2001:6666:6666:6666::2 -l /192.168.6.2 -s udp:localhost:7722
I could see 4 open ports for IPv6 address but no one for IPv4 address.
Can anybody help? do you know about any known error? can it be related to
Kamailio or RTPproxy?
thank you,
Lukas Lani
Hi All
Now I am using Kamailio 3.1.5 and RTP proxy 1.1.
Looks both are compatible and working fine.
The RTP Proxy basically sends/receives RTP packets over UDP.
Is there any RTP Proxy available that does send/receive of RTP packets
over TCP and also should be compatible with Kamailio 3.1.5.
If you have any information in this regard, kindly share.
Thanks a lot.
Austin
Do not write private emails, keep the mailing list cc-ed for the topics
started there.
Cheers,
Daniel
On 6/7/12 12:22 PM, Dominik Mauritz wrote:
> Daniel, Stoyna,
>
> the solutions you described look very interesting to me. I will have a
> look at both and pick the one that fits best.
>
> Thanks guys.
>
> Rgs,
> Dominik
>
>
>
> Am 07.06.12 10:57, schrieb Daniel-Constantin Mierla:
>> Hello,
>>
>> On 6/6/12 9:57 PM, Stoyan Mihaylov wrote:
>>> We use Jitsi as SIP client, and openxcap along with camailio to
>>> handle presence. Then jitsi know if account is online or offline.
>>> Our Asterisk dont know nothing about accounts (it accepts all calls
>>> from kamailio). There I run AGI scripts, which can check kamailio
>>> tables - and I can know if account is online or offline. Of course
>>> this do not work if account is "forced" to offline.
>>> But may be there is better solution.
>>>
>>> On Wed, Jun 6, 2012 at 10:04 PM, Dominik Mauritz
>>> <dominik.mauritz(a)web.de <mailto:dominik.mauritz@web.de>> wrote:
>>>
>>> I have already tried that. I defined SIP-Accounts in Asterisk
>>> with host=<Kamailio-IP> (instead of host=dynamic). This solves the
>>> described problem but it also has side effects:
>>>
>>> - You don't have the correct presence status on your phone (e.
>>> g. xlite) indicating wether the account is online or offline
>>> - Asterisk always sends invites to Kamailio on incoming calls
>>> even if there is no phone registered to the account
>>>
>>> These are not the worst things in the world, but it is maybe not
>>> the best solution possible.
>>>
>>>
>>>
>>> Am 06.06.12 20:41, schrieb Stoyan Mihaylov:
>>>
>>> We use also Kamailio in front of Asterisk - but I forward
>>> only calls to Asterisk - register/unregister stay in Kamailio.
>>> Asterisk dont know which device is registered, and which is not.
>>>
>>>
>>> On Wed, Jun 6, 2012 at 8:20 PM, Dominik Mauritz
>>> <dominik.mauritz(a)web.de <mailto:dominik.mauritz@web.de>
>>> <mailto:dominik.mauritz@web.de <mailto:dominik.mauritz@web.de>>> wrote:
>>>
>>> Hi All,
>>>
>>> some days ago I installed Kamailio as a front end for
>>> Asterisk following this tutorial:
>>>
>>> http://kb.asipto.com/asterisk:__realtime:kamailio-3.1.x-__asterisk-1.6.2-as…
>>> <http://kb.asipto.com/asterisk:realtime:kamailio-3.1.x-asterisk-1.6.2-astdb>
>>>
>>>
>>>
>>> I added Multi Domain support and adjusted some other things
>>> to fit my environment. Almost everything is working perfectly now.
>>> One small issue is left:
>>>
>>> With Kamailio in front of Asterisk I have one feature (next
>>> to other cool things) I was missing for years. I am now able to
>>> register more than one device on the same SIP account. This is
>>> nothing new for Kamailio users but Asterisk doesn’t support this.
>>>
>>> If I register two phones on one SIP account with Kamailio
>>> everything is fine. They are able to make outgoing calls and both
>>> ring on incoming calls. But if one phone unregisters Kamailio
>>> forwards the unregister request to Asterisk and Asterisk sets this
>>> account to offline. Now a call comes in but Asterisk is not sending
>>> out an invite because for Asterisk the phone is offline.
>>>
>>> I wonder if it is possible to forward an unregister request
>>> from Kamailio to Asterisk only if the last endpoint registered with
>>> one SIP account unregisters. If there is more than one endpoint
>>> using the same Account Kamailio should not forward the unregister
>>> request to Asterisk.
>>>
>>> Any idea?
>>>
>> you can use reg_fetch_contacts(...) in your config to find out how
>> many contacts are for an user and based on that do not send the
>> un-register to asterisk, see:
>>
>> http://kamailio.org/docs/modules/stable/modules_k/registrar.html#id2498205
>>
>> http://kamailio.org/docs/modules/stable/modules_k/registrar.html#id2498441
>>
>>
>> Cheers,
>> Daniel
>>
>> --
>> Daniel-Constantin Mierla -http://www.asipto.com
>> http://twitter.com/#!/miconda -http://www.linkedin.com/in/miconda
>> Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012
>> -http://asipto.com/u/katu
>> Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012
>> -http://asipto.com/u/kpw
>>
>>
>>
>
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - http://asipto.com/u/katu
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - http://asipto.com/u/kpw
Hello List,
I am looking for a way to record the audio and video of a call. I am
using Kamailio (latest) on Ubuntu.
Does anyone know if there's any existing modules that allow for recording
or any other solution that can provide recording of calls on Kamailio?
Thank you!
Hi,
Siremis v3.2.1 is out, the web management interface for Kamailio SIP
Server. It is the last release with new features planned to be
compatible with Kamailio v3.2.x. Next major releases for Siremis will
target upcoming Kamailio v3.3.x.
This time new features relate to web pages that allow management of own
profile by SIP users, such as changing SIP password, management of speed
dials or views for accounting, cdrs and location records. There was also
added a form for doing user registrations (e.g., can be used for
allowing public registrations).
You can read more details about the release as well as details about
installation at:
* http://siremis.asipto.com/
Regards,
Ramona
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
We are thinking about launching a different "usage policy". The usage
policy will be prepaid in some sense.
but instead of limiting "number of minutes" we are thinking about
limiting "number of calls".
That means if you pay this X amount of doller, you can make Y amount
of calls. calls can last whatever the
user wants given that its under 1 hr.
I've seen how to limit concurrent calls using SER, but the usage i
have described, is not seen by me.
So please help me out with this thing.
My initial understanding about how it can be done :
1) when a dialog is confirmed with ACK(we have both callid, from tag,
to tag), we can make an entry to the database
by increasing "number of calls" field by one.
2) A field in database will be used as flag for usage limit. when
"number of calls" exceeds the usage limit, it will flag it
as "finished usage limit".
3) when a INVITE arrives, a check will be made with $fU against DB.
With this framework in mind, I have read "db_mysql" module. And to my
surprise, no direct the database
functions are not exported to the cfg.
I don't know if any module in kamailio exports mysql_queury() to cfg,
which i need for my purpose.
And may be there is some built in module which provides a higher level
layer which will enable myself achieving
my goal.
If in the end i need "exported" mysql functions, then i can develop it myself.
So which way i should go?
Thanks in advance
- --
- -aft
-----BEGIN PGP SIGNATURE-----
Version: OpenPGP.js v0.1
Comment: http://openpgpjs.org
wsBcBAEBAgAQBQJPzc6dCRCJVJ6A/SK8awAARAkH/R5rqfiTPqBP+zZr8rgM
0JE42l9jxYq5OteD13U4CvcrUklXZlgDf2jwr1F7ndd1rlV3yKXAT2u61Bz5
LwNneRZydl3xnPmt2+TV6Qkcgy8RXgyRMntP9iLeQOXWJNW7D637h7tLL11d
O50s86ofgJT+dfTICbomNZjLZRr1DvYOdcByG3LHcYx033G6bIFlMqJ0ZO+G
cBdgtJcLrwo6iPn8Gv+5aJDy2kRUphrF7cVCzFzLPnNVZpvXNNcv7LB9bkUH
cClcLDVAbsdw0TPd9Z6DNJSxFlHy2uzwNWB9mhpVJD1toT8Geb4iCOi+ZG8P
WT5fgNwSoZlEm0BBBHwMUdk=
=fcdD
-----END PGP SIGNATURE-----
Hi All,
some days ago I installed Kamailio as a front end for Asterisk following this tutorial:
http://kb.asipto.com/asterisk:realtime:kamailio-3.1.x-asterisk-1.6.2-astdb
I added Multi Domain support and adjusted some other things to fit my environment. Almost everything is working perfectly now. One small issue is left:
With Kamailio in front of Asterisk I have one feature (next to other cool things) I was missing for years. I am now able to register more than one device on the same SIP account. This is nothing new for Kamailio users but Asterisk doesn’t support this.
If I register two phones on one SIP account with Kamailio everything is fine. They are able to make outgoing calls and both ring on incoming calls. But if one phone unregisters Kamailio forwards the unregister request to Asterisk and Asterisk sets this account to offline. Now a call comes in but Asterisk is not sending out an invite because for Asterisk the phone is offline.
I wonder if it is possible to forward an unregister request from Kamailio to Asterisk only if the last endpoint registered with one SIP account unregisters. If there is more than one endpoint using the same Account Kamailio should not forward the unregister request to Asterisk.
Any idea?
Thanks,
Dominik
Hi,
I know that kamailio is SIP proxy, but is there any way how to implement
kamailio as SBC like OpenSIPS with B2BUA module ? I tried OpenSIPS with
this module, but it does not work with mediaproxy module.
Mino