<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thats why you set origination_caller_id_number inside the {} along side the ingore_early_media=true<div><br></div><div>You shouldn't use setCallerData and in fact that shouldn't be exposed because it'll wreck havoc with billing if you don't know what you're doing.</div><div><br></div><div>/b</div><div><br></div><div><br><div><div>On Oct 7, 2008, at 10:44 PM, Marc Orenberg wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: verdana; font-size: 13px; 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="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">session = Session("{ignore_early_media=true}sofia/gateway/" + SIP_CARRIER + "/" + phone_number)<br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Unfortunately, I need to be able to set the caller id before making the call, and I don't think I can do that when I start dialing the call at the same time that I create the new session.</div></span></blockquote></div><br></div></body></html>