Yes I set it to true, but no change.

 

I found another interesting thing.

 

If I understand it right.

 

<action application="set" data="dialed_number=00491234567890"/>

If I set this variable. So I change the goal of dialing number.

 

But the variable are not set.

 

If I change it in the bridge line

 

<action application="bridge" data="sofia/gateway/voicetrading.com/000004955555555"/>

 

So doesn’t matter which number I call I call everytime the 004955555555.

But the set of dialed_number must be give the same result but don’t work.

 

Maybe there exist another flag in another xml file which I must set to true so I can modify the variables?

 

Kind regards

Erkan

 

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of David Ponzone
Sent: Monday, March 29, 2010 5:57 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Set the outgoing caller id

 

Erkan,

 

have you tried to set:

 

<param name="caller-id-in-from" value="true"/>

 

in the gateway params ?

 

Also, your provider is supposed to tell you which field they will trust as the CLID.

 

David Ponzone  Direction Technique

tel:      01 74 03 18 97

gsm:   06 66 98 76 34

 

Service Client IPeva

tel:      0811 46 26 26

 

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.

 

 

 

 

Le 29/03/2010 à 16:40, Erkan Ünlü a écrit :



The outgoing caller id don’t work.

 

I try many different fields/variables and also analyze your web link about the Channel Variables.

The outgoing id works for internal calls.

But for external calls don’t worked.

 

My provider support the outgoing caller id.

 

Here  my example from Asterisk. That works.

exten => _00XX.,1,Set(CALLERID(num)=00492222222)

exten => _00XX.,n,Set(CALLERID(name)=00492222222)

….

 

The variables caller_id_name  ande caller_id_number  are read only.

Can we open it so I can write into the fields, because with effective_caller_id_name and number don’t work it.

Origination_caller…… are the same.

 

Hmmm… I don’t understand where is my failure.

 

Kind regards

Erkan

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins
Sent: Friday, March 26, 2010 5:37 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Set the outgoing caller id

 

Some providers have different ways of handling this. Using "effective_caller_id_number" and name are the usual ways of doing it. However some providers pick up the caller ID from a different field. Try experimenting with this:

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

Perhaps a bridge line like this would work:

  <action application="bridge" data="{sip_cid_type=rpid}sofia/gateway/voicetrading.com/00000$1"/>

OR

  <action application="bridge" data="{sip_cid_type=pid}sofia/gateway/voicetrading.com/00000$1"/>

Please try it and let us know what happens.
-MC

2010/3/25 Erkan Ünlü <erkan@speedingtrade.com>

Hi all,

 

I worked since 2 years with asterisk. But now I must use the Windows Platform.

So I found Freeswitch.

The first works with Freeswitch are very good, but I can’t set the outgoing caller id.

 

The outgoing caller id is shown at the phone on the end of the line.

 

I try some different variables but without result. My voip provider support to set the callerid, in asterisk it works.

  <action application="bridge" data="sofia/gateway/voicetrading.com/00000$1"/>

….

<include>

  <context name="default">

 

   <extension name="voicetrading.com">

     <condition field="destination_number" expression="^00(\d+)$">

         <action application="set" data="effective_caller_id_name=009012345678"/>

         <action application="set" data="effective_caller_id_number=009012345678"/>

         <action application="set" data="outbound_caller_id_name=009012345678"/>

         <action application="set" data="outbound_caller_id_number=009012345678"/>

         <action application="bridge" data="sofia/gateway/voicetrading.com/00000$1"/>

     </condition>

   </extension>

….

 

Can anyone give me a idea for what can I do.

 

Kind regards

Erkan Unlu


_______________________________________________
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

 

_______________________________________________
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