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

Henry Huang red.rain.seven at gmail.com
Sat Aug 22 07:46:14 PDT 2009


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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090822/dd7b0489/attachment-0002.html 


More information about the FreeSWITCH-users mailing list