<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I don't get what you're doing here..&nbsp;effective_caller_id_number and origination_caller_id_number depending on if you're originating or if you're doing a bridge. &nbsp;I have verified they work. &nbsp;Can you elaborate on your situation because you shouldn't have to go digging in the code for this.<div><br></div><div>/b</div><div><br><div><html>On Jun 12, 2008, at 2:10 AM, Nick Temple wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite"><br>I see where the caller_id_number is being set in:<br>switch_core_session_outgoing_channel<br><br>However my tests are showing that <br><br>It looks like in&nbsp; , this test is returning false (no session):<br><br>&nbsp;if (session) {<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ....<br>&nbsp;}<br><br>hence it appears that the caller_id_number part of the struct is not being set from th effective_caller_id_number. Later in the code it's looking for a channel if (channel) { .... }, which is also null, making the entire function pretty much a no-op in this case.<br> <br>Am I even looking in the right place?<br><br>Thanks,<br><br>Nick<br><br><br><br><br><br><br><br><br><br><div class="gmail_quote">On Wed, Jun 11, 2008 at 9:28 PM, Brian West &lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div><div><br><div><div>On Jun 11, 2008, at 8:18 PM, Nick Temple wrote:</div><br><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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;">call = "{ignore_early_media=true,originate_timeout=30}sofia/gateway/<a href="http://sip.gafachi.com/1XXXXXXXXXX" target="_blank">sip.gafachi.com/1XXXXXXXXXX</a>";</span></blockquote> </div><br><div><br></div></div><div>Try to export instead of set. &nbsp;The variable isn't on the b-leg so you actually have it set on the a-leg or you can try this which should be documented rather well on the wiki:</div> <div><br></div><div>call = "{effective_caller_id_number=12345,ignore_early_media=true,originate_timeout=30}sofia/gateway/<a href="http://sip.gafachi.com/1XXXXXXXXXX" target="_blank">sip.gafachi.com/1XXXXXXXXXX</a>";</div> <div><br></div><font color="#888888"><div>/b</div><div><br></div></font></div><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> <br></blockquote></div><br> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Brian West</div><div><a href="sip:brian@freeswitch.org">sip:brian@freeswitch.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline"> </div><br></div></body></html>