Page 1 of 1

CALLERID(?)="skypename"..how to get the skype caller?

PostPosted: Wed Nov 18, 2009 7:45 am
by tameritoke
Hi!
I have 2 skype accounts. One skype account is registered in chan_syke.conf and it works that far, and I am satisfied. The other issue is the following. I am interisted to know fetch up the skypeid of the person who is calling me in the dialplan. Is there a way to find that out?! For example:

CALLERID(NAME)="mrjohnskype"

how will I have to write the command to get the skypename of the caller in the dialplan?!


Tamer

Re: CALLERID(?)="skypename"..how to get the skype caller?

PostPosted: Fri Nov 20, 2009 2:29 am
by ManChicken
The function CALLERID(NUM) should already contain the Skype user's name that is calling.

Code: Select all
exten => s,n,NoOp(CID name is ${CALLERID(NAME)} - CID number is ${CALLERID(NUM)})