Skype + GSM gateway

Završeni projekti naših članova foruma sa pratećom dokumentacijom za ponovnu izradu istog.

Moderators: stojke369, pedja089, [eDo], trax

Re: Skype + GSM gateway

Postby [eDo] » 25-03-2014, 20:48

It supports full utf8 SMS text, although the FS command line only accepts ASCII. Please use ESL or API to send utf8 text.

https://wiki.freeswitch.org/wiki/GSMopen
User avatar
[eDo]
 
Posts: 794
Joined: 13-02-2007, 17:17
Location: Beograd/Vranje

Re: Re: Skype + GSM gateway


Re: Skype + GSM gateway

Postby [eDo] » 25-03-2014, 20:58

4.2.2 Description
The SET command is used to set the format of the short message. The format has two
modes, and depends on the <mode> parameter. The two modes are: PDU mode and
text mode. The “text” mode is unable to display Chinese, so currently, only the PDU
mode is used. For the format of message in the PDU mode, see also “+CMGS
command”.
The READ command is used to return the current mode selection.
The TEST command returns the applicable <mode> values.
4.2.3 Defined Values
<mode>:
0 PDU mode
1 text mode not supported currently.
If no <mode> is included, it is equivalent to the effect that the <mode> is 0.

:(
User avatar
[eDo]
 
Posts: 794
Joined: 13-02-2007, 17:17
Location: Beograd/Vranje

Re: Skype + GSM gateway

Postby mario KT » 25-03-2014, 22:18

Nisam citao cijeli PDF samo proletio, pa nisam siguran. Najbolje probati preko nekog terminala. Ako Trax dozvoli ja ti mogu poslati prepravljen source code koji radi trenutno s TC35 i sa GSM telefonima koji imaju tekst format (CMGF=1), nemam doticni Huawei pa nemogu probati.

I sad vidim u zadnjem postu da trenutno ne podrzava tekt mod za SMS.
"0 PDU mode
1 text mode not supported currently.
If no <mode> is included, it is equivalent to the effect that the <mode> is 0."

Pozdrav
User avatar
mario KT
 
Posts: 87
Joined: 11-11-2010, 21:04
Location: Kutina, Hrvatska

Re: Skype + GSM gateway

Postby [eDo] » 25-03-2014, 22:25

A iz PDU ne mogu poruke da se preusmere u skype?
User avatar
[eDo]
 
Posts: 794
Joined: 13-02-2007, 17:17
Location: Beograd/Vranje

Re: Skype + GSM gateway

Postby [eDo] » 25-03-2014, 22:33

Image
User avatar
[eDo]
 
Posts: 794
Joined: 13-02-2007, 17:17
Location: Beograd/Vranje

Re: Skype + GSM gateway

Postby mario KT » 25-03-2014, 22:40

Teoretski mogu, ali ih treba pretvoriti iz PDU u Tekst. Mislim da je negdje na forumu bila tema o tome. Puno lakse je ako uredaj podrzava tekst format.

EDIT:

primjer.
http://www.smartposition.nl/resources/sms_pdu.html
Last edited by mario KT on 25-03-2014, 22:48, edited 1 time in total.
User avatar
mario KT
 
Posts: 87
Joined: 11-11-2010, 21:04
Location: Kutina, Hrvatska

Re: Skype + GSM gateway

Postby [eDo] » 25-03-2014, 22:46

Mozda i podrzava sa update-tom nisam gledao to... A ta tvoja verzija software hoce li raditi sa SonyEricson k610i? Ja imam ovih modema par komada i stoje mi u fioci a znam da mogu da imaju voice opciju jer sam jednom otkljucao voice opciju i radi iz aplikacije mobil partner
User avatar
[eDo]
 
Posts: 794
Joined: 13-02-2007, 17:17
Location: Beograd/Vranje

Re: Skype + GSM gateway

Postby mario KT » 25-03-2014, 22:56

Eh nabrzinu pogledao za k610i i cini mi se da je isto sto i k770i sto se tice AT komandi, ako je tako onda VOICE radi bez problema dok za SMS ne podrzava tekst format, sto znaci da s mojim kodom isto nece raditi SMS, ali Vice hoce (probao na SE K770i). Kazem, ako Trax dozvoli ja ti saljem source koji radi s vecinom GSM modema i nekim GSM telefonima.
U svakom slucaju ja sam koristio terminal program za testiranje prije prepravke koda.
Pozdrav.
User avatar
mario KT
 
Posts: 87
Joined: 11-11-2010, 21:04
Location: Kutina, Hrvatska

Re: Skype + GSM gateway

Postby [eDo] » 26-03-2014, 02:10

Uz veliku pomoc Mario KT-a uspeli smo nekako da poteramo ovaj modem sa traxovim programom na windows 7 x64 masini :)

Ovako izgleda serverska strana:
Image

Ovako izgleda prijemna strana skype-a koga zove na tabletu:
Image

Ovako sada sve manje vishe radi :) Sve opcije su dostupne i rade medjutim sada kada prima ili upucuje poziv skype po defaultu koristi Mic i Zvucnike laptopa tako da sagovornik na telefonu ne cuje apsolutno nista niti mu mic ima neku funkciju :S

Sada je pitanje kako ovaj modem ili skype naterati da koristi zvucnu sa usb modema ne default? Kada koristim USB modem i software Mobile partner i tada preuzima default mic i zvucnike laptopa koji su po defaultu :)
User avatar
[eDo]
 
Posts: 794
Joined: 13-02-2007, 17:17
Location: Beograd/Vranje

Re: Skype + GSM gateway

Postby trax » 26-03-2014, 08:18

Super :-)
Treba u Skype-u podesiti da audio ide preko te USB zvucne iz modema i trebalo bi da radi.
User avatar
trax
 
Posts: 3487
Joined: 08-01-2005, 18:04
Location: 75k, BA

Re: Re: Skype + GSM gateway


Re: Skype + GSM gateway

Postby [eDo] » 26-03-2014, 13:40

Slazem se sa tobom trax ali pitanje je :)

Trazio sam po windows-u da vidim da li stvara negde virtualni audio port kao one jeftine kineske kamere na usb-u za pc ali nema niceg konkretnog :(

Skype mi trenutno nudi default zvucnu karticu laptopa i integrisanog mikrofona bez opcije menjanja, ruter sam po sebi ne stvara nikakav audio port i nista vezano za to nisam pronasao na net-u :(

Image

Medjutim kada se koristi aplikacija mobile partner u zvucnom mixeru se pojavi posebna kontrola sa ikonicom mobile partnera:

Image
User avatar
[eDo]
 
Posts: 794
Joined: 13-02-2007, 17:17
Location: Beograd/Vranje

Re: Skype + GSM gateway

Postby trax » 26-03-2014, 13:44

Znaci da je taj "mobile partner" aplikacija ujedno i driver. On inicijalizuje tu internu zvucnu karticu i prijavi je na windows. Zasto ne startas taj mobile partner app prilikom startupa windowsa? Tako ces uvijek imati i taj audio device pa ga mozes odabrati u Skypeu?
User avatar
trax
 
Posts: 3487
Joined: 08-01-2005, 18:04
Location: 75k, BA

Re: Skype + GSM gateway

Postby [eDo] » 26-03-2014, 14:19

Trax druze aplikacija se vec pali prilikom starta windowsa automatski tako sam je podesio ali mi skype ne nudi opciju da promenim ili da izaberem tu zvucnu karticu nikako. Sad probavam kroz sound propertist ali i tu ne daje neke opcije...
User avatar
[eDo]
 
Posts: 794
Joined: 13-02-2007, 17:17
Location: Beograd/Vranje

Re: Skype + GSM gateway

Postby trax » 26-03-2014, 14:59

Zasto ne otvoris taj USB modem i vidis koja mu je oznaka, mozda je neko napisao sound-driver za njega?
User avatar
trax
 
Posts: 3487
Joined: 08-01-2005, 18:04
Location: 75k, BA

Re: Skype + GSM gateway

Postby [eDo] » 26-03-2014, 20:12

Mislio sam da nikad neces reci :)

Ovde nisam mogao da procitam koji su cipovi u pitanju:
Image

A ovde se vec vidi:
Image

QUALCOMM
RTR6285
A1M721.1
F2931013

PM6658
AH41491
C2930003

Ovako nesto konkretno nema da pise nigde na pcb-u :(
User avatar
[eDo]
 
Posts: 794
Joined: 13-02-2007, 17:17
Location: Beograd/Vranje

Re: Skype + GSM gateway

Postby [eDo] » 26-03-2014, 21:09

Ceprkam po folderu gde je instaliran mobile partner i po fajlovima sam nasao ovo:

<callui>
<calltrans>0</calltrans>
<incoming>0</incoming>
<sound>1</sound>
<ring>callvoice.wav</ring>
<Sound>1</Sound>
<SamplesPerSec>8000</SamplesPerSec>
<AudioPlus>20</AudioPlus>
<MicVolume>8000</MicVolume>
<Record>0</Record>
<LocalRecord>0</LocalRecord>
<CallWaitting>0</CallWaitting>
<CallRestriction>0</CallRestriction>
<callvoice>1</callvoice>
<callvideo>0</callvideo>
</callui>
User avatar
[eDo]
 
Posts: 794
Joined: 13-02-2007, 17:17
Location: Beograd/Vranje

Re: Skype + GSM gateway

Postby [eDo] » 26-03-2014, 22:15

User avatar
[eDo]
 
Posts: 794
Joined: 13-02-2007, 17:17
Location: Beograd/Vranje

Re: Skype + GSM gateway

Postby trax » 26-03-2014, 22:36

A-ha, znaci da se audio streaminguje preko UART-a. Nisam sa ovim radio nikad pa vidi ima li kakav primjer napisan za Delphi za ovakve modeme, pa da se moze ugraditi u Skype Diverter...
User avatar
trax
 
Posts: 3487
Joined: 08-01-2005, 18:04
Location: 75k, BA

Re: Skype + GSM gateway

Postby [eDo] » 26-03-2014, 23:09

User avatar
[eDo]
 
Posts: 794
Joined: 13-02-2007, 17:17
Location: Beograd/Vranje

Previous

Return to Gotovi projekti - sa dokumentacijom

Who is online

Users browsing this forum: No registered users and 2 guests

GOOGLE