[Freeswitch-users] Forked dialing with different channelvars set...

Brian West brian at freeswitch.org
Thu Jun 5 22:23:50 PDT 2008


Try this.. i'm kinda shocked you didn't see us talking about this over  
and over in the pasty 24 hours.  You'll need to make sure you're on  
the latest code for this:

<action application="bridge"  
data="[effecitive_caller_id_number=1234]sofia/blah/blah, 
[effective_caller_id_number=55555]sofia/blah/blah"/>

/b



> On Jun 5, 2008, at 10:53 PM, Rupa Schomaker (lists) wrote:

> I have a seemingly simple problem that I can't figure out how to  
> implement.
>
> Simplified Problem:
>
> I'd like to have my cell phone and my deskphone ring at the same time.
> This seems simple, but there is a small caveat.  I need to have a
> channel variable set differently for my cellphone.
>
> Specifically: voicepulse requires you to have the caller id number and
> caller id name set to the number in order to pass it on to the  
> PSTN.  I
> want to see the callerid name on my deskphone however.
>
> ===
>
> Ok, normally, I'd just do a:
>
> <action application="bridge"
> data="sofia/internal/101%$${domain},sofia/gateway/voicepulse/$$ 
> {cellnumber}"/>
>
> but then my cell phone shows Unknown or Blocked when receiving the  
> call.
>
> If prior to that I do:
>
> <action application="set"
> data="effective_caller_id_name=${caller_id_number}"/>
>
> Then I get the correct callerid on my cell, but only the callerid  
> number
> on my deskphone.
>
> I asked on #freeswitch and had some hints, but they either went over  
> my
> head or I didn't communicate my problem right.
>
> Using multiple extension entries with continue="yes" doesn't seem to
> execute them in parallel (so the deskphone and the cell don't ring at
> the same time).
>
> The "obvious" answer is how I implemented this in asterisk -- and  
> maybe
> that is my problem, thinking in terms of asterisk.
>
> The bridge equivalent would be the dial() app.  This allows me to dial
> back into the dialplan if I use the "local" channel.  This gives a  
> level
> of indirection that would then let me modify the channelvars as  
> necessary.
>
> The only way I can see to "call" back into the dialplan is to use the
> transfer application.  But that can't do multiple extensions in  
> parallel
> so doesn't solve my problem.
>
> What am I missing?
>
> -Rupa
>
> _______________________________________________
> 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





More information about the FreeSWITCH-users mailing list