[OpenSIPS-Users] Cpl and diversion header

2010-06-24 Thread mehdi boudou
Hello Bogdan, In C things are not easy :),but i am willing to take the risk of C-Coding just for fun and it will be on an integration server no-risk for the service. Thanks for hints for how to do ... Regards, Mehdi BOUDOU ___ Users mailing list Users@

Re: [OpenSIPS-Users] Cpl and diversion header

2010-06-24 Thread Bogdan-Andrei Iancu
Hi Mehdi, Things are not easy as they sounds (when comes to C) - but if you are willing to take the risk of doing C coding, I can give you some hints on how to do it. Regards, Bogdan mehdi boudou wrote: > Hello Bogdan, > > > I will try to do it in the cpl-module, my methodology will be to find

[OpenSIPS-Users] Cpl and diversion header

2010-06-23 Thread mehdi boudou
Hello Bogdan, I will try to do it in the cpl-module, my methodology will be to find where the different tag are and call the function add_diversion(reason) at this time, I must include all libraries of diversion header. Is it the good methodology? Regards, Mehdi BOUDOU

Re: [OpenSIPS-Users] Cpl and diversion header

2010-06-22 Thread Bogdan-Andrei Iancu
Hi Mehdi, Unfortunately CPL does not implement the diversion hdr. Right now I see no easy way to make it work (like manually add the hdr) as CPL interpreter is completly encapsulated and you cannot interact with it - only changing the code. Regards, Bogdan mehdi boudou wrote: > This is an

[OpenSIPS-Users] Cpl and diversion header

2010-06-21 Thread mehdi boudou
This is an example of scenario where i want to add diversion header if the user is busy, no answer, etc.. I would

Re: [OpenSIPS-Users] Cpl and diversion header

2010-06-21 Thread Bogdan-Andrei Iancu
Hi Mehdi, CPL scripts/interpretor do not have defined any interaction with the diversion hdr. In what scenario (proxy node ?) are you looking for the Diversion hdr to be added? Regards, Bogdan mehdi boudou wrote: > Hello, > > Can we use diversion header in Cpl file ? How can we interact betwee

[OpenSIPS-Users] Cpl and diversion header

2010-06-21 Thread mehdi boudou
Hello, Can we use diversion header in Cpl file ? How can we interact between cpl execution file and diversion header function? My goal will be to add a diversion header to the diverses branches created by the cpl file, i searched in cpl rfc and i don't found a diversion header tag ? Regards M