[Freeswitch-users] Accountcode not showing up in CDR

Noah Silverman noah at allresearch.com
Thu Sep 25 13:09:53 PDT 2008


FYI,

Here is what I get from sofia status


Call-ID         5e7878be778e8d5f04536e0515bd883e at 127.0.0.1
User            3235551212 at 111.111.111.111
Contact         "user" <sip:3235551212 at 222.222.222.222:1024;fs_nat=yes>
Agent           Asterisk PBX
Status          Registered(UDP-NAT)(unknown) EXP(2008-09-25 13:12:33)






On Sep 25, 2008, at 12:30 PM, Michael Collins wrote:

> Very interesting! I noticed that there are three similarly-named  
> apps on the wiki that could use some love:
> set_global
> set_profile_var
> set_user
>
> Could someone in the know throw some light on these three? I'll be  
> happy to wikify anything that gets posted to the list.
> -MC
>
> On Thu, Sep 25, 2008 at 12:23 PM, Anthony Minessale <anthony.minessale at gmail.com 
> > wrote:
> those vars will only be set on calls that were authenticated with  
> the user in question
> you can force the variables to be applied to any channel with the
>
> put this right before the bridge line (assuming ${domain} is the  
> domain that user lives in:
>
> <action application="set_user" data="3235551212@${domain}"/>
>
>
> On Thu, Sep 25, 2008 at 1:40 PM, Noah Silverman  
> <noah at allresearch.com> wrote:
> 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
>
> _______________________________________________
> 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
>
>
>
> -- 
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org
> pstn:213-799-1400
>
> _______________________________________________
> 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
>
>
> _______________________________________________
> 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

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


More information about the FreeSWITCH-users mailing list