[OpenSIPS-Users] get_dialog_info issue

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Jun 6 17:52:34 CEST 2013


Hello Miha,

Do you see any errors when calling the get_dialog_info() function ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 06/05/2013 04:41 PM, Miha wrote:
> Hi,
>
>
> I need a litle help why get_dialog_info does not return any values. As
> you can se from dialog dlg_list_ctx there are keys and valus.
>
> Thanks!
>
> Miha
>
>
>      
> onreply_route{
>
>  if((is_method("BYE")) && ($si!="xxx.xxx.xxx.xxx")){
>         xlog("Callid: $ci\n");
>    if ( get_dialog_info("timestart","$var(timestart)","group","test")) {
>                 xlog("caller $fU has started a call at:
> $var(timestart) \n");
>         }
>         xlog("BYE ni od FS $fu");
>         $avp(radius)=2;
>                 radius_send_acct("set_out2");
> #               setflag(9);
> }
>
>
>
> Jun  5 15:36:34 opensips /usr/sbin/opensips[2161]: Callid:
> a6ec216e-6bf5f805 at 172.31.1.141
>
>
> dialog::  hash=1661:151199353
>         state:: 5
>         user_flags:: 0
>         timestart:: 1370427096
>         timeout:: 0
>         callid:: e323c24c-4869-1231-caaa-0030486435ea
>         from_uri:: sip:018108753 at xxx.xxx.xxx.xx 
>        to_uri:: sip:018108751 at xxx.xxx.xxx.xxx:5060
>         caller_tag:: 4rDyN1XvDUp3a
>         caller_contact:: sip:mod_sofia at xxx.xxx.xxx.xxx:5080
>         callee_cseq:: 0
>         caller_route_set::
>         caller_bind_addr:: udp:xxx.xxx.xxx.xxx:5060
>         callee_tag:: 6cfbd4724f0d7febi0
>         callee_contact:: sip:018108751 at xxx.xxx.xxx.xxx9:5992
>         caller_cseq:: 44877214
>         callee_route_set::
>         callee_bind_addr:: udp:xxx.xxx.xxx.xxx:5060
>         context::
>                 value:: accX_table = acc
>                 value:: accX_flags =
>                 value:: accX_db =
>                 value:: accX_log =
>                 value:: accX_leg =
>                 value:: accX_core =
>                 value:: accX_created = Ö¯Q
> dialog::  hash=4026:1102756396
>         state:: 5
>         user_flags:: 0
>         timestart:: 1370427096
>         timeout:: 0
>         callid:: f96beeff-a04edd07 at 172.31.1.141
>         from_uri:: sip:018108753 at sip.test.net
>         to_uri:: sip:018108751 at sip.test.net
>         caller_tag:: fb75869f5fb929e7o0
>         caller_contact:: sip:018108753 at xxx.xxx.xxx.xxx:5351
>         callee_cseq:: 0
>         caller_route_set::
>         caller_bind_addr:: udp:xxx.xxx.xxx.xxx6:5060
>         callee_tag:: SKQ426XSccp1S
>         callee_contact:: sip:018108751 at xxx.xxx.xxx.xxx:5060;transport=udp
>         caller_cseq:: 102
>         callee_route_set::
>         callee_bind_addr:: udp:212.103.141.16:5060
>         context::
>                 value:: group = test
>                 value:: timestart = 1370427094
>                 value:: callid = f96beeff-a04edd07 at 172.31.1.141
>                 value:: destination = sipxxx.xxx.xxx.xxx:5060
>                 value:: callee = sip:018108751 at sip.test.net
>                 value:: caller = sip:018108753 at sip.test.net
>
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130606/130f7c29/attachment.htm>


More information about the Users mailing list