[asterisk-bugs] [Asterisk 0015175]: [patch] v.110 dialin support for ISDN channels

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Oct 2 12:03:11 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15175 
====================================================================== 
Reported By:                dwmw2
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15175
Category:                   Applications/NewFeature
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-22 03:04 CDT
Last Modified:              2009-10-02 12:03 CDT
====================================================================== 
Summary:                    [patch] v.110 dialin support for ISDN channels
Description: 
Many years ago I wrote app_v110.c for use with mISDN channels. It was
included in the Beronet app_bundle which I thought they were going to
submit after chan_mISDN was merged:
http://www.asteriskguru.com/archives/asterisk-dev-re-chanmisdn-in-asterisk-beta-2-vt60496.html#170458

Someone's now made it work with Zap channels too, and is asking why it
didn't get merged.

I'll attach my original code for reference and state that I have a
disclaimer on file. Hopefully I can let the person who ported it to Zap
take care of submitting an up to date version which is tested with current
Asterisk code.
====================================================================== 

---------------------------------------------------------------------- 
 (0111798) tomzack (reporter) - 2009-10-02 12:03
 https://issues.asterisk.org/view.php?id=15175#c111798 
---------------------------------------------------------------------- 
I tried app_v110.c.trunk-rev-196585 against asterisk-be-C.2.1.2 (this is
almost a modified asterisk 1.6x I think)


I adapted added some debug, but the STDOUT doesnot map to STDIN of pppd
(can pppd handle piping ? Or must you provide an pseudo-TTY?)

I added the source app_v110_td.c 

    -- Executing [21 at isdnNT/4:2] V110("mISDN/7-u1", "/usr/sbin/pppd call
isdn") in new stack
[Oct  2 18:57:38] NOTICE[27067]: app_v110.c:293 echo_v110: /usr/sbin/pppd
call isdn (null) <pseudoTTY> got for execution on call[Oct  2 18:57:38]
NOTICE[27067]: app_v1e
[Oct  2 18:57:38] NOTICE[27067]: app_v110.c:322 echo_v110: data structure
allocated[Oct  2 18:57:38] NOTICE[27067]: app_v110.c:327 echo_v110:
tech-type mISDN detected[n
[Oct  2 18:57:38] NOTICE[27067]: app_v110.c:334 echo_v110: V.110 activated
trace file /var/log/ram/v110_trace-trace_raw_out
[Oct  2 18:57:38] NOTICE[27067]: app_v110.c:335 echo_v110: V.110 activated
trace file /var/log/ram/v110_trace-trace_data_in
[Oct  2 18:57:38] NOTICE[27067]: app_v110.c:336 echo_v110: V.110 activated
trace file /var/log/ram/v110_trace-trace_data_out
[Oct  2 18:57:38] NOTICE[27067]: app_v110.c:338 echo_v110: trace enabled
[Oct  2 18:57:38] NOTICE[27067]: app_v110.c:384 echo_v110: calling
external program
[Oct  2 18:57:38] NOTICE[27067]: app_v110.c:407 echo_v110: Accepting V.110
call
indali*CLI> Oct  2 18:57:38 localhost pppd[27069]: no device specified and
stdin is not a tty 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-02 12:03 tomzack        Note Added: 0111798                          
======================================================================




More information about the asterisk-bugs mailing list