[asterisk-dev] Propagation of cidnum/cidname to the called party in Originate cmd (22.214.171.124)
prince at drishti-soft.com
Thu Dec 31 01:04:26 CST 2009
In the Dial application (app_dial.c) there is an option 'o' to control
forwarding of the callerid from the calling(A) channel to the called(B)
channel. See what it does.
Is there any call to 'ast_set_callerid' in your scenario ?
enum value OPT_ORIGINAL_CLID corrosponds to the Dial option 'o'
Does this help?
Drishti-Soft Solutions Pvt Ltd
On Wed, Dec 30, 2009 at 11:42 PM, Pavel Troller <patrol at sinus.cz> wrote:
> I'm trying to improve the Originate CLI command to be able to pass a
> and name to the A-party of the call. I've successfully modified
> res_clioriginate.c to accept two more arguments on the command line, with
> number and name. It's working well.
> HOWEVER, it has a drawback. Now, the number and name entered is
> also to the B-side of the call, which is unneeded and unwanted. Without the
> num/name, A-party gets empty number and name of "Asterisk" and B-party gets
> correct number and name of A-party. With the number/name entered, both
> are getting them.
> How to prevent this unneeded propagation ? I was unable to find the
> code which is causing this :-(.
> With regards, Pavel
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-dev