[Freeswitch-users] Accountcode not showing up in CDR

Noah Silverman noah at allresearch.com
Thu Sep 25 11:40:20 PDT 2008


Hello,

I'm having trouble getting the accountcode variable to show up in the  
CDR.

Also,  the effective_caller_id_number isn't getting passed through to  
the actual call.  (Separate but possible related problem)

Calls are working, the CDR looks great, I just don't get these two  
variables..

Here is an example entry in my directory:

			<user id="3235551212">
				<params>
					<param name="password" value="1234" />
				</params>
				<variables>
					<variable name="accountcode" value="432]"/>
					<variable name="user_context" value="default"/>
					<variable name="effective_caller_id_number" value="3235551212]"/>
				</variables>
			</user>


And then in my dialplan...

			<extension name="Vitelity_Outbound">
				<condition field="destination_number" expression="^(1{0,1}\d{10})$">
			   		 <action application="bridge" data="sofia/external/$1 at outbound1.vitelity.net 
"/>
				 </condition>
			</extension>


My guess is that maybe I  need to export the variable somewhere, or  
pass it to the actual extension doing the bridging.

Anybody have any ideas??

-Noah




More information about the FreeSWITCH-users mailing list