Re: [asterisk-users] Pass CallerID when call forwards to PSTN?

2007-11-20 Thread Russell Horn
On Nov 20, 2007 5:06 AM, Dovid B [EMAIL PROTECTED] wrote:
 From what I have seen in the past asterisk should pass along the CID
 automatically. As some one else already mentioned. It can be your ITSP. You
 can always set the CID with Set(CALLERID(num)=1234567890).

Asterisk does pass the caller ID for the internal calls, but for the
external ones, my default outbound CallerID gets used.

I can set a different CID like you suggest above, but I don't know how
to get the inbound CID so I can set it correctly. Does anyone know if
there's a variable exposed to my extensions.conf so I can do something
like Set(CALLERID(num)=${VAR}) and set outbound callerID to that of
the calling party?

Thanks,

Russell

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Pass CallerID when call forwards to PSTN?

2007-11-20 Thread Tilghman Lesher
On Tuesday 20 November 2007 08:50:06 Russell Horn wrote:
 On Nov 20, 2007 5:06 AM, Dovid B [EMAIL PROTECTED] wrote:
  From what I have seen in the past asterisk should pass along the CID
  automatically. As some one else already mentioned. It can be your ITSP.
  You can always set the CID with Set(CALLERID(num)=1234567890).

 Asterisk does pass the caller ID for the internal calls, but for the
 external ones, my default outbound CallerID gets used.

 I can set a different CID like you suggest above, but I don't know how
 to get the inbound CID so I can set it correctly. Does anyone know if
 there's a variable exposed to my extensions.conf so I can do something
 like Set(CALLERID(num)=${VAR}) and set outbound callerID to that of
 the calling party?

Callerid is automatically passed along the route of the call.  It is
inherited, unless overwritten.  If you are using analog lines, this is not
possible.  If you are using an ITSP or a PRI, you need to ensure that your
provider will let you set arbitrary CallerID (explain to them the legitimate
purpose of forwarding calls out to cell phones, and they are much more
likely to permit that, than if you say you want to spoof CallerID).

-- 
Tilghman

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Pass CallerID when call forwards to PSTN?

2007-11-19 Thread Russell Horn
On Nov 17, 2007 8:13 PM, Robert Lister [EMAIL PROTECTED] wrote:

 I think your carrier has to permit you to set callerID to something that is
 not one of your numbers in the range you have been allocated.


I know I can set a different caller ID - I'm just not sure how in
Asterisk I would set the callerID to be that of the number that has
called me.

As I mention, the call gets forwarded like this:

exten = s,1,Dial(SIP/2201SIP/2202IAX2/[EMAIL PROTECTED]),90)

Maybe I should be doing that another way?

if not, I need a way to set the callerID before that line where the
value is equal to that of the calling party.

Anyone else got a suggestion?

Thanks,

Russell

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Pass CallerID when call forwards to PSTN?

2007-11-19 Thread Dovid B

- Original Message - 
From: Russell Horn [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com
Sent: Monday, November 19, 2007 6:07 PM
Subject: Re: [asterisk-users] Pass CallerID when call forwards to PSTN?


 On Nov 17, 2007 8:13 PM, Robert Lister [EMAIL PROTECTED] wrote:

 I think your carrier has to permit you to set callerID to something that 
 is
 not one of your numbers in the range you have been allocated.


 I know I can set a different caller ID - I'm just not sure how in
 Asterisk I would set the callerID to be that of the number that has
 called me.

 As I mention, the call gets forwarded like this:

 exten = s,1,Dial(SIP/2201SIP/2202IAX2/[EMAIL PROTECTED]),90)

 Maybe I should be doing that another way?

 if not, I need a way to set the callerID before that line where the
 value is equal to that of the calling party.

 Anyone else got a suggestion?

 Thanks,

 Russell

From what I have seen in the past asterisk should pass along the CID 
automatically. As some one else already mentioned. It can be your ITSP. You 
can always set the CID with Set(CALLERID(num)=1234567890). 



___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Pass CallerID when call forwards to PSTN?

2007-11-17 Thread Robert Lister
On Thu, Nov 15, 2007 at 06:18:33PM +, Russell Horn wrote:
 Hi,
 
 Incoming calls to one of my lines are set to ring two internal lines
 and simultaneously start ringing my cell phone. Something like this:
 
 exten = s,1,Dial(SIP/2201SIP/2202IAX2/[EMAIL PROTECTED]),90)
 
 The internal lines 2201 and 2202 will both see the callerID for the
 incoming call, but my cell phone will show the callerID for asterisk,
 not the calling party.
 
 What's the best solution to take the callerID from the inbound call
 and transfer it to the outbound one?

I think your carrier has to permit you to set callerID to something that is 
not one of your numbers in the range you have been allocated.

Some carriers allow it, and others do not. (To prevent end-users from being 
able to forge the caller ID to anything they want!)

I've never figured out if it's possible to get BT to do this for our ISDN 
lines, I think I tried to get them to allow it, but I think they said we 
have to have an OFCOM licence or something...


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


[asterisk-users] Pass CallerID when call forwards to PSTN?

2007-11-16 Thread Russell Horn
Hi,

Incoming calls to one of my lines are set to ring two internal lines
and simultaneously start ringing my cell phone. Something like this:

exten = s,1,Dial(SIP/2201SIP/2202IAX2/[EMAIL PROTECTED]),90)

The internal lines 2201 and 2202 will both see the callerID for the
incoming call, but my cell phone will show the callerID for asterisk,
not the calling party.

What's the best solution to take the callerID from the inbound call
and transfer it to the outbound one?

I'm still using v1.2 here.

Thanks,

Russell.

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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