The .TEL Community on the .TEL Domain Forum!

Welcome to the Tel.community.

You are invited to participate in the growing .tel
community!

To take full advantage of everything offered by
our forum, please log in if you are already a
member or join our community if you're not yet.

The registration at TelTalk.org is free and easy!

Thank you for participation!

Join the forum, it's quick and easy

The .TEL Community on the .TEL Domain Forum!

Welcome to the Tel.community.

You are invited to participate in the growing .tel
community!

To take full advantage of everything offered by
our forum, please log in if you are already a
member or join our community if you're not yet.

The registration at TelTalk.org is free and easy!

Thank you for participation!

The .TEL Community on the .TEL Domain Forum!

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The .TEL Community on the .TEL Domain Forum!

Welcome to the objective forum for .tel domains! Read it first when anything is happening with .tel!

Please join the LIVE CHAT for all REGISTERED members at the bottom of our forum!

    SRV records (for jabber)

    Telnic
    Telnic
    High-Flyer
    High-Flyer


    Join date : 2014-12-30
    Posts : 2903 Points : 11336
    Reputation : 0
    Warning level : 100 %

    SRV records (for jabber) Empty SRV records (for jabber)

    Post by Telnic 2015-01-02, 2:43 pm

    poyarkov10-11-2011 06:44 PM




    SRV records (for jabber)
     
    I make a request from api and always get an answer Bool(false).
    I draw response at var_dump().
    What could be the problem? (Other method worked is normal)
    and where write this url _xmpp-server._tcp.example.tel?

    set_time_limit(0);
    ignore_user_abort(true);
    include('Telhosting_Client.php');

    $config = array();
    $config['login'] = '***';
    $config['password'] = '***';
    $config['wsdl'] = './clinet.wsdl';
    $domain = 'example.tel';


    $client = new Telhosting_client($config);

    $link1 = array (
    'priority' => 100,
    'ttl' => 3600,
    'weight' => 10,
    'port' => 7030,
    'target' => 'example.tel'
    );
    var_dump($client->store_record('example.tel ', 'srv', $link));
    ?>

    Saturate an example of a correct query to create SRV records for jabber.

    Mark Kolb (Kprobe)10-11-2011 07:09 PM




    What is the response from var_dump ?
    Mark

    Mark Kolb (Kprobe)10-11-2011 07:16 PM




    Besides, doesn't your store_record need to look something like this ...

    $record = array(
    'order' => $order,
    'preference' => $pref,
    'profiles' => '_all_',
    'services' => 'E2U+x-im:xmpp+x-lbl:',
    'longLabel' => "$label",
    'flags' => 'u',
    'regexp' => "!^.*$!xmpp:$value!"
    );
    $e=$this->client->store_record($this->tel, 'naptr', $record, FALSE);
    if (!$e) echo $this->$client->last_soap_error;
    if ($e) echo " INSERTED-NAPTR-ID=".$id=$e->id." ";
    return ($e);
    }

    poyarkov10-11-2011 07:17 PM




    Response :
    Quote:



    Bool(false)



    Mark Kolb (Kprobe)10-11-2011 07:22 PM




    Quote:



    Originally Posted by poyarkov (Post 18237)
    Response :


    [size]
    Then display $client->last_soap_error;[/size]

    poyarkov10-11-2011 07:26 PM




    Quote:



    $e=$this->client->store_record($this->tel, 'naptr', $record, FALSE);


    [size]
    This command adds a SRV?
    http://telnic.org/forum/showpost.php?p=367&postcount=26[/size]

    Mark Kolb (Kprobe)10-11-2011 07:44 PM




    I dont know anything about jabber/srv but since the service is defined for use with Soap calls and store_record was indicated by Nadya, then that is what you should try.
    Mark

    Aled10-12-2011 09:34 AM




    poyarkov - yes, you use the store record command to set the SRV, The specific structure can be seen at http://dev.telnic.org/api/client-soap/storerecord.html and in the API reference document - http://dev.telnic.org/api/client-soap/ClientSoapAPI.pdf. Rather than being a naptr, the record is an SRV.

    If you continue to have issues, it is possible that your provider has not activated SRV updates in their partition. If you contact us directly with your .tel name and/or provider, we can look further into that for you.

    Please also note that there is a Developers forum, more suited to technical queries at http://dev.telnic.org/trac/discussion. Although not exactly on the same topic, someone on that forum has put a link to setting up SRV records for use with Google Apps -http://dev.telnic.org/trac/discussion/6/221

    poyarkov10-12-2011 10:46 AM




    Thanks for the link, I was able to record through soapUI.

    https://sites.google.com/a/haussmann...telnic-domain/

    Mark Kolb (Kprobe)10-12-2011 01:04 PM




    @poyarkov Very detailed writeup. Can you explain why and how this is used with .tel?
    Mark

      Current date/time is 2024-05-16, 10:02 pm