[Freeswitch-users] Caller id number in dialplan

Ivan C Myrvold ivan at myrvold.org
Sat Aug 16 03:55:09 PDT 2008


I tried that:

   <extension name="Outbound_ip24">
     <condition field="destination_number" expression="^(.+)$">
		<condition field="${caller_id_number}" expression="^(100)$">
			<action application="bridge" data="sofia/$${domain}/ 
140%imyrvold.dyndns.org"/>
		</condition>
		<condition field="${caller_id_number}" expression="^(140)$">
			<action application="bridge" data="sofia/$${domain}/ 
100%imyrvold.dyndns.org"/>
		</condition>
     </condition>
   </extension>

But it didn't help. I also tried ${variable_username}, ${Caller- 
Username}, ${Caller-Caller-ID-Number}, but no success.

I made a call from my 100 phone to destination 91316356 (which will  
get through the first condition), and put the whole XML from  
mod_event_socket here:

http://pastebin.freeswitch.org/5138

Ivan

On 15. aug.. 2008, at 23:03, Brian West wrote:

> try ${caller_id_number}
>
> /b
>
> On Aug 15, 2008, at 3:58 PM, Ivan C Myrvold wrote:
>
>> caller_id_number
>
> Brian West
> sip:brian at freeswitch.org
>
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>





More information about the FreeSWITCH-users mailing list