hide caller_id_number, transfer and then change caller_id_number
Hello, I have the following problem while providing callback (mod_eventsocket is used): 1) I want to call a certain destination number A with a suppressed caller_id_number (this works fine with some vars in the origination string) 2) The destination number A picks up the phone and enters a target number B by DTMF 3) freeswitch then forwards the call to target number B by DTMF and I want to show the number A. I do this with uuid_setvar. The problem is that it still shows unknown. This is all with SIP. uuid_setvar however worked if I did not set the caller_id_number to unknown. Per default this is then "00000000000" and can then be changed with uuid_setvar to the number of A. But if I set caller_id_number to unknown I can no longer change it to A. Any hint? Best regards Peter
put origination_caller_id_number in the dial string of any call and you can set the caller id individually for that leg {origination_caller_id_number=1234}<any normal dial string> On Sun, Mar 1, 2009 at 3:38 PM, Peter P GMX <Prometheus001@gmx.net> wrote:
Hello,
I have the following problem while providing callback (mod_eventsocket is used): 1) I want to call a certain destination number A with a suppressed caller_id_number (this works fine with some vars in the origination string) 2) The destination number A picks up the phone and enters a target number B by DTMF 3) freeswitch then forwards the call to target number B by DTMF and I want to show the number A. I do this with uuid_setvar. The problem is that it still shows unknown. This is all with SIP.
uuid_setvar however worked if I did not set the caller_id_number to unknown. Per default this is then "00000000000" and can then be changed with uuid_setvar to the number of A. But if I set caller_id_number to unknown I can no longer change it to A.
Any hint?
Best regards Peter
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Hello Anthony, I do this when I orginate the call. This way we suppress the cid when we call party A and transfer A to an internal extension (our callback application). But now comes the part that does not work: After A enters the target number B (via DTMF), we set the cid variables via uuid_setvar and then transfer A via uuid_transfer to party B. However uuid_setvar does not work in that case. BUT: If we do the same scenario and do not suppress the cid in the originate part, then uuid_setvar works correctly and sets the cid_number. Best regards Peter Anthony Minessale schrieb:
put origination_caller_id_number in the dial string of any call and you can set the caller id individually for that leg
{origination_caller_id_number=1234}<any normal dial string>
On Sun, Mar 1, 2009 at 3:38 PM, Peter P GMX <Prometheus001@gmx.net <mailto:Prometheus001@gmx.net>> wrote:
Hello,
I have the following problem while providing callback (mod_eventsocket is used): 1) I want to call a certain destination number A with a suppressed caller_id_number (this works fine with some vars in the origination string) 2) The destination number A picks up the phone and enters a target number B by DTMF 3) freeswitch then forwards the call to target number B by DTMF and I want to show the number A. I do this with uuid_setvar. The problem is that it still shows unknown. This is all with SIP.
uuid_setvar however worked if I did not set the caller_id_number to unknown. Per default this is then "00000000000" and can then be changed with uuid_setvar to the number of A. But if I set caller_id_number to unknown I can no longer change it to A.
Any hint?
Best regards Peter
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org <mailto: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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400 ------------------------------------------------------------------------
_______________________________________________ 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
origination_caller_id number is not ok as a variable unless its in {} as part of the dial string it's an exception that is parsed before the channel is even created. I think you are drawing the wrong conclusion about what works and doesn't work. If you can produce a dial string that contains {origination_caller_id_number=x} you will always be able to set it. I assume you are using a recent version of FS as we did have a small bug with this variable a few weeks ago. On Mon, Mar 2, 2009 at 10:19 AM, Peter P GMX <Prometheus001@gmx.net> wrote:
Hello Anthony,
I do this when I orginate the call. This way we suppress the cid when we call party A and transfer A to an internal extension (our callback application). But now comes the part that does not work: After A enters the target number B (via DTMF), we set the cid variables via uuid_setvar and then transfer A via uuid_transfer to party B. However uuid_setvar does not work in that case.
BUT: If we do the same scenario and do not suppress the cid in the originate part, then uuid_setvar works correctly and sets the cid_number.
Best regards Peter
Anthony Minessale schrieb:
put origination_caller_id_number in the dial string of any call and you can set the caller id individually for that leg
{origination_caller_id_number=1234}<any normal dial string>
On Sun, Mar 1, 2009 at 3:38 PM, Peter P GMX <Prometheus001@gmx.net <mailto:Prometheus001@gmx.net>> wrote:
Hello,
I have the following problem while providing callback (mod_eventsocket is used): 1) I want to call a certain destination number A with a suppressed caller_id_number (this works fine with some vars in the origination string) 2) The destination number A picks up the phone and enters a target number B by DTMF 3) freeswitch then forwards the call to target number B by DTMF and I want to show the number A. I do this with uuid_setvar. The problem is that it still shows unknown. This is all with SIP.
uuid_setvar however worked if I did not set the caller_id_number to unknown. Per default this is then "00000000000" and can then be changed with uuid_setvar to the number of A. But if I set caller_id_number to unknown I can no longer change it to A.
Any hint?
Best regards Peter
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org <mailto: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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> <mailto:MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> <mailto:PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> <mailto:sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
pstn:213-799-1400 ------------------------------------------------------------------------
_______________________________________________ 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
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Hello Anthony, sorry for being tenacious but in some cases it works in a way we need it: If I a am not suppressing the cid numer when calling A, the following scenario works: * A receives a Call (originate) with CID '0000000000' (default from switch_caller.c) * A dials some digits via DTMF, the app set the cid variables via uuid_setvar and uuid_transfers the call to B. B receives a call with the right cid set. Maybe I simply modify the default cid '0000000000' to a different value in switch_caller.c? Is there a special reason why this is '0000000000'? I am using trunk version 12293. Best regards Peter Anthony Minessale schrieb:
origination_caller_id number is not ok as a variable unless its in {} as part of the dial string it's an exception that is parsed before the channel is even created.
I think you are drawing the wrong conclusion about what works and doesn't work. If you can produce a dial string that contains {origination_caller_id_number=x} you will always be able to set it.
I assume you are using a recent version of FS as we did have a small bug with this variable a few weeks ago.
On Mon, Mar 2, 2009 at 10:19 AM, Peter P GMX <Prometheus001@gmx.net <mailto:Prometheus001@gmx.net>> wrote:
Hello Anthony,
I do this when I orginate the call. This way we suppress the cid when we call party A and transfer A to an internal extension (our callback application). But now comes the part that does not work: After A enters the target number B (via DTMF), we set the cid variables via uuid_setvar and then transfer A via uuid_transfer to party B. However uuid_setvar does not work in that case.
BUT: If we do the same scenario and do not suppress the cid in the originate part, then uuid_setvar works correctly and sets the cid_number.
Best regards Peter
Anthony Minessale schrieb: > put origination_caller_id_number in the dial string of any call and > you can set the caller id individually for that leg > > {origination_caller_id_number=1234}<any normal dial string> > > > On Sun, Mar 1, 2009 at 3:38 PM, Peter P GMX <Prometheus001@gmx.net <mailto:Prometheus001@gmx.net> > <mailto:Prometheus001@gmx.net <mailto:Prometheus001@gmx.net>>> wrote: > > Hello, > > I have the following problem while providing callback (mod_eventsocket > is used): > 1) I want to call a certain destination number A with a suppressed > caller_id_number (this works fine with some vars in the > origination string) > 2) The destination number A picks up the phone and enters a target > number B by DTMF > 3) freeswitch then forwards the call to target number B by DTMF and I > want to show the number A. I do this with uuid_setvar. The problem is > that it still shows unknown. > This is all with SIP. > > uuid_setvar however worked if I did not set the caller_id_number to > unknown. Per default this is then "00000000000" and can then be > changed > with uuid_setvar to the number of A. > But if I set caller_id_number to unknown I can no longer change it > to A. > > Any hint? > > Best regards > Peter > > > > > > > _______________________________________________ > Freeswitch-users mailing list > Freeswitch-users@lists.freeswitch.org <mailto:Freeswitch-users@lists.freeswitch.org> > <mailto:Freeswitch-users@lists.freeswitch.org <mailto: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 > > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > > AIM: anthm > MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> > <mailto:MSN%3Aanthony_minessale@hotmail.com <mailto:MSN%253Aanthony_minessale@hotmail.com>> > GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> > <mailto:PAYPAL%3Aanthony.minessale@gmail.com <mailto:PAYPAL%253Aanthony.minessale@gmail.com>> > IRC: irc.freenode.net <http://irc.freenode.net> <http://irc.freenode.net> #freeswitch > > FreeSWITCH Developer Conference > sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> > <mailto:sip%3A888@conference.freeswitch.org <mailto:sip%253A888@conference.freeswitch.org>> > iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> > <http://iax:guest@conference.freeswitch.org/888> > googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> > <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org <mailto:googletalk%253Aconf%252B888@conference.freeswitch.org>> > pstn:213-799-1400 > ------------------------------------------------------------------------ > > _______________________________________________ > Freeswitch-users mailing list > Freeswitch-users@lists.freeswitch.org <mailto: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 >
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org <mailto: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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400 ------------------------------------------------------------------------
_______________________________________________ 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
On Mon, Mar 2, 2009 at 1:58 PM, Peter P GMX <Prometheus001@gmx.net> wrote:
Hello Anthony,
sorry for being tenacious but in some cases it works in a way we need it: If I a am not suppressing the cid numer when calling A, the following scenario works:
* A receives a Call (originate) with CID '0000000000' (default from switch_caller.c) * A dials some digits via DTMF, the app set the cid variables via uuid_setvar and uuid_transfers the call to B. B receives a call with the right cid set.
Maybe I simply modify the default cid '0000000000' to a different value in switch_caller.c? Is there a special reason why this is '0000000000'?
Check vars.xml to confirm that you have actually set a default caller ID. Most likely you'll still have the default caller id number set to all zeroes, which is the default. -MC
I am using trunk version 12293.
Best regards Peter
Since you did not describe the exact way you are doing it with enough detail or any trace I can't begin to tell you what your problem is. you did not even mention what variable you are using or show examples. All I can do is tell you again that if you set the origination_caller_id_number in the dial string it will be the most likely to work for you. On Mon, Mar 2, 2009 at 4:08 PM, Michael Collins <msc@freeswitch.org> wrote:
On Mon, Mar 2, 2009 at 1:58 PM, Peter P GMX <Prometheus001@gmx.net> wrote:
Hello Anthony,
sorry for being tenacious but in some cases it works in a way we need it: If I a am not suppressing the cid numer when calling A, the following scenario works:
* A receives a Call (originate) with CID '0000000000' (default from switch_caller.c) * A dials some digits via DTMF, the app set the cid variables via uuid_setvar and uuid_transfers the call to B. B receives a call with the right cid set.
Maybe I simply modify the default cid '0000000000' to a different value in switch_caller.c? Is there a special reason why this is '0000000000'?
Check vars.xml to confirm that you have actually set a default caller ID. Most likely you'll still have the default caller id number set to all zeroes, which is the default.
-MC
I am using trunk version 12293.
Best regards Peter
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
participants (3)
-
Anthony Minessale
-
Michael Collins
-
Peter P GMX