<br><div class="gmail_quote"><div>Hello David,<br><br>thank you for your answer.<br><br>I have solved it by using the <u><b>sip_from_uri</b></u> parameter in the originate command like this.<br><br>originate {sip_from_uri=<a href="mailto:sip%3A55555555@123.123.123.123">sip:55555555@123.123.123.123</a>}sofia/gateway/Test/44444444 &amp;park()<br>
<br>The caller Id is now changed to 55555555.<br><br>Regards<br>Ali<br><br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">---------- Weitergeleitete Nachricht ----------<br>
From: David Ponzone &lt;<a href="mailto:david.ponzone@gmail.com">david.ponzone@gmail.com</a>&gt;<br>To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
Date: Mon, 19 Jul 2010 14:33:47 +0200<br>Subject: Re: [Freeswitch-users] How to change Header (From value) while originate<br><div style="word-wrap: break-word;">You should try to set sip_cid_type=none on the outbound leg.<div>
And also, you will probably need this in the gateway config:</div><div>&lt;param name=&quot;caller-id-in-from&quot; value=&quot;true&quot;/&gt;</div><div><br><div> <div style="word-wrap: break-word; font-size: 14px;"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<div><font face="&#39;Helvetica Neue&#39;"><font color="#1c00ff">David Ponzone  </font><font color="#000000" size="3"><span style="font-size: 12px;">Direction Technique</span></font></font></div><div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size: 13px;">email: <a href="mailto:david.ponzone@ipeva.fr" target="_blank">david.ponzone@ipeva.fr</a></span></font></font></div>
<div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size: 13px;">tel:      01 74 03 18 97</span></font></font></div><div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size: 13px;">gsm:   06 66 98 76 34</span></font></font></div>
<div><font face="&#39;Helvetica Neue&#39;"><br></font></div><div><font color="#1c00ff" face="&#39;Helvetica Neue&#39;">Service Client<span> </span></font><font face="&#39;Helvetica Neue&#39;"><font color="#ff0000">IP</font></font><font color="#1c00ff" face="&#39;Helvetica Neue&#39;">eva</font></div>
<div><font color="#1c00ff" face="&#39;Helvetica Neue&#39;"><span style="color: rgb(0, 0, 0); font-family: Helvetica;"><div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size: 13px;">tel:      0811 46 26 26</span></font></font></div>
<div><font face="&#39;Helvetica Neue&#39;" size="3"><span style="font-size: 13px;"><div style="margin: 0px; color: rgb(0, 34, 243);"><span style="text-decoration: underline;"><a>www.ipeva.fr</a></span><span style="color: rgb(101, 104, 149);">  -   <span style="color: rgb(0, 34, 243); text-decoration: underline;"><a>www.ipeva-studio.com</a></span></span></div>
<div style="margin: 0px; color: rgb(0, 34, 243);"><span style="text-decoration: underline;"><br></span></div><div style="margin: 0px; color: rgb(0, 34, 243);"><span><div style="margin: 0px; text-align: justify; color: rgb(192, 192, 192);">
<i>Ce message et toutes les pièces jointes sont confidentiels et établis à l&#39;intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d&#39;altération. </i><b><i>IPeva</i></b><i> décline toute responsabilité au titre de ce message s&#39;il a été altéré, déformé ou falsifié. Si vous n&#39;êtes pas destinataire de ce message, merci de le détruire immédiatement et d&#39;avertir l&#39;expéditeur.</i></div>
<div style="text-decoration: underline; text-align: justify;"><font color="#c0c0c0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br></div><br> </div><br><div><div>Le 19/07/2010 à 14:18, Durmuş Ali Öztürk a écrit :</div>
<br><blockquote type="cite">Hello,<br><br>Using the <b>origination_caller_id_number </b>while doing a outbound call with the originate command has no effect of the caller Id.<br><br>Because, our VoIP provider demands the caller ID into the From tag (From: &lt;originator@domain&gt;) of the SIP header, the <u>Remote-Party-ID</u> and <u>P-Asserted-Identity</u> will be ignored.<br>
 <br>Is there an alternative way to manipulate the From field value (which is taken from the username of a gateway profile by default)? Maybe another parameter in a originate command?<br><br>Thank you for your answer.<br>
<br> Ali<br> _______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div></div><br><br>---------- Weitergeleitete Nachricht ----------<br>From: David Allen &lt;<a href="mailto:david@virtutel.com.au">david@virtutel.com.au</a>&gt;<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Date: Mon, 19 Jul 2010 23:18:19 +1000<br>Subject: [Freeswitch-users] Multiple CDRS for Bridged calls from an IVR<br>Hi,<br>
<br>
I have written an IVR that prompts a user to Enter a Number and then the call is bridged to a particular gateway. If the user wishes to end the call early I have set the bridge_terminate_key=# variable and continue_on_fail=NORMAL_TEMPORARY_FAILURE so the dial plan continues which loops back to the IVR. For collection of CDRs, I&#39;m using XML-CDR.<br>

<br>
The problem I&#39;m having is that each call bridged to the gateway is not producing an individual CDR record and is instead adding the CDR information as additional records under callflow in the XML when the call to the IVR is finally terminated, instead of when each bridged call is terminated. I need to get the CDR information as the call is terminated for credit control purposes or in otherwords when the bridge is termated for XML-CDR to post the calls CDR.<br>

<br>
I have looked on the Freeswitch site for a solution to this and I have not. Is there a way that I can get information when each call ends? Hopefully someone will be able to help with this question.<br>
<br>
Thanks<br>
David<br>
<br>
<br>
<br>
<br>
<br><br>---------- Weitergeleitete Nachricht ----------<br>From: Steven Ayre &lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;<br>To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
Date: Mon, 19 Jul 2010 18:14:18 +0100<br>Subject: Re: [Freeswitch-users] Multiple CDRS for Bridged calls from an IVR<br>Try setting log-b-leg to true in xml_cdr.conf.xml, that should then generate CDRs for both the incoming call (aleg) and the outgoing calls from the bridge (bleg)<br>
<br>You can match them using the UUID, and identify whether a CDR is an a-leg or b-leg from the value of &lt;direction&gt; (it will be either inbound or outbound).<br>
<br>Hope that helps.<br><br>-Steve<br><br><br><div class="gmail_quote">On 19 July 2010 14:18, David Allen <span dir="ltr">&lt;<a href="mailto:david@virtutel.com.au" target="_blank">david@virtutel.com.au</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
I have written an IVR that prompts a user to Enter a Number and then the<br>
call is bridged to a particular gateway. If the user wishes to end the<br>
call early I have set the bridge_terminate_key=# variable and<br>
continue_on_fail=NORMAL_TEMPORARY_FAILURE so the dial plan continues<br>
which loops back to the IVR. For collection of CDRs, I&#39;m using XML-CDR.<br>
<br>
The problem I&#39;m having is that each call bridged to the gateway is not<br>
producing an individual CDR record and is instead adding the CDR<br>
information as additional records under callflow in the XML when the<br>
call to the IVR is finally terminated, instead of when each bridged call<br>
is terminated. I need to get the CDR information as the call is<br>
terminated for credit control purposes or in otherwords when the bridge<br>
is termated for XML-CDR to post the calls CDR.<br>
<br>
I have looked on the Freeswitch site for a solution to this and I have<br>
not. Is there a way that I can get information when each call ends?<br>
Hopefully someone will be able to help with this question.<br>
<br>
Thanks<br>
David<br>
<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>