Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Accountcode not showing up in CDR


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
noah at allresearch.com
Guest





PostPosted: Thu Sep 25, 2008 1:43 pm    Post subject: [Freeswitch-users] Accountcode not showing up in CDR Reply with quote

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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
anthony.minessale at g...
Guest





PostPosted: Thu Sep 25, 2008 2:25 pm    Post subject: [Freeswitch-users] Accountcode not showing up in CDR Reply with quote

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@allresearch.com (noah@allresearch.com)> wrote:
Quote:
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@outbound1.vitelity.net (1@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@lists.freeswitch.org (Freeswitch-users@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@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
msc at freeswitch.org
Guest





PostPosted: Thu Sep 25, 2008 2:32 pm    Post subject: [Freeswitch-users] Accountcode not showing up in CDR Reply with quote

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@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
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@allresearch.com (noah@allresearch.com)> wrote:
Quote:
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@outbound1.vitelity.net (1@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@lists.freeswitch.org (Freeswitch-users@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@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Back to top
noah at allresearch.com
Guest





PostPosted: Thu Sep 25, 2008 2:48 pm    Post subject: [Freeswitch-users] Accountcode not showing up in CDR Reply with quote

OK,


That makes sense, BUT if the call is coming from a registered user why do I need to explicitly set it again. (If I dial a call from my Polycom phone registered with FS, shouldn't it know which user I am???)


Thanks,


-N





On Sep 25, 2008, at 12:23 PM, Anthony Minessale wrote:
Quote:
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@allresearch.com (noah@allresearch.com)> wrote:
Quote:
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@outbound1.vitelity.net (1@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@lists.freeswitch.org (Freeswitch-users@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@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Sep 25, 2008 2:53 pm    Post subject: [Freeswitch-users] Accountcode not showing up in CDR Reply with quote

Yes that is if you're really authenticating Wink

/b

On Sep 25, 2008, at 12:46 PM, Noah Silverman wrote:

Quote:
OK,

That makes sense, BUT if the call is coming from a registered user
why do I need to explicitly set it again. (If I dial a call from
my Polycom phone registered with FS, shouldn't it know which user I
am???)

Thanks,

-N



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
noah at allresearch.com
Guest





PostPosted: Thu Sep 25, 2008 3:10 pm    Post subject: [Freeswitch-users] Accountcode not showing up in CDR Reply with quote

I thought I was.


If I do a "sofia status profile internal" I see myself registered there...


How else can I be sure?


-N



On Sep 25, 2008, at 12:51 PM, Brian West wrote:
Quote:
Yes that is if you're really authenticating Wink

/b

On Sep 25, 2008, at 12:46 PM, Noah Silverman wrote:

Quote:
OK,

That makes sense, BUT if the call is coming from a registered user
why do I need to explicitly set it again. (If I dial a call from
my Polycom phone registered with FS, shouldn't it know which user I
am???)

Thanks,

-N



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Back to top
noah at allresearch.com
Guest





PostPosted: Thu Sep 25, 2008 3:11 pm    Post subject: [Freeswitch-users] Accountcode not showing up in CDR Reply with quote

FYI,


Here is what I get from sofia status




Call-ID 5e7878be778e8d5f04536e0515bd883e@127.0.0.1 (5e7878be778e8d5f04536e0515bd883e@127.0.0.1)
User 3235551212@111.111.111.111 (3235551212@111.111.111.111)
Contact "user" <[url=sip:3235551212@222.222.222.222:1024;fs_nat=yes]sip:3235551212@222.222.222.222:1024;fs_nat=yes[/url]>
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:
Quote:
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@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
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@allresearch.com (noah@allresearch.com)> wrote:
Quote:
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@outbound1.vitelity.net (1@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@lists.freeswitch.org (Freeswitch-users@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@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@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@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Sep 25, 2008 3:11 pm    Post subject: [Freeswitch-users] Accountcode not showing up in CDR Reply with quote

If you have blind reg on and auth-calls set to false then you'll still show up .. we have to challenge you for those setting to go into effect.

So double check the profile for auth-calls and accept-blind-reg.


/b

On Sep 25, 2008, at 1:07 PM, Noah Silverman wrote:
Quote:
I thought I was.


If I do a "sofia status profile internal" I see myself registered there...


How else can I be sure?


-N
Back to top
noah at allresearch.com
Guest





PostPosted: Thu Sep 25, 2008 3:24 pm    Post subject: [Freeswitch-users] Accountcode not showing up in CDR Reply with quote

OK,


bind_reg not in my config file at all.
auth_calls set to "true" for the default context.




-N



On Sep 25, 2008, at 1:10 PM, Brian West wrote:
Quote:
If you have blind reg on and auth-calls set to false then you'll still show up .. we have to challenge you for those setting to go into effect.

So double check the profile for auth-calls and accept-blind-reg.


/b

On Sep 25, 2008, at 1:07 PM, Noah Silverman wrote:
Quote:
I thought I was.


If I do a "sofia status profile internal" I see myself registered there...


How else can I be sure?


-N




_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Sep 25, 2008 3:26 pm    Post subject: [Freeswitch-users] Accountcode not showing up in CDR Reply with quote

then you should be fine.. run the info app to make sure Wink


On Sep 25, 2008, at 1:22 PM, Noah Silverman wrote:

Quote:
OK,

bind_reg not in my config file at all.
auth_calls set to "true" for the default context.


-N



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services