Re: [asterisk-users] call forwarding number from outside.

2011-07-30 Thread Perenaster
Hello,
I have a similar problem. Whenever a call comes in to my asterisk I handle
it like this:

exten = s,1, Answer()
exten = s, n, Dial(SIP/exten,20,fotT)
exten = s, 1, Hangup()

it works fine but in the SIP messages th IP-Address from Asterisk is in the
From field. For example I am calling from 123@134.32.220.33 then the SIP
message behind the Asterisk looks like

INVITE sip:2232@10.10.10.11 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10 (Asterisk IP)
From: 123 sip:soft@10.10.10.10 (again Asterisk IP)


how can I change this?
Thanks
Tom

-- 
sip:3...@perenaster.com
sip:3...@perenaster.com
sip:3...@perenaster.com
sip:3...@perenaster.com
sip:3...@perenaster.com
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] call forwarding number from outside.

2011-07-29 Thread Alessio
Hi!

I need help regarding the following problem:

when I receive a phone call to the PBX from the number 01234567890
rings the number 100, get up the phone, I transfer (assisted) to the number 100.
When the 100 number rings, the display shows the number of those who 
transferred the call and not the number 01234567890.

How can you solve this problem?

Thanks and sorry for my English 
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] call forwarding number from outside.

2011-07-29 Thread Mike
That`s the normal behavior of assisted transfers.  Try a blind/non-assisted
transfer, that should show the original callerid.

 

Mike

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Alessio
Sent: Friday, July 29, 2011 2:56 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] call forwarding number from outside.

 

Hi!

I need help regarding the following problem:

when I receive a phone call to the PBX from the number 01234567890
rings the number 100, get up the phone, I transfer (assisted) to the number
100.
When the 100 number rings, the display shows the number of those who
transferred the call and not the number 01234567890.

How can you solve this problem?

Thanks and sorry for my English 

 

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] call forwarding number from outside.

2011-07-29 Thread Alessio
Thanks for the reply!

I've tried and works, but isn't possible with the transfer assisted?

thanks


From: Mike 
Sent: Friday, July 29, 2011 8:58 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion' 
Subject: Re: [asterisk-users] call forwarding number from outside.


That`s the normal behavior of assisted transfers.  Try a blind/non-assisted 
transfer, that should show the original callerid.

 

Mike

 

From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Alessio
Sent: Friday, July 29, 2011 2:56 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] call forwarding number from outside.

 

Hi!

I need help regarding the following problem:

when I receive a phone call to the PBX from the number 01234567890
rings the number 100, get up the phone, I transfer (assisted) to the number 100.
When the 100 number rings, the display shows the number of those who 
transferred the call and not the number 01234567890.

How can you solve this problem?

Thanks and sorry for my English 

 






--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] call forwarding number from outside.

2011-07-29 Thread Danny Nicholas
The issue with assisted transfer is that the assisting transferer is a
second call

Outside - A

A answers

A calls B to tell them they have a call (call #2 with ID of A

A transfers Outside but the ID stays A

 

Blind Transfer

Outside - A

A answers

A blind transfers to B (1 call - keeps ID.

 

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Alessio
Sent: Friday, July 29, 2011 2:10 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] call forwarding number from outside.

 

Thanks for the reply!

 

I've tried and works, but isn't possible with the transfer assisted?

 

thanks

 

From: Mike mailto:l...@net-wall.com  

Sent: Friday, July 29, 2011 8:58 AM

To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
mailto:asterisk-users@lists.digium.com  

Subject: Re: [asterisk-users] call forwarding number from outside.

 

That`s the normal behavior of assisted transfers.  Try a blind/non-assisted
transfer, that should show the original callerid.

 

Mike

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Alessio
Sent: Friday, July 29, 2011 2:56 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] call forwarding number from outside.

 

Hi!

I need help regarding the following problem:

when I receive a phone call to the PBX from the number 01234567890
rings the number 100, get up the phone, I transfer (assisted) to the number
100.
When the 100 number rings, the display shows the number of those who
transferred the call and not the number 01234567890.

How can you solve this problem?

Thanks and sorry for my English 

 

  _  

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] call forwarding number from outside.

2011-07-29 Thread Eric Wieling

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
 boun...@lists.digium.com] On Behalf Of Danny Nicholas
 Sent: Friday, July 29, 2011 9:06 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Cc: jim.smith...@debsinc.com
 Subject: Re: [asterisk-users] call forwarding number from outside.
 
 The issue with assisted transfer is that the assisting transferer is a 
 second
 call
 
 Outside - A
 
 A answers
 
 A calls B to tell them they have a call (call #2 with ID of A
 
 A transfers Outside but the ID stays A
 
 
 
 Blind Transfer
 
 Outside - A
 
 A answers
 
 A blind transfers to B (1 call - keeps ID.
 

From the output of core show application dial:

f: Force the callerid of the *calling* channel to be set as the
extension associated with the channel using a dialplan 'hint'. For example,
some PSTNs do not allow CallerID to be set to anything other than the
number assigned to the caller.


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] call forwarding number from outside.

2011-07-29 Thread Kevin P. Fleming

On 07/29/2011 09:12 AM, Eric Wieling wrote:



-Original Message-
From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Friday, July 29, 2011 9:06 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Cc: jim.smith...@debsinc.com
Subject: Re: [asterisk-users] call forwarding number from outside.

The issue with assisted transfer is that the assisting transferer is a second
call

Outside -  A

A answers

A calls B to tell them they have a call (call #2 with ID of A

A transfers Outside but the ID stays A



Blind Transfer

Outside -  A

A answers

A blind transfers to B (1 call - keeps ID.



 From the output of core show application dial:

 f: Force the callerid of the *calling* channel to be set as the
 extension associated with the channel using a dialplan 'hint'. For example,
 some PSTNs do not allow CallerID to be set to anything other than the
 number assigned to the caller.


In Asterisk 1.8 and later, if the phones (endpoints) support it, the 
connected party display on the phone will update *after* the transfer 
has been completed to show who the person is talking to (not the person 
who performed the transfer).


--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] call forwarding number from outside.

2011-07-29 Thread Danny Nicholas
-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Kevin P.
Fleming
Sent: Friday, July 29, 2011 8:49 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] call forwarding number from outside.

On 07/29/2011 09:12 AM, Eric Wieling wrote:

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users- 
 boun...@lists.digium.com] On Behalf Of Danny Nicholas
 Sent: Friday, July 29, 2011 9:06 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Cc: jim.smith...@debsinc.com
 Subject: Re: [asterisk-users] call forwarding number from outside.

 The issue with assisted transfer is that the assisting transferer 
 is a second call

 Outside -  A

 A answers

 A calls B to tell them they have a call (call #2 with ID of A

 A transfers Outside but the ID stays A



 Blind Transfer

 Outside -  A

 A answers

 A blind transfers to B (1 call - keeps ID.


  From the output of core show application dial:

  f: Force the callerid of the *calling* channel to be set as the
  extension associated with the channel using a dialplan 'hint'. For
example,
  some PSTNs do not allow CallerID to be set to anything other than the
  number assigned to the caller.

In Asterisk 1.8 and later, if the phones (endpoints) support it, the
connected party display on the phone will update *after* the transfer has
been completed to show who the person is talking to (not the person who
performed the transfer).

--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at
www.digium.com  www.asterisk.org

Couple of questions - 
This magic trick is contained in app_dial?
Functionality is inherent to 1.8/10.X structure so we can't re-invent this
in our old 1.4/1.6 installs?



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] call forwarding number from outside.

2011-07-29 Thread Kevin P. Fleming

On 07/29/2011 10:41 AM, Danny Nicholas wrote:

snip


Couple of questions -
This magic trick is contained in app_dial?
Functionality is inherent to 1.8/10.X structure so we can't re-invent this
in our old 1.4/1.6 installs?


No, it's core functionality, implemented in the channel drivers and 
using control frames that pass through bridges. It would be a large 
amount of effort to implement it again in 1.4/1.6. It extends well 
beyond simple dialing, as it can receive updates across external 
protocols and pass them along, it handles call redirection, and various 
other features.


--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] call forwarding number from outside.

2011-07-29 Thread Danny Nicholas
-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Kevin P.
Fleming
Sent: Friday, July 29, 2011 9:48 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] call forwarding number from outside.

On 07/29/2011 10:41 AM, Danny Nicholas wrote:

snip

 Couple of questions -
 This magic trick is contained in app_dial?
 Functionality is inherent to 1.8/10.X structure so we can't re-invent 
 this in our old 1.4/1.6 installs?

No, it's core functionality, implemented in the channel drivers and using
control frames that pass through bridges. It would be a large amount of
effort to implement it again in 1.4/1.6. It extends well beyond simple
dialing, as it can receive updates across external protocols and pass them
along, it handles call redirection, and various other features.

--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at
www.digium.com  www.asterisk.org

As I suspected sigh


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] call forwarding number from outside.

2011-07-29 Thread Alessio

So I can't do anything?

--
From: Kevin P. Fleming kpflem...@digium.com
Sent: Friday, July 29, 2011 4:48 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] call forwarding number from outside.


On 07/29/2011 10:41 AM, Danny Nicholas wrote:

snip


Couple of questions -
This magic trick is contained in app_dial?
Functionality is inherent to 1.8/10.X structure so we can't re-invent 
this

in our old 1.4/1.6 installs?


No, it's core functionality, implemented in the channel drivers and using 
control frames that pass through bridges. It would be a large amount of 
effort to implement it again in 1.4/1.6. It extends well beyond simple 
dialing, as it can receive updates across external protocols and pass them 
along, it handles call redirection, and various other features.


--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users 



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] call forwarding number from outside.

2011-07-29 Thread Danny Nicholas
Upgrade to 1.8/10.0

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Alessio
Sent: Friday, July 29, 2011 10:04 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] call forwarding number from outside.

So I can't do anything?

--
From: Kevin P. Fleming kpflem...@digium.com
Sent: Friday, July 29, 2011 4:48 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] call forwarding number from outside.

 On 07/29/2011 10:41 AM, Danny Nicholas wrote:

 snip

 Couple of questions -
 This magic trick is contained in app_dial?
 Functionality is inherent to 1.8/10.X structure so we can't re-invent 
 this in our old 1.4/1.6 installs?

 No, it's core functionality, implemented in the channel drivers and 
 using control frames that pass through bridges. It would be a large 
 amount of effort to implement it again in 1.4/1.6. It extends well 
 beyond simple dialing, as it can receive updates across external 
 protocols and pass them along, it handles call redirection, and various
other features.

 --
 Kevin P. Fleming
 Digium, Inc. | Director of Software Technologies
 Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: 
 kpfleming
 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at 
 www.digium.com  www.asterisk.org

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com -- 
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] call forwarding number from outside.

2011-07-29 Thread Alessio

ok I'll do it Monday, and how you handle it with the version 1.10?

Thanks

--
From: Danny Nicholas da...@debsinc.com
Sent: Friday, July 29, 2011 5:05 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion' 
asterisk-users@lists.digium.com

Subject: Re: [asterisk-users] call forwarding number from outside.


Upgrade to 1.8/10.0

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Alessio
Sent: Friday, July 29, 2011 10:04 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] call forwarding number from outside.

So I can't do anything?

--
From: Kevin P. Fleming kpflem...@digium.com
Sent: Friday, July 29, 2011 4:48 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] call forwarding number from outside.


On 07/29/2011 10:41 AM, Danny Nicholas wrote:

snip


Couple of questions -
This magic trick is contained in app_dial?
Functionality is inherent to 1.8/10.X structure so we can't re-invent
this in our old 1.4/1.6 installs?


No, it's core functionality, implemented in the channel drivers and
using control frames that pass through bridges. It would be a large
amount of effort to implement it again in 1.4/1.6. It extends well
beyond simple dialing, as it can receive updates across external
protocols and pass them along, it handles call redirection, and various

other features.


--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype:
kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at
www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- 
New to Asterisk? Join us for a live introductory webinar every Thurs:

  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users 



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users