<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.13" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Does anybody how to define <caller> profile
?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jimmy</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><BR></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><FONT face=Arial size=2>Hi, </FONT></DIV>
<DIV><FONT face=Arial size=2>I tried the sample code in <A
href="http://www.opensips.org/Resources/DocsTutConcurrentCalls">http://www.opensips.org/Resources/DocsTutConcurrentCalls</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>there it has:</FONT></DIV>
<DIV> # get current calls for
uuid<BR>get_profile_size("caller","$avp(s:caller_uuid)","$var(calls)"); <BR><BR></DIV>
<DIV><FONT face=Arial size=2>and when dialog is created, it has caller profile
defined:</FONT></DIV>
<DIV>
create_dialog();<BR>set_dlg_profile("caller","$avp(s:caller_uuid)");</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>but when I run this, I got the following
exception:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>May 14 05:45:56 [2633]
CRITICAL:dialog:fixup_profile: profile <caller> not definited<BR>May 14
05:45:56 [2633] ERROR:core:fix_actions: fixing failed (code=-6) at cfg line
753<BR>May 14 05:45:56 [2633] ERROR:core:main: failed to fix configuration
with err code -6<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>does anybody know how to define the
<caller> profile ? </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I read the dialog doc <A
href="http://www.opensips.org/html/docs/modules/1.5.x/dialog.html">http://www.opensips.org/html/docs/modules/1.5.x/dialog.html</A></FONT></DIV>
<DIV><FONT face=Arial size=2>and it looks <FONT face="Times New Roman"
size=3>set_dlg_profile("caller","$avp(s:caller_uuid)"); is the method to
define the dialog,</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>if that is
the case, why the sample doesn't work ?</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman"
size=3>Jimmy</FONT></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT><BR><BR></DIV></BLOCKQUOTE></BODY></HTML>