[OpenWrt-Devel] lantiq vr9 and fxs
Eddi De Pieri
eddi at depieri.net
Tue Nov 11 10:10:30 EST 2014
Hi again,
asterisk:
set debug output on console
console => notice,warning,error,debug
so, all software recognize correctly the correct port....
[Nov 11 15:08:06] DEBUG[894]: chan_lantiq.c:835 lantiq_dev_event_hook: on
port 0 detected event off hook
[Nov 11 15:08:10] DEBUG[894]: chan_lantiq.c:835 lantiq_dev_event_hook: on
port 0 detected event on hook
[Nov 11 15:08:24] DEBUG[894]: chan_lantiq.c:835 lantiq_dev_event_hook: on
port 1 detected event off hook
[Nov 11 15:08:26] DEBUG[894]: chan_lantiq.c:835 lantiq_dev_event_hook: on
port 1 detected event on hook
but both owsip and asterisk route call to TAPI/1 (and never TAPI/2)
Regards
Eddi
On Mon, Nov 10, 2014 at 9:30 PM, Eddi De Pieri <eddi at depieri.net> wrote:
> - tapidemo -d 1: (tapidemo-5.1.0.53)
>
> phone1 connected:
> [...]
> EASY80910: Detected event on channel 0:
> ID: 0x20000005 (IFX_TAPI_EVENT_FXS_OFFHOOK)
> [...]
>
> phone2 connected:
> EASY80910: Detected event on channel 1:
> ID: 0x20000005 (IFX_TAPI_EVENT_FXS_OFFHOOK)
> Phone No 2: Event on DevIDX 0, PhoneCh 1, DataCh 1:
> 0x20000005 (IFX_TAPI_EVENT_FXS_OFFHOOK)
> Phone No 2: Off-Hook detected.
> Phone No 2: FXS state: S_READY FXS event: IE_HOOKOFF
> Phone No 2: Line mode changed to IFX_TAPI_LINE_FEED_ACTIVE
> Phone No 2: DTMF detection started on EASY80910, DataCh 1, fd 5
> Phone No 2: LEC started on EASY80910, PhoneCh 1
> Phone No 2: Play Dialtone.
> Phone No 2: Handling state executed, current FXS state: S_OUT_DIALTONE
> EASY80910: Detected event on channel 1:
> ID: 0x20000004 (IFX_TAPI_EVENT_FXS_ONHOOK)
> Phone No 2: Event on DevIDX 0, PhoneCh 1, DataCh 1:
> 0x20000004 (IFX_TAPI_EVENT_FXS_ONHOOK)
> Phone No 2: On-Hook detected.
> Phone No 2: FXS state: S_OUT_DIALTONE FXS event: IE_HOOKON
> Phone No 2: TAPIDEMO_ClearPhone.
> Phone No 2: DTMF detection stopped on EASY80910, data ch 1, fd 5
> Phone No 2: LEC stopped on EASY80910, phone ch 1
> Phone No 2: Line mode changed to IFX_TAPI_LINE_FEED_STANDBY
> Phone No 2: Handling state executed, current FXS state: S_READY
> EASY80910: Detected event on channel 1:
> ID: 0x33000002 (IFX_TAPI_EVENT_TONE_GEN_END)
> Phone No 2: Event on DevIDX 0, PhoneCh 1, DataCh 1:
> 0x33000002 (IFX_TAPI_EVENT_TONE_GEN_END)
>
> - owsip + pjsip:
> it start even if this device have >32mb ram
>
> no difference between phone1 and phone2 connected...
> it works but but you have two connectors that seen just one fxs line
>
> - asterisk + chan_lantiq:
>
> no difference between phone1 and phone2 connected...
> it works but but you have two connectors that seen just one fxs line
>
> Stay tuned...
>
> Let me know it this piece of log may help to understand how to patch owsip
> and/or asterisk
>
> Regards
>
> On Tue, Oct 21, 2014 at 11:44 PM, Eddi De Pieri <eddi at depieri.net> wrote:
>
>> I've managed to get FXS working on my vgv7519 vr9 router using
>> asterisk-chan-lantiq.
>>
>> busy/free tone ok
>> chan-lantiq to sip ok
>> sip to chan-lantiq to test.
>>
>> I need to do some other tests before start to release code for BB...
>>
>> Eddi
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20141111/c58114ac/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list