Re: [SR-Users] Issue Bug in SEMS (transparent SBC profile)

2021-12-17 Thread Mojtaba
@Juha Heinanen:
Yes, all other headers are supported. But I don't know why in the Invite
message, the value of CSeq is not changed, and all invite messages have 10
INVITE. This caused the asterisk server could not pass the Authentication
process.

@ Denys Pozniak:
Yes, I had quick look at it, In Section 6.3 (Using Replacement in Rule),
does not mention how we can change the CSeq header.
I just imaged the value of CSeq should be incremented automatically by Sems
during Dialog, But it didn't change and at all times it has the same value
(CSeq: 10 INVITE). I need to change it because when the calling moves to
Asterisk, it should be authenticated.
Thanks

On Fri, Dec 17, 2021 at 7:22 PM Juha Heinanen  wrote:

> Mojtaba writes:
>
> > When I run SEMS, CSeq and Contact do not change, while other headers
> > change.
>
> Are you sure that changing other headers than RURI, From, To, and
> Call-ID is supported?
>
> __
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 
--Mojtaba Esfandiari.S
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] RPC command dlg.profile_get_size with per_value response

2021-12-17 Thread David VILLAUME
Hi Henning,

Thanks for your return, I’ll do it.

Have a nice day
David

From: Henning Westerholt 
Sent: Friday, December 17, 2021 1:56 PM
To: Kamailio (SER) - Users Mailing List 
Cc: David VILLAUME 
Subject: RE: [SR-Users] RPC command dlg.profile_get_size with per_value response

Hi David,

you can just create an issue in our github tracker, we will tag 
feature-requests there.

Cheers,

Henning

From: sr-users 
mailto:sr-users-boun...@lists.kamailio.org>>
 On Behalf Of David VILLAUME
Sent: Friday, December 17, 2021 1:50 PM
To: Kamailio (SER) - Users Mailing List 
mailto:sr-users@lists.kamailio.org>>
Subject: [SR-Users] RPC command dlg.profile_get_size with per_value response

Hello,

I would like to suggest you an implementation of the rpc command 
dlg.profile_get_size (on a valued profile) that would return a list of values 
and the number of current dialogs  for any of them .

Din’t know where to suggest it so I sent it there, please accept my apologies 
if it’s not the good place.


Regards,
David

__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] RPC command dlg.profile_get_size with per_value response

2021-12-17 Thread Henning Westerholt
Hi David,

you can just create an issue in our github tracker, we will tag 
feature-requests there.

Cheers,

Henning

From: sr-users  On Behalf Of David VILLAUME
Sent: Friday, December 17, 2021 1:50 PM
To: Kamailio (SER) - Users Mailing List 
Subject: [SR-Users] RPC command dlg.profile_get_size with per_value response

Hello,

I would like to suggest you an implementation of the rpc command 
dlg.profile_get_size (on a valued profile) that would return a list of values 
and the number of current dialogs  for any of them .

Din’t know where to suggest it so I sent it there, please accept my apologies 
if it’s not the good place.


Regards,
David

__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] RPC command dlg.profile_get_size with per_value response

2021-12-17 Thread David VILLAUME
Hello,

I would like to suggest you an implementation of the rpc command 
dlg.profile_get_size (on a valued profile) that would return a list of values 
and the number of current dialogs  for any of them .

Din’t know where to suggest it so I sent it there, please accept my apologies 
if it’s not the good place.


Regards,
David

__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio SIP Application server

2021-12-17 Thread Henning Westerholt
Hello,

Kamailio has no build-in MMTEL application server, but if you look for it you 
find reports of people using Kamailio IMS with an external application server.

Maybe others might be able to comment more details regarding the IMS parts of 
Kamailio.

Cheers,

Henning

--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://gilawa.com

From: sr-users  On Behalf Of Weiqi Yao
Sent: Thursday, December 16, 2021 6:26 PM
To: sr-users@lists.kamailio.org
Subject: [SR-Users] Kamailio SIP Application server

Hello community,

We were testing using Kmailio work as an IMS, and then turn out the phone wants 
 to do MMTel for mobile real-time multimedia communication. We are not familiar 
with this topic, but anyone know Kamailio have such module or any other MMTel 
service can work with Kamailio?

BR,

Weiqi
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Issue Bug in SEMS (transparent SBC profile)

2021-12-17 Thread Denys Pozniak
Did you check the documentation (core information is relevant)?
https://frafosdocs.s3-eu-west-1.amazonaws.com/frafos_abc_sbc_handbook.pdf

пт, 17 дек. 2021 г. в 12:28, Mojtaba :

> Any update on this?
>
>
> On Sat, Dec 11, 2021, 13:56 Mojtaba  wrote:
>
>> Hello,
>> Why in SEMS, some changes (in transparent SBC profile) in sip headers do
>> not apply. For example i want to change CSeq or Contact header like this:
>> # transparent SBC profile
>> # defaults: transparent
>> RURI=$r
>> From=$f
>> To=$t
>> Call-ID=$ci_leg2
>> CSeq=$H(CSeq)
>> Contact=$H(Contact)
>>
>> When I run SEMS, CSeq and Contact do not change, while other headers
>> change.
>>
>> [#7fc688d7b1c0/9379] [onLoad, SBC.cpp:189] INFO:  loading SBC call
>> profiles from '/usr/local/etc/sems/etc/'
>>  [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:418]
>> INFO:  SBC: loaded SBC profile 'mo' - MD5: d6a2c29084043edde1357231f6866737
>>  [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:423]
>> INFO:  SBC:  RURI  = '$r'
>>  [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:424]
>> INFO:  SBC:  RURI-host = ''
>>  [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:425]
>> INFO:  SBC:  From = '$f'
>>  [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:426]
>> INFO:  SBC:  To   = '$t'
>>  [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:431]
>> INFO:  SBC:  Call-ID   = '$ci_leg'
>>  [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:434]
>> INFO:  SBC:  force outbound proxy: yes
>>  This issue caused the Asterisk could not pass the Authentication process
>> in "match_req_to_dialog" function because the CSeq is the same as the
>> dialogs. So the Asterisk thought this message was a LOOP message.
>> Has anybody encountered this issue in SEMS? How did you solve this? I
>> know there are some ways for doing this with Kamailio, But i focused on
>> issues in SEMS
>>
>> With Best Regards
>>
>> *-- Mojtaba Esfandiari.S*
>>
>> *-- PhD student and Research Affiliate, *
>>
>> *-- Technical Manager at IP-PBX Laboratory, Ferdowsi University of
>> Mashhad, Iran.*
>>
>> -- Address: IP-PBX Lab., Engineering Faculty, Ferdowsi University Main
>> Campus, Mashhad, Iran.
>>
>> -- Tel: +98-51-38763635
>>
>> -- Mobile: +98-915-117-6713
>>
>> __
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 

BR,
Denys Pozniak
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] uac module - use htable instead of database

2021-12-17 Thread Karsten Horsmann
Hi Markus,

with an db its easier and re-register is working fine automatically.

But https://kamailio.org/docs/modules/5.5.x/modules/uac.html#uac.f.uac_auth
for authentication INVITES
and uac_req_send (to form REGISTER messages) and a route to challenge
response maybe possible.

Its then "building" the stuff uac normally did automatically manual.
Didnt test that but - its an kamailio script - so the sky is the limit.

Am Fr., 17. Dez. 2021 um 12:37 Uhr schrieb Markus Bönke :

> Hello all,
>
> we want to use the "remote registrations feature" of the uac module to let
> kamailio register with other sip providers. As far as I see the module
> works only with a database backend. As our kamailio script should be
> independent from a database, a solution could be to load the configuration
> on startup (and refresh it periodically) from a database view into a htable
> and then trigger the remote registrations based on the expiration of the
> htable columns.
>
> Could something like this be implemented by using the uac module or by an
> other workaround ? Or does it require some enhancements in the uac module ?
>
> Thanks and regards
>
> Markus
>
>
> __
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 
Mit freundlichen Grüßen
*Karsten Horsmann*
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] uac module - use htable instead of database

2021-12-17 Thread Markus Bönke
Hello all,

we want to use the "remote registrations feature" of the uac module to let 
kamailio register with other sip providers. As far as I see the module works 
only with a database backend. As our kamailio script should be independent from 
a database, a solution could be to load the configuration on startup (and 
refresh it periodically) from a database view into a htable and then trigger 
the remote registrations based on the expiration of the htable columns.

Could something like this be implemented by using the uac module or by an other 
workaround ? Or does it require some enhancements in the uac module ?

Thanks and regards

Markus


__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Issue Bug in SEMS (transparent SBC profile)

2021-12-17 Thread Mojtaba
Any update on this?


On Sat, Dec 11, 2021, 13:56 Mojtaba  wrote:

> Hello,
> Why in SEMS, some changes (in transparent SBC profile) in sip headers do
> not apply. For example i want to change CSeq or Contact header like this:
> # transparent SBC profile
> # defaults: transparent
> RURI=$r
> From=$f
> To=$t
> Call-ID=$ci_leg2
> CSeq=$H(CSeq)
> Contact=$H(Contact)
>
> When I run SEMS, CSeq and Contact do not change, while other headers
> change.
>
> [#7fc688d7b1c0/9379] [onLoad, SBC.cpp:189] INFO:  loading SBC call
> profiles from '/usr/local/etc/sems/etc/'
>  [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:418]
> INFO:  SBC: loaded SBC profile 'mo' - MD5: d6a2c29084043edde1357231f6866737
>  [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:423]
> INFO:  SBC:  RURI  = '$r'
>  [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:424]
> INFO:  SBC:  RURI-host = ''
>  [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:425]
> INFO:  SBC:  From = '$f'
>  [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:426]
> INFO:  SBC:  To   = '$t'
>  [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:431]
> INFO:  SBC:  Call-ID   = '$ci_leg'
>  [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:434]
> INFO:  SBC:  force outbound proxy: yes
>  This issue caused the Asterisk could not pass the Authentication process
> in "match_req_to_dialog" function because the CSeq is the same as the
> dialogs. So the Asterisk thought this message was a LOOP message.
> Has anybody encountered this issue in SEMS? How did you solve this? I know
> there are some ways for doing this with Kamailio, But i focused on issues
> in SEMS
>
> With Best Regards
>
> *-- Mojtaba Esfandiari.S*
>
> *-- PhD student and Research Affiliate, *
>
> *-- Technical Manager at IP-PBX Laboratory, Ferdowsi University of
> Mashhad, Iran.*
>
> -- Address: IP-PBX Lab., Engineering Faculty, Ferdowsi University Main
> Campus, Mashhad, Iran.
>
> -- Tel: +98-51-38763635
>
> -- Mobile: +98-915-117-6713
>
>
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users