Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] mod_lcr caller id


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
yivzhenko at mksat.net
Guest





PostPosted: Thu Jun 04, 2009 6:03 am    Post subject: [Freeswitch-users] mod_lcr caller id Reply with quote

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





PostPosted: Thu Jun 04, 2009 7:59 am    Post subject: [Freeswitch-users] mod_lcr caller id Reply with 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?

On Thu, Jun 4, 2009 at 6:02 AM, Yuriy Ivzhenko <yivzhenko@mksat.net (yivzhenko@mksat.net)> wrote:
Quote:

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


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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




--
-Rupa
Back to top
yivzhenko at mksat.net
Guest





PostPosted: Thu Jun 04, 2009 8:15 am    Post subject: [Freeswitch-users] mod_lcr caller id Reply with 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.
Back to top
rupa at rupa.com
Guest





PostPosted: Thu Jun 04, 2009 9:00 am    Post subject: [Freeswitch-users] mod_lcr caller id Reply with 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 (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 (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




--
-Rupa
Back to top
yivzhenko at mksat.net
Guest





PostPosted: Thu Jun 04, 2009 9:27 am    Post subject: [Freeswitch-users] mod_lcr caller id Reply with quote

Impressive!!! Smile


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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services