Brian: but why can't I pass "sip:" to dialplan? seems like it's being truncated by sofia.. Can you confirm that? On Sat, Aug 22, 2009 at 10:30 PM, Brian West <brian@freeswitch.org> wrote:
Remember the dialplan is agnostic... it has no clue about SIP, IAX, Jingle, H323... it routes... you have various other variables you can condition on also... route on destination_number and you'll be fine.
/b
On Aug 22, 2009, at 9:09 AM, Henry Huang wrote:
I fully understand how the regex works in the dialplan. If you look closely in my original email and check out the pastebin. You will see that sofia does not pass the "sip:" to dialplan. I can do any combination of letters that dials from my softphone, and it will pass them to the dialplan. but if I put "sip:" in the front of my dial string. The "sip:" gets trunkated by sofia module so does the "@xx.xx.xx.xx" gets trunkated before it reaches dialplan to for regex matching. Therefore I say you can never reach the example sip uri extension because sofia will trunkate "sip:" .
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Henry Huang UniC Solution - Communication Unified VoIP & Open Source software Consultant