Michiel van Baak wrote:
Set(CALLERID(number)=0123456789)
SetCIDNum(0123456789)
And
Set(CALLERID(name)=My name)
SetCIDName(My Name)
I prefer the old one, was much more simple. It seems with the new formats in
Asterisk I always end up with extension lines that are wider than my screen
width
Use
${CHANNEL} to get the number
then
SetCIDNum() to set the new number w/ zero.
Tomasz Chmielewski wrote:
I have an
asterisk box and SIP / IAX2 phones.
To call out, users have to add 0 (zero) before a real telephone number.
That means, that if they want to call someone that
Correct: Use ${DNID} to get the number. I'm sorry.
Bruno.
Bruno De Luca wrote:
Use
${CHANNEL} to get the number
then
SetCIDNum() to set the new number w/ zero.
Tomasz Chmielewski wrote:
I have an
asterisk box and SIP / IAX2 phones.
To call out, users have
Bruno De Luca wrote:
Correct: Use ${DNID} to get the number. I'm sorry.
Bruno.
${CALLERIDNUM} is the most commonly used.
--
Cheers,
Matt Riddell
___
http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php
I have an asterisk box and SIP / IAX2 phones.
To call out, users have to add 0 (zero) before a real telephone number.
That means, that if they want to call someone that has a number 123456,
they have to call 0-123456.
Simple, right?
This has a serious drawback though - when someone calls us
Pretty easy stuff.
Something like this:
exten = s,1,Wait(1)
exten = s,2,Answer
exten = s,3,SetCIDNum(0${CALLERIDNUM})
exten = s,4,Dial(Local/105)
Nathan
Tomasz Chmielewski wrote:
I have an asterisk box and SIP / IAX2 phones.
To call out, users have to add 0 (zero) before a real telephone
Tomasz Chmielewski wrote:
How can I manipulate the incoming callerID number (and add 0 before it)?
exten = s,1,Answer()
exten = s,2,SetCIDNum(0${CIDNUM})
exten = s,3,...
--
Cheers,
Matt Riddell
___
http://www.sineapps.com/news.php (Daily Asterisk
On 02:57, Thu 22 Sep 05, Matt Riddell wrote:
Tomasz Chmielewski wrote:
How can I manipulate the incoming callerID number (and add 0 before it)?
exten = s,1,Answer()
exten = s,2,SetCIDNum(0${CIDNUM})
exten = s,3,...
And when using CVS head this will become:
exten =
Michiel van Baak wrote:
On 02:57, Thu 22 Sep 05, Matt Riddell wrote:
Tomasz Chmielewski wrote:
How can I manipulate the incoming callerID number (and add 0 before it)?
exten = s,1,Answer()
exten = s,2,SetCIDNum(0${CALLERIDNUM})
exten = s,3,...
And when using CVS head this will become:
On 16:46, Thu 22 Sep 05, Matt Riddell wrote:
Michiel van Baak wrote:
On 02:57, Thu 22 Sep 05, Matt Riddell wrote:
Tomasz Chmielewski wrote:
How can I manipulate the incoming callerID number (and add 0 before it)?
exten = s,1,Answer()
exten = s,2,SetCIDNum(0${CALLERIDNUM})
exten =
10 matches
Mail list logo