<div dir="ltr">Well, when you have an A leg and a B leg then the A leg calls the B leg, so that sounds right.<div>After all, the A leg is dialed first...</div><div>And anyway, the caller ID shown for a leg should always be the caller on the other side....</div>

<div><br clear="all"><div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi</span></div></div><br><div class="gmail_quote">On Wed, Jul 3, 2013 at 12:35 PM, Rafal Gwizdala <span dir="ltr">&lt;<a href="mailto:rafal.gwizdala@gmail.com" target="_blank">rafal.gwizdala@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Apart from the previous &#39;originate&#39; problem I have another question related to same scenario:</div>

<div><br></div><div>I&#39;m calling a mobile phone through a &#39;<a href="http://freeconet.pl" target="_blank">freeconet.pl</a>&#39; gateway and i&#39;m connecting this call to local 6668 extension which is an mod_httapi IVR service:</div>


<div><br></div><div>originate {call_timeout=60,origination_uuid=a32f6358-cce8-423d-8938-6325e57ba992}sofia/gateway/freeconet/48602415455 6668</div><div><br></div><div>When this succeeds mod_httapi makes a request to my application with parameters listed below.</div>


<div>But I&#39;m wondering why my destination number is reported as the caller id?</div><div>Caller-Direction=outbound</div><div>Caller-Caller-ID-Name=Outbound Call</div><div>Caller-Caller-ID-Number=48602415455</div><div>


Caller-Destination-Number=6668</div><div><br></div><div>It looks like 48602415455 called the 6668 extension, but why? The situation is quite opposite, 48602415455 is the destination number. Is this the expected behavior, or maybe I should use a different method of initiating this call?</div>


<div>Thanks</div><div>RG</div><div><br></div><div><br></div><div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|        Accept=*/*</div><div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|        Host=89.75.189.46</div>


<div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|        User-Agent=mod_httapi/1.0</div><div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;session_id=a32f6358-cce8-423d-8938-6325e57ba992</div>


<div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;url=<a href="http://89.75.189.46/simver/FSHttApi/GetScript" target="_blank">http://89.75.189.46/simver/FSHttApi/GetScript</a></div>

<div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;hostname=T1</div>
<div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Direction=outbound</div><div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Dialplan=XML</div>


<div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Caller-ID-Name=Outbound Call</div><div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Caller-ID-Number=48602415455</div>


<div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Orig-Caller-ID-Number=0000000000</div><div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Network-Addr=213.218.116.66</div>


<div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Destination-Number=6668</div><div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Unique-ID=a32f6358-cce8-423d-8938-6325e57ba992</div>


<div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Source=..\..\src\switch_ivr_originate.c</div><div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Transfer-Source=1372843556:b0fed160-54c5-45ba-8b38-99655f494749:bl_xfer:6668/default/XML</div>


<div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Context=default</div><div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-RDNIS=48602415455</div>


<div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Channel-Name=sofia/external/48602415455</div><div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Profile-Index=2</div>


<div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Profile-Created-Time=1372843556726726</div><div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Channel-Created-Time=1372843556626714</div>


<div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Channel-Answered-Time=1372843556726726</div><div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Channel-Progress-Time=1372843556696722</div>


<div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Channel-Progress-Media-Time=0</div><div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Channel-Hangup-Time=0</div>


<div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Channel-Transfer-Time=0</div><div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Channel-Resurrect-Time=0</div>


<div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Channel-Bridged-Time=0</div><div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Channel-Last-Hold=0</div>


<div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Channel-Hold-Accum=0</div><div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Screen-Bit=true</div>


<div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Privacy-Hide-Name=false</div><div>2013-07-03 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|    ;Caller-Privacy-Hide-Number=false</div>


<div><br></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>