David Cook wrote: > I tried implementing my * and it didn't pass the spouse factor at this > time. I wanted to hook it up for outbound only at this point to get a > better handle on the dial plans and the echo problem. > > I thought this might have been done before as a natural part of > testing - but maybe not. > > In wcfxo.c I found this: > if (!wc->offhook && !wc->ringdebounce) { > if (!wc->ring && (wc->pegcount > PEGCOUNT)) { > /* It's ringing */ > if (debug) > printk("RING!\n"); > zt_hooksig(&wc->chan, ZT_RXSIG_RING); > wc->ring = 1; > } > if (wc->ring && !wc->pegcount) { > /* No more ring */ > if (debug) > printk("NO RING!\n"); > zt_hooksig(&wc->chan, ZT_RXSIG_OFFHOOK); > wc->ring = 0; > } > } > > Is changing the wc->ring = 1 to 0 an appropriate place to "fix" this > for outbound-only operation? > > dbc.
In zapata.conf: .. signalling=fxs_ks context=spouse-factor channel => 1 .. In extensions.conf: .. [spouse-factor] exten => s,1,NoOp(${CALLERID}) [next-context] .. No Wait() or Answer() so the line will never be answered but incoming callerid will be in the log/cdr... :-) /Soren _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users