How to dial a remote_skypename from a telephone keypad?
If one uses mod_skypopen + skype client on an FS system with and IP Phone and/or a telephone attached to an ATA device as an extension to the FS sytem, how can one place a call to a Skype user whose account isn't in numeric characters? ----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-dial-a-remote-skypename... Sent from the freeswitch-users mailing list archive at Nabble.com.
you put it in dialplan, or some other hack. eg: extension "123456" will call skypeuser "giovanni334" no other way with an ATA On Wed, Feb 9, 2011 at 4:00 PM, mazilo <Nabble@slickdeals.endjunk.com> wrote:
If one uses mod_skypopen + skype client on an FS system with and IP Phone and/or a telephone attached to an ATA device as an extension to the FS sytem, how can one place a call to a Skype user whose account isn't in numeric characters?
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-dial-a-remote-skypename... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
with a SIP phone that allows you to enter alphanumeric destinations, you can use something similar to the "skype_uri" described in: http://wiki.freeswitch.org/wiki/Skypopen_Skype_Endpoint_and_Trunk#Dialplan.2... On Wed, Feb 9, 2011 at 4:06 PM, Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
you put it in dialplan, or some other hack.
eg: extension "123456" will call skypeuser "giovanni334"
no other way with an ATA
On Wed, Feb 9, 2011 at 4:00 PM, mazilo <Nabble@slickdeals.endjunk.com> wrote:
If one uses mod_skypopen + skype client on an FS system with and IP Phone and/or a telephone attached to an ATA device as an extension to the FS sytem, how can one place a call to a Skype user whose account isn't in numeric characters?
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-dial-a-remote-skypename... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
Giovanni Maruzzelli-2 wrote:
with a SIP phone that allows you to enter alphanumeric destinations, you can use something similar to the "skype_uri" described in: http://wiki.freeswitch.org/wiki/Skypopen_Skype_Endpoint_and_Trunk#Dialplan.2... If I understood you correctly with the Skype URI as shown below, I should be able to pick up a telephone handset to dial a number, i.e. 754257, 4711,3019, etc., and the call will be able to reach a Skype user called joe, marry, ana, etc. respectively (assuming they are also online). Cool. <!-- dial via SKYPE uri using interface1 interface to go out --> <extension name="skype_uri"> <condition field="destination_number" expression="^skype/(.*)$"> <action application="bridge" data="skypopen/interface1/$1"/> </condition> </extension>
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-dial-a-remote-skypename... Sent from the freeswitch-users mailing list archive at Nabble.com.
if I have understood you, I must give you a bad news: On Wed, Feb 9, 2011 at 6:22 PM, mazilo <Nabble@slickdeals.endjunk.com> wrote:
If I understood you correctly with the Skype URI as shown below, I should be able to pick up a telephone handset to dial a number, i.e. 754257, 4711,3019, etc., and the call will be able to reach a Skype user called joe, marry, ana, etc. respectively (assuming they are also online). Cool.
not at all from a SIP phone (softphone or hardphone) in this example you need to be able to input "skype/giovanni334" to reach the skypeuser giovanni334 you can do that or because you enter that via the alphanumeric keyboad (eg, from XLite on your computer keyboard), or because you entered that input in the phonebook of the phone (or you got a SIP phone with an alphanumeric keyboard)
<!-- dial via SKYPE uri using interface1 interface to go out --> <extension name="skype_uri"> <condition field="destination_number" expression="^skype/(.*)$"> <action application="bridge" data="skypopen/interface1/$1"/> </condition> </extension>
The plain old numeric keyboard can only input numbers. In case a number is mapped in the dialplan, or with some other method, to a skypeuser, then that call will go to the mapped skypeuser -giovanni
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-dial-a-remote-skypename... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
Giovanni Maruzzelli-2 wrote:
if I have understood you, I must give you a bad news:
Now, you seemed to have understood my question. Looks like one needs to create a phonebook entry to contains all some numerical numbers mapped to skype user names. Perhaps, someone who is more knowledgeable can update the FS wiki to include this phonebook feature. ----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-dial-a-remote-skypename... Sent from the freeswitch-users mailing list archive at Nabble.com.
English is not my first language, so I try to be more clear now: if you want to use the "skype_uri" (that is just a dialplan hack), you must find a way to pass the skypeusername to the dialplan. One such way is through the phonebook of the phone. The other way is to map extensions to an action that bridges SIP to the desired outbound skypopen call to desired skypename. This is the more direct and popular way. I'm thinking to add some sort of way to call skypenames from the numeric keyboard (like the directory feature of asterisk) but is not there yet. -giovanni On Wed, Feb 9, 2011 at 7:39 PM, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Giovanni Maruzzelli-2 wrote:
if I have understood you, I must give you a bad news:
Now, you seemed to have understood my question. Looks like one needs to create a phonebook entry to contains all some numerical numbers mapped to skype user names. Perhaps, someone who is more knowledgeable can update the FS wiki to include this phonebook feature.
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-dial-a-remote-skypename... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
I was thinking of the following scheme. As we all know there is correspondence between digits and letters on the phone's numeric keypad: 1 - 2 - abc 3 - def 4 - ghi 5 - jkl 6 - mno 7 - pqrs 8 - tuv 9 - wxyz 0 - What if we would encode letters the following way: a - 2 b - 22 c - 222 d - 3 e - 33 f - 333 And so on. I.e. a letter is encoded with a digit written on the appropriate button repeated so many times as is the letter's serial number on the button. It's very similar to what is used in mobile phones to type alphabetic info. Remaining important symbols can also be encoded with same method by digit 1 (as also done in mobile phones): 1 - .,- but actually they are rarely needed. # button can be used to start encoding sequence and ## is to end it. So e.g. giovanni334 is be encoded as #4#444#666#888#2#66#66#444##334 or even #4#444666888266#66444##334 (if digit changes we know that another character is started. Thus # prefix can be safely omitted) Then all we would need is a very simple decoder on the freeswitch/skypopen side. Just an idea... - Dmitry Bely
Dmitry Bely wrote:
# button can be used to start encoding sequence and ## is to end it. So e.g. giovanni334 is be encoded as
#4#444#666#888#2#66#66#444##334
or even
#4#444666888266#66444##334 (if digit changes we know that another character is started. Thus # prefix can be safely omitted)
Then all we would need is a very simple decoder on the freeswitch/skypopen side. Just an idea... What will happen if a Skype account is named Skype333 or Skype444?
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-dial-a-remote-skypename... Sent from the freeswitch-users mailing list archive at Nabble.com.
On Thu, Feb 10, 2011 at 6:29 AM, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Dmitry Bely wrote:
# button can be used to start encoding sequence and ## is to end it. So e.g. giovanni334 is be encoded as
#4#444#666#888#2#66#66#444##334
or even
#4#444666888266#66444##334 (if digit changes we know that another character is started. Thus # prefix can be safely omitted)
Then all we would need is a very simple decoder on the freeswitch/skypopen side. Just an idea... What will happen if a Skype account is named Skype333 or Skype444?
Nothing special. Skype names are case-insensitive so one would encode skype333 string. The result would be: #777755444733##333 - Dmitry Bely
Dmitry Bely wrote:
On Thu, Feb 10, 2011 at 6:29 AM, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Dmitry Bely wrote:
# button can be used to start encoding sequence and ## is to end it. So e.g. giovanni334 is be encoded as
#4#444#666#888#2#66#66#444##334
or even
#4#444666888266#66444##334 (if digit changes we know that another character is started. Thus # prefix can be safely omitted)
Then all we would need is a very simple decoder on the freeswitch/skypopen side. Just an idea... What will happen if a Skype account is named Skype333 or Skype444?
Nothing special. Skype names are case-insensitive so one would encode skype333 string. The result would be:
#777755444733##333
How about giovanni444 or giovanni6666. How will the encoder differentiate between the letter 'o' with numeral '444' and the letter 'n' with numeral '66'? Will they be encoded into giovannio or giovanninn, respectively? ----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-dial-a-remote-skypename... Sent from the freeswitch-users mailing list archive at Nabble.com.
On Thu, Feb 10, 2011 at 2:54 PM, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Dmitry Bely wrote:
On Thu, Feb 10, 2011 at 6:29 AM, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Dmitry Bely wrote:
# button can be used to start encoding sequence and ## is to end it. So e.g. giovanni334 is be encoded as
#4#444#666#888#2#66#66#444##334
or even
#4#444666888266#66444##334 (if digit changes we know that another character is started. Thus # prefix can be safely omitted)
Then all we would need is a very simple decoder on the freeswitch/skypopen side. Just an idea... What will happen if a Skype account is named Skype333 or Skype444?
Nothing special. Skype names are case-insensitive so one would encode skype333 string. The result would be:
#777755444733##333
How about giovanni444 or giovanni6666.
Just the same way: #777755444733##444 #777755444733##6666
How will the encoder differentiate between the letter 'o' with numeral '444' and the letter 'n' with numeral '66'? Will they be encoded into giovannio or giovanninn, respectively?
Looks like you didn't fully read my proposal. Or my English is not good enough. One again: an encoded sequence is started by # and ended by ##. Inside it a group of identical digits is interpreted as a letter (optionally prefixed by # as delimiter). Dial string may contain several encoded parts interlaced with ordinary digits: digits#letters##digits#letters##digits So there is no problem to differ "n" from 66 - they appear in different contexts - Dmitry Bely
Dmitry Bely wrote:
So there is no problem to differ "n" from 66 - they appear in different contexts So, if a skype name is n66n66n66, can you please show the equivalent numeral key representation a user has to dial?
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-dial-a-remote-skypename... Sent from the freeswitch-users mailing list archive at Nabble.com.
On Thu, Feb 10, 2011 at 6:35 PM, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Dmitry Bely wrote:
So there is no problem to differ "n" from 66 - they appear in different contexts So, if a skype name is n66n66n66, can you please show the equivalent numeral key representation a user has to dial?
#66## 66 #66## 66 #66## 66 I have added spaces for better readability. - Dmitry Bely
Dmitry Bely wrote:
On Thu, Feb 10, 2011 at 6:35 PM, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Dmitry Bely wrote:
So there is no problem to differ "n" from 66 - they appear in different contexts So, if a skype name is n66n66n66, can you please show the equivalent numeral key representation a user has to dial?
#66## 66 #66## 66 #66## 66
I have added spaces for better readability.
So, ## means to decode into alpha characters. Cool. ----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-dial-a-remote-skypename... Sent from the freeswitch-users mailing list archive at Nabble.com.
On Thu, Feb 10, 2011 at 8:11 PM, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Dmitry Bely wrote:
On Thu, Feb 10, 2011 at 6:35 PM, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Dmitry Bely wrote:
So there is no problem to differ "n" from 66 - they appear in different contexts So, if a skype name is n66n66n66, can you please show the equivalent numeral key representation a user has to dial?
#66## 66 #66## 66 #66## 66
I have added spaces for better readability.
So, ## means to decode into alpha characters. Cool.
Almost so. # - start to encode digits into chars ## - stop to encode. Following digits will be taken as-is (default state) - Dmitry Bely
I think it would be best to read back to the caller what he is entering. I will probably use something like this to enter postal codes. to take this example: n66n66n66 "On you dialpad, please enter a digit or the caracter on that button. For special characters like coma or space, press 1":(1 can have "1 ,!_.") Start: Input: 6 Speak:"Six", "Press again to pick another character or # to save" Input:6 Speak::"M", "Press again to pick another character or # to save" Input:6 Speak::"N", "Press again to pick another character or # to save" (After "O", it starts with "6" again) Input:# Save: Speak"Enter the next digit or character or # for the menu" Goto Start: Of course on the next character, the caller presses 6, hears "six" and presses #. goes to Save: Or # Menu: "To hear your completed entry, press 1, To continue entering press 2, To delete and start over press 3, If you it's correct, press 9 to exit" Kris ----- Original Message ----- From: "Dmitry Bely" <dmitry.bely@gmail.com> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Thursday, February 10, 2011 8:19 AM Subject: Re: [Freeswitch-users] How to dial a remote_skypename from atelephone keypad?
On Thu, Feb 10, 2011 at 6:35 PM, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Dmitry Bely wrote:
So there is no problem to differ "n" from 66 - they appear in different contexts So, if a skype name is n66n66n66, can you please show the equivalent numeral key representation a user has to dial?
#66## 66 #66## 66 #66## 66
I have added spaces for better readability.
- Dmitry Bely
participants (4)
-
Dmitry Bely
-
Giovanni Maruzzelli
-
Kris
-
mazilo