Re: [asterisk-users] Diagnosing call hangups

2011-12-23 Thread Tobias Steen
If you are running version 1.8 or newer you can enable CEL (Channel Event 
Logging) to get a better view of the channel events.

A common issue for terminating calls is high packet loss, you can measure the 
network with some kind of probe.

Also, don’t forget the guides here:
http://www.voiptroubleshooter.com/diagnosis/index.html


/ Tobias


-Original Message-
From: Jeff LaCoursiere [mailto:j...@sunfone.com] 
Sent: den 21 december 2011 21:58
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Diagnosing call hangups


Hi,

I have customers complaining of random call hangups, and I am trying to 
determine in each case what happened to the call.  I normally run a customer's 
PBX with verbose set to 3 and debug off, and looking at each case in the full 
log (default full in logger.conf) I don't see anything special between the call 
being answered and the call terminating - the log lines look exactly the same 
whether the local side hung up on purpose, the remote side hung up on purpose, 
or something unknown happened and the call simply terminates (FreePBX dialplan 
in
place):

Examples from our lab today:

[Dec 21 14:17:31] VERBOSE[12854] logger.c: -- SIP/astnorth-0f70
answered SIP/100-0f6f

LOCAL SIDE HUNGUP

[Dec 21 14:17:37] VERBOSE[12854] logger.c: -- Executing
[h@macro-dialout-trunk:1] Macro(SIP/100-0f6f, hangupcall|) in new stack

--

[Dec 21 14:14:44] VERBOSE[12764] logger.c: -- SIP/astnorth-0f6c
answered SIP/100-0f6b

REMOTE SIDE HUNGUP

[Dec 21 14:14:56] VERBOSE[12764] logger.c: -- Executing
[h@macro-dialout-trunk:1] Macro(SIP/100-0f6b, hangupcall|) in new stack

-

An example from the customer site:

[Dec 19 13:24:04] VERBOSE[13794] logger.c: -- SIP/sunfone-52ad
answered SIP/239-52ac
[Dec 19 13:24:04] VERBOSE[13794] logger.c: -- Packet2Packet bridging
SIP/239-52ac and SIP/sunfone-52ad

UNKNOWN EVENT

[Dec 19 13:24:11] VERBOSE[13794] logger.c: -- Executing
[h@macro-dialout-trunk:1] Macro(SIP/239-52ac, hangupcall|) in new stack



So in our lab I turned up verbose to 100 and debug to 100 and made some tests 
with a local SIP phone calling out to a cell via our upstream
provider:

[Dec 21 14:19:56] VERBOSE[12912] logger.c: -- SIP/astnorth-0f72
answered SIP/100-0f71
[Dec 21 14:19:56] DEBUG[12912] devicestate.c: Notification of state change to 
be queued on device/channel SIP/100 [Dec 21 14:19:56] DEBUG[12912] chan_sip.c: 
SIP answering channel:
SIP/100-0f71
[Dec 21 14:19:56] DEBUG[12912] rtp.c: Setting the marker bit due to a source 
update [Dec 21 14:19:56] DEBUG[12912] chan_sip.c: Setting framing from config 
on incoming call [Dec 21 14:19:56] DEBUG[12912] chan_sip.c: ** Our capability: 
0x4 (ulaw) Video flag: True [Dec 21 14:19:56] DEBUG[12912] chan_sip.c: ** Our 
prefcodec: 0x0
(nothing)
[Dec 21 14:19:56] DEBUG[12912] chan_sip.c: -- Done with adding codecs to SDP 
[Dec 21 14:19:56] DEBUG[12912] chan_sip.c: Done building SDP. Settling with 
this capability: 0x4 (ulaw) [Dec 21 14:19:56] DEBUG[12912] res_features.c: 
Removing dialed interfaces datastore on SIP/100-0f71 since we're bridging 
[Dec 21 14:19:56] DEBUG[12912] res_features.c: Removing dialed interfaces 
datastore on SIP/astnorth-0f72 since we're bridging [Dec 21 14:19:56] 
DEBUG[12912] rtp.c: Setting the marker bit due to a source update [Dec 21 
14:19:56] DEBUG[12912] rtp.c: Setting the marker bit due to a source update 
[Dec 21 14:19:56] DEBUG[12912] rtp.c: Got RTCP report of 64 bytes

REMOTE SIDE HUNGUP

[Dec 21 14:20:01] DEBUG[12912] rtp.c: Got RTCP report of 64 bytes [Dec 21 
14:20:03] DEBUG[12912] channel.c: Didn't get a frame from
channel: SIP/astnorth-0f72
[Dec 21 14:20:03] DEBUG[12912] rtp.c: Setting the marker bit due to a source 
update [Dec 21 14:20:03] DEBUG[12912] channel.c: Bridge stops bridging channels
SIP/100-0f71 and SIP/astnorth-0f72 [Dec 21 14:20:03] DEBUG[12912] 
pbx.c: Launching 'Macro'
[Dec 21 14:20:03] VERBOSE[12912] logger.c: -- Executing
[h@macro-dialout-trunk:1] Macro(SIP/100-0f71, hangupcall|) in new stack



[Dec 21 14:25:12] VERBOSE[13081] logger.c: -- SIP/astnorth-0f74
answered SIP/100-0f73
[Dec 21 14:25:12] DEBUG[13081] devicestate.c: Notification of state change to 
be queued on device/channel SIP/100 [Dec 21 14:25:12] DEBUG[13081] chan_sip.c: 
SIP answering channel:
SIP/100-0f73
[Dec 21 14:25:12] DEBUG[13081] rtp.c: Setting the marker bit due to a source 
update [Dec 21 14:25:12] DEBUG[13081] chan_sip.c: Setting framing from config 
on incoming call [Dec 21 14:25:12] DEBUG[13081] chan_sip.c: ** Our capability: 
0x4 (ulaw) Video flag: True [Dec 21 14:25:12] DEBUG[13081] chan_sip.c: ** Our 
prefcodec: 0x0
(nothing)
[Dec 21 14:25:12] DEBUG[13081] chan_sip.c: -- Done with adding codecs to SDP 
[Dec 21 14:25:12] DEBUG[13081] chan_sip.c: Done building SDP. Settling with 
this capability: 0x4 (ulaw) [Dec 21 

Re: [asterisk-users] How to use password file with AuthenticateApplication

2011-12-23 Thread virendra bhati
Hi list,

I have upgrade my linux version to Asterisk 1.6.2.20. now  Authenticate()
function is working. But 1 question I want to add this thread..

I have 3 password in my pass.txt file. i want that only sip 2209( just
example,) will come with 1234 pass  and 2208 with 1235 and rest will come
with 1236 password. So how I can make so ?


On Tue, Nov 29, 2011 at 8:16 PM, bakko asannu...@gmail.com wrote:

 I use this system to authenticate my users and work fine.

 Asterisk: 1.6.2.20
 Asterisk user: root

 Maybe if you active debug on the Asterisk console, you can find the error.

 Regards

 - Bakko


 --
 __**__**_
 -- 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-**usershttp://lists.digium.com/mailman/listinfo/asterisk-users




-- 

Thanks and regards

 Virendra Bhati
+91-8885268942
Software Engineer
--
_
-- 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] Dahdi not installed and application's details is missing in Asterisk

2011-12-23 Thread virendra bhati
Hi ,

Most of the time I get this error message. And after installed kernel
althings will become file. But today after doing all the things I am not
getting any good hope.

*[root@haddock8-astrx dahdi-linux-complete-2.5.0.2+2.5.0.2]#* make all
make -C linux all
make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.5.0.2+
2.5.0.2/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.5.0.2+
2.5.0.2/linux/drivers/dahdi/firmware'
make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.5.0.2+
2.5.0.2/linux/drivers/dahdi/firmware'
You do not appear to have the sources for the 2.6.18-194.11.1.el5 kernel
installed.
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.5.0.2+
2.5.0.2/linux'
make: *** [all] Error 2

this is the information of installed kernel.

*[root@haddock8-astrx dahdi-linux-complete-2.5.0.2+2.5.0.2]# *rpm -qa|grep
kernel
kernel-xen-devel-2.6.18-274.12.1.el5
kernel-debug-devel-2.6.18-274.12.1.el5
kernel-debug-2.6.18-274.12.1.el5
kernel-devel-2.6.18-274.12.1.el5
kernel-doc-2.6.18-274.12.1.el5
kernel-2.6.18-274.12.1.el5
kernel-2.6.18-194.11.1.el5
kernel-headers-2.6.18-274.12.1.el5
kernel-xen-2.6.18-274.12.1.el5

asterisk is installed and working.
but meetme application is missing due to dahdi installation.

I found new thinks that when I write command at CLI found strange message.

*haddock8-astrx*CLI* core show applications
-= Registered Asterisk Applications =-
AddQueueMember:
  ADSIProg:
AELSub:
AgentLogin:
  AgentMonitorOutgoing:
   AGI: Executes an AGI compliant application
 AlarmReceiver:
   AMD:
Answer:
  Authenticate:
BackGround:
  BackgroundDetect:
Bridge:
  Busy:
 ChangeMonitor: Change monitoring filename of a channel
   ChanIsAvail:
   ChannelRedirect:
   ChanSpy:
 ClearHash:
ConfBridge:
Congestion:
 ContinueWhile:
   ControlPlayback:
  DateTime:
 DBdel:
 DBdeltree:
   DeadAGI: Executes AGI on a hungup channel
  Dial:
   Dictate:
 Directory:
  DISA:
  DumpChan:
  EAGI: Executes an EAGI compliant application
  Echo:
  EndWhile:
  Exec:
ExecIf:
ExecIfTime:
 ExitWhile:
  ExtenSpy:
   ExternalIVR: Interfaces with an external IVR application
  Festival:
  FollowMe:
   ForkCDR:
  GetCPEID:
 Gosub:
   GosubIf:
  Goto:
GotoIf:
GotoIfTime:
Hangup:
 IAX2Provision:
  ICES:
 ImportVar:
Incomplete:
JabberSend:
  JabberStatus:
   Log:
 Macro:
MacroExclusive:
 MacroExit:
   MacroIf:
 MailboxExists:
 Milliwatt:
 MinivmAccMess:
  MinivmDelete:
   MinivmGreet:
 MinivmMWI:
  MinivmNotify:
  MinivmRecord:
MixMonitor:
   Monitor: Monitor a channel
 Morsecode:
 MP3Player:
  MSet:
   MusicOnHold: Play Music On Hold indefinitely
 MYSQL: Do several mySQLy things
NBScat:
 NoCDR:
  NoOp:
   ODBC_Commit:
 ODBC_Rollback:
ODBCFinish:
 Originate:
  Park:
   ParkAndAnnounce:
ParkedCall:
  PauseMonitor: Pause monitoring of a channel
  PauseQueueMember:
Pickup:
PickupChan:
  Playback:
 PlayTones:
PrivacyManager:
Proceeding:
  Progress:
 Queue:
  QueueLog:
RaiseException:
  Read:
 ReadExten:
  ReadFile:
Record:
 RemoveQueueMember:
  ResetCDR:
 RetryDial:
Return:
   Ringing:
  SayAlpha:
SayCountPL:
 SayDigits:
 SayNumber:
   SayPhonetic:
   SayUnixTime:
  SendDTMF:
 SendImage:
  SendText:
   SendURL:
   Set:
   SetAMAFlags:
 SetCallerPres:
SetMusicOnHold: Set default Music On Hold class
  SIPAddHeader:
   SIPDtmfMode:
   SIPRemoveHeader:
   SMS:
SoftHangup:
  SpeechActivateGrammar:
  SpeechBackground:
  SpeechCreate:
  SpeechDeactivateGrammar:
 

[asterisk-users] GotoIfTime days query

2011-12-23 Thread Ishfaq Malik
Hi

I'm using 1.8. Is there a way you can specify staggered days in a single
GotoIfTime command e.g. mon|wed|fri?

Thanks in Advance

Ish
-- 
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062


--
_
-- 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] GotoIfTime days query

2011-12-23 Thread virendra bhati
Hi ,

make variable and then put in funtion GotoIf()
like

set(day=mon|wed|fri)
GotoIfTime(*,$day,1,jan?happynewyears,s,1);


On Fri, Dec 23, 2011 at 3:03 PM, Ishfaq Malik i...@pack-net.co.uk wrote:

 Hi

 I'm using 1.8. Is there a way you can specify staggered days in a single
 GotoIfTime command e.g. mon|wed|fri?

 Thanks in Advance

 Ish
 --
 Ishfaq Malik
 Software Developer
 PackNet Ltd

 Office:   0161 660 3062


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




-- 

Thanks and regards

 Virendra Bhati
+91-8885268942
Software Engineer
--
_
-- 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] GotoIfTime days query

2011-12-23 Thread Ishfaq Malik
So pipes can be used as a secondary delimiter?

On Fri, 2011-12-23 at 15:08 +0530, virendra bhati wrote:
 Hi ,
 
 make variable and then put in funtion GotoIf()
 like
 
 set(day=mon|wed|fri)
 GotoIfTime(*,$day,1,jan?happynewyears,s,1);
  
 
 On Fri, Dec 23, 2011 at 3:03 PM, Ishfaq Malik i...@pack-net.co.uk
 wrote:
 Hi
 
 I'm using 1.8. Is there a way you can specify staggered days
 in a single
 GotoIfTime command e.g. mon|wed|fri?
 
 Thanks in Advance
 
 Ish
 --
 Ishfaq Malik
 Software Developer
 PackNet Ltd
 
 Office:   0161 660 3062
 
 
 --
 _
 -- 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
 
 
 
 -- 
 
 Thanks and regards
 
  Virendra Bhati
 +91-8885268942
 Software Engineer
 
 
 
 --
 _
 -- 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

-- 
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062


--
_
-- 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] Any one using VICIDIAL?

2011-12-23 Thread Brynjolfur Thorvardsson
Hi all, I'm looking at options for installing/writing PBX software and I came 
across www.vicidial.orghttp://www.vicidial.org which seems to do almost all I 
need - and is open source and all.

I'd very much like to hear from anyone having experience with VICIDIAL, e.g. 
using it with different versions of Asterisk (the documentation only mentions * 
up to 1.6)

Best regards

Binni

ITAnet
Kirkestien 20
9230  Svenstrup

Telefon: 3020 0868

Email: bi...@itanet.numailto:i...@itanet.nu
WWW: http://www.itanet.nuhttp://www.itanet.nu/


[cid:image001.gif@01CCC163.B1ACD9C0]

inline: image001.gif--
_
-- 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] GotoIfTime days query

2011-12-23 Thread virendra bhati
Hi,

It will not work...

On Fri, Dec 23, 2011 at 3:18 PM, Ishfaq Malik i...@pack-net.co.uk wrote:

 So pipes can be used as a secondary delimiter?

 On Fri, 2011-12-23 at 15:08 +0530, virendra bhati wrote:
  Hi ,
 
  make variable and then put in funtion GotoIf()
  like
 
  set(day=mon|wed|fri)
  GotoIfTime(*,$day,1,jan?happynewyears,s,1);
 
 
  On Fri, Dec 23, 2011 at 3:03 PM, Ishfaq Malik i...@pack-net.co.uk
  wrote:
  Hi
 
  I'm using 1.8. Is there a way you can specify staggered days
  in a single
  GotoIfTime command e.g. mon|wed|fri?
 
  Thanks in Advance
 
  Ish
  --
  Ishfaq Malik
  Software Developer
  PackNet Ltd
 
  Office:   0161 660 3062
 
 
  --
 
 _
  -- 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
 
 
 
  --
 
  Thanks and regards
 
   Virendra Bhati
  +91-8885268942
  Software Engineer
 
 
 
  --
  _
  -- 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

 --
 Ishfaq Malik
 Software Developer
 PackNet Ltd

 Office:   0161 660 3062


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




-- 

Thanks and regards

 Virendra Bhati
+91-8885268942
Software Engineer
--
_
-- 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] Dahdi not installed and application's details is missing in Asterisk

2011-12-23 Thread Andreas Sikkema
 [root@haddock8-astrx dahdi-linux-complete-2.5.0.2+2.5.0.2]# make all
 make -C linux all
 make[1]: Entering directory
 `/usr/src/dahdi-linux-complete-2.5.0.2+2.5.0.2/linux'
 make -C drivers/dahdi/firmware firmware-loaders
 make[2]: Entering directory
 `/usr/src/dahdi-linux-complete-2.5.0.2+2.5.0.2/linux/drivers/dahdi/firmware'
 make[2]: Leaving directory
 `/usr/src/dahdi-linux-complete-2.5.0.2+2.5.0.2/linux/drivers/dahdi/firmware'
 You do not appear to have the sources for the 2.6.18-194.11.1.el5 kernel
 installed.
 make[1]: *** [modules] Error 1
 make[1]: Leaving directory
 `/usr/src/dahdi-linux-complete-2.5.0.2+2.5.0.2/linux'
 make: *** [all] Error 2

 this is the information of installed kernel.

 [root@haddock8-astrx dahdi-linux-complete-2.5.0.2+2.5.0.2]# rpm -qa|grep
 kernel
 kernel-xen-devel-2.6.18-274.12.1.el5
 kernel-debug-devel-2.6.18-274.12.1.el5
 kernel-debug-2.6.18-274.12.1.el5
 kernel-devel-2.6.18-274.12.1.el5
 kernel-doc-2.6.18-274.12.1.el5
 kernel-2.6.18-274.12.1.el5
 kernel-2.6.18-194.11.1.el5
 kernel-headers-2.6.18-274.12.1.el5
 kernel-xen-2.6.18-274.12.1.el5

You have headers installed for the kernel version 2.6.18-274.12.1.el5
but the DAHDI build is looking for kernel headers for
2.6.18-194.11.1.el5. Either install those kernel headers or reboot to
kernel version 2.6.18-274.12.1.el5 and try again.


-- 
Andreas

--
_
-- 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] execute command just after Dial()

2011-12-23 Thread Kamlesh Kumar

Hello,
 
I'm using AGI scripting with asterisk and need to execute certain commands just 
after Dial(). But once dial command is executed, further commands/instructions 
are ignored.
 
 
$agi-exec(Dial,SIP/100);
$dialstatus = $agi - get_variable(DIALSTATUS); 
 
if($dialstatus[data]==ANSWER)
   
{
   do something...
}
 
thanks,
Kamlesh   --
_
-- 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] How to use password file withAuthenticateApplication

2011-12-23 Thread bakko
hello,

you can't use authenticate for this scenario.

You have to create a databse with two fields: extension and password.

Then query the database with func_odbc function.

There is a spanish article about this: http://www.voztovoice.org/?q=node/478

Regards
  - Original Message - 
  From: virendra bhati 
  To: Asterisk Users Mailing List - Non-Commercial Discussion 
  Sent: Friday, December 23, 2011 3:33 AM
  Subject: Re: [asterisk-users] How to use password file 
withAuthenticateApplication


  Hi list,

  I have upgrade my linux version to Asterisk 1.6.2.20. now  Authenticate() 
function is working. But 1 question I want to add this thread..

  I have 3 password in my pass.txt file. i want that only sip 2209( just 
example,) will come with 1234 pass  and 2208 with 1235 and rest will come with 
1236 password. So how I can make so ?



  On Tue, Nov 29, 2011 at 8:16 PM, bakko asannu...@gmail.com wrote:

I use this system to authenticate my users and work fine.

Asterisk: 1.6.2.20
Asterisk user: root

Maybe if you active debug on the Asterisk console, you can find the error.

Regards

- Bakko


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




  -- 


  Thanks and regards

   Virendra Bhati
  +91-8885268942
  Software Engineer





--


  --
  _
  -- 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] Dahdi not installed and application's details is missing in Asterisk

2011-12-23 Thread virendra bhati
how I can reboot to kernel version 2.6.18-274.12.1.el5 ?
Is there any Linux file by which we can change the default kernel version.
I have server at different location and can't select from GUI made after
reboot machine.

On Fri, Dec 23, 2011 at 5:33 PM, Andreas Sikkema h...@ramdyne.nl wrote:

  [root@haddock8-astrx dahdi-linux-complete-2.5.0.2+2.5.0.2]# make all
  make -C linux all
  make[1]: Entering directory
  `/usr/src/dahdi-linux-complete-2.5.0.2+2.5.0.2/linux'
  make -C drivers/dahdi/firmware firmware-loaders
  make[2]: Entering directory
  `/usr/src/dahdi-linux-complete-2.5.0.2+
 2.5.0.2/linux/drivers/dahdi/firmware'
  make[2]: Leaving directory
  `/usr/src/dahdi-linux-complete-2.5.0.2+
 2.5.0.2/linux/drivers/dahdi/firmware'
  You do not appear to have the sources for the 2.6.18-194.11.1.el5 kernel
  installed.
  make[1]: *** [modules] Error 1
  make[1]: Leaving directory
  `/usr/src/dahdi-linux-complete-2.5.0.2+2.5.0.2/linux'
  make: *** [all] Error 2
 
  this is the information of installed kernel.
 
  [root@haddock8-astrx dahdi-linux-complete-2.5.0.2+2.5.0.2]# rpm -qa|grep
  kernel
  kernel-xen-devel-2.6.18-274.12.1.el5
  kernel-debug-devel-2.6.18-274.12.1.el5
  kernel-debug-2.6.18-274.12.1.el5
  kernel-devel-2.6.18-274.12.1.el5
  kernel-doc-2.6.18-274.12.1.el5
  kernel-2.6.18-274.12.1.el5
  kernel-2.6.18-194.11.1.el5
  kernel-headers-2.6.18-274.12.1.el5
  kernel-xen-2.6.18-274.12.1.el5

 You have headers installed for the kernel version 2.6.18-274.12.1.el5
 but the DAHDI build is looking for kernel headers for
 2.6.18-194.11.1.el5. Either install those kernel headers or reboot to
 kernel version 2.6.18-274.12.1.el5 and try again.


 --
 Andreas

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




-- 

Thanks and regards

 Virendra Bhati
+91-8885268942
Software Engineer
--
_
-- 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] Codec warnings after upgrade to 1.8

2011-12-23 Thread Eric Wieling
I'm getting various codec related warnings after upgrading to 1.8.  Did I miss 
something in the UPGRADE file?  Does Asterisk no longer transcode 8-)?

WARNING[11123]: channel.c:4909 ast_write: Codec mismatch on channel 
DAHDI/i1/12124221200-74 setting write format to g722 from ulaw native formats 
0x4 (ulaw)

And

WARNING[11120]: channel.c:4909 ast_write: Codec mismatch on channel 
SIP/interglobe-sip-01e6 setting write format to g722 from ulaw native 
formats 0x4 (ulaw)

--
_
-- 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] AEL2: How get rid of expression has operators, but no variables warnings

2011-12-23 Thread Olivier
Hi,

I'm converting an existing dialplan written in AEL2 to Asterisk 1.8.
While at it, I'm trying to get rid of some AEL2 warnings messages that
used to clutter my console when loading AEL scripts.

Specifically, my dialplan includes this simple text assignment :
prefix1=FooBar = ;

It produces this:
 expression FooBar =  has operators, but no variables. Interesting...

Using Set application makes it but I would appreciate an other way to do it.
Suggestion ?

Regards

--
_
-- 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] Vicidial license

2011-12-23 Thread mahesh katta
Hi,

How to make a vicidial license of perticular no. ?

pls help me is there any addon for license or any application software ?

Regards,
Mahesh Katta
**
--
_
-- 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] execute command just after Dial()

2011-12-23 Thread Sammy Govind
Hi,
Please see the Dial application documents from CLI, i.e core show
application dial. There is an option which will let you continue in the
DIal-plan after the Dial command on hangup.

Regards,
Sammy.

On Fri, Dec 23, 2011 at 5:54 PM, Kamlesh Kumar kamlesh_...@hotmail.comwrote:

  Hello,

 I'm using AGI scripting with asterisk and need to execute certain commands
 just after Dial(). But once dial command is executed, further
 commands/instructions are ignored.


 $agi-exec(Dial,SIP/100);
 $dialstatus = $agi - get_variable(DIALSTATUS);

 if($dialstatus[data]==ANSWER)

 {
do something...
 }

 thanks,
 Kamlesh

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