[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    Re: [asterisk-dev] Propagation of cidnum/cidname to the called
From:       Prince Singh <prince () drishti-soft ! com>
Date:       2009-12-31 7:16:26
Message-ID: 626964fc0912302304g7a847b7dg37084a84d7736754 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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?

-- 
Regards,
Prince Singh
Drishti-Soft Solutions Pvt Ltd

On Wed, Dec 30, 2009 at 11:42 PM, Pavel Troller <patrol@sinus.cz> wrote:

> Hi!
>  I'm trying to improve the Originate CLI command to be able to pass a
> number
> 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
> the
> number and name. It's working well.
>  HOWEVER, it has a drawback. Now, the number and name entered is
> propagating
> 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
> parties
> are getting them.
>  How to prevent this unneeded propagation ? I was unable to find the
> program
> 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:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>

[Attachment #5 (text/html)]

In the Dial application (app_dial.c) there is an option &#39;o&#39; to control \
forwarding of the callerid from the calling(A) channel to the called(B) channel. See \
what it does.<br><br>Is there any call to &#39;ast_set_callerid&#39; in your scenario \
?<br> enum value OPT_ORIGINAL_CLID corrosponds to the Dial option \
&#39;o&#39;<br><br><br>Does this help?<br><br>-- <br>Regards,<br>Prince \
Singh<br>Drishti-Soft Solutions Pvt Ltd<br><br><div class="gmail_quote">On Wed, Dec \
30, 2009 at 11:42 PM, Pavel Troller <span dir="ltr">&lt;<a \
href="mailto:patrol@sinus.cz">patrol@sinus.cz</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;">Hi!<br>  I&#39;m trying to improve the Originate CLI \
command to be able to pass a number<br> and name to the A-party of the call. I&#39;ve \
successfully modified<br> res_clioriginate.c to accept two more arguments on the \
command line, with the<br> number and name. It&#39;s working well.<br>
  HOWEVER, it has a drawback. Now, the number and name entered is propagating<br>
also to the B-side of the call, which is unneeded and unwanted. Without the<br>
num/name, A-party gets empty number and name of &quot;Asterisk&quot; and B-party \
gets<br> correct number and name of A-party. With the number/name entered, both \
parties<br> are getting them.<br>
  How to prevent this unneeded propagation ? I was unable to find the program<br>
code which is causing this :-(.<br>
<br>
  With regards, Pavel<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" \
target="_blank">http://www.api-digital.com--</a><br> <br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" \
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br> \
</blockquote></div><br><br clear="all"><br><br><br>



_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic