[Freeswitch-dev] Events are not the same for an outbound to inbound call than an normal inbound call

Steve Laroche slaroche at ip5.com
Thu Jun 19 13:33:32 EDT 2008


FS log : http://pastebin.freeswitch.org/4661

Event_Socket log : http://pastebin.freeswitch.org/4662



From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Brian West
Sent: Thursday, June 19, 2008 12:37 PM
To: freeswitch-dev at lists.freeswitch.org
Subject: Re: [Freeswitch-dev] Events are not the same for an outbound to inbound call than an normal inbound call

Can you get me a trace of the sip traffic..

TPORT_LOG=1 ./freeswitch


Then join IRC so we can work on this a bit more in realtime?

/b

On Jun 19, 2008, at 11:21 AM, Steve Laroche wrote:


Sending this command through event_socket :

bgapi originate {origination_caller_id_number=5147884293,originate_timeout=30,ignore_early_media=true}openzap/1/a/5143150566 &park()



From: freeswitch-dev-bounces at lists.freeswitch.org<mailto:freeswitch-dev-bounces at lists.freeswitch.org> [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Brian West
Sent: Thursday, June 19, 2008 12:12 PM
To: freeswitch-dev at lists.freeswitch.org<mailto:freeswitch-dev at lists.freeswitch.org>
Subject: Re: [Freeswitch-dev] Events are not the same for an outbound to inbound call than an normal inbound call

Since I suspect you're trying to actually set the variable caller_id_name, caller_id_number and caller_ani (which you can't set).

You need to investigate these variables:

origination_caller_id_number
origination_caller_id_name
effective_caller_id_number
effective_caller_id_name

These are outlined here http://wiki.freeswitch.org/wiki/Channel_Variables

On Jun 19, 2008, at 10:58 AM, Steve Laroche wrote:



Why don't we get the same result in the outbound to inbound call than the normal inbound call?  In an outbound to inbound call, freeswitch don't use the information contain in the variables of the originate command to set Caller_ID_Name, Caller_ID_Number and Caller_ANI.  Instead, freeswitch fill those variables with what is look like default value and Caller_ANI is not even included in the event.

Brian West
sip:brian at freeswitch.org



_______________________________________________
Freeswitch-dev mailing list
Freeswitch-dev at lists.freeswitch.org<mailto:Freeswitch-dev at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org

Brian West
sip:brian at freeswitch.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20080619/a5458d2c/attachment.html 


More information about the Freeswitch-dev mailing list