[Freeswitch-users] Caller ID not being passed
    Nik Middleton 
    nik.middleton at noblesolutions.co.uk
       
    Thu Feb  5 15:12:18 PST 2009
    
    
  
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 at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Brian West
Sent: 05 February 2009 22:54
To: freeswitch-users at 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
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090205/cc69fe92/attachment-0002.html 
    
    
More information about the FreeSWITCH-users
mailing list