Antwort: Re: [Asterisk-Dev] "connected number" feedback
Steve Kann
stevek at stevek.com
Thu Mar 10 07:32:32 MST 2005
Roman Sidler wrote:
>
>
>
>Roman Sidler wrote:
>
>
>
>>>Is there any concept how to return the connected number for answered
>>>
>>>
>calls?
>
>
>>>On intensive dial plan usage the connected peer can differ from the
>>>
>>>
>dialed
>
>
>>>extension.
>>>
>>>
>
>Kevin P. Fleming wrote:
>
>
>>Yes, I have some plans to allow for connected number
>>presentation/restriction. However, they are pretty far down on my list
>>of priorities right now, as they will require some fairly invasive
>>
>>
>changes.
>
>I made a trial with the field dnid(cvs head: cid_dnid), part of struct
>ast_channel. Per default it has the
>value of the dialed extension. Then I feed back this value on
>xxx_indicate()* by replacing the default value.
>So the real dialed extension is filled in on the "last" protocol in the
>chain.
>
>It works, and doesn't seem to be so ugly. What do you think?
>
>
Doesn't this cause information to be lost: I.e. you lose the dialed
number, but gain the connected "number"?
Seems like you'd want to add a new field instead, right?
-SteveK
More information about the asterisk-dev
mailing list