Dial plan is as per default setup with the addition of the following. To be honest, and I’m no SIP guru, I can’t see the caller-id being set in the sip headers

 

 

<extension name="dial_Nik_mobile">

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

            <action application="set" data="effective_caller_id_number=0------00000000006"/>

            <action application="export" data="effective_caller_id_number"/>

            <action application="privacy" data="no"/>

            <action application="bridge" data="sofia/gateway/Mag/$1"/>

      </condition>

    </extension>

 

Mag.xml

 

<include>

  <gateway name="Mag">

    <param name="username" value="me"/>

    <param name="realm" value="mygw"/>

    <param name="password" value="pass"/>

            <param name="proxy" value="GWaddress"/>

    <param name="expire-seconds" value="600"/>

    <param name="register" value="false"/>

  </gateway>

</include>

 

 


From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: 05 February 2009 22:54
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Caller ID not being passed

 

Nik,

            While I'm looking at this can you post your full gateway and dialplan for us to see?

 

/b

 

On Feb 5, 2009, at 4:43 PM, Nik Middleton wrote:



No good, I tried

 

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

<action application="export" data="effective_caller_id_number"/>

<action application="privacy" data="no"/>

 

But surely, If I have the proper values in the sip phones xml files, these should be passed to the GW should they not?

 

Regards