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

Rafal Gwizdala rafal.gwizdala at gmail.com
Wed Jul 3 13:35:58 MSD 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130703/b558ae2d/attachment-0001.html 


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