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

2009-08-22 Thread Henry Huang
Hi: I try to dial sip url from my softphone but seems like the sip address is being processed by sofia before it pass to the dialplan. The example here is : *X-lite(softphone) dials - 1...@4.2.2.2 (it's fake sip address, the purpose was just to test what's being passed to dialplan) sofia

Re: [Freeswitch-users] Media Not Heard When Bridging 2 Calls with same Gateway

2009-08-22 Thread Matthew Fong
So there seems to be some sort of error when bridging directly like originate {ignore_early_media=true}sofia/gateway/.com/91415992http://epik.com/914159927717 bridge(sofia/gateway/.com/91415465 http://epik.com/914154650027 ) BUT if I get FS to send media to leg A, and then

Re: [Freeswitch-users] zombie channels

2009-08-22 Thread Woody Dickson
Hi I checked and there is no looping in cdr. Also, only a very small percentage of the channels become zombie. What could cause fs to not releasing the channels? Also, it seems to happen on under high traffic. Could the fact that FS does not receive BYE or BYE timing out on the uac side may

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

2009-08-22 Thread Michael Jerris
No, you don't get the full sip uri in the dialplan like that. You do have a whole bunch of variables of the parsed sip header you can use. Use the info application to see all the vars so you can see what you have to route the call on. Mike On Aug 22, 2009, at 2:40 AM, Henry Huang

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

2009-08-22 Thread Henry Huang
It that case, the example of dialing sip_uri in the dialplan/default.xml should be removed to prevent confusion. Because according to what you said, one can never be able to hit this extension: !-- dial via SIP uri -- extension name=sip_uri condition field=destination_number

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

2009-08-22 Thread Jason White
Henry Huang red.rain.se...@gmail.com wrote: It that case, the example of dialing sip_uri in the dialplan/default.xml should be removed to prevent confusion. Because according to what you said, one can never be able to hit this extension: It is entirely possible to reach this extension, but

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

2009-08-22 Thread Henry Huang
Jason: 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.

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

2009-08-22 Thread Michael Jerris
a call coming from sofia would never hit that in the dialplan. That extension is useful for dialing a sip url from mod_portaudio. Mike On Aug 22, 2009, at 10:09 AM, Henry Huang wrote: Jason: I fully understand how the regex works in the dialplan. If you look closely in my original email

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

2009-08-22 Thread Brian West
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

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

2009-08-22 Thread Henry Huang
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 br...@freeswitch.org wrote: Remember the dialplan is agnostic... it has no clue about SIP, IAX, Jingle, H323... it routes... you have

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

2009-08-22 Thread Brian West
Because the dial plan is technology agnostic... you have been told more than once it won't pass it to the dialplan from mod_sofia... /b On Aug 22, 2009, at 9:46 AM, Henry Huang wrote: Brian: but why can't I pass sip: to dialplan? seems like it's being truncated by sofia.. Can you

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

2009-08-22 Thread Henry Huang
Brian: Sorry, it's my English. I didn't understand what you meant by agnostic back there. Now I know. Thank you. On Sat, Aug 22, 2009 at 10:59 PM, Brian West br...@freeswitch.org wrote: Because the dial plan is technology agnostic... you have been told more than once it won't pass it to the

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

2009-08-22 Thread Henry Huang
Brian: Oh, and again, if it's not passing it to the dialplan. I had suggested to remove the sample sip uri extension in the default.xml dialplan. because no one can reach the dialplan with prefix sip: because sofia is going to remove that prefix. !-- dial via SIP uri -- extension

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

2009-08-22 Thread Brian West
You were told already this was used by mod_portaudio. So that you can pa call sip:b...@domain.com which portaudio passes the exact string you dial with pa call to the dialplan. /b On Aug 22, 2009, at 10:07 AM, Henry Huang wrote: Brian: Oh, and again, if it's not passing it to the

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

2009-08-22 Thread Michael Collins
On Sat, Aug 22, 2009 at 8:07 AM, Henry Huang red.rain.se...@gmail.comwrote: Brian: Oh, and again, if it's not passing it to the dialplan. I had suggested to remove the sample sip uri extension in the default.xml dialplan. because no one can reach the dialplan with prefix sip: because sofia

[Freeswitch-users] Problem with cnam.js?

2009-08-22 Thread Lars Zeb
I think there's something wrong with the script at http://wiki.freeswitch.org/wiki/Examples_cnam.js. If you use it as is, it displays Content-type: text/html for the effective_caller_id_name. In cnam.pl, the first two output lines are generated by: if (!$debug) {print Content-type:

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

2009-08-22 Thread Henry Huang
Michael: Thank you for making it in for dummies format. :P These are really nice tips I can use. thanks. On Sat, Aug 22, 2009 at 11:35 PM, Michael Collins m...@freeswitch.orgwrote: On Sat, Aug 22, 2009 at 8:07 AM, Henry Huang red.rain.se...@gmail.comwrote: Brian: Oh, and again, if it's

Re: [Freeswitch-users] zombie channels

2009-08-22 Thread Anthony Minessale
Yes try enabling session timers On Aug 22, 2009 3:10 AM, Woody Dickson woodydick...@gmail.com wrote: Hi I checked and there is no looping in cdr. Also, only a very small percentage of the channels become zombie. What could cause fs to not releasing the channels? Also, it seems to happen on

[Freeswitch-users] SIP codec preference order

2009-08-22 Thread Muhammad Shahzad
Hi, I have a FS gateway (SVN revision 14537) that is is receiving SIP calls from different source gateways and sending it to one single destination gateway. Now each source gateway can talk in one specific codec and FS itself is not doing any transcoding. So i enabled all possible codecs that

Re: [Freeswitch-users] SIP codec preference order

2009-08-22 Thread Brian West
Can you provide a little bit of log detail? /b On Aug 22, 2009, at 3:53 PM, Muhammad Shahzad wrote: Can you guys suggest why it is happening and what are the possible solutions, other then transcode of course. ___ FreeSWITCH-users mailing list

Re: [Freeswitch-users] SIP codec preference order

2009-08-22 Thread Muhammad Shahzad
i just upgraded it to 14599 and its working fine now. Thank you. On Sun, Aug 23, 2009 at 2:07 AM, Brian West br...@freeswitch.org wrote: Can you provide a little bit of log detail? /b On Aug 22, 2009, at 3:53 PM, Muhammad Shahzad wrote: Can you guys suggest why it is happening and what

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

2009-08-22 Thread Kevin Green
X-lite I believe handles the sip: by itself sometime and therefore will try and place a call to the sip address directly from x-lite without touching FreeSWITCH. Be aware of this while testing and watch for this behavior because it might throw off your expectations. Regards, Kevin Green On

Re: [Freeswitch-users] MFC-R2 support for FreeSWITCH

2009-08-22 Thread Diego Viola
Nice work, keep up the great work :). On Fri, Aug 21, 2009 at 6:29 PM, Moises Silvamoises.si...@gmail.com wrote: So, I finally took some days to put up OpenR2 working with OpenZAP, which means FreeSWITCH now supports MFC-R2 for all variants that OpenR2 has support for. Including Mexico,