Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-21 Thread José Seabra
Email with attatchement. 2016-06-21 12:22 GMT+01:00 José Seabra : > Hello, > Thanks for the hint to use cherry-pick, > > After applying these two patches the issue seems to be fixed. > Please find out the attachment with kamailio logs. > > Thank you for your help. > > Regards > José > > 2016-06-2

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-21 Thread José Seabra
Hello, Thanks for the hint to use cherry-pick, After applying these two patches the issue seems to be fixed. Please find out the attachment with kamailio logs. Thank you for your help. Regards José 2016-06-21 10:41 GMT+01:00 Daniel-Constantin Mierla : > Hello, > > you should cherry-pick them w

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-21 Thread Daniel-Constantin Mierla
Hello, you should cherry-pick them with git into the branch 4.4. Cheers, Daniel On 21/06/16 11:04, José Seabra wrote: > Hi Daniel, > I have applied your last two patchs on tm module but i can't compile > the module because kemi framwork. > > I'm using kamailio version 4.4. > > Compile Errors: >

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-21 Thread José Seabra
Hi Daniel, I have applied your last two patchs on tm module but i can't compile the module because kemi framwork. I'm using kamailio version 4.4. Compile Errors: t_fwd.c:61:24: error: ../../kemi.h: No such file or directory t_fwd.c: In function ‘prepare_new_uac’: t_fwd.c:157: error: ‘sr_kemi_eng

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-21 Thread José Seabra
Hello Daniel, I confirm that the phone receives 200 OK to the CANCEL and 487 to the INVITE. I will backport the tm module to the last two patchs, then, after make all tests I will report back to you. Regards José 2016-06-21 5:33 GMT+01:00 Daniel-Constantin Mierla : > Can you try with master b

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-20 Thread Daniel-Constantin Mierla
Can you try with master branch or backport the last two patches from tm module? I pushed two commits that should catch and handle better this case. Cheers, Daniel On 20/06/16 18:14, Daniel-Constantin Mierla wrote: > > Hello, > > it seems it tries to generate an outgoing cancel for the suspended

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-20 Thread Daniel-Constantin Mierla
Hello, it seems it tries to generate an outgoing cancel for the suspended branch. I will check the code, likely there has to be added condition for this cases. Is the 487 reply for invite sent back? Also, the 200ok for cancel? Cheers, Daniel On 20/06/16 16:38, José Seabra wrote: > Hello, > > I

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-20 Thread José Seabra
Hello, I'm attaching more logs to this email regarding to the issue on SIP CANCEL to an INVITE that is suspended. If do you think that i should open an issue on git regarding to this let me know. Thank you for your help. Best Regards José 2016-06-15 14:42 GMT+01:00 José Seabra : > Hi Daniel

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-15 Thread José Seabra
Hi Daniel, But when Kamailio receives a CANCEL prints the following error messages: 2016-06-15 14:39:10.354 ERROR: tm [t_msgbuilder.c:287]: build_local_reparse(): ERROR: build_local_reparse: INVITE is missing 2016-06-15 14:39:10.354 ERROR: tm [t_msgbuilder.c:494]: build_local_reparse(): ERROR:

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-15 Thread Daniel-Constantin Mierla
Hello, On 14/06/16 16:33, José Seabra wrote: > Hi Olle and Daniel, > Thank you for your replies, After receive your msg I looked again to > my script and i found the problem. > > I didn't configure the correct failure_route block and the failure > route configured didn't print any msg on the logs

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-14 Thread José Seabra
Hi Olle and Daniel, Thank you for your replies, After receive your msg I looked again to my script and i found the problem. I didn't configure the correct failure_route block and the failure route configured didn't print any msg on the logs, so I thought that it wasn't entering on failure route.

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-14 Thread Daniel-Constantin Mierla
Hello, indeed, the failure_route setting should work for the SUBSCRIBE received locally. Be sure the default timeout for TM (set in modparam) is less than the then one you set for the received SUBSCRIBE (set it with t_set_fr()), to be sure that the original uac_req transaction doesn't timeout befo

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-14 Thread Olle E. Johansson
> On 14 Jun 2016, at 15:45, José Seabra wrote: > > Hello, > > Regarding to this implementation, I'm sending SIP Subscribe message from > uac_req_send function to CNAM server but it is unavailable and Kamailio > doesn't receive any reply from CNAM server, What I'm noticing is that > kamailio

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-14 Thread José Seabra
Hello, Regarding to this implementation, I'm sending SIP Subscribe message from uac_req_send function to CNAM server but it is unavailable and Kamailio doesn't receive any reply from CNAM server, What I'm noticing is that kamailio is retransmitting the SIP Subscribe msg until get "408 request time

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-07 Thread José Seabra
Hello, Thank you for the feedback. BR 2016-06-07 8:38 GMT+01:00 Pavel Eremin : > Hi, > > We using PERL moodule and PERL script to do this. > Don't sure but, Kamailio will stop anyway when it sends www query and > wating answer. > > > 2016-06-06 19:56 GMT+05:00 José Seabra : > >> Hello there, >>

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-07 Thread Pavel Eremin
Hi, We using PERL moodule and PERL script to do this. Don't sure but, Kamailio will stop anyway when it sends www query and wating answer. 2016-06-06 19:56 GMT+05:00 José Seabra : > Hello there, > I need to use kamailio to consult an CNAM server in order to get the > caller id name and number t

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-07 Thread Daniel-Constantin Mierla
Hello, On 06/06/16 16:56, José Seabra wrote: > Hello there, > I need to use kamailio to consult an CNAM server in order to get the > caller id name and number to the call, the diagram bellow represents > what i need implement: > > > ​ > Can I implement this behavior through the following kamaili

[SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-06 Thread José Seabra
Hello there, I need to use kamailio to consult an CNAM server in order to get the caller id name and number to the call, the diagram bellow represents what i need implement: ​ Can I implement this behavior through the following kamailio modules: 1. tm and tmx module (call the function t_susp