[Freeswitch-users] can't pass full sip url to dialplan

Brian West brian at freeswitch.org
Sat Aug 22 07:30:14 PDT 2009


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:" .





More information about the FreeSWITCH-users mailing list