Re: Portech MV-37x patch
Anton Osennikov <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello. Here was another try to solve the same problem, for ALLVoIP AV3402 device. The device looks the same: same additional command, same additional response. http://www.mail-archive.com/[email protected]/msg11934.html -- Best regards, Anton. 12.11.2014 21:07, Ariel Wainer пишет: > On 12/11/14 12:23, Stipe Tolj wrote: >> >> Hi Ariel, >> >> thanks a lot for your contribution, it is highly welcome. >> >> Before considering to commit this into SVN trunk, can you please >> provide any more details why the extra-login is required, i.e. via a >> AT command set trace happening in the bearerbox.log running in DEBUG >> log-level. >> >> We're not in favor to constantly add more config directives for >> "special cases", that's why I'd like to see if there is a semantical >> way to avoid this. >> > I Understand. These gateways, are actually voip-gsm gateways, that allow > the user to access the modem directly via telnet. > The extra commands required are for authenticatiing and selecting the > modem. MV-37X has X modems, where X can be 2,4,6,8,16 or 32. I attached > the output of bearerbox opening both modems on my MV-372. You can see > that Kannel sends an AT command before completing the login (lines 80 > and 82 of the log) and the gateway returns an error because the login > process is not yet complete and therefor the terminal is not yet > attached to a modem (that happens in 89/90). > > The configuration used to produce this log: > ######## > group = smsc > smsc = at > smsc-id = pt0 > modemtype = portechm > device = rawtcp > speed = 115200 > host = "192.168.200.47" > port = 23 > smsc-username = voip > smsc-password = 1234 > login-prompt = username: > password-prompt = password: > extra-login = module1 > extra-login-prompt = "command: logout, module, module1, module2, > state1, state2." > extra-login-ok = "got!! press 'ctrl-x' to release module 1." > keepalive = 20 > > group = smsc > smsc = at > smsc-id = pt1 > modemtype = portechm > device = rawtcp > speed = 115200 > host = "192.168.200.47" > port = 23 > smsc-username = voip > smsc-password = 1234 > login-prompt = username: > password-prompt = password: > extra-login = module2 > extra-login-prompt = "command: logout, module, module1, module2, > state1, state2." > extra-login-ok = "got!! press 'ctrl-x' to release module 1." > keepalive = 20 > > group = modems > id = portechm > name = "Portech" > no-pin = true > ######## > >> BTW, I couldn't find any reference about Raivis original patchset. Can >> you please point me to this? >> >> Stipe >> > > Here it is: http://www.kannel.org/pipermail/users/2010-March/010310.html >