i installed skype for asterisk i can send and recieve calls normaly how can i receive messages from another skype user i Succeed to send only using for example: exten => 2233,1,SkypeChatSend(fSkypeBcp,User,message text) how to receive messages using this code SKYPE_CHAT_RECEIVE(<account>,<from>,<timeout>),and where and how I should add this code in extensions.conf my chan_Skype.conf [Account] secret=XXXXXX context=from-pstn exten= Account disallow=all allow=g729 allow=alaw allow=slin allow=ulaw auth_policy=accept buddy_presence=yes direction=both ;auth_policy=ignore buddy_autoadd=true ;buddy_presence=no mohinterpret=default ;mohsuggest=none Regards Khaled Chehab NGN Eng. Description: xplorium Operations Office - Lebanon Office : +961 1 868686 ext 115 Mobile: +961 3 045212 E-mail: <mailto:kchehab at xplorium.com> kchehab at xplorium.com MSN ID :KhalidChehab at hotmail.com Web Site: http://www.xplorium.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110225/f4f7fc63/attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 10812 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110225/f4f7fc63/attachment.png>
Maybe something like this? [skype_chat_receieve] Exten => account,user,1,do something here? What do you see in the CLI on the incoming txt message? I just figured out how to handle a different google talk account today [google-in] Exten => user1 at gmail.com,1,Dial(SIP/100) Exten => user2 at gmail.com,1,Dial(SIP/101) Exten => user3 at gmail.com,1,Dial(SIP/102) It doesn't matter the context in gtalk or jingle ,.. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Khaled W. Chehab Sent: Friday, February 25, 2011 2:30 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [asterisk-users] Asterisk/Skype i installed skype for asterisk i can send and recieve calls normaly how can i receive messages from another skype user i Succeed to send only using for example: exten => 2233,1,SkypeChatSend(fSkypeBcp,User,message text) how to receive messages using this code SKYPE_CHAT_RECEIVE(<account>,<from>,<timeout>),and where and how I should add this code in extensions.conf my chan_Skype.conf [Account] secret=XXXXXX context=from-pstn exten= Account disallow=all allow=g729 allow=alaw allow=slin allow=ulaw auth_policy=accept buddy_presence=yes direction=both ;auth_policy=ignore buddy_autoadd=true ;buddy_presence=no mohinterpret=default ;mohsuggest=none Regards Khaled Chehab NGN Eng. Description: xplorium Operations Office - Lebanon Office : +961 1 868686 ext 115 Mobile: +961 3 045212 E-mail: kchehab at xplorium.com MSN ID :KhalidChehab at hotmail.com Web Site: http://www.xplorium.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110225/257aff29/attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 10812 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110225/257aff29/attachment.png>
Can you please send me a how to please or a simple lines? Regards Khaled Chehab NGN Eng. Description: xplorium Operations Office - Lebanon Office : +961 1 868686 ext 115 Mobile: +961 3 045212 E-mail: <mailto:kchehab at xplorium.com> kchehab at xplorium.com MSN ID :KhalidChehab at hotmail.com Web Site: http://www.xplorium.com From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Terry Wilson Sent: Friday, February 25, 2011 10:16 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk/Skype On Feb 25, 2011, at 2:06 PM, Khaled W. Chehab wrote: There is no debug appears, Even I set core set verbose to 99999 And skype set debug on And in the extensions.conf I used [Account] exten => s,1,Set(message=${SKYPE_CHAT_RECEIVE(k_chehab,fakhourypbx,30)}) exten => s,n,NoOp(Received message: ${message}) The dialplan application is only for receiving chat messages during an actual call. If you want to receive messages from outside of a call, you will have to use the manager interface and look for SkyeChatMessage events. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110225/e8350aa8/attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 10812 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110225/e8350aa8/attachment.png>
I am assuming that goes the same for Gtalk chat messages too? Or has nobody played with that? From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Terry Wilson Sent: Friday, February 25, 2011 3:16 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk/Skype On Feb 25, 2011, at 2:06 PM, Khaled W. Chehab wrote: There is no debug appears, Even I set core set verbose to 99999 And skype set debug on And in the extensions.conf I used [Account] exten => s,1,Set(message=${SKYPE_CHAT_RECEIVE(k_chehab,fakhourypbx,30)}) exten => s,n,NoOp(Received message: ${message}) The dialplan application is only for receiving chat messages during an actual call. If you want to receive messages from outside of a call, you will have to use the manager interface and look for SkyeChatMessage events. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110225/b2772e10/attachment.htm>
> Can you please send me a how to please or a simple lines? > RegardsPlease see the README file that came with skypeforaterisk. Search for SkypeChatMessage. As far as AMI tutorial, please see Asterisk: The Definitive Guide chapter 20 (and consider ordering a copy). http://ofps.oreilly.com/titles/9780596517342/ch20.html -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110225/ce20ca9a/attachment.htm>