[asterisk-users] dialed peer number

Vieri rentorbuy at yahoo.com
Thu Aug 30 14:40:17 CDT 2007


--- Atis <atis at BEST.eu.org> wrote:

> On 8/30/07, Vieri <rentorbuy at yahoo.com> wrote:
> > However, I'm still having some trouble trying to
> > understand why Asterisk does not log the ZAP
> number as
> > is otherwise the case for SIP. A description of
> this
> > problem is at:
> >
>
http://lists.digium.com/pipermail/asterisk-users/2007-August/193645.html
> > I could get around the problem by knowing how to
> tweak
> > lastapp or lastdata but I still didn't get the
> trick.
> > Anyway, thank you for your feedback.
> 
> You can always use different extension in
> custom-NOTIFY, it doesn't
> have to be "s". It can be extension you are sending
> call to or
> anything else. And if this one is not enough, you
> can set some
> variables in call file and use them from dialplan
> (and append it to
> CDR). As you are using CSV for CDR, appending custom
> fields should pe
> as simple as Set(CDR(myfield)=${value}).

I see...
Thanks Atis.
I'll try specifying in the call file:
Channel: Zap/g1/7000
Extension: 7000
and in custom-NOTIFY, instead of s will try using a
pattern like exten => _7XXX,...



       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/



More information about the asterisk-users mailing list