View previous topic :: View next topic |
Author |
Message |
yivzhenko at mksat.net Guest
|
Posted: Thu Jun 04, 2009 6:03 am Post subject: [Freeswitch-users] mod_lcr caller id |
|
|
Hello.
I have another problem with setting caller id with cid field.
command lcr has parameter [caller_id].
and if i call lcr from the commandline it works fine,
but if i call lcr from dialplan it ignores this parameter and use original caller id from caller.
my cid field = /^(.*)$/999$1/
If i call lcr from the commandline
lcr 444555 default 11111
lcr return origination_caller_id_number=99911111
but if i call lcr from dialplan
<action application="lcr" data="444555 default 11111"/>
lcr return origination_caller_id_number=9991002
1002 is a original caller id number
There is a way to use this parameter from dialplan?
Yuriy |
|
Back to top |
|
|
rupa at rupa.com Guest
|
Posted: Thu Jun 04, 2009 7:59 am Post subject: [Freeswitch-users] mod_lcr caller id |
|
|
The API mthod of setting the callerid is really for testing purposes. Since you have no callerid from the FS command line interface I added a parameter you can pass to specify the CID.
When in the dialplan you actually have the CID, so none is used.
mod_lcr is just grabbing the callerid on the channel. I assme this is not the base callerid you want passed to the sip provider?
On Thu, Jun 4, 2009 at 6:02 AM, Yuriy Ivzhenko <yivzhenko@mksat.net (yivzhenko@mksat.net)> wrote:
--
-Rupa |
|
Back to top |
|
|
yivzhenko at mksat.net Guest
|
Posted: Thu Jun 04, 2009 8:15 am Post subject: [Freeswitch-users] mod_lcr caller id |
|
|
On Thursday 04 June 2009 15:54:24 Rupa Schomaker wrote:
Quote: | The API mthod of setting the callerid is really for testing purposes.
Since you have no callerid from the FS command line interface I added a
parameter you can pass to specify the CID.
When in the dialplan you actually have the CID, so none is used.
mod_lcr is just grabbing the callerid on the channel. I assme this is not
the base callerid you want passed to the sip provider?
| Yes, there is internal callerid on the channel. I have external (PSTN) number, associated with this internal number. And i need to pass them to provider. |
|
Back to top |
|
|
rupa at rupa.com Guest
|
Posted: Thu Jun 04, 2009 9:00 am Post subject: [Freeswitch-users] mod_lcr caller id |
|
|
Update to at least rev 13611 and mod_lcr will check "effective_caller_id_number" prior to the real callerid on the channel. This works in the same way that bridge does so no surprises.
On Thu, Jun 4, 2009 at 8:15 AM, Yuriy Ivzhenko <yivzhenko@mksat.net (yivzhenko@mksat.net)> wrote:
--
-Rupa |
|
Back to top |
|
|
yivzhenko at mksat.net Guest
|
Posted: Thu Jun 04, 2009 9:27 am Post subject: [Freeswitch-users] mod_lcr caller id |
|
|
Impressive!!!
On Thursday 04 June 2009 16:57:52 Rupa Schomaker wrote:
Quote: | Update to at least rev 13611 and mod_lcr will check
"effective_caller_id_number" prior to the real callerid on the channel.
This works in the same way that bridge does so no surprises.
On Thu, Jun 4, 2009 at 8:15 AM, Yuriy Ivzhenko <yivzhenko@mksat.net> wrote:
Quote: | On Thursday 04 June 2009 15:54:24 Rupa Schomaker wrote:
Quote: | The API mthod of setting the callerid is really for testing purposes.
Since you have no callerid from the FS command line interface I added a
parameter you can pass to specify the CID.
When in the dialplan you actually have the CID, so none is used.
mod_lcr is just grabbing the callerid on the channel. I assme this is
not
the base callerid you want passed to the sip provider?
|
Yes, there is internal callerid on the channel. I have external (PSTN)
number, associated with this internal number. And i need to pass them to
provider.
_______________________________________________
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
|
|
|
|
Back to top |
|
|
|