<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi @Peter,<br>
<br>
thank you for your quick answer. One option is that where I have now
<font face="Liberation Serif">15623150</font> that I would have <font
face="Liberation Serif">386981515623150 (the best option).<br>
<br>
Or in second row, </font><font face="Liberation Serif">15623150
should be </font><font face="Liberation Serif">18108500</font><br>
<br>
This is my record in sql:<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=ISO-8859-1">
<table frame="VOID" rules="NONE" cols="15" border="0"
cellspacing="0">
<colgroup><col width="86"><col width="86"><col width="86"><col
width="86"><col width="86"><col width="86"><col width="86"><col
width="86"><col width="86"><col width="86"><col width="86"><col
width="86"><col width="86"><col width="86"><col width="86"></colgroup>
<tbody>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="18108500" sdnum="1033;"
height="77" align="RIGHT" width="86"><font face="Liberation
Serif">18108500</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT" width="86"><font
face="Liberation Serif">018108500.fs_kabelvoip1</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="15623150" sdnum="1033;"
align="RIGHT" width="86"><font face="Liberation Serif">15623150</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT" width="86"><font
face="Liberation Serif">fs_kabelvoip1.fs1.softnet.si</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="40976.3918402778"
sdnum="1033;0;MM/DD/YY HH:MM AM/PM" align="RIGHT" width="86"><font
face="Liberation Serif">03/08/12 09:24 AM</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="40976.391875"
sdnum="1033;0;MM/DD/YY HH:MM AM/PM" align="RIGHT" width="86"><font
face="Liberation Serif">03/08/12 09:24 AM</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="40976.3919212963"
sdnum="1033;0;MM/DD/YY HH:MM AM/PM" align="RIGHT" width="86"><font
face="Liberation Serif">03/08/12 09:24 AM</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="7" sdnum="1033;" align="RIGHT"
width="86"><font face="Liberation Serif">7</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="4" sdnum="1033;" align="RIGHT"
width="86"><font face="Liberation Serif">4</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT" width="86"><font
face="Liberation Serif">ATTENDED_TRANSFER</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT" width="86"><font
face="Liberation Serif">d476027a-6bb3-4cbf-a87a-94cd3940dfa4</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT" width="86"><font
face="Liberation Serif">89e7c541-360a-4752-83ea-00ce7f07b2cc</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="18108500" sdnum="1033;"
align="RIGHT" width="86"><font face="Liberation Serif">18108500</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT" width="86"><font
face="Liberation Serif">PCMA</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT" width="86"><font
face="Liberation Serif">PCMA</font></td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="15623150" sdnum="1033;"
height="62" align="RIGHT"><font face="Liberation Serif">15623150</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="386981515623150" sdnum="1033;"
align="RIGHT"><font face="Liberation Serif">386981515623150</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="386981515623150" sdnum="1033;"
align="RIGHT"><font face="Liberation Serif">386981515623150</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT"><font face="Liberation
Serif">default</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="40976.3918402778"
sdnum="1033;0;MM/DD/YY HH:MM AM/PM" align="RIGHT"><font
face="Liberation Serif">03/08/12 09:24 AM</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="40976.391875"
sdnum="1033;0;MM/DD/YY HH:MM AM/PM" align="RIGHT"><font
face="Liberation Serif">03/08/12 09:24 AM</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="40976.3919212963"
sdnum="1033;0;MM/DD/YY HH:MM AM/PM" align="RIGHT"><font
face="Liberation Serif">03/08/12 09:24 AM</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="7" sdnum="1033;" align="RIGHT"><font
face="Liberation Serif">7</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="4" sdnum="1033;" align="RIGHT"><font
face="Liberation Serif">4</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT"><font face="Liberation
Serif">NORMAL_CLEARING</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT"><font face="Liberation
Serif">89e7c541-360a-4752-83ea-00ce7f07b2cc</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT"><font face="Liberation
Serif">56b2e6fe-943f-420c-b7e2-8cfc095cb140</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT"><font face="Liberation
Serif"><br>
</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT"><font face="Liberation
Serif">PCMA</font></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT"><font face="Liberation
Serif">PCMA</font></td>
</tr>
</tbody>
</table>
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 3.2 (Unix)">
<style>
                <!--
                BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Liberation Sans"; font-size:x-small }
                 -->
        </style><br>
Channel-State: [CS_REPORTING]<br>
Channel-Call-State: [HANGUP]<br>
Channel-State-Number: [11]<br>
Channel-Name: [<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/386981515623150@212.13.249.90">sofia/internal/386981515623150@212.13.249.90</a>]<br>
Unique-ID: [89e7c541-360a-4752-83ea-00ce7f07b2cc]<br>
Call-Direction: [outbound]<br>
Presence-Call-Direction: [outbound]<br>
Channel-HIT-Dialplan: [true]<br>
Channel-Call-UUID: [89e7c541-360a-4752-83ea-00ce7f07b2cc]<br>
Answer-State: [hangup]<br>
Channel-Read-Codec-Name: [PCMA]<br>
Channel-Read-Codec-Rate: [8000]<br>
Channel-Read-Codec-Bit-Rate: [64000]<br>
Channel-Write-Codec-Name: [PCMA]<br>
Channel-Write-Codec-Rate: [8000]<br>
Channel-Write-Codec-Bit-Rate: [64000]<br>
Caller-Direction: [outbound]<br>
Caller-Username: [018108500.fs_kabelvoip1]<br>
Caller-Dialplan: [XML]<br>
Caller-Caller-ID-Name: [015623150]<br>
Caller-Caller-ID-Number: [386981515623150]<br>
Caller-Network-Addr: [xxx.xxx.xxx.xxx]<br>
Caller-ANI: [018108500.fs_kabelvoip1]<br>
Caller-Destination-Number: [386981515623150]<br>
<br>
<br>
******+<br>
<br>
Channel-HIT-Dialplan: [true]<br>
Channel-Presence-ID:
[<a class="moz-txt-link-abbreviated" href="mailto:018108500.fs_kabelvoip1@fs_kabelvoip1.fs1.softnet.si">018108500.fs_kabelvoip1@fs_kabelvoip1.fs1.softnet.si</a>]<br>
Channel-Call-UUID: [d476027a-6bb3-4cbf-a87a-94cd3940dfa4]<br>
Answer-State: [hangup]<br>
Channel-Read-Codec-Name: [PCMA]<br>
Channel-Read-Codec-Rate: [8000]<br>
Channel-Read-Codec-Bit-Rate: [64000]<br>
Channel-Write-Codec-Name: [PCMA]<br>
Channel-Write-Codec-Rate: [8000]<br>
Channel-Write-Codec-Bit-Rate: [64000]<br>
Caller-Direction: [inbound]<br>
Caller-Username: [018108500.fs_kabelvoip1]<br>
Caller-Dialplan: [XML]<br>
Caller-Caller-ID-Name: [018108500]<br>
Caller-Caller-ID-Number: [018108500.fs_kabelvoip1]<br>
Caller-Callee-ID-Name: [015623150]<br>
Caller-Callee-ID-Number: [386981515623150]<br>
Caller-Network-Addr: [xxx.xxx.xxx.xxx]<br>
Caller-ANI: [018108500.fs_kabelvoip1]<br>
Caller-Destination-Number: [015623150]<br>
<br>
I have also put in my dialplan:<br>
<br>
<anti-action application="bridge"
data="{origination_callee_id_name='${effective_caller_id_name}'}sofia/internal/${destination_number}.fs_kabelvoip1%fs_asasasas.fs1.company.si"/><br>
<anti-action application="export"
data="effective_caller_id_name=${sip_from_user}" /><br>
<br>
But still getting Flipping CID from "018108500" <018108500> to
"015623150" <386981515623150><br>
<br>
<br>
Thanks!<br>
Miha<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On 03/08/2012 09:13 AM, Peter Olsson wrote:
<blockquote
cite="mid:1FFF97C269757C458224B7C895F35F1504F78C@cantor.std.visionutv.se"
type="cite">
<pre wrap="">Just export effective_caller_id_name and it will set the variable according to that.
/Peter
-----Ursprungligt meddelande-----
Från: <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [<a class="moz-txt-link-freetext" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>] För Miha Zoubek
Skickat: den 8 mars 2012 08:02
Till: FreeSWITCH Users Help
Ämne: [Freeswitch-users] set_profile_var
Hi,
how can I use variable set_profile_var to export collerd id name?
I can not find any information on wiki.
THanks!
Miha
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server <a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
!DSPAM:4f58589f32763254410508!
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>