[Freeswitch-users] Originating a call, caller/destination confusion

Avi Marcus avi at avimarcus.net
Wed Jul 3 14:49:52 MSD 2013


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

-Avi

On Wed, Jul 3, 2013 at 12:35 PM, Rafal Gwizdala <rafal.gwizdala at gmail.com>wrote:

> Apart from the previous 'originate' problem I have another question
> related to same scenario:
>
> I'm calling a mobile phone through a 'freeconet.pl' gateway and i'm
> connecting this call to local 6668 extension which is an mod_httapi IVR
> service:
>
> originate
> {call_timeout=60,origination_uuid=a32f6358-cce8-423d-8938-6325e57ba992}sofia/gateway/freeconet/48602415455
> 6668
>
> When this succeeds mod_httapi makes a request to my application with
> parameters listed below.
> But I'm wondering why my destination number is reported as the caller id?
> Caller-Direction=outbound
> Caller-Caller-ID-Name=Outbound Call
> Caller-Caller-ID-Number=48602415455
> Caller-Destination-Number=6668
>
> 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?
> Thanks
> RG
>
>
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>    Accept=*/*
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>    Host=89.75.189.46
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>    User-Agent=mod_httapi/1.0
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;session_id=a32f6358-cce8-423d-8938-6325e57ba992
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;url=http://89.75.189.46/simver/FSHttApi/GetScript
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;hostname=T1
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Direction=outbound
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Dialplan=XML
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Caller-ID-Name=Outbound Call
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Caller-ID-Number=48602415455
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Orig-Caller-ID-Number=0000000000
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Network-Addr=213.218.116.66
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Destination-Number=6668
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Unique-ID=a32f6358-cce8-423d-8938-6325e57ba992
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Source=..\..\src\switch_ivr_originate.c
> 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
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Context=default
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-RDNIS=48602415455
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Channel-Name=sofia/external/48602415455
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Profile-Index=2
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Profile-Created-Time=1372843556726726
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Channel-Created-Time=1372843556626714
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Channel-Answered-Time=1372843556726726
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Channel-Progress-Time=1372843556696722
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Channel-Progress-Media-Time=0
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Channel-Hangup-Time=0
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Channel-Transfer-Time=0
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Channel-Resurrect-Time=0
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Channel-Bridged-Time=0
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Channel-Last-Hold=0
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Channel-Hold-Accum=0
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Screen-Bit=true
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Privacy-Hide-Name=false
> 2013-07-03
> 11:25:56.7452|Info|SIMVerification.Controllers.FSHttApiController|T33|
>  ;Caller-Privacy-Hide-Number=false
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130703/f69495f6/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list