Re: [SR-Users] Problem with URI transformations

2019-11-18 Thread Julien Klingenmeyer
Cc : "Kamailio (SER) - Users Mailing List" Objet : Re: [SR-Users] Problem with URI transformations As far as i know, the URI transformations only provide the "user" parameter, not the user part parameters. What i'm trying to do i build an object for Diversion and Contact.

Re: [SR-Users] Problem with URI transformations

2019-11-18 Thread Duarte Rocha
As far as i know, the URI transformations only provide the "user" parameter, not the user part parameters. What i'm trying to do i build an object for Diversion and Contact. To do that i'm trying to parse the header and URI into it's elements. URI Example : Elements : User : 123456 User Par

Re: [SR-Users] Problem with URI transformations

2019-11-18 Thread Daniel-Constantin Mierla
Hello, check the URI transformation docs, iirc there is an option to get user parameters. If not, can you give an example of what params you want to work with, likely you can get it with other transformations... Cheers, Daniel On 18.11.19 13:13, Duarte Rocha wrote: > Greetings, > > My issue was

Re: [SR-Users] Problem with URI transformations

2019-11-18 Thread Duarte Rocha
Greetings, My issue was related to user part parameters being lost. I didn't know that the parse would work differently when user=phone was present. Thank you for pointing that out. That being said, how should i proceed if i want to check user part parameters in this scenario? Like phone-context

Re: [SR-Users] Problem with URI transformations

2019-11-18 Thread Julien Klingenmeyer
Date : vendredi 15 novembre 2019 à 21:39 À : "Kamailio (SER) - Users Mailing List" , Duarte Rocha Objet : Re: [SR-Users] Problem with URI transformations Hello, what did you expect to be? To be able to comment on the exact topic. user=phone changes the structure of the URI i

Re: [SR-Users] Problem with URI transformations

2019-11-15 Thread Daniel-Constantin Mierla
Hello, what did you expect to be? To be able to comment on the exact topic. user=phone changes the structure of the URI in something similar to tel URI. Cheers, Daniel On 15.11.19 17:51, Duarte Rocha wrote: > Greetings,  > > I'm trying to parse some URI info on Kamailio but i'm having some > tr

[SR-Users] Problem with URI transformations

2019-11-15 Thread Duarte Rocha
Greetings, I'm trying to parse some URI info on Kamailio but i'm having some troubles the URI transformations. Here i have two examples of URIS from which i'm trying to extract username(with user parameters included) and URI Parameters : - sip:123456789;test=param@1.1.1.1 - sip:123456789;test=par