Re: [SR-Users] I_SCSCF_select function dont return the next SCSCF in IMS network!!!

2017-07-24 Thread Mojtaba
Hi again.
I fixed the problem with the commit 987c810
(https://github.com/kamailio/kamailio/commit/987c8101504cc7939c6782df55d7073f492e12c8).
in kamailio-5.0.1
In kamailio-5.0.2 it is fixed,
Thanks Mr Carsten Bock & ng_voice

On Mon, Jul 24, 2017 at 11:35 AM, Mojtaba  wrote:
> Hi,
> I had some search about this issue, I found the same issue that why
> the ICSCF doesn't send UAR to HSS, I think this issue is fixed with
> commit 987c810 
> (https://github.com/kamailio/kamailio/commit/987c8101504cc7939c6782df55d7073f492e12c8).
> I hope i could solved this problem :))
>
> On Sun, Jul 23, 2017 at 3:38 PM, Mojtaba  wrote:
>> Hello,
>> Today i have a strange problem in IMS network.
>> All nodes (pcscf,icscf,scscf and hss) are configured in independent server.
>> My domain is default(open-ims.test)
>>
>> Now when i want to register b...@open-ims.test, I get this error from ICSCF:
>> 500 Error in request.
>> When i saw the log files, i found the icscf could not found the next
>> node(scscf) in registration path. As i defined prefered scscf_uri in
>> configuration file, Why the icscf, could not found the scscf?
>> The dns server works correctly and i have ping of scscf.open-ims.test
>> from icscf node.
>> When i trace the diameter packets, the icscf connect to hss
>> successfully but dont send UAR to hss while registration proccess!!
>> It's strange.
>> Please let me know why i have this problem,
>> Thanks With Regards.
>> --
>> --Mojtaba Esfandiari.S
>
>
>
> --
> --Mojtaba Esfandiari.S



-- 
--Mojtaba Esfandiari.S

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] I_SCSCF_select function dont return the next SCSCF in IMS network!!!

2017-07-24 Thread Mojtaba
Hi,
I had some search about this issue, I found the same issue that why
the ICSCF doesn't send UAR to HSS, I think this issue is fixed with
commit 987c810 
(https://github.com/kamailio/kamailio/commit/987c8101504cc7939c6782df55d7073f492e12c8).
I hope i could solved this problem :))

On Sun, Jul 23, 2017 at 3:38 PM, Mojtaba  wrote:
> Hello,
> Today i have a strange problem in IMS network.
> All nodes (pcscf,icscf,scscf and hss) are configured in independent server.
> My domain is default(open-ims.test)
>
> Now when i want to register b...@open-ims.test, I get this error from ICSCF:
> 500 Error in request.
> When i saw the log files, i found the icscf could not found the next
> node(scscf) in registration path. As i defined prefered scscf_uri in
> configuration file, Why the icscf, could not found the scscf?
> The dns server works correctly and i have ping of scscf.open-ims.test
> from icscf node.
> When i trace the diameter packets, the icscf connect to hss
> successfully but dont send UAR to hss while registration proccess!!
> It's strange.
> Please let me know why i have this problem,
> Thanks With Regards.
> --
> --Mojtaba Esfandiari.S



-- 
--Mojtaba Esfandiari.S

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] xavp questions (variables in root/branch)

2017-07-24 Thread Daniel-Constantin Mierla
Hello,

do you need to store per transaction or just global scope? If the later,
you can use hash table variables with dynamic name.

Cheers,
Daniel


On 19.07.17 11:09, Vasiliy Ganchev wrote:
> Hi, community!
>
> I have a question regarding xavp usage.
>
> according to docs, xavp has format:
> $xavp(root=>branch)="value";
>
> I want to use "root" and "branch" - variables. (as it is implemented with
> AVPs - the id there, can be variable)
> e.g.:
>
> ...
> $var(root_key) = "root_1";
> $var(branch_key1) = "key_value1";
> ...
> $xavp($var(root_key)[0]=>$var(branch_key1)) = "some_value";
> ... 
>
> Playing around with the script - I found that it is currently impossible
> (tested with 4.2.5 and 5.2.0 versions).
> Kamailio interprets variables in "root" and "branch" as static strings.
>
>
> Walking through the mailing list history, I have an impression that xavp are
> originally designed to operate only with constant keys.
>
> The question is: is it planned to add functionality with variables as "root"
> and "branch" components?
>
> Thanks in advance for the answers!
>
> Best regards
>
>
>
> --
> View this message in context: 
> http://sip-router.1086192.n5.nabble.com/xavp-questions-variables-in-root-branch-tp160357.html
> Sent from the Users mailing list archive at Nabble.com.
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com


___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Display name in contact

2017-07-24 Thread Daniel-Constantin Mierla
Hello,

for operations over headers, subst_hf() could come also handy sometimes.

Btw, be careful not to do operations over the same header many times,
use msg_apply_changes() if you have to.

Cheers,
Daniel


On 17.07.17 20:59, David Villasmil wrote:
> The display name shouldn't affect anything, best is just to test it.
> You can use something like:
>
> xlog("L_ERR", "Contact header: $ct\n");
> $var(mycontact) = $ct;
>
> *** Manipulate the content as needed ***
>
> remove_hf("Contact");
> append_hf("Contact: <$var(mycontact)>\r\n");
>
> Hope this helps
> ᐧ
>
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> 
> phone: +34669448337
>
> On Mon, Jul 17, 2017 at 8:48 PM, Diego Nadares  > wrote:
>
> Hi guys,
>
> Is possible to cut change/delete display name in contact header?
> Does this breaks something?
>
> Cheers,
>
> Diego.
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org 
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> 
>
>
>
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users