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 => [email protected],1,Dial(SIP/100)

Exten => [email protected],1,Dial(SIP/101)

Exten => [email protected],1,Dial(SIP/102)

 

It doesn't matter the context in gtalk or jingle ,..

 

 

 

 

From: [email protected]
[mailto:[email protected]] 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: [email protected]

     MSN ID :[email protected]  

     Web Site: http://www.xplorium.com

 

<<image001.png>>

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to