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
On 1/8/2009 10:02 AM, kriko wrote:
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.
dialplan used: http://pastebin.com/m71525ac6
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:
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
participants (3)
-
kriko
-
Peter P GMX
-
Rupa Schomaker (lists)