Re: [OpenSIPS-Users] get_dialog_info Issues

2010-09-01 Thread Bogdan-Andrei Iancu
Hi Ross, To use get_dialog_info() and dlg_val's you must create the dialog before (see create_dialog() function in dialog module) - otherwise all dialog ops are invalid. Regards, Bogdan Ross Beer wrote: Hi, I am using the following piece of code to set dlg_val and then using

Re: [OpenSIPS-Users] get_dialog_info Issues

2010-09-01 Thread Ross Beer
Hi Bogdan, Thank you for the advice, however I do call setflag(4) create_dialog(). Flag 4 is dialog flag. I have included the routing script below which shows the same method but using the dispatcher. The issue here is that the get_dialog_info does not find the previous call. Only for the

Re: [OpenSIPS-Users] get_dialog_info Issues

2010-09-01 Thread Bogdan-Andrei Iancu
Hi Ross, Just to be sure, the get_dialog_info () looks only for ongoing call. Could you briefly describe your call flow, just to understand better when it works and when it doesn't. Regards, Bogdan Ross Beer wrote: Hi Bogdan, Thank you for the advice, however I do call setflag(4)

Re: [OpenSIPS-Users] get_dialog_info Issues

2010-09-01 Thread Ross Beer
Hi Bogdan, We only require the value to be used for an ongoing call. We need to use this feature to pass call transfer requests to the correct server, be that attended or unatended transfers. The call flow is: Asterisk -- OpenSip -- Sip Client --| Hold Sip Client -- OpenSips -- Asterisk --