[Freeswitch-users] mod_lcr transfer shows wrong caller id

Anestis Mavro devel at omninet.eu
Sun Sep 11 16:07:39 MSD 2011


 

Here the parts of the correct invite (with bridge): 

From: "1234567890" <sip:1234567890 at 11.22.33.44>

P-Asserted-Identity: "1234567890" <sip: 1234567890 at 11.22.33.44>

 

And here the wrong (with transfer):

From: "1234567890" <sip:1000 at 11.22.33.44>          

P-Asserted-Identity: "1234567890" <sip:1000 at 11.22.33.44>         

 

(where "1234567890" the caller id

1000 the calling account/user

11.22.33.44 the server ip)

 

It seems that LCR overrides the origination_caller_id_number with the
accountcode when it is run as dialplan. 

I have tried all variables like origination., effective. and it was
impossible to change the P-Asserted-Identity. (The P-A-I is added by LCR
automatically with sip_cid_type=pid)

If I try to set it manually in the extension, then I get two P-A-Is and I
have to disable it in the LCR; It much easier to be set by the LCR
dynamically for each user within the query

 

Thanks

Anestis

 

 

 

  _____  

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Avi
Marcus
Sent: Sunday, September 11, 2011 2:19 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] mod_lcr transfer shows wrong caller id

 

"display number" - the effective_caller_id_name ?

If you still have an issue, can you show/pastebin a SIP trace?




-Avi

 

On Sun, Sep 11, 2011 at 9:56 AM, Anestis Mavro <devel at omninet.eu> wrote:

Yes, the same result.

 

I made now a trace and found that in the "From" and "P-Asserted-Identity"
the display name is correct (the number) but the display number is wrong
(the account).

 

Wondering now where to set them to correctly apply.

 

Thanks

Anestis

 

 

  _____  

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Avi
Marcus
Sent: Sunday, September 11, 2011 8:47 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] mod_lcr transfer shows wrong caller id

 

Did you set effective_caller_id in the A-leg to the value you want?


-Avi

 

On Sun, Sep 11, 2011 at 8:43 AM, Anestis Mavro <devel at omninet.eu> wrote:

Hi,

 

I've been using mod_lcr with nibblebill for a while and everything worked
fine with the bridge application. 

Now I would like to add limit and I have to use it as dialplan like this:

 

<action application="transfer" data="${callednumber} lcr ${lcrprofile}" />

 

I managed to configure the lcr.conf.xml correctly for Limit and everything
seems to be working beside the caller id.

Now the variable origination_caller_id_number gets the accountcode instead
of the correct number.

 

I've tried to explicitly set the variable before transferring and even in
the lcr.conf.xml and export it. no chance.

 

Any idea??

 

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110911/072aeff4/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list