Questions tagged [exmpp]

exmpp is an XMPP library written in Erlang.

exmpp is an library written in .

11 questions
5
votes
3 answers

Function clause error when using exmpp function

Previously I was using xml:get_tag_attr_s("type", Packet) for that debug line in ejabberd 2.1.10, but that is not working anymore in ejabberd 13.03. Probably because it is deprecated according to the docs…
Kay Tsar
  • 1,428
  • 11
  • 14
1
vote
1 answer

Override ejabberd/xmpp login process

I wonder if there's a simple way to override the login process of ejabberd or exmpp. What I need is to execute some custom code on users login and only return a 'login success' when this execution is done. Thanks.
RobisonSantos
  • 611
  • 6
  • 16
1
vote
1 answer

Unable to use "exmpp_xml" module in ejabberd

I am using ejabberd version v2.1.11 on ubuntu 14.04. Compiled the exmpp modules and copied to /usr/lib/ejabberd/ebin/ location. The following is "my_module" code.…
Talespin_Kit
  • 20,830
  • 29
  • 89
  • 135
1
vote
1 answer

EXMPP ServerSide Authentication Response

I am currently working on a XMPP-messaging-server and I want to write a response to the client saying I want to initiate a NON-SASL Authentication. This is the client request I want to process. <<"
fr0gga
  • 36
  • 9
1
vote
1 answer

Installing exmpp on Centos

This might be a novice question, but how would I install exmpp on a Centos 6 box? I've scoured the internet and I can't find a solution. I can't seem to build it, nor can I find a rpm that works either via yum. Any ideas and/or installation steps…
Johan Vorster
  • 473
  • 6
  • 16
0
votes
1 answer

How to handle connection lost with exmpp?

does anybody knows how to handle connection lost situation in exmpp library? Any examples are welcome!
Worker
  • 2,411
  • 6
  • 29
  • 55
0
votes
3 answers

Ejabberd catch client disconnect

I run ejabberd and bot written in erlang/exmpp. I connect to this bot some jabber clients. How can i catch client disconnect?
0xAX
  • 20,957
  • 26
  • 117
  • 206
0
votes
1 answer

Login to muc room with exmpp

How can i login with exmpp bot to multi user chat room? try to use: create_move_room (Room, Username) -> #xmlel {name=presence, attrs=[#xmlattr{name = to, value = list_to_binary(Room ++ "@" ++ ? …
0xAX
  • 20,957
  • 26
  • 117
  • 206
0
votes
0 answers

Converting raw xml string to exmpp Packet type

How to convert raw xml string to a tuple(NewPacket) that can be sent using function exmpp_session:send_packet(MySession, NewPacket). For example if the following xml string has to be sent how to convert it to the type that send_packet function…
Talespin_Kit
  • 20,830
  • 29
  • 89
  • 135
0
votes
1 answer

Print the exmpp Packet to Raw XML string

How to print the Packet type to raw XML string ? In the example https://github.com/processone/exmpp/blob/master/examples/echo_client.erl the echo_packet(MySession, Packet) -> function takes the parameter Packet which is of xmlel record type. As…
Talespin_Kit
  • 20,830
  • 29
  • 89
  • 135
-1
votes
2 answers

Erlang Client for XMPP server

Is there any good Erlang client for XMPP server. I checked exmpp but it is too old and not compiling. Any pointers would be good. I have to send and receive a message both. The Ejabberd REST API will not fit here, as I need to get message back as…
user3404572
  • 167
  • 8