Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] directory variables not set correct with the latest trunk


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





PostPosted: Thu Oct 08, 2009 5:30 am    Post subject: [Freeswitch-users] directory variables not set correct with Reply with quote

Hi,

My application fails to set the appropriate variables using directory xml after using the latest trunk as of yesterday. 

My curl looks like:

 

<document type="freeswitch/xml">
  <section name="directory">
    <domain name="192.168.1.102">
      <user id="200002">
        <params>
          <param name="password" value="123456"></param>
          <param name="dial-string" value="sofia/internal/sip:200002@192.168.1.11:29440;rinstance=0245b2a59ddff837"></param>
        </params>
        <variables>
          <variable name="account_id" value="20"></variable>
          <variable name="vm-code" value="1000"></variable>
        </variables>
      </user>
    </domain>
  </section>
</document>



In the info app, I am not seeing account-id and vm-code anymore. 

How to fix that?

juan
Back to top
anthony.minessale at g...
Guest





PostPosted: Thu Oct 08, 2009 10:32 am    Post subject: [Freeswitch-users] directory variables not set correct with Reply with quote

they only set if you authenticate on sip or run the set_user app


On Thu, Oct 8, 2009 at 5:20 AM, Juan Backson <juanbackson@gmail.com (juanbackson@gmail.com)> wrote:
Quote:
Hi,

My application fails to set the appropriate variables using directory xml after using the latest trunk as of yesterday. 

My curl looks like:

 

<document type="freeswitch/xml">
  <section name="directory">
    <domain name="192.168.1.102">
      <user id="200002">
        <params>
          <param name="password" value="123456"></param>
          <param name="dial-string" value="sofia/internal/sip:200002@192.168.1.11:29440;rinstance=0245b2a59ddff837"></param>
        </params>
        <variables>
          <variable name="account_id" value="20"></variable>
          <variable name="vm-code" value="1000"></variable>
        </variables>
      </user>
    </domain>
  </section>
</document>



In the info app, I am not seeing account-id and vm-code anymore. 

How to fix that?

juan

_______________________________________________
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/
Twitter: http://twitter.com/FreeSWITCH_wire

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
juanbackson at gmail.com
Guest





PostPosted: Sat Oct 10, 2009 5:14 am    Post subject: [Freeswitch-users] directory variables not set correct with Reply with quote

Hi,

My sip phone did authentication ( sending in SIP REGISTER etc ), but it is still not showing up.  How come?

It was working before.

thanks,
juan

On Thu, Oct 8, 2009 at 11:21 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
they only set if you authenticate on sip or run the set_user app



On Thu, Oct 8, 2009 at 5:20 AM, Juan Backson <juanbackson@gmail.com (juanbackson@gmail.com)> wrote:


Quote:

Hi,

My application fails to set the appropriate variables using directory xml after using the latest trunk as of yesterday. 

My curl looks like:

 

<document type="freeswitch/xml">
  <section name="directory">
    <domain name="192.168.1.102">
      <user id="200002">
        <params>
          <param name="password" value="123456"></param>
          <param name="dial-string" value="sofia/internal/sip:200002@192.168.1.11:29440;rinstance=0245b2a59ddff837"></param>
        </params>
        <variables>
          <variable name="account_id" value="20"></variable>
          <variable name="vm-code" value="1000"></variable>
        </variables>
      </user>
    </domain>
  </section>
</document>



In the info app, I am not seeing account-id and vm-code anymore. 

How to fix that?

juan



_______________________________________________
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/
Twitter: http://twitter.com/FreeSWITCH_wire

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
juanbackson at gmail.com
Guest





PostPosted: Sat Oct 10, 2009 6:14 pm    Post subject: [Freeswitch-users] directory variables not set correct with Reply with quote

Hi,
 
I am still stuck in trying to get curl directory variables to show up in channel even after the user has registered.
 
Is this something that gets changed in the latest trunk or is it just my mis-configuration?
 
please help.
 
jb


On Sat, Oct 10, 2009 at 6:05 PM, Juan Backson <juanbackson@gmail.com (juanbackson@gmail.com)> wrote:
Quote:
Hi,

My sip phone did authentication ( sending in SIP REGISTER etc ), but it is still not showing up.  How come?

It was working before.

thanks,
juan


On Thu, Oct 8, 2009 at 11:21 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
they only set if you authenticate on sip or run the set_user app



On Thu, Oct 8, 2009 at 5:20 AM, Juan Backson <juanbackson@gmail.com (juanbackson@gmail.com)> wrote:


Quote:

Hi,

My application fails to set the appropriate variables using directory xml after using the latest trunk as of yesterday. 

My curl looks like:

 

<document type="freeswitch/xml">
  <section name="directory">
    <domain name="192.168.1.102">
      <user id="200002">
        <params>
          <param name="password" value="123456"></param>
          <param name="dial-string" value="sofia/internal/sip:200002@192.168.1.11:29440;rinstance=0245b2a59ddff837"></param>
        </params>
        <variables>
          <variable name="account_id" value="20"></variable>
          <variable name="vm-code" value="1000"></variable>
        </variables>
      </user>
    </domain>
  </section>
</document>



In the info app, I am not seeing account-id and vm-code anymore. 

How to fix that?

juan



_______________________________________________
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/
Twitter: http://twitter.com/FreeSWITCH_wire

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: Sat Oct 10, 2009 7:17 pm    Post subject: [Freeswitch-users] directory variables not set correct with Reply with quote

It happens on invite during a call not on REGISTER... I can 100%
confirm it works so I do not know what the heck you're doing.

/b

On Oct 10, 2009, at 6:02 PM, Juan Backson wrote:

Quote:
Hi,

I am still stuck in trying to get curl directory variables to show
up in channel even after the user has registered.

Is this something that gets changed in the latest trunk or is it
just my mis-configuration?

please help.

jb


_______________________________________________
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
brian at freeswitch.org
Guest





PostPosted: Sat Oct 10, 2009 7:19 pm    Post subject: [Freeswitch-users] directory variables not set correct with Reply with quote

Also check to make sure you're returning the correct format as per the
XML curl page.

/b

On Oct 10, 2009, at 6:02 PM, Juan Backson wrote:

Quote:
Hi,

I am still stuck in trying to get curl directory variables to show
up in channel even after the user has registered.

Is this something that gets changed in the latest trunk or is it
just my mis-configuration?

please help.

jb


_______________________________________________
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