[Asterisk-Users] iaxmodem

pbx at itsngroup.com pbx at itsngroup.com
Tue Oct 25 11:25:07 MST 2005


mgetty dump:


10/25 11:23:17 IAX  tio_get_rs232_lines: TIOCMGET failed: Invalid argument
10/25 11:23:17 ##### data dev=ttyIAX, pid=15158, caller='none',
conn='DIRECT', name='', cmd='/bin/login', user='Fedora Core release 3
(Heidelberg)'

--
10/25 11:23:36 IAX  mgetty: experimental test release 1.1.31-Jul24
10/25 11:23:36 IAX  check for lockfiles
10/25 11:23:36 IAX  locking the line
10/25 11:23:36 IAX  tio_get_rs232_lines: TIOCMGET failed: Invalid argument
10/25 11:23:36 IAX  WARNING: DSR is off - modem turned off or bad cable?
10/25 11:23:36 IAX  lowering DTR to reset Modem
10/25 11:23:36 IAX  TIOCMBIC failed: Invalid argument
10/25 11:23:36 IAX  clean_line: only 500 of 4095 bytes logged
10/25 11:23:37 IAX  waiting...


i have in my /etc/inittab:

/sbin/mgetty ttyIAX -F -r /dev/ttyIAX

the -F is for Fax only and the -r is do not send modem init

Then on the iaxmodem output i get a bunch of:
  Timestamp: 12001ms  SCall: 06850  DCall: 00012 [192.168.1.1:4569]
Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 005 Type: IAX     Subclass: PONG
   Timestamp: 12001ms  SCall: 00012  DCall: 06850 [192.168.1.1:4569]
   Unknown IE 046  : Present
   Unknown IE 047  : Present
   Unknown IE 048  : Present
   Unknown IE 049  : Present
   Unknown IE 050  : Present
   Unknown IE 051  : Present

Tx-Frame Retry[-01] -- OSeqno: 005 ISeqno: 004 Type: IAX     Subclass: ACK
   Timestamp: 12001ms  SCall: 06850  DCall: 00012 [192.168.1.1:4569]
Unable to pass the full buffer onto the device file. -1 bytes of 4
written.Unable to pass the full buffer onto the device file. -1 bytes of 2
written.Unable to pass the full buffer onto the device file. 12 bytes of
25 written.Unable to pass the full buffer onto the device file. -1 bytes
of 12 written.Unable to pass the full buffer onto the device file. -1
bytes of 2 written.Unable to pass the full buffer onto the device file. -1
bytes of 4 written.Unable to pass the full buffer onto the device file. -1
bytes of 2 written.Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 005 Type:
IAX     Subclass: HANGUP


Anyways.. it's a nice idea... and if spandsp supported data...it would be
terrific!!!


> pbx at itsngroup.com wrote:
>
>>The comment below makes me wonder could ttyIAX be configured to answer
>>mgetty?
>>
>>
>
> Although I've not tried mgetty with IAXmodem, the intent was to make
> this possible (for faxing), yes.
>
>>I have made the mgetty talk to ttyIAX however, as soon as a ring comes
>>into th eextension , mgetty shuts down... so I cannot keep the signal up.
>>
>>
>
> What does the mgetty logging say about what it's doing?
>
>>I tried to use the pppd daemon directly with ttyIAX and it said that the
>>link is in serial loopback disconnecting.
>>
>>Would using iaxModem be feasable for a pppd dialin, or how could I use
>>mgetty with pppd to start it?
>>
>
> spandsp (which is used by IAXmodem) does not currently support data calls.
>
> Lee.
>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>





More information about the asterisk-users mailing list