<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 , this test is returning false (no session):<br><br> if (session) {<br>
....<br> }<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 <<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. 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>