Re: [Asterisk-Users] How to Flash() a modem line

2005-03-14 Thread Eric Wieling
Raoul Bönisch wrote:
Hello!
I'd like to Flash() a modem line (BRI) with Asterisk. It is a
passive ISDN-card connected to a hardware PBX. I use ISDN4Linux.
I recognised that unfortunately the Flash() application flashes
Zap devices only. Now I am wondering how I could flash Modem/ttyI0.
The source code chan_modem.c doesn't contain anything about flashing
a modem line. So I tried to simply put the AT-command sequence
! in my dialstring, but it didn't work.
Are there any solutions?
Flash is an analog thing.  It does not even apply to ISDN.
--
Always do right. This will gratify some people and astonish the rest.
Mark Twain
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] How to flash a modem line

2005-03-14 Thread Stu Gotz
The H0,H1 timing may be tricky, but, If the modem is AT compliant, ATD! is 
the flash command. The timing is based on S register 29.

- Original Message - 
From: Raoul Bönisch [EMAIL PROTECTED]
To: asterisk-users@lists.digium.com
Sent: Monday, March 14, 2005 10:50 AM
Subject: [Asterisk-Users] How to flash a modem line


* Mateo Meier [EMAIL PROTECTED] [2005-02-28 09:13]:
I tryed that with capi.. but no luke. It will hang up the line anyway :-(
exten = s,1,Playback(transfer)
exten = s,2,Flash(capi/72044**:041720,18)
exten = s,3,SendDTMF(${ARG1})
exten = s,4,Hangup()
Any idears why ?
No wonder! The Flash() application can flash zap channels only
and you are trying to flash a modem channel. There's no obvious
facility to flash a modem channel as I can find nothing about it
in chan_modem.c. :-\
I want to do the same thing and I am using ISDN4Linux. Perhaps we
can try submit AT-commands to the modem line. A timed H0 and H1
command would do the thing. I'm afraid we'd have to change the
asterisk source code though. It would even work with CAPI as you
can use ISDN4Linux on top of CAPI, too.
Please tell me if you find any solutions :-)
Greets!
Raoul
___
Asterisk-Users mailing list
Asterisk-Users@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 
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] How to flash a modem line

2005-03-14 Thread Raoul Bönisch
* Stu Gotz [EMAIL PROTECTED] [2005-03-14 16:56]:
 The H0,H1 timing may be tricky, but, If the modem is AT compliant, ATD! is 
 the flash command. The timing is based on S register 29.

Yes, that's another possibility. We're close to it. I have the
idea of using the System() application to call a program flashing
the modem. This should be quite easy. :-)

Raoul

___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] How to Flash() a modem line

2005-03-14 Thread Raoul Bönisch
* Eric Wieling [EMAIL PROTECTED] [2005-03-14 16:56]:
 Raoul Bönisch wrote:
 Flash is an analog thing.  It does not even apply to ISDN.

So how does the R key on my ISDN-telephone work then?

Raoul

___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] How to Flash() a modem line

2005-03-14 Thread Mikael Magnusson
Raoul Bönisch wrote:
* Eric Wieling [EMAIL PROTECTED] [2005-03-14 16:56]:
Raoul Bönisch wrote:
Flash is an analog thing.  It does not even apply to ISDN.

So how does the R key on my ISDN-telephone work then?
Raoul
An ISDN-telephone uses Q.931 messages for signaling, for example HOLD to 
put a call on hold and RETRIEVE to pick up one.

/Mikael
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] How to Flash() a modem line

2005-03-14 Thread Eric Wieling
Raoul Bönisch wrote:
* Eric Wieling [EMAIL PROTECTED] [2005-03-14 16:56]:
Raoul Bönisch wrote:
Flash is an analog thing.  It does not even apply to ISDN.

So how does the R key on my ISDN-telephone work then?
I suspect it sends an ISDN specific put call on hold or take call 
off hold message.

--
Always do right. This will gratify some people and astonish the rest.
Mark Twain
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] How to Flash() a modem line

2005-03-14 Thread Raoul Bönisch
* Mikael Magnusson [EMAIL PROTECTED] [2005-03-14 21:16]:
 Raoul Bönisch wrote:
 * Eric Wieling [EMAIL PROTECTED] [2005-03-14 16:56]:
 
 Raoul Bönisch wrote:
 Flash is an analog thing.  It does not even apply to ISDN.
 
 
 So how does the R key on my ISDN-telephone work then?
 
 An ISDN-telephone uses Q.931 messages for signaling, for example HOLD to 
 put a call on hold and RETRIEVE to pick up one.

Ok, and there's Multiple Directory Numbers so that you can start
a conference.

Unfortunately Q.931 doesn't seem to be available on ISDN4Linux. I
will have to switch to CAPI or else I'm lost! :-\

Thanks for the help!

Raoul

___
Asterisk-Users mailing list
Asterisk-Users@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