Update buddy status from SIMPLE protocol

View: New views
3 Messages — Rating Filter:   Alert me  

Update buddy status from SIMPLE protocol

by Antonio Gallo :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Hello i want to integrate SIMPLE with Asterisk better.

Actually i can only check if asterisk user (buddy) is registered or not.

I've added a few code lines to SIMPLE to check NOTIFY body for:
- Ringing status
- Busy status

however when i try to change the buddy status to display this nothing
happen.

Wich is the exact API to change the buddy icon status?

Wich is the more suitable Pidgin status for Ring and Busy?

I've searched the code and see there are "tune" and "mobile" status but
i don't know what are them for.

Antonio Gallo

_______________________________________________
Devel mailing list
Devel@...
http://pidgin.im/cgi-bin/mailman/listinfo/devel

How to use custom icons? (Re: Update buddy status from SIMPLE protocol)

by Antonio Gallo :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

I was able to patch SIMPLE and make it work i added:
- respond 200 OK to OPTIONS to make Asterisk happy
- respond 200 OK to NOTIFY to make Asterisk happy
- handle Ringing and Busy status inside Notify

What i want to add now is:
1) custom icon for Ringing and Busy status; how can i add custom icon to
my custom status?
2) notify of voicemail messages ; how can i make appear that you have
custom emails?

I could not find any devel doc about this.

Antonio

_______________________________________________
Devel mailing list
Devel@...
http://pidgin.im/cgi-bin/mailman/listinfo/devel

Asterisk Manager Protocol plugin (Re: Update buddy status from SIMPLE protocol)

by Antonio Gallo :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


> however when i try to change the buddy status to display this nothing
> happen.
>
> Wich is the exact API to change the buddy icon status?
Ok i was able to display ringing or busy status under the username and
to display a popup email when voicemail have arrived.

BUT... i just noticed that SIMPLE will REGISTER with the PBX and
Asterisk does not support shared registration so basically PIDGIN will
overtake my phone registration... crap...
ofc... this will work perfectly with FreeSwitch and other serious SIP
servers.

Well i need something usefull for me, probably is the best thing is to
copy simple.c and use it as layout for an asterisk manager plugin so i
can add also FAX notification, ClickToCall and other stuffs.

_______________________________________________
Devel mailing list
Devel@...
http://pidgin.im/cgi-bin/mailman/listinfo/devel