Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] originate and caller number


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





PostPosted: Thu Jan 08, 2009 11:10 am    Post subject: [Freeswitch-users] originate and caller number Reply with quote

I wrote a java socket client that originates a call, for e.g.:
originate dingaling/gmail.com/atomic.devterium@gmail.com &bridge(loopback/1003/java_gmail_bridge)

This works fine, however both ends doesn't really see each other numbers, instead they see freeswitch number and id.
Is it possible to show every user the opposite caller number?

dialplan used:
http://pastebin.com/m71525ac6

--
kriko



_______________________________________________
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
freeswitch-users at li...
Guest





PostPosted: Thu Jan 08, 2009 11:55 am    Post subject: [Freeswitch-users] originate and caller number Reply with quote

On 1/8/2009 10:02 AM, kriko wrote:
Quote:
I wrote a java socket client that originates a call, for e.g.:
originate dingaling/gmail.com/atomic.devterium@gmail.com &bridge(loopback/1003/java_gmail_bridge)

This works fine, however both ends doesn't really see each other numbers, instead they see freeswitch number and id.
Is it possible to show every user the opposite caller number?

consider using channel variables for each leg to set the originating
callerid information. Look at:

http://wiki.freeswitch.org/wiki/Channel_Variables

for how to set the vars inline with a dial string and the appropriate
vars to set.

Quote:
dialplan used:
http://pastebin.com/m71525ac6



_______________________________________________
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
Prometheus001 at gmx.net
Guest





PostPosted: Thu Jan 08, 2009 12:25 pm    Post subject: [Freeswitch-users] originate and caller number Reply with quote

I think so. I would do it the following:

pass your variables for your outgoing number in front of your originate
string:
originate {var1=xxx, var2=xxx}dingaling/gmail.com/atomic.devterium@gmail.com

Then bridge it to a destination in your app or dialplan and set some
vars there.

Is that what solves your problem?

Best regards
Peter



kriko schrieb:
Quote:
I wrote a java socket client that originates a call, for e.g.:
originate dingaling/gmail.com/atomic.devterium@gmail.com &bridge(loopback/1003/java_gmail_bridge)

This works fine, however both ends doesn't really see each other numbers, instead they see freeswitch number and id.
Is it possible to show every user the opposite caller number?

dialplan used:
http://pastebin.com/m71525ac6



_______________________________________________
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