Unable to modified incoming skype callerid

A forum for Skype For Asterisk users to ask questions and get advice from other users

Moderators: twilson, pete engler

Unable to modified incoming skype callerid

Postby mpiazzatnet » Tue Jun 22, 2010 1:46 am

HI,

I'm using the usual Set(Callerid(num) function to change the incoming from skype callerid but it's not working.

This is the dialplan

exten => _0X.,1,NoOP(${CALLERID(num)} - ${CALLERID(name)})
exten => _0X.,n,Set(STRINGA="Skype")
exten => _0X.,n,NoOP(${STRINGA})
exten => _0X.,n,Set(CALLERID(num) = ${STRINGA})
exten => _0X.,n,NoOP(${CALLERID(num)} - ${CALLERID(name)})

and is the output
NoOp("Skype/lab.trentinonetwork.it-08a32278", "mapiazza - Matteo Piazza") in new stack
-- Executing [0461020224@dial-to-openser:2] Set("Skype/lab.trentinonetwork.it-08a32278", "STRINGA="Skype"") in new stack
-- Executing [0461020224@dial-to-openser:3] NoOp("Skype/lab.trentinonetwork.it-08a32278", "Skype") in new stack
-- Executing [0461020224@dial-to-openser:4] Set("Skype/lab.trentinonetwork.it-08a32278", "CALLERID(num) = Skype") in new stack
-- Executing [0461020224@dial-to-openser:5] NoOp("Skype/lab.trentinonetwork.it-08a32278", "mapiazza - Matteo Piazza") in new stack

As you can see the incoming callerid(num) "mapiazza" doesn't change.

Is there any limitation on skype channel ?

Matteo
mpiazzatnet
Newsterisk
 
Posts: 3
Joined: Thu Oct 02, 2008 6:17 am

Re: Unable to modified incoming skype callerid

Postby ianplain » Tue Jun 22, 2010 3:21 am

one thing to do is to drop the whitespace

exten => _0X.,n,Set(CALLERID(num) = ${STRINGA})
to
exten => _0X.,n,Set(CALLERID(num)=${STRINGA})

this is the line from one of ours servers

exten => skype,1,Set(CALLERID(num)=${CALLERID(name)})

and that works fine

Ian
ianplain
Moves Like Spencer
 
Posts: 3089
Joined: Thu Dec 14, 2006 7:01 am
Location: Bath, UK

Re: Unable to modified incoming skype callerid

Postby mpiazzatnet » Tue Jun 22, 2010 3:45 am

Thank, very stupid error!
Now it's fine.
mpiazzatnet
Newsterisk
 
Posts: 3
Joined: Thu Oct 02, 2008 6:17 am


Return to Skype For Asterisk

Who is online

Users browsing this forum: No registered users and 1 guest