[Freeswitch-users] Passing Caller_ID to MOD_LCR

Tchavdar Paskov chavpaskov at shaw.ca
Mon Feb 16 17:40:04 PST 2009


Hi,
Is there a way to pass Caller Id to mod lcr and somehow to include it in a custom  sql.
currently  my dialplan looks like this:

   <extension name="LCR">
      <condition field="destination_number" expression="^1(\d+)$" break="never">
         <action application="set" data="bypass_media=true" />
       <action application="lcr" data="$1"/>
      <action application="bridge" data="${lcr_auto_route}"/>
      </condition>
    </extension>
i guess that Caller_ID is already passed but i was thinking  about making some LCR decisions based on Destination number and Caller_ID /Interstate,Intrastate for example/

Thanks for your time

Regards
Chav

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090216/a4ee4ffd/attachment-0002.html 


More information about the FreeSWITCH-users mailing list