Brian:<br><br>but why can't I pass "sip:" to dialplan? seems like it's being truncated by sofia.. <br>Can you confirm that? <br><br><div class="gmail_quote">On Sat, Aug 22, 2009 at 10:30 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>></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;">Remember the dialplan is agnostic... it has no clue about SIP, IAX,<br>
Jingle, H323... it routes... you have various other variables you can<br>
condition on also... route on destination_number and you'll be fine.<br>
<font color="#888888"><br>
/b<br>
</font><div class="im"><br>
On Aug 22, 2009, at 9:09 AM, Henry Huang wrote:<br>
<br>
> I fully understand how the regex works in the dialplan. If you look<br>
> closely in my original email and check out the pastebin. You will<br>
> see that sofia does not pass the "sip:" to dialplan. I can do any<br>
> combination of letters that dials from my softphone, and it will<br>
> pass them to the dialplan. but if I put "sip:" in the front of my<br>
> dial string. The "sip:" gets trunkated by sofia module so does the<br>
> "@xx.xx.xx.xx" gets trunkated before it reaches dialplan to for<br>
> regex matching. Therefore I say you can never reach the example sip<br>
> uri extension because sofia will trunkate "sip:" .<br>
<br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Henry Huang<br>UniC Solution - Communication Unified<br>VoIP & Open Source software Consultant<br>