Re: [asterisk-users] How to add Callee's name into Dial command ?

2008-10-05 Thread Mr Shunz
 Are you of that ?
 I'm not 100% certain, but I think Thomson phones wouldn't query centralized
 directory for outbound calls.
 I think centralized directory is only queried when using Directory key.

well, our customers use it by opening phonebook and selecting
number to call ... so don't know about dialing the number directly

cheers
-- 

Daniele Santi   .o.
[EMAIL PROTECTED] ..o () ascii ribbon campaign
Linux User #415108  ooo /\  www.asciiribbon.org


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] How to add Callee's name into Dial command ?

2008-10-05 Thread Olivier
2008/10/5 Mr Shunz [EMAIL PROTECTED]

  Are you of that ?
  I'm not 100% certain, but I think Thomson phones wouldn't query
 centralized
  directory for outbound calls.
  I think centralized directory is only queried when using Directory key.

 well, our customers use it by opening phonebook and selecting
 number to call ... so don't know about dialing the number directly


So we can agree on :
- when a callee is selected from phonebook, its name is displayed (and saved
in history logs)
- when the number is typed with keypad, its name is not displayed at all
except if PBX includes it in P-Asserted-Id field within 200 OK reply (I'm
not certain if the same value included in TRYING and RINGING would be taken
into account)

At the moment it doesn't seem possible to configure Asterisk to reply with
P-Asserted-Identity ...

Regards



 cheers
 --
 
 Daniele Santi   .o.
 [EMAIL PROTECTED] ..o () ascii ribbon campaign
 Linux User #415108  ooo /\  www.asciiribbon.org
 

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

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

 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 --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Re: [asterisk-users] How to add Callee's name into Dial command ?

2008-10-04 Thread Olivier
2008/10/3 satish patel [EMAIL PROTECTED]




 2008/10/3 Joe Pukepail [EMAIL PROTECTED]

 I think this is what you want: http://bugs.digium.com/view.php?id=8824


 Thanks : this one very interesting.

 Bottom line is it doesn't work at the moment right ?

  http://bugs.digium.com/view.php?id=8824

   On Fri, Oct 3, 2008 at 4:21 AM, Olivier [EMAIL PROTECTED] wrote:

   Hi,

 When dialing a number, I use :
 exten = _123X, 1, Dial (SIP/${EXTEN})

 Then, I get TRYING and RINGING SIP messages which both include this kind
 of line :
 To: sip [EMAIL PROTECTED];user=phone

 Is it possible, configuring Asterisk 1.4, to get something like this
 instead ?
 To: John Doe sip [EMAIL PROTECTED];user=phone

 This way, I'm hoping to display callee's name beside (or instead of)
 callee's number which would offer a double check for caller which might be
 confusing extensions, for instance.


 I tried this :
 exten = _123X, 1, SIPAddHeader(To: Doe \sip [EMAIL PROTECTED]
 \;user=phone\)

 but I still got :
 To: sip [EMAIL PROTECTED];user=phone

 Regards

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

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

 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 --

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

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


  why you people need this thing in dial command which can possible
 with sip.conf callerid options


Unfortunately,  callerid option in sip.conf is not used to callee's name in
caller's phone screen :
if Alice calls Bob, Alice's phone will display Bob's number but not Bob (ie
callee's name)

If you SIP messages that comes back from Asterisk to Alice's phone, you
won't find the name Bob anywhere, so obviously, as Alice phone will use
those messages to update its own screen, you won't see any sign of callee's
name anywhere.

P-Asserted-Identity is a rather new field which is dedicated to such names
and is supported by several phones.

At the moment, Asterisk won't add this field in any reply to Alice's INVITE.

Cheers



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

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

 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 --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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

[asterisk-users] How to add Callee's name into Dial command ?

2008-10-03 Thread Olivier
Hi,

When dialing a number, I use :
exten = _123X, 1, Dial (SIP/${EXTEN})

Then, I get TRYING and RINGING SIP messages which both include this kind of
line :
To: sip [EMAIL PROTECTED];user=phone

Is it possible, configuring Asterisk 1.4, to get something like this instead
?
To: John Doe sip [EMAIL PROTECTED];user=phone

This way, I'm hoping to display callee's name beside (or instead of)
callee's number which would offer a double check for caller which might be
confusing extensions, for instance.


I tried this :
exten = _123X, 1, SIPAddHeader(To: Doe \sip [EMAIL PROTECTED]
\;user=phone\)

but I still got :
To: sip [EMAIL PROTECTED];user=phone

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Re: [asterisk-users] How to add Callee's name into Dial command ?

2008-10-03 Thread Olivier
2008/10/3 Olivier [EMAIL PROTECTED]

 Hi,

 When dialing a number, I use :
 exten = _123X, 1, Dial (SIP/${EXTEN})

 Then, I get TRYING and RINGING SIP messages which both include this kind of
 line :
 To: sip [EMAIL PROTECTED];user=phone

 Is it possible, configuring Asterisk 1.4, to get something like this
 instead ?
 To: John Doe sip [EMAIL PROTECTED];user=phone

 This way, I'm hoping to display callee's name beside (or instead of)
 callee's number which would offer a double check for caller which might be
 confusing extensions, for instance.


 I tried this :
 exten = _123X, 1, SIPAddHeader(To: Doe \sip [EMAIL PROTECTED]
 \;user=phone\)

 but I still got :
 To: sip [EMAIL PROTECTED];user=phone

I must add I also tried without success :
exten = _123X, 1, Set(SIALPEERNAME=Doe)





 Regards

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Re: [asterisk-users] How to add Callee's name into Dial command ?

2008-10-03 Thread Rob Hillis
Olivier wrote:

 2008/10/3 Olivier [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

 Hi,

 When dialing a number, I use :
 exten = _123X, 1, Dial (SIP/${EXTEN})

 Then, I get TRYING and RINGING SIP messages which both include
 this kind of line :
 To: sip [EMAIL PROTECTED] mailto:[EMAIL PROTECTED];user=phone

 Is it possible, configuring Asterisk 1.4, to get something like
 this instead ?
 To: John Doe sip [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED];user=phone

 This way, I'm hoping to display callee's name beside (or instead
 of) callee's number which would offer a double check for caller
 which might be confusing extensions, for instance.


 I tried this :
 exten = _123X, 1, SIPAddHeader(To: Doe \sip [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]\;user=phone\)

 but I still got :
 To: sip [EMAIL PROTECTED] mailto:[EMAIL PROTECTED];user=phone

 I must add I also tried without success :
 exten = _123X, 1, Set(SIALPEERNAME=Doe)

Have you tried Set(CALLERID(name)=Doe)?  This the normal method for 
setting caller ID names in Asterisk.

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] How to add Callee's name into Dial command ?

2008-10-03 Thread Mr Shunz
Hi,

[snip[

 This way, I'm hoping to display callee's name beside (or instead of)
 callee's number which would offer a double check for caller which might be
 confusing extensions, for instance.

you can set callerid per-peer in sip.conf
like:

callerid='Jhon Doe' 1234

this should work autmagically ;)

cheers

-- 

Daniele Santi   .o.
[EMAIL PROTECTED] ..o () ascii ribbon campaign
Linux User #415108  ooo /\  www.asciiribbon.org


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] How to add Callee's name into Dial command ?

2008-10-03 Thread Olivier
Unfortunaltely, both callerid='Jhon Doe' 1234 and
Set(CALLERID(name)=Doe) don't work as I would like them to.

For both, caller's phone screen still displays callee's number, not callee's
name.
When looking at SIP messages, you can can see that, unlike caller's name
which is included in INVITE Header  From: field, INVITE Header To: remains
filled with callee's number, not its name.

To make myself clear, here is what I'm trying to do : when Alice is calling
Bob (Alice --- Asterisk---Bob), I would like Bob's phone to
display Alice's name  (no problem, for that) but I would also like Alice's
phone screen to display Bob's name (instead of Bob's number)

My SIP hardphone is capable of displaying P-Asserted-Identity in outbound
calls (not just inbound) but I couldn't find any way to teach Asterisk to
fill this P-Asserted-Identity header :

Alice
Asterisk Bob
 - INVITE bob 

--INVITE Bob -
   TRYING with
Callername set 
 TRYING with Callername set 
  RINGING with
Callername set 
 RINGING with Callername set 


Regards



2008/10/3 Mr Shunz [EMAIL PROTECTED]

 Hi,

 [snip[

  This way, I'm hoping to display callee's name beside (or instead of)
  callee's number which would offer a double check for caller which might
 be
  confusing extensions, for instance.

 you can set callerid per-peer in sip.conf
 like:

 callerid='Jhon Doe' 1234

 this should work autmagically ;)

 cheers

 --
 
 Daniele Santi   .o.
 [EMAIL PROTECTED] ..o () ascii ribbon campaign
 Linux User #415108  ooo /\  www.asciiribbon.org
 

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

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

 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 --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Re: [asterisk-users] How to add Callee's name into Dial command ?

2008-10-03 Thread Mr Shunz
[snip]

 To make myself clear, here is what I'm trying to do : when Alice is calling
 Bob (Alice --- Asterisk---Bob), I would like Bob's phone to
 display Alice's name  (no problem, for that) but I would also like Alice's
 phone screen to display Bob's name (instead of Bob's number)

mmm ... this wasn't clear on your OP ...
so you need to show the CALLED name on the CALLER phone ...

 My SIP hardphone is capable of displaying P-Asserted-Identity in outbound 
 calls (not just inbound) but I
 couldn't find any way to teach Asterisk to fill this P-Asserted-Identity 
 header :

you can try with: (*** untested ***)

exten = _123X, 1, SIPAddHeader(P-Asserted-Identity:
'${CALLERID(name)' ${CALLERID(num))

cheers

-- 

Daniele Santi   .o.
[EMAIL PROTECTED] ..o () ascii ribbon campaign
Linux User #415108  ooo /\  www.asciiribbon.org


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] How to add Callee's name into Dial command ?

2008-10-03 Thread Josiah Bryan
Mr Shunz wrote:
 [snip]
 
 To make myself clear, here is what I'm trying to do : when Alice is calling
 Bob (Alice --- Asterisk---Bob), I would like Bob's phone to
 display Alice's name  (no problem, for that) but I would also like Alice's
 phone screen to display Bob's name (instead of Bob's number)
 
 mmm ... this wasn't clear on your OP ...
 so you need to show the CALLED name on the CALLER phone ...
 
 My SIP hardphone is capable of displaying P-Asserted-Identity in outbound 
 calls (not just inbound) but I
 couldn't find any way to teach Asterisk to fill this P-Asserted-Identity 
 header :
 
 you can try with: (*** untested ***)
 
 exten = _123X, 1, SIPAddHeader(P-Asserted-Identity:
 '${CALLERID(name)' ${CALLERID(num))

Interesting idea - I can see that being very useful. I know on my old 
SPPA-841s they would do that - but it was based on looking up the dialed 
number in the internal directory (which I programmed using a perl script 
in the asterisk server.) So, when I dialed 213, the name appeared that I 
dialed, confirming I had the right person.

Unfortunately, I never have been able to get my Polycom SoundPoint IP 
500 phones to do that.

I just tested the SIPAddHeader command given above - doesn't work with 
the Polycom Soundpoint IP 500 that I tested with. (Even with the missing 
'}' at the end that I fixed - still doesn't work.)

Good idea thought - anybody have any magic that might make that work?

-josiah

-- 
Josiah Bryan
IT Manager
Productive Concepts, Inc.
[EMAIL PROTECTED]
(765) 964-6009, ext. 224


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] How to add Callee's name into Dial command ?

2008-10-03 Thread Mr Shunz
 (Even with the missing '}' at the end that I fixed

oops, always forget about those :'(

btw, in our installations we provide a centralized xml phonebook
(and phones that support it, mostly grandstream and thomson), and
they (the phones) autmatically set the called name on the display,
both for internal and external numbers ;)

cheers

-- 

Daniele Santi   .o.
[EMAIL PROTECTED] ..o () ascii ribbon campaign
Linux User #415108  ooo /\  www.asciiribbon.org


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] How to add Callee's name into Dial command ?

2008-10-03 Thread Mr Shunz
Hi all,

after a little bit of googleing, seems that correct syntax is:

exten = _123X, 1,
SIPAddHeader(P-Asserted-Identity:${CALLERID(name)}
sip:${CALLERID(num)})
(notice the sip:${CALLERID(num)})

but, IIUC, this sets the header for *outbound* call to 123X number, so
don't know if CALLER
can see the header ... and actually, ${CALLERID(num|name)} it's the
CALLER name, so maybe
should be ${EXTEN} (i.e. the CALLED number) like

exten = _123X, 1, SIPAddHeader(P-Asserted-Identity:doe sip:${EXTEN})

but sorry, can't test by now...

cheers

-- 

Daniele Santi   .o.
[EMAIL PROTECTED] ..o () ascii ribbon campaign
Linux User #415108  ooo /\  www.asciiribbon.org


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] How to add Callee's name into Dial command ?

2008-10-03 Thread Joe Pukepail
I think this is what you want: http://bugs.digium.com/view.php?id=8824

On Fri, Oct 3, 2008 at 4:21 AM, Olivier [EMAIL PROTECTED] wrote:

 Hi,

 When dialing a number, I use :
 exten = _123X, 1, Dial (SIP/${EXTEN})

 Then, I get TRYING and RINGING SIP messages which both include this kind of
 line :
 To: sip [EMAIL PROTECTED];user=phone

 Is it possible, configuring Asterisk 1.4, to get something like this
 instead ?
 To: John Doe sip [EMAIL PROTECTED];user=phone

 This way, I'm hoping to display callee's name beside (or instead of)
 callee's number which would offer a double check for caller which might be
 confusing extensions, for instance.


 I tried this :
 exten = _123X, 1, SIPAddHeader(To: Doe \sip [EMAIL PROTECTED]
 \;user=phone\)

 but I still got :
 To: sip [EMAIL PROTECTED];user=phone

 Regards

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

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

 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 --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Re: [asterisk-users] How to add Callee's name into Dial command ?

2008-10-03 Thread Olivier
2008/10/3 Mr Shunz [EMAIL PROTECTED]

  (Even with the missing '}' at the end that I fixed

 oops, always forget about those :'(

 btw, in our installations we provide a centralized xml phonebook
 (and phones that support it, mostly grandstream and thomson), and
 they (the phones) autmatically set the called name on the display,
 both for internal and external numbers ;)


Are you of that ?
I'm not 100% certain, but I think Thomson phones wouldn't query centralized
directory for outbound calls.
I think centralized directory is only queried when using Directory key.



 cheers

 --
 
 Daniele Santi   .o.
 [EMAIL PROTECTED] ..o () ascii ribbon campaign
 Linux User #415108  ooo /\  www.asciiribbon.org
 

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

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

 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 --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Re: [asterisk-users] How to add Callee's name into Dial command ?

2008-10-03 Thread Olivier
2008/10/3 Mr Shunz [EMAIL PROTECTED]

 Hi all,

 after a little bit of googleing, seems that correct syntax is:

 exten = _123X, 1,
 SIPAddHeader(P-Asserted-Identity:${CALLERID(name)}
 sip:${CALLERID(num)})
 (notice the sip:${CALLERID(num)})


This could make P-Asserted-Identity field appear in INVITE header.
Thanks for that !!

Unfortunately, this doesn't help much to force Asterisk to query caller's
callerid field in sip.conf .




 but, IIUC, this sets the header for *outbound* call to 123X number, so
 don't know if CALLER
 can see the header ... and actually, ${CALLERID(num|name)} it's the
 CALLER name, so maybe
 should be ${EXTEN} (i.e. the CALLED number) like

 exten = _123X, 1, SIPAddHeader(P-Asserted-Identity:doe sip:${EXTEN})

 but sorry, can't test by now...

 cheers

 --
 
 Daniele Santi   .o.
 [EMAIL PROTECTED] ..o () ascii ribbon campaign
 Linux User #415108  ooo /\  www.asciiribbon.org
 

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

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

 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 --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Re: [asterisk-users] How to add Callee's name into Dial command ?

2008-10-03 Thread Olivier
2008/10/3 Joe Pukepail [EMAIL PROTECTED]

 I think this is what you want: http://bugs.digium.com/view.php?id=8824


Thanks : this one very interesting.

Bottom line is it doesn't work at the moment right ?

 http://bugs.digium.com/view.php?id=8824

 On Fri, Oct 3, 2008 at 4:21 AM, Olivier [EMAIL PROTECTED] wrote:

 Hi,

 When dialing a number, I use :
 exten = _123X, 1, Dial (SIP/${EXTEN})

 Then, I get TRYING and RINGING SIP messages which both include this kind
 of line :
 To: sip [EMAIL PROTECTED];user=phone

 Is it possible, configuring Asterisk 1.4, to get something like this
 instead ?
 To: John Doe sip [EMAIL PROTECTED];user=phone

 This way, I'm hoping to display callee's name beside (or instead of)
 callee's number which would offer a double check for caller which might be
 confusing extensions, for instance.


 I tried this :
 exten = _123X, 1, SIPAddHeader(To: Doe \sip [EMAIL PROTECTED]
 \;user=phone\)

 but I still got :
 To: sip [EMAIL PROTECTED];user=phone

 Regards

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

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

 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 --

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

 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 --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Re: [asterisk-users] How to add Callee's name into Dial command ?

2008-10-03 Thread satish patel
 



2008/10/3 Joe Pukepail [EMAIL PROTECTED]


I think this is what you want: http://bugs.digium.com/view.php?id=8824


Thanks : this one very interesting.

Bottom line is it doesn't work at the moment right ?


 http://bugs.digium.com/view.php?id=8824 


On Fri, Oct 3, 2008 at 4:21 AM, Olivier [EMAIL PROTECTED] wrote:


Hi,

When dialing a number, I use :
exten = _123X, 1, Dial (SIP/${EXTEN})

Then, I get TRYING and RINGING SIP messages which both include this kind of
line :
To: sip [EMAIL PROTECTED];user=phone

Is it possible, configuring Asterisk 1.4, to get something like this instead
?
To: John Doe sip [EMAIL PROTECTED];user=phone

This way, I'm hoping to display callee's name beside (or instead of)
callee's number which would offer a double check for caller which might be
confusing extensions, for instance.


I tried this :
exten = _123X, 1, SIPAddHeader(To: Doe \sip
[EMAIL PROTECTED];user=phone\)

but I still got :
To: sip [EMAIL PROTECTED];user=phone

Regards


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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 --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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



 why you people need this thing in dial command which can possible with
sip.conf callerid options 
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Re: [asterisk-users] How to add Callee's name into Dial command ?

2008-10-03 Thread Mark Hamilton
Why you didn't read the whole thread before saying that is beyond me.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of satish patel
Sent: October 3, 2008 12:02 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] How to add Callee's name into Dial command ?

 

[Mark Hamilton] snip


 why you people need this thing in dial command which can possible with
sip.conf callerid options 

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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