Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Problems with Originate


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
alex at sinapticode.ro
Guest





PostPosted: Fri Feb 13, 2009 6:38 am    Post subject: [Freeswitch-users] Problems with Originate Reply with quote

Hi all,

I'm using "originate" to initiate calls, and streamFile to play audio
files on the answered sessions. All the logic was encapsulated in a
Javascript file.

The problem with this setup is that origination_caller_id_number doesn't
work from inside the JS file (when calling session.originate). My setup
only works when doing a direct originate command, with the JS script
attached as an application to it, i.e...

originate
{ignore_early_media=true}sofia/gateway/myprovider/873040711222222
'&javascript(dialer.js <params>)'

Now, my next problem ... this doesn't work properly because with
"ignore_early_media=true" then "dialer.js" isn't executed on FAIL. And I
need that. If "ignore_early_media" is not specified, then "dialer.js"
executes, but the recording starts before the phone is answered.

Can you give me any tips?

Thanks,

--
Alexandru Nedelcu
Software Developer, Sinapticode


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services