Re: [asterisk-users] Dialing a call back out on same SIP trunk as it came in
I had in a same situation and solved by Background 1 sec. silence. On Wed, Nov 25, 2015 at 5:45 PM, Brian ::wrote: > add a pause in the dialplan for a second then proceed.. > > > > On Wed, Nov 25, 2015 at 2:27 PM, Tony Mountifield > wrote: > >> In article <20151125133008.6369360.14455.17...@gmail.com>, >> Israel Gottlieb wrote: >> > Try putting progress instead of answer >> >> Yes, I tried Progress already, and it didn't help. But thanks for >> the suggestion! >> >> Tony >> >> > I have a puzzling situation, and would be grateful for any insight. >> > >> > I have a dialplan that forwards an incoming call out to another >> > number via the same SIP trunk as it came in on. e.g. >> > >> > [from-siptrunk] >> > exten => 0123456789,1,NoOp >> > exten => 0123456789,n,Dial(SIP/siptrunk/0987654321) >> > >> > Now, if I use a different SIP trunk for the outbound call, than the >> > inbound call came on, the call is set up fine - the Answer signal from >> the >> > called party gets propagated back to the caller, and they can hear each >> > other. >> > >> > But if the outbound SIP trunk is the same as the one the call came in >> on, >> > the caller doesn't hear any progress, and has no notification of when >> the >> > call was answered. Neither can the parties hear each other. >> > >> > I have tried this on two different machines using two different SIP >> > providers. >> > >> > However, if I change the above NoOp to be Answer(100), i.e. answer the >> > inbound call before placing the outbound Dial, the caller hears progress >> > and when the called party answers, they hear each other fine. >> > >> > Of course, if the called party is busy, the caller just hears in-band >> > busy tone, as the caller's inbound call was already answered. >> > >> > Can anyone explain why I need the Answer? It feels wrong that I should. >> > >> > The siptrunk entry contains canreinvite=no and directmedia=no. >> > >> > The version of Asterisk on these boxes is 10.5.1, if that's relevant. >> > >> > Thanks for any insight! >> > >> > Cheers >> > Tony >> > >> > -- >> > Tony Mountifield >> > Work: t...@softins.co.uk - http://www.softins.co.uk >> > Play: t...@mountifield.org - http://tony.mountifield.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 >> > >> >> >> -- >> Tony Mountifield >> Work: t...@softins.co.uk - http://www.softins.co.uk >> Play: t...@mountifield.org - http://tony.mountifield.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] Calls not hanging up
Your call is up on VoiceMail you should check dialstatus before sending user to VoiceMail. On Thu, Aug 7, 2014 at 4:12 PM, D'Arcy J.M. Cain da...@vex.net wrote: This just started after upgrading to 11.11.0. After a call is completed (both ends hang up) the call still shows as active. # asterisk -x core show channels Channel Location State Application(Data) SIP/thinktel-000 (None) Up AppDial((Outgoing Line)) SIP/4164251212-0 416555@LocalSets Up Dial(SIP/thinktel/416555) 2 active channels 1 active call 1 call processed The 1212 number is mine and is hung up. I even rebooted my ATA to make sure that it wasn't holding the line. My dialplan is extremely simple. In fact, I even simplified it from what it was for this testing. Here it is. exten = 4164251212,1,Verbose(0, ${CALLERID(all)} Calling ${EXTEN}) same = n,Dial(SIP/4164251212,30) same = n,VoiceMail(4164251212@LocalSets,u) same = n,Hangup() I can post any other log or config excerpts if someone thinks that they are relevant but all of this was working under 11.10.2. Thanks. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:da...@vex.net VoIP: sip:da...@vex.net -- _ -- 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] dialplan =how many concurrent calls
you can use GROUP and GROUP_COUNT n,Set(GROUP()=aname) n,GotoIf($[${GROUP_COUNT(aname)} 8]?${EXTEN},200) 200,Hangup On Thu, Jul 10, 2014 at 3:24 PM, Rafael Visser visser.raf...@gmail.com wrote: Hi guys. Does somebody knows how to get the concurrent calls from the dial plan? Or. How can i control not to run more than n simultaneus agi applications? Thanks in advance. rv -- _ -- 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] Trunk issue
file is executable? can you show ls -l /var/lib/asterisk/agi-bin On Mon, Apr 28, 2014 at 7:12 PM, Haley,Scott A scott.ha...@edwardjones.comwrote: It runs but hangs with the output of: perl tbsdial.agi 81101 GET VARIABLE astexten Right now, it is a simple perl script. Here is the entire script. #!/usr/bin/perl use Asterisk::AGI; my $agi = new Asterisk::AGI; my $dialgroup1 = DIALGROUP1; my $dialgroup2 = DIALGROUP2; my $vmvariable = VM; my $timer = TIMER; my $branch = BRANCH; my $input; my $dg1value; my $dg2value; my $vmvalue; my $branchvalue; $input = $agi-get_variable(astexten); #$agi-answer(); #$agi-stream_file(welcome); $agi-set_variable($dialgroup1, $dg1value); $agi-set_variable($dialgroup2, $dg2value); $agi-set_variable($vmvariable, $vmvalue); $agi-set_variable($timer, $timervalue); $agi-set_variable($branch, $branchvalue); Thanks, Scott Haley 5-2244 If you are not the intended recipient of this message (including attachments), or if you have received this message in error, immediately notify us and delete it and any attachments. If you do not wish to receive any email messages from us, excluding administrative communications, please email this request to messa...@edwardjones.com along with the email address you wish to unsubscribe. For important additional information related to this email, visit www.edwardjones.com/US_email_disclosure. Edward D. Jones Co., L.P. d/b/a Edward Jones, 12555 Manchester Road, St. Louis, MO 63131 © Edward Jones. All rights reserved. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] On Behalf Of Eric Wieling Sent: Monday, April 28, 2014 12:07 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Trunk issue Does the script generate an error when run outside of Asterisk? An AGI should simply wait for input when run outside of Asterisk. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] On Behalf Of Haley,Scott A Sent: Monday, April 28, 2014 1:04 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Trunk issue I am trying to run an agi script and asterisk is not finding it. The output of the cli is as follows: -- Executing [s@tbs-utils:7] AGI(SIP/7002-001a, tbsdial.agi) in new stack [Apr 28 12:00:05] WARNING[21812][C-000f]: res_agi.c:1681 launch_script: Failed to execute '/var/lib/asterisk/agi-bin/tbsdial.agi': File does not exist. The file is in that directory and is owned by the user asterisk. Why does it say the file does not exist? -- _ -- 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] Trunk issue
if that is the case then check again Perl Asterisk AGI. On Mon, Apr 28, 2014 at 7:33 PM, Haley,Scott A scott.ha...@edwardjones.comwrote: One more thing. I have this exact same script working on an Asterisk 1.8 box. This is a new Asterisk 11.7 box. Thanks, Scott Haley 5-2244 -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] On Behalf Of Haley,Scott A Sent: Monday, April 28, 2014 12:32 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Trunk issue Here is the directory listing: [root@nxdasterisk-3 agi-bin]# ls -al total 12 drwxr-xr-x. 2 asterisk asterisk 4096 Apr 28 12:11 . drwxr-xr-x. 12 asterisk asterisk 4096 Apr 28 12:26 .. -rwxrwxr-x. 1 asterisk asterisk 590 Apr 28 11:55 tbsdial.agi Thanks, Scott Haley 5-2244 -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] On Behalf Of Eric Wieling Sent: Monday, April 28, 2014 12:25 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Trunk issue Odd. AGI scripts should hang waiting for input when run from the CLI. They should not output anything. If the script is not set as executable you'd get an error. If you were not running it as the same user as asterisk runs as you should still get a different error. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] On Behalf Of Haley,Scott A Sent: Monday, April 28, 2014 1:13 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Trunk issue It runs but hangs with the output of: perl tbsdial.agi 81101 GET VARIABLE astexten Right now, it is a simple perl script. Here is the entire script. #!/usr/bin/perl use Asterisk::AGI; my $agi = new Asterisk::AGI; my $dialgroup1 = DIALGROUP1; my $dialgroup2 = DIALGROUP2; my $vmvariable = VM; my $timer = TIMER; my $branch = BRANCH; my $input; my $dg1value; my $dg2value; my $vmvalue; my $branchvalue; $input = $agi-get_variable(astexten); #$agi-answer(); #$agi-stream_file(welcome); $agi-set_variable($dialgroup1, $dg1value); $agi-set_variable($dialgroup2, $dg2value); $agi-set_variable($vmvariable, $vmvalue); $agi-set_variable($timer, $timervalue); $agi-set_variable($branch, $branchvalue); Thanks, Scott Haley 5-2244 If you are not the intended recipient of this message (including attachments), or if you have received this message in error, immediately notify us and delete it and any attachments. If you do not wish to receive any email messages from us, excluding administrative communications, please email this request to messa...@edwardjones.com along with the email address you wish to unsubscribe. For important additional information related to this email, visit www.edwardjones.com/US_email_disclosure. Edward D. Jones Co., L.P. d/b/a Edward Jones, 12555 Manchester Road, St. Louis, MO 63131 © Edward Jones. All rights reserved. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] On Behalf Of Eric Wieling Sent: Monday, April 28, 2014 12:07 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Trunk issue Does the script generate an error when run outside of Asterisk? An AGI should simply wait for input when run outside of Asterisk. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] On Behalf Of Haley,Scott A Sent: Monday, April 28, 2014 1:04 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Trunk issue I am trying to run an agi script and asterisk is not finding it. The output of the cli is as follows: -- Executing [s@tbs-utils:7] AGI(SIP/7002-001a, tbsdial.agi) in new stack [Apr 28 12:00:05] WARNING[21812][C-000f]: res_agi.c:1681 launch_script: Failed to execute '/var/lib/asterisk/agi-bin/tbsdial.agi': File does not exist. The file is in that directory and is owned by the user asterisk. Why does it say the file does not exist? -- _ -- 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
Re: [asterisk-users] FW: clients unable to auth
Hello, Try this [6004] type=friend host=dynamic disallow=all allow=ulaw allow=alaw callerid=6004 Peter secret=XXX context=default port=9060 nat=force_rport,comedia deny=0.0.0.0 permit=IP/255.255.0.0,IP/255.255.0.0,PrvIP/255.255.0.0, PrvIP/255.255.0.0 On Wed, Apr 16, 2014 at 12:56 PM, Peter Reid peter.r...@morodo.co.ukwrote: Hi Guys, Just new to Asterisk and am completely stumped. I have created two accounts as instructed. Please see below for the config of the user accounts. [Peter] type=friend host=IP address disallow=all allow=ulaw allow=alaw callerid=Peter 6004 secret=XXX context=default port=9060 nat=force_rport,comedia deny=0.0.0.0 permit=IP/255.255.0.0,IP/255.255.0.0,PrvIP/255.255.0.0, PrvIP/255.255.0.0 When attempting to register there appears to be something not allowing the authentication of the client against Asterisk. I am getting a 401 Unauthorized on first attempt and then 403 (Bad auth) on second. Is there any ACL config that I have missed which is not allow a good authentication. I have enabled nat and allowed all public and private IP’s of the two clients with masks. The CLI console returns the following: ignore - Apr 16 11:09:57] NOTICE[24359]: chan_sip.c:27724 handle_request_register: Registration from '6004 sip:6...@xx.xx.xx.xx:9060' failed for 'IP:57836' - No matching peer found [Apr 16 11:09:57] NOTICE[24359]: chan_sip.c:27724 handle_request_register: Registration from '6004sip:6004@IP:9060' failed for 'IP:57836' - No matching peer found serverIP*CLI Have searched under No matching peer found and although there is some info on this it does not appear to satisfy my situation. Please help. *Best Regards, * *Peter * -- http://www.avast.com/ This email is free from viruses and malware because avast! Antivirushttp://www.avast.com/protection is active. -- _ -- 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] Asterisk 1.8.24 : illegal instruction
Hello, you can check the asterisk binary with. file /usr/sbin/asterisk and linked library ldd /usr/sbin/asterisk On Wed, Nov 20, 2013 at 2:51 PM, Jonas Kellens jonas.kell...@telenet.bewrote: On 20-11-13 14:43, A J Stiles wrote: On Wednesday 20 November 2013, Jonas Kellens wrote: Hello, I have installed asterisk 1.8.24 (from source) but I can not start up Asterisk : [root@sip32 admin]# /usr/sbin/asterisk -r Illegal instruction Are you using a VIA C6/C7 processor (often found soldered to tiny motherboards), by any chance? This family of processors falsely report as i686 when they lack some of the instructions for this family. The fix is to build for a target architecture of i586. No, this is a Xen VPS. Jonas. -- _ -- 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] outbound call issue
some more information's will help sort out the issue. On Fri, Oct 18, 2013 at 2:30 PM, shiva kumar sivakumar.kara...@gmail.comwrote: Dear All, i had an issue when we are going to call back the number from asterisk its ringing as the customer mobile is switched off. And also it also not saying busy when the customer is on another call. so please help me in this issue -- _ -- 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] MusicOnHold starts magically for no reason
if you don't use MOH just don't load module res_musiconhold.so On Fri, Oct 18, 2013 at 6:24 PM, Alban Elziere alban.elzi...@nevox.frwrote: Thank you for pointing this thread. So, looks like no solution exists to correct this (as I understand)... as it is part of the standard. Have you found a trick to avoid that (break it)? Alban -Message d'origine- De : asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] De la part de Doug Lytle Envoyé : vendredi 18 octobre 2013 13:55 À : Asterisk Users Mailing List - Non-Commercial Discussion Objet : Re: [asterisk-users] MusicOnHold starts magically for no reason I also see that on our servers. By the way, is It possible to avoid this behavior? It's quite disappointing for our customers to hear their music on hold when the remote party put them on hold... You'll want to review this thread: http://www.asteriskguru.com/archives/image-vp345921.html Doug -- _ -- 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] What linux distro most popular for Asterisk
We are using Debian 32bit and 64bit on standalone and on VMs without any issue. On Thu, Oct 17, 2013 at 10:15 AM, Frederic Van Espen frederic...@gmail.comwrote: On 10/17/2013 09:47 AM, Alban Elziere wrote: I'm using Ubuntu server (32bit mainly), standalone or VM (esxi) with good stability. Same here. We've been using ubuntu lucid 32bit for years. We have about 1000 implementations of this. -- __**__**_ -- 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 -- _ -- 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] is g729 codec free? or under license???
Hi, no you don't need just allow g729 on both peers or allow all on both peers and enable only g729 on softphones. my asterisk in middle don't have g729 and g723.1 on my asterisk but my both end point have these codecs i just allowed the codes and it works perfectly. On Mon, Oct 14, 2013 at 9:21 AM, s m sam.gh1...@gmail.com wrote: thanks Asghar, but are you sure? my two endpoints -which are soft-phones- have g729 codec but my asterisk on middle system has not any module for g729 codec. i think i should get module g729 for my middle system in order to pass calls with g729 codec. isn't it true? On Sat, Oct 12, 2013 at 1:08 PM, Asghar Mohammad asghar...@gmail.comwrote: HI, You don't need a g729 installed in pass throw mode. if both ends have codec g729 you can just enable on both peers. and asterisk should pass the codec from 1 end to other. but make sure you are not doing transcoding of any type answering the call playing voice prompts etc. On Sat, Oct 12, 2013 at 9:52 AM, s m sam.gh1...@gmail.com wrote: thank you everybody for your useful replies and so sorry to answer late. i understand what i need. first of all, i wanna to use pass through g729 codec (which is free). so i go to http://asterisk.hosting.lv/ to get g729 codec. i have freebsd 8.2 and asterisk 1.8.22 but there is no compatible codec for Xeon Intel in the list. it means that i can't use codec g729 on my system??? or can i use codec for another type of hardware for my system? anyone has any experience? thanks in advance SAM On Mon, Oct 7, 2013 at 5:04 PM, John Novack jnov...@stromberg-carlson.org wrote: Darryl Moore wrote: Thank you Steve, and I read a bit more on the web on this subject including your own well reasoned page at http://www.soft-switch.org/**patents/index.htmlhttp://www.soft-switch.org/patents/index.html However, despite wide acceptance of the patentability of such codecs (unfortunately), whether they are in fact software patents or not appears to be a matter of opinion. The FSF and Fedora both refer to codec patents as being software patents. http://endsoftpatents.org/**2011/02/usa-patent-reform-not-**enough/http://endsoftpatents.org/2011/02/usa-patent-reform-not-enough/ http://fedoraproject.org/wiki/**Software_Patentshttp://fedoraproject.org/wiki/Software_Patents A quick google search of both terms will show that there are a great many people who see codec patents as software patents, so I don't think I am alone there. snip Law is ALWAYS open to interpretation, so that is not surprising. See if you can get any lawyer, and especially a patent attorney, to give you a definitive answer! You will not get one. Seldom will you ever get an eggspurt legal opinion Any good lawyer will tell you maybe, or if there is any doubt don't do it! Law is not precisely measurable. No meter or O'scope to assist here. Any A**hole can sue anyone for the filing fee, and the results are up to the opinion of a judge or jury. The lawyers want it that way, so it isn't ever going to be any different. John Novack -- Dog is my Co-pilot -- __**__** _ -- 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 -- _ -- 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
Re: [asterisk-users] is g729 codec free? or under license???
HI, You don't need a g729 installed in pass throw mode. if both ends have codec g729 you can just enable on both peers. and asterisk should pass the codec from 1 end to other. but make sure you are not doing transcoding of any type answering the call playing voice prompts etc. On Sat, Oct 12, 2013 at 9:52 AM, s m sam.gh1...@gmail.com wrote: thank you everybody for your useful replies and so sorry to answer late. i understand what i need. first of all, i wanna to use pass through g729 codec (which is free). so i go to http://asterisk.hosting.lv/ to get g729 codec. i have freebsd 8.2 and asterisk 1.8.22 but there is no compatible codec for Xeon Intel in the list. it means that i can't use codec g729 on my system??? or can i use codec for another type of hardware for my system? anyone has any experience? thanks in advance SAM On Mon, Oct 7, 2013 at 5:04 PM, John Novack jnov...@stromberg-carlson.org wrote: Darryl Moore wrote: Thank you Steve, and I read a bit more on the web on this subject including your own well reasoned page at http://www.soft-switch.org/**patents/index.htmlhttp://www.soft-switch.org/patents/index.html However, despite wide acceptance of the patentability of such codecs (unfortunately), whether they are in fact software patents or not appears to be a matter of opinion. The FSF and Fedora both refer to codec patents as being software patents. http://endsoftpatents.org/**2011/02/usa-patent-reform-not-**enough/http://endsoftpatents.org/2011/02/usa-patent-reform-not-enough/ http://fedoraproject.org/wiki/**Software_Patentshttp://fedoraproject.org/wiki/Software_Patents A quick google search of both terms will show that there are a great many people who see codec patents as software patents, so I don't think I am alone there. snip Law is ALWAYS open to interpretation, so that is not surprising. See if you can get any lawyer, and especially a patent attorney, to give you a definitive answer! You will not get one. Seldom will you ever get an eggspurt legal opinion Any good lawyer will tell you maybe, or if there is any doubt don't do it! Law is not precisely measurable. No meter or O'scope to assist here. Any A**hole can sue anyone for the filing fee, and the results are up to the opinion of a judge or jury. The lawyers want it that way, so it isn't ever going to be any different. John Novack -- Dog is my Co-pilot -- __**__**_ -- 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 -- _ -- 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] Capture Media IP in CDR
hi, you have not mentioned which cdr backend you are using. peer ip is saved in variable CHANNEL(peerip). if you are using mysql for cdr backend you can create a field in cdr table (field name can b any of your choice) in dialplan assign the value of CHANNEL(peerip) to you ip field and asterisk will fill ip field. if you name ip feild Peer_ip you can use this example. same,n,Set(CDR(Peer_ip)=${CHANNEL(peerip)}) On Sat, Oct 12, 2013 at 4:05 AM, CDR vene...@gmail.com wrote: I am not proxying the media, but never the less I am forced to store the source media IP in my CDR, for regulatory reasons. Asterisk gets that information when the reinvite comes, but how do I store it? If I don't figure this out my next email will be from Federal Prison. Kindly help me stay away from those guys. Eventually we all need to save that information or we shall not be able to stay in business. -- _ -- 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] Failed to authenticate user 1000sip:1000@MY_OWN_IP_ADDRESS; tag=03f82bb9
Hi, Bad boys trying to guess a valid username. in sip.conf uncomment alwaysauthreject=yes and Asterisk always reject 1st invite. On Tue, Oct 1, 2013 at 5:26 PM, Gareth Blades mailinglist+aster...@dns99.co.uk wrote: On 01/10/13 15:44, gincantalupo wrote: On Tue, Oct 1, 2013 at 5:07 AM, gincantalupo gincantal...@fgasoftware.com wrote: Hi, I get a lot of these messages on my Asterisk CLI: Failed to authenticate user 1000sip:1000@MY_OWN_IP_ADDRESS ;tag=03f82bb9 as if my PBX machine is trying to authenticate to itself. It seems someone is attacking my asterisk PBX. Is there a way to fix this problem? in sip.conf I have guest connections permitted and have them going to the default context which contains :- [default] ; all unauthenticated connection attempts from the internet come in here. exten = _[+*#0-9].,1,NoOp(Unauthenticated call attempt - ${SIP_HEADER(Contact)}) exten = _[+*#0-9].,n,Congestion Then in fail2ban I have it match the following :- failregex = Registration from .* failed for \'HOST\' - Wrong password Unauthenticated call attempt .*\@HOST\: -- _ -- 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] problem to get MWI working
HI Asmaa, I don't know how MWI works in Voicemail but as i understand it just create a .call file and put in /var/spool/asterisk/outgoing and asterisk execute that file. i am using similar method for sending fax to from email. i show you some examples from my php scripts. 1. in voicemail context exten =_X.1,VoicemailMain() exten =h,1,exten = h,n,System(/usr/bin/php path to php script ${CDR(accountcode)} ${FAXEDNUM} ${CALLERID(num)} ${FAXSTATUS} ${CDR(duration)} ${UNIQUEID} ${CALLCOUNT} ${TIFF}) pass variables to script as you need. **Part of php 2. script do some checks on saved VM of Fax if it is too short or incomplete just delete it or do want you want. in script collect variables pass to it. $argv; $accountcode = $argv[1]; $callednum = $argv[2]; $callerid = $argv[3]; $faxstatus = $argv[4]; $billtime = $argv[5]; $unid = $argv[6]; $callcount = $argv[7]; $faxtiff = $argv[8]; Create .call file somewhere but not in /var/spool/asterisk/outgoing $filename = path to call file/$accountcode-$unid.call; Remove old call file with same if any. system (rm -f $filename); Create Contents of file as you need $Content = Channel: $providertech/$callednum@$providerip\nCallerID: $callerid\nWaitTime: 180\nMaxRetries: 0\nRetryTime: 300\nContext: fax-out\nExtension: $callednum \nArchive: false\nPriority: 1\nSetVar: SENDER=$callerid \nSetVar: TIFF=$faxtiff \nAccount: $accountcode \nSetVar: CALLCOUNT=2; Open file and fill it. $handle = fopen($filename, 'x+'); fwrite($handle, $Content); fclose($handle); if you want execute call file after some delay change timestamp. system (touch -d '3 minutes 11 seconds' $filename); Move file to /var/spool/asterisk/outgoing Note: don't copy the file but MOVE the file. if you copy the file asterisk may execute partial file. system (/bin/mv $filename /var/spool/asterisk/outgoing); you can use any scripting language. Hope this will help you On Sun, Sep 29, 2013 at 2:01 AM, Asmaa Ahmed asabatg...@hotmail.com wrote: Hello, It looks that I got this in the logs while running the scripts manually by mistake, so back to the starting point I can't figure why externnotify doesn't run? My target is to have MWI (Message waiting indicator) running. Also still can see the debug logs in CLI/asterisk logs even with increasing the verbosity and debug level! Thanks. -- _ -- 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] problem to get MWI working
Hi Asmaa, Have you enabled debug to console in logger.conf? enable debug in logger.conf console = notice,warning,error,debug and reload Asterisk. On Sun, Sep 29, 2013 at 4:48 PM, Asmaa Ahmed asabatg...@hotmail.com wrote: Hi Asghar, Thanks a lot for your proposed solution! MWI is turned on or off by the presence of a msgxxx.txt file in the INBOX directory for a given voicemail box. The externnotify= option in voicemail.conf allows to run a program or script whenever a voicemail is received and also when someone exits the VoiceMailMain() application. When externnotify is processed it passes the context, extension and number of messages to the program or script you specify. My problem is that I don't understand why I can't get it activated (externnotify). I don't see it being called at all! My second issue is that I don't see debug logs even with increasing the verbosity and debugging to 10, Is there something else needed to be done. I can only see in Asterisk logs warning and notice levels! Thanks. -- Date: Sun, 29 Sep 2013 12:41:55 +0200 From: asghar...@gmail.com To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] problem to get MWI working HI Asmaa, I don't know how MWI works in Voicemail but as i understand it just create a .call file and put in /var/spool/asterisk/outgoing and asterisk execute that file. i am using similar method for sending fax to from email. i show you some examples from my php scripts. 1. in voicemail context exten =_X.1,VoicemailMain() exten =h,1,exten = h,n,System(/usr/bin/php path to php script ${CDR(accountcode)} ${FAXEDNUM} ${CALLERID(num)} ${FAXSTATUS} ${CDR(duration)} ${UNIQUEID} ${CALLCOUNT} ${TIFF}) pass variables to script as you need. **Part of php 2. script do some checks on saved VM of Fax if it is too short or incomplete just delete it or do want you want. in script collect variables pass to it. $argv; $accountcode = $argv[1]; $callednum = $argv[2]; $callerid = $argv[3]; $faxstatus = $argv[4]; $billtime = $argv[5]; $unid = $argv[6]; $callcount = $argv[7]; $faxtiff = $argv[8]; Create .call file somewhere but not in /var/spool/asterisk/outgoing $filename = path to call file/$accountcode-$unid.call; Remove old call file with same if any. system (rm -f $filename); Create Contents of file as you need $Content = Channel: $providertech/$callednum@$providerip\nCallerID: $callerid\nWaitTime: 180\nMaxRetries: 0\nRetryTime: 300\nContext: fax-out\nExtension: $callednum \nArchive: false\nPriority: 1\nSetVar: SENDER=$callerid \nSetVar: TIFF=$faxtiff \nAccount: $accountcode \nSetVar: CALLCOUNT=2; Open file and fill it. $handle = fopen($filename, 'x+'); fwrite($handle, $Content); fclose($handle); if you want execute call file after some delay change timestamp. system (touch -d '3 minutes 11 seconds' $filename); Move file to /var/spool/asterisk/outgoing Note: don't copy the file but MOVE the file. if you copy the file asterisk may execute partial file. system (/bin/mv $filename /var/spool/asterisk/outgoing); you can use any scripting language. Hope this will help you On Sun, Sep 29, 2013 at 2:01 AM, Asmaa Ahmed asabatg...@hotmail.comwrote: Hello, It looks that I got this in the logs while running the scripts manually by mistake, so back to the starting point I can't figure why externnotify doesn't run? My target is to have MWI (Message waiting indicator) running. Also still can see the debug logs in CLI/asterisk logs even with increasing the verbosity and debug level! Thanks. -- _ -- 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
Re: [asterisk-users] iax: unable to transfer - one way audio
Hi, If you post your configuration someone may help you. On Sat, Sep 28, 2013 at 5:03 PM, Sean Darcy seandar...@gmail.com wrote: On 09/27/2013 09:08 PM, Sean Darcy wrote: We have zoiper connected over iax to asterisk in Sydney. The call is to asterisk in New York. The caller in NZ can hear clearly. Nothing in NY. Here's the sydney server: -- Accepting AUTHENTICATED call from zoiperipaddr: requested format = speex, requested prefs = (), actual format = ulaw, host prefs = (silk16|ulaw|gsm|g722), priority = mine -- Executing [8447@nz-in:1] Dial(IAX2/n4-270, IAX2/sydney) in new stack -- Called IAX2/sydney -- Call accepted by nyipaddr (format ulaw) -- Format for call is (ulaw) -- IAX2/sydney-8819 is ringing -- IAX2/sydney-8819 answered IAX2/n4-270 -- Channel 'IAX2/n4-270' unable to transfer -- Channel 'IAX2/sydney-8819' unable to transfer -- Channel 'IAX2/sydney-8819' unable to transfer -- Channel 'IAX2/sydney-8819' unable to transfer The NY server: -- Accepting AUTHENTICATED call from sydneyipaddr: -- requested format = ulaw, -- requested prefs = (ulaw|silk16|gsm|g722), -- actual format = ulaw, -- host prefs = (ulaw|gsm|g722), -- priority = mine -- Executing [s@incoming-nz:1] Goto(IAX2/home-2152, incoming,s,nz-in) in new stack -- Goto (incoming,s,5) -- Executing [s@incoming:5] Dial(IAX2/home-2152, DAHDI/g0SIP/250SIP/251,60,**tT) in new stack == Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 == Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 -- Called DAHDI/g0 -- Called SIP/250 -- Called SIP/251 -- DAHDI/1-1 is ringing -- SIP/251-001d is ringing -- SIP/250-001c is ringing -- DAHDI/1-1 is ringing -- DAHDI/1-1 answered IAX2/home-2152 -- Channel 'IAX2/home-2152' unable to transfer -- Hanging up on 'DAHDI/1-1' Any help appreciated. sean FWIW, sydney server is 11.5.1, ny server 11.6.0-rc1. sean -- __**__**_ -- 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 -- _ -- 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 bind to ipv4 ipv6
Hi, Please Search the List there is already a post and solution. On Fri, Sep 27, 2013 at 3:58 PM, Daniel van den Berg aster...@suretel.co.za wrote: Hi All, This is my 1st post so lets go. What I need to achieve is the following. I have server with both IPv4 addresses and IPv6 addresses. The problem that I am encountering is that in the sip.conf I am having difficulties to bind to both the IPv4 and IPv6 addresses. Can someone please assist me in this regard as I need to connect another server to this server on IPv6 while the rest of the clients are connecting on IPv4. I need to know how to get this working? -- _ -- 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] The call is established but without exchanged voice packets
Hello, If Asterisk version is 1.6 use nat=force_rport,comedia On Fri, Sep 20, 2013 at 4:01 PM, Asmaa Ahmed asabatg...@hotmail.com wrote: Hello, I have set the direct media to be off, but still doesn't work. I am not sure about NAT configuration! SIP.conf, [general] section context=internal allowguest=no allowoverlap=no transport=udp bindport=5060 bindaddr=0.0.0.0 directmedia=no srvlookup=no disallow=all allow=ulaw alwaysauthreject=yes canreinvite=no nat=yes session-timers=refuse externip=IP localnet=172.16.0.255/255.255.255.0 The error messages [Sep 20 13:51:32] NOTICE[10979]: chan_sip.c:24728 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 7002 [Sep 20 13:52:27] WARNING[10979]: chan_sip.c:3641 retrans_pkt: Retransmission timeout reached on transmission OGU1NzgyMmVmNjU1NTBlYmNkMWIwOGEzOWRjNGYxYWU for seqno 2 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions Packet timed out after 32000ms with no response [Sep 20 13:52:27] WARNING[10979]: chan_sip.c:3670 retrans_pkt: Hanging up call OGU1NzgyMmVmNjU1NTBlYmNkMWIwOGEzOWRjNGYxYWU - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions ). [Sep 20 13:52:44] WARNING[10965]: asterisk.c:3190 canary_thread: The canary is no more. He has ceased to be! He's expired and gone to meet his maker! He's a stiff! Bereft of life, he rests in peace. His metabolic processes are now history! He's off the twig! He's kicked the bucket. He's shuffled off his mortal coil, run down the curtain, and joined the bleeding choir invisible!! THIS is an EX-CANARY. (Reducing priority) Thanks. -- Date: Thu, 19 Sep 2013 13:14:59 +0500 From: msalman...@gmail.com To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] The call is established but without exchanged voice packets Choose suitable NAT settings from sip.conf turn direct media in sip.conf or per peer off On Thu, Sep 19, 2013 at 12:54 PM, Asmaa Ahmed asabatg...@hotmail.comwrote: Hello, I am trying to make my first call on Asterisk to succeed. I have Asterisk 1.8.10.1 running on Ubuntu machine. The configuration is quite simple just for my first test, Trying to have a call between two X-lite sipphone. The subscribers succeeded to register and the call is established, but still no voice can be heard, and lead the call to be disconnected after! By checking the logs, I can see this chan_sip.c:3641 retrans_pkt: Retransmission timeout reached on transmission Mjk3MGU1NjgxZWQwM2E3MjhjZmFiNzhjOGVjZjg5ZTc for seqno 2 (Critical Response) Here's my simple sip configuration [general] context=internal allowguest=no allowoverlap=no bindport=5060 bindaddr=0.0.0.0 srvlookup=no disallow=all allow=ulaw alwaysauthreject=yes canreinvite=no nat=yes session-timers=refuse externip=IP [7001] type=friend host=dynamic secret=123 context=internal [7002] type=friend host=dynamic secret=456 context=internal A snoop capture for my call is uploaded in the following link. I wonder if there is any missing configuration or plugin need to be set here! http://www.fileconvoy.com/dfl.php?id=gc0957418962ed157999374318118ae80b9d015992 http://www.fileconvoy.com/dfl.php?id=gc0957418962ed157999374318118ae80b9d015992 Thanks. -- _ -- 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 -- Regards ** Muhammad Salman *** -- _ -- 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:
Re: [asterisk-users] The call is established but without exchanged voice packets
Hello, i think your logic is wrong please explain me what are you trying to do? [internal] exten = 7002,1,Answer() exten = 7002,n,Playback(vm-nobodyavail) exten = 7002,n,Hangup() exten = 7001,1,Dial(SIP/7001,60) exten = 7001,n,Hangup() try this dial 7002 and you should listen vm-nobodyavail or 7001 to 7001 extension. On Fri, Sep 20, 2013 at 4:31 PM, Asmaa Ahmed asabatg...@hotmail.com wrote: Hello, Here is my extension context, [internal] exten = 7001,1,Answer() exten = 7001,2,Dial(SIP/7001,60) exten = 7001,3,Playback(vm-nobodyavail) exten = 7001,4,VoiceMail(7001@main) ;forward to voicemail mailbox exten = 7001,5,Hangup() exten = 7002,1,Answer() exten = 7002,2,Dial(SIP/7002,60) exten = 7002,3,Playback(vm-nobodyavail) exten = 7002,4,VoiceMail(7002@main) exten = 7002,5,Hangup() exten = 7003,1,Answer() exten = 7003,2,Dial(SIP/7003,60) exten = 7003,3,Playback(vm-nobodyavail) exten = 7003,4,VoiceMail(7003@main) exten = 7003,5,Hangup() exten = 8001,1,VoicemailMain(7001@main) ;voicemail retreival exten = 8001,2,Hangup() exten = 8002,1,VoicemailMain(7002@main) exten = 8002,2,Hangup() -- Date: Fri, 20 Sep 2013 16:25:42 +0200 From: asghar...@gmail.com To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] The call is established but without exchanged voice packets Hello, paste you extension context. On Fri, Sep 20, 2013 at 4:21 PM, Asmaa Ahmed asabatg...@hotmail.comwrote: Hello, I have Asterisk 1.8.10.1 Moving to nat=force_rport,comedia hasn't solved the problem. Still having the same error! I am not sure if this is related to the problem here, but I was trying to test my voicemail and got this error No audio available). [Sep 20 14:05:41] WARNING[11424]: app_dial.c:2218 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown) [Sep 20 14:05:54] WARNING[11424]: app.c:855 __ast_play_and_record: No audio available on SIP/7001-0001?? [Sep 20 14:06:13] WARNING[11387]: chan_sip.c:3641 retrans_pkt: Retransmission timeout reached on transmission ZjJkNTY0YzZjMTcwNzcwYTg0NWRiMjlhYzQ4ZjFkOTc for seqno 2 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions Thanks. -- Date: Fri, 20 Sep 2013 16:05:35 +0200 From: asghar...@gmail.com To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] The call is established but without exchanged voice packets Hello, If Asterisk version is 1.6 use nat=force_rport,comedia On Fri, Sep 20, 2013 at 4:01 PM, Asmaa Ahmed asabatg...@hotmail.comwrote: Hello, I have set the direct media to be off, but still doesn't work. I am not sure about NAT configuration! SIP.conf, [general] section context=internal allowguest=no allowoverlap=no transport=udp bindport=5060 bindaddr=0.0.0.0 directmedia=no srvlookup=no disallow=all allow=ulaw alwaysauthreject=yes canreinvite=no nat=yes session-timers=refuse externip=IP localnet=172.16.0.255/255.255.255.0 The error messages [Sep 20 13:51:32] NOTICE[10979]: chan_sip.c:24728 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 7002 [Sep 20 13:52:27] WARNING[10979]: chan_sip.c:3641 retrans_pkt: Retransmission timeout reached on transmission OGU1NzgyMmVmNjU1NTBlYmNkMWIwOGEzOWRjNGYxYWU for seqno 2 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions Packet timed out after 32000ms with no response [Sep 20 13:52:27] WARNING[10979]: chan_sip.c:3670 retrans_pkt: Hanging up call OGU1NzgyMmVmNjU1NTBlYmNkMWIwOGEzOWRjNGYxYWU - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions ). [Sep 20 13:52:44] WARNING[10965]: asterisk.c:3190 canary_thread: The canary is no more. He has ceased to be! He's expired and gone to meet his maker! He's a stiff! Bereft of life, he rests in peace. His metabolic processes are now history! He's off the twig! He's kicked the bucket. He's shuffled off his mortal coil, run down the curtain, and joined the bleeding choir invisible!! THIS is an EX-CANARY. (Reducing priority) Thanks. -- Date: Thu, 19 Sep 2013 13:14:59 +0500 From: msalman...@gmail.com To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] The call is established but without exchanged voice packets Choose suitable NAT settings from sip.conf turn direct media in sip.conf or per peer off On Thu, Sep 19, 2013 at 12:54 PM, Asmaa Ahmed asabatg...@hotmail.comwrote: Hello, I am trying to make my first call on Asterisk to succeed. I have Asterisk 1.8.10.1 running on Ubuntu machine. The configuration is quite simple just for my first test, Trying to have a call between two X-lite sipphone. The subscribers succeeded to register and the call is established, but still no voice can be heard, and lead the call to be disconnected after! By checking the logs, I can see this
Re: [asterisk-users] The call is established but without exchanged voice packets
Hello, paste you extension context. On Fri, Sep 20, 2013 at 4:21 PM, Asmaa Ahmed asabatg...@hotmail.com wrote: Hello, I have Asterisk 1.8.10.1 Moving to nat=force_rport,comedia hasn't solved the problem. Still having the same error! I am not sure if this is related to the problem here, but I was trying to test my voicemail and got this error No audio available). [Sep 20 14:05:41] WARNING[11424]: app_dial.c:2218 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown) [Sep 20 14:05:54] WARNING[11424]: app.c:855 __ast_play_and_record: No audio available on SIP/7001-0001?? [Sep 20 14:06:13] WARNING[11387]: chan_sip.c:3641 retrans_pkt: Retransmission timeout reached on transmission ZjJkNTY0YzZjMTcwNzcwYTg0NWRiMjlhYzQ4ZjFkOTc for seqno 2 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions Thanks. -- Date: Fri, 20 Sep 2013 16:05:35 +0200 From: asghar...@gmail.com To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] The call is established but without exchanged voice packets Hello, If Asterisk version is 1.6 use nat=force_rport,comedia On Fri, Sep 20, 2013 at 4:01 PM, Asmaa Ahmed asabatg...@hotmail.comwrote: Hello, I have set the direct media to be off, but still doesn't work. I am not sure about NAT configuration! SIP.conf, [general] section context=internal allowguest=no allowoverlap=no transport=udp bindport=5060 bindaddr=0.0.0.0 directmedia=no srvlookup=no disallow=all allow=ulaw alwaysauthreject=yes canreinvite=no nat=yes session-timers=refuse externip=IP localnet=172.16.0.255/255.255.255.0 The error messages [Sep 20 13:51:32] NOTICE[10979]: chan_sip.c:24728 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 7002 [Sep 20 13:52:27] WARNING[10979]: chan_sip.c:3641 retrans_pkt: Retransmission timeout reached on transmission OGU1NzgyMmVmNjU1NTBlYmNkMWIwOGEzOWRjNGYxYWU for seqno 2 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions Packet timed out after 32000ms with no response [Sep 20 13:52:27] WARNING[10979]: chan_sip.c:3670 retrans_pkt: Hanging up call OGU1NzgyMmVmNjU1NTBlYmNkMWIwOGEzOWRjNGYxYWU - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions ). [Sep 20 13:52:44] WARNING[10965]: asterisk.c:3190 canary_thread: The canary is no more. He has ceased to be! He's expired and gone to meet his maker! He's a stiff! Bereft of life, he rests in peace. His metabolic processes are now history! He's off the twig! He's kicked the bucket. He's shuffled off his mortal coil, run down the curtain, and joined the bleeding choir invisible!! THIS is an EX-CANARY. (Reducing priority) Thanks. -- Date: Thu, 19 Sep 2013 13:14:59 +0500 From: msalman...@gmail.com To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] The call is established but without exchanged voice packets Choose suitable NAT settings from sip.conf turn direct media in sip.conf or per peer off On Thu, Sep 19, 2013 at 12:54 PM, Asmaa Ahmed asabatg...@hotmail.comwrote: Hello, I am trying to make my first call on Asterisk to succeed. I have Asterisk 1.8.10.1 running on Ubuntu machine. The configuration is quite simple just for my first test, Trying to have a call between two X-lite sipphone. The subscribers succeeded to register and the call is established, but still no voice can be heard, and lead the call to be disconnected after! By checking the logs, I can see this chan_sip.c:3641 retrans_pkt: Retransmission timeout reached on transmission Mjk3MGU1NjgxZWQwM2E3MjhjZmFiNzhjOGVjZjg5ZTc for seqno 2 (Critical Response) Here's my simple sip configuration [general] context=internal allowguest=no allowoverlap=no bindport=5060 bindaddr=0.0.0.0 srvlookup=no disallow=all allow=ulaw alwaysauthreject=yes canreinvite=no nat=yes session-timers=refuse externip=IP [7001] type=friend host=dynamic secret=123 context=internal [7002] type=friend host=dynamic secret=456 context=internal A snoop capture for my call is uploaded in the following link. I wonder if there is any missing configuration or plugin need to be set here! http://www.fileconvoy.com/dfl.php?id=gc0957418962ed157999374318118ae80b9d015992 http://www.fileconvoy.com/dfl.php?id=gc0957418962ed157999374318118ae80b9d015992 Thanks. -- _ -- 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 -- Regards ** Muhammad Salman *** --
Re: [asterisk-users] Can't connect to Asterisk cli
remove content of /var/log/asterisk/messages /var/log/asterisk/messages run asterisk and post content of /var/log/asterisk/messages to pastebin. On Thu, Sep 19, 2013 at 9:39 AM, Asmaa Ahmed asabatg...@hotmail.com wrote: Hello, No, another installation haven't solved the problem! It looks more like something related to the configuration in setting the running environment! Thanks. -- _ -- 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] sipgate outgoing calls
you have insecure=port,invite in sipgate peer? On Thu, Sep 19, 2013 at 12:26 PM, gpxctawjc...@irational.org wrote: On Thu, 19 Sep 2013, Miguel Oyarzo wrote: Challenge authentication look good. --- SIP read from UDP:217.10.79.23:5060 --- SIP/2.0 200 OK Are you sure this number format 01179553708 is accepted in that SIP trunk? Some VOIP providers only accept international format. when i use a softphone client to connect directly to sipgate i can dial 01179553708 and get through -- __**__**_ -- 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 -- _ -- 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] Can't connect to Asterisk cli
become root sudo su - or su -l give your password. if asterisk is already running connect to asterisk -rvvvc otherwisw asterisk -c. if you want asterisk run as daemon asterisk and then connect to asterisk asterisk -rvvvc On Wed, Sep 18, 2013 at 2:13 PM, Asmaa Ahmed asabatg...@hotmail.com wrote: Hello, I have started using Asterisk recently on my Ubuntu server. I installed it first using apt-get and it worked fine sort of, but still couldn't hear voice during the call! I read that this problem solved by reinstalling it, so I decided to reinstall the latest version from the source as apt-get can give you only Asterisk 1.8 So I have installed Asterisk 11 following the procedure in Asterisk- The Definitive Guide, 4th Edition book The installation done with no problem, but now I can't even login to CLI, it keeps returns Linux prompt! ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -r ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -vc ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -cvvv ubuntu@vbefe01:/etc/asterisk$ and if I don't use sudo, it returns a core dump $ asterisk -vvc Illegal instruction (core dumped) I was able to connect before installing the latest version from the source? How can I fix that? Thanks. -- _ -- 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] Can't connect to Asterisk cli
SELinux exists in Ubuntu? On Wed, Sep 18, 2013 at 2:45 PM, Ishfaq Malik i...@pack-net.co.uk wrote: Have you checked your SELinux settings? On 18 September 2013 13:13, Asmaa Ahmed asabatg...@hotmail.com wrote: Hello, I have started using Asterisk recently on my Ubuntu server. I installed it first using apt-get and it worked fine sort of, but still couldn't hear voice during the call! I read that this problem solved by reinstalling it, so I decided to reinstall the latest version from the source as apt-get can give you only Asterisk 1.8 So I have installed Asterisk 11 following the procedure in Asterisk- The Definitive Guide, 4th Edition book The installation done with no problem, but now I can't even login to CLI, it keeps returns Linux prompt! ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -r ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -vc ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -cvvv ubuntu@vbefe01:/etc/asterisk$ and if I don't use sudo, it returns a core dump $ asterisk -vvc Illegal instruction (core dumped) I was able to connect before installing the latest version from the source? How can I fix that? Thanks. -- _ -- 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 Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: i...@pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, Duplex 2, Ducie House 37 Ducie Street Manchester, M1 2JW COMPANY REG NO. 04920552 -- _ -- 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] Can't connect to Asterisk cli
i think you messed 2 installs of asterisk. if you compile asterisk from sources it not insert init script. you can test installing to /opt. 1. cd to asterisk sources folder 2. make distclean 3. ./configure --prefix=/opt/asterisk 4. make 5. sudo make install 6. /opt/asterisk/sbin/asterisk -c you can remove this installation by sudo rm -rfv /opt/asterisk if it work then you should remove every asterisk installation and then install a fresh copy .(or reinstall OS if you cannot remove) hope this will help you. On Wed, Sep 18, 2013 at 2:57 PM, Asmaa Ahmed asabatg...@hotmail.com wrote: It looks this is because Asterisk isn't started when tried to start it, I got a core dump! $ /etc/init.d/asterisk start * Starting Asterisk PBX: asterisk Illegal instruction (core dumped) -- From: asabatg...@hotmail.com To: asterisk-users@lists.digium.com Subject: Can't connect to Asterisk cli Date: Wed, 18 Sep 2013 14:13:16 +0200 Hello, I have started using Asterisk recently on my Ubuntu server. I installed it first using apt-get and it worked fine sort of, but still couldn't hear voice during the call! I read that this problem solved by reinstalling it, so I decided to reinstall the latest version from the source as apt-get can give you only Asterisk 1.8 So I have installed Asterisk 11 following the procedure in Asterisk- The Definitive Guide, 4th Edition book The installation done with no problem, but now I can't even login to CLI, it keeps returns Linux prompt! ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -r ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -vc ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -cvvv ubuntu@vbefe01:/etc/asterisk$ and if I don't use sudo, it returns a core dump $ asterisk -vvc Illegal instruction (core dumped) I was able to connect before installing the latest version from the source? How can I fix that? Thanks. -- _ -- 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
[asterisk-users] Asterisk-1.8.23.1 mysql cdr
Hi list, Reply to my own question http://lists.digium.com/pipermail/asterisk-users/2013-September/280541.html I come up with a patch that enable timezone support. add new configuration cdrzone option in cdr_mysql.conf. in cdr_mysql.conf add cdrzone= any valid timezone(consult /usr/share/zoneifo) disable all existing options usegmtime etc. added new cli option cdr mysql cdrzone. it will show you selected timezone. patch can be download from http://www.world-call-trade.com/asterisk/cdr_mysql_cdrzone.patch please report back here. BEST REGARDS Asghar Mohammad -- _ -- 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] Asterisk-1.8.23.1 mysql cdr
Hi list, I am using Asterisk1.6.2 form a long time and upgarding to Asterisk-1.8.23.1. I am using mysql backend for cdr. in asterisk-1.6.2 i have usegmtime=yes and it works as expected insert cdr date in GMT0. now i tested Asterisk-1.8.23.1 and asterisk-11.5 with same results no matter what i configure in cdr_mysql.conf timezone=UTC usegmtime=yes cdr always inserted in local time. I dig into code of cdr_mysql.c and find a variable cdrzone when i set cdrzone in configuration and load module with debug set to 1 it print on console Local time zone set to whatever i have in configuration i tried cdrzone=GMT, cdrzone=UTC, cdrzone=yes and many combinations with timezone=UTC and without timezone=UTS but cdr is alway in my local timezone GMT +2. in further investigation i have seen there is no timezone conversation. from asterisk1.8.231 mysql_cdr.c if (!strcmp(entry-name, calldate)) { /*!\note * For some dumb reason, calldate used to be formulated using * the datetime the record was posted, rather than the start * time of the call. If someone really wants the old compatible * behavior, it's provided here. */ if (calldate_compat) { struct timeval tv = ast_tvnow(); struct ast_tm tm; char timestr[128]; ast_localtime(tv, tm, ast_str_strlen(cdrzone) ? ast_str_buffer(cdrzone) : NULL); ast_strftime(timestr, sizeof(timestr), %Y-%m-%d %T, tm); ast_cdr_setvar(cdr, calldate, timestr, 0); cdrname = calldate; } else { cdrname = start; } } else { cdrname = entry-cdrname; } from addons 1.6.2.4 mysql_cdr.c if (calldate_compat) { struct timeval tv = ast_tvnow(); struct ast_tm tm; char timestr[128]; ast_localtime(tv, tm, NULL); ast_strftime(timestr, sizeof(timestr), %Y-%m-%d %T, tm); ast_cdr_setvar(cdr, calldate, timestr, 0); cdrname = calldate; } else if (usegmtime) { struct ast_tm tm; char timestr[128]; ast_localtime(cdr-start, tm, GMT); ast_strftime(timestr, sizeof(timestr), DATE_FORMAT, tm); ast_cdr_setvar(cdr, calldate, timestr, 0); cdrname = calldate; } else { cdrname = start; } } else { cdrname = entry-cdrname; please note else if(usegmtime) the codes are removed from latest asterisk versions. i am not c programmer anybody can help me solve this issue? Thanks in advance. -- _ -- 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] Asterisk 1.8 drop calls after 15 minutes
hi, it seems your vpn connection drop. is you vpn on WiFi of any other high latency network? On Tue, Sep 10, 2013 at 1:05 PM, Administrator TOOTAI ad...@tootai.netwrote: Hi all, I face the subject strange behavior: calls arre dropped after 15 minutes on an asterisk 1.8.15.0. Only phones (SNOM300) connected to the Asterisk through OpenVPN seems to have the problem. From CDR, I see for 3 calls from this morning I'm aware of, that asterisk hangup after respectively 899s 894s 898s In logs I see WARNING[8213] chan_sip.c: Retransmission timeout reached on transmission 522eec628683-uy8xshd6wc21 for seqno 102 (Critical Request) -- See https://wiki.a Packet timed out after 6401ms with no response (or 6399ms or 6401ms) Qualify freq being 6 ms for the peers. For the SIP peers I see Sess-Timers : Accept Sess-Refresh : uas Sess-Expires : 1800 secs Min-Sess : 90 secs I tried to use originate for session-timer in global SIP conf, no changes. Any hint about this matter would be appreciate. -- Daniel -- __**__**_ -- 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 -- _ -- 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] No remote address on RTP instance - On Ringing
i have used a2billing some time ago maybe there is somthing new . you can try shoot up loglevel to 4 and see the verbose of agi that may give you some hint. On Tue, Sep 10, 2013 at 7:34 PM, jg webaccou...@jgoettgens.de wrote: Maybe the ringtone from downstream is not reaching asterisk, and thus a2billing is appending the `m` to the dial command? With digital systems (starting with ISDN, or so), ringing is signaled, or indicated. The ringtone is produced locally, either by the PBX or by the SIP phone itself. Since you do get the invitation, everything is fine. If you really can't remove the m, you could still use an audio file with a funny ringtone and stuff this into an moh class. Dirty, but it will work. jg -- __**__**_ -- 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 -- _ -- 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] Cisco SPA303 won't ring for more than 60 seconds
sip set debug on and see trace of upload on pastebin. On Wed, Aug 21, 2013 at 8:25 PM, jg webaccou...@jgoettgens.de wrote: At first I also thought this might be a phone setting. But then I found the same 60s to be true for a variety of SIP phones (Snom, Cisco, ...), despite the 300s timeout value in the Dial cmd. So it is likely to be Asterisk. The Asterisk Admin Guide says that the default value is 136 years, so there must be something that sets this timeout value. jg -- __**__**_ -- 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 -- _ -- 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] Am I being hacked?
he, some bad boys trying to guess configured extensions. in sip config in general set alwaysauthreject = yes . in cli sip set debug on and watch ip and block in firewall, iptables. On Mon, Aug 19, 2013 at 7:50 PM, Ira i...@extrasensory.com wrote: Hello Steve, Sunday, August 18, 2013, 3:35:54 PM, you wrote: On Sun, 18 Aug 2013, Ira wrote: [2013-08-18 05:56:29] NOTICE[17089][C-00a8] chan_sip.c: Failed to authenticate device 390sip:3...@xx.xx.xxx.xxx ;tag=2762c06e I keep getting messages like this where the IP, xx.xx.xxx.xxx, is my own IP. How do I figure out where this attempt is coming from so I can block it. Any chance '390' is a legitimate (but mis-configured or obsolete) device on your network? Is xx.xx.xxx.xxx a private or public address? Can you 'wireshark' some packets and see if the OUI matches one of your endpoints? 390 is not, nor has it ever been an extension on my box. I've gotten the same message for numerous extensions, sometimes 100-200 inclusive, usually multiple times as if they are trying multiple passwords. I'm sure that no one will ever guess an extension or password on my box that way so I'm not worried, I've blocked most of the IPs that my box doesn't use and it's been a long time since I've seen any outside attempts to register. But in the recent past I've been seeing these where I've no clue what IP to block as the entries, sip:3...@xx.xx.xxx.xxx, always contains an invalid extension and my cable modem's IP address. xx.xx.xxx.xxx is my public I.P. I searched Google and found no mention of my specific error. -- Ira -- _ -- 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] Asterisk SIP Trunk between two Asterisk Servers
just remove username. type peer authenticate by ip On Sun, Aug 18, 2013 at 7:01 PM, Andrew Colin and...@vsave.co.za wrote: change server two to host = dynamic then add register = on server 1 On 8/18/2013 6:29 PM, Gopalakrishnan N wrote: Even I tried the type as friend.. but no use... On Mon, Aug 19, 2013 at 12:27 AM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: Hi, Am making a simple SIP trunk between two Asterisk server, Server 1 sip.conf [usman02] type=peer username=usman02 secret=usman02 host=10.30.2.58 context=man02-trunk port=5060 qualify=yes disallow=all ;allow=g729 allow=g729 ;allow=alaw nat=force_rport,comedia dtmfmode=rfc2833 relaxdtmf=yes insecure=invite,port extensions.conf [man02-trunk] exten = _1X.,1,Dial(SIP/usman02/${EXTEN}) exten = _1X.,n,Hangup Server2 sip.conf [usman02] type=peer username=usman02 secret=usman02 host=10.10.10.81 context=us02-trunk-inbound port=5060 qualify=yes disallow=all allow=g729 ;allow=ulaw ;allow=alaw nat=force_rport,comedia dtmfmode=rfc2833 relaxdtmf=yes insecure=port,invite extensions.conf [us02-trunk-inbound] exten = _X.,Dial(SIP/${EXTEN},60) Now when I dial from server1, in the server 2 am getting the error as, [Aug 18 09:22:49] WARNING[2779][C-08db]: chan_sip.c:16266 check_auth: username mismatch, have 2001, digest has usman02 things are fine.. but I dont know where the mistake is...! Can you some one advise me... ! Thanks. -- _ -- 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] G729 Passthrough How To
As my understanding Asterisk always pass-thu g729 if both ends have this codec. But if you answer the call or play some audio before dialing to end point then asterisk stay between both legs. In case of VM. you should install g729 if your prompts are in g729 format. As a2billing play voice prompts you cannot pass-thu transparently. I think the load on you server is not for transcoding but PHP scripts. I was in this situation and reduce the upto 80% by removing A2B. On Wed, Aug 14, 2013 at 4:44 PM, Nick Khamis sym...@gmail.com wrote: Hey!!! Eric thank you so much for your response. Could you guys please direct us in achieving as much as possible. For example: * What linux command can we use to convert all recording to G729 * Which files do we need to convert and there locations * For *testing* how do we make sure Asterisk NEVER EVER transcodes. Do we still need the G729 codec installed on the asterisk machine if we manage to implement pass-through that would suffice our needs. Kind Regards, Nick. -- _ -- 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] Asterisk trunking between two location
hi, paste server a trunk also, if you want register why you are not using host=dynamic? both servers are on 10.10.10.0 ? if no then check your deny permit seting. On Tue, Jul 2, 2013 at 9:53 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: Also tried one more scenario, particularly from one IP to other IP not registering. For example like 10.10.10.5 to 10.20.10.5 If it is 10.10.10.5 to 10.30.2.5 - working If it is 10.30.2.5 to 10.20.10.4 works fine. really strange... I suspect some issue on the network side... Problem is there is no packet loss.. with mtr it is fine, tracepath is fine, ping is fine... :( On Wed, Jul 3, 2013 at 1:05 AM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: Am using Asterisk 11.2 in one location and 11.1 in another location. when I trunk between two servers, the status is unreachable. But with different server with 11.2 and 11.2 it works fine. I tried both IAX and SIP. the trunk in sip.conf what i have is, [serverb] type=friend username=serverb secret=serverb host=10.10.10.5 port=5060 context=default insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=3000 nat=force_rport,comedia disallow=all allow=g729 allow=ulaw allow=alaw deny=0.0.0.0/0.0.0.0 permit=10.10.10.5/255.255.255.0 Is there any issue with 11.1? -- _ -- 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] Asterisk trunking between two location
1. you permiting 10.10.10.0 on b but you should permit 10.30.2.0 on b and 10.10.10.0 on a. 2. use host=dynamic type=friend on side A and host=ip type=peer on side B. 3. general section in sip.conf of side B register with server A. please see comments in sip.conf ;dynamic_exclude_static = yes ; Disallow all dynamic hosts from registering ; as any IP address used for staticly defined ; hosts. This helps avoid the configuration ; error of allowing your users to register at ; the same address as a SIP provider. On Tue, Jul 2, 2013 at 10:04 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: [servera] type=friend username=servera secret=servera host=10.30.2.5 port=5060 context=Manila insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=yes disallow=all allow=g729 allow=ulaw allow=alaw deny=0.0.0.0/0.0.0.0 permit=10.30.2.5/255.255.255.0 If i use host=dynamic, it wont communicate each other and will result to unmonitored and the IP segment is two different segment. where am able to ping each other. On Wed, Jul 3, 2013 at 1:29 AM, Asghar Mohammad asghar...@gmail.comwrote: hi, paste server a trunk also, if you want register why you are not using host=dynamic? both servers are on 10.10.10.0 ? if no then check your deny permit seting. On Tue, Jul 2, 2013 at 9:53 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: Also tried one more scenario, particularly from one IP to other IP not registering. For example like 10.10.10.5 to 10.20.10.5 If it is 10.10.10.5 to 10.30.2.5 - working If it is 10.30.2.5 to 10.20.10.4 works fine. really strange... I suspect some issue on the network side... Problem is there is no packet loss.. with mtr it is fine, tracepath is fine, ping is fine... :( On Wed, Jul 3, 2013 at 1:05 AM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: Am using Asterisk 11.2 in one location and 11.1 in another location. when I trunk between two servers, the status is unreachable. But with different server with 11.2 and 11.2 it works fine. I tried both IAX and SIP. the trunk in sip.conf what i have is, [serverb] type=friend username=serverb secret=serverb host=10.10.10.5 port=5060 context=default insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=3000 nat=force_rport,comedia disallow=all allow=g729 allow=ulaw allow=alaw deny=0.0.0.0/0.0.0.0 permit=10.10.10.5/255.255.255.0 Is there any issue with 11.1? -- _ -- 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
Re: [asterisk-users] Asterisk trunking between two location
yes you can. just create trunks on both side with static ip and in dial use trunk name. exten = _X.,1,Dial(SIP/trunka/${EXTEN}) on side b and exten = _X.,1,Dial(SIP/trunkb/${EXTEN}) on side a. make a call from a to b and one from b to and post cli log here or upload anyware else. On Tue, Jul 2, 2013 at 10:25 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: can't we use without register command both way as peer to peer? On Wed, Jul 3, 2013 at 1:45 AM, Asghar Mohammad asghar...@gmail.comwrote: 1. you permiting 10.10.10.0 on b but you should permit 10.30.2.0 on b and 10.10.10.0 on a. 2. use host=dynamic type=friend on side A and host=ip type=peer on side B. 3. general section in sip.conf of side B register with server A. please see comments in sip.conf ;dynamic_exclude_static = yes ; Disallow all dynamic hosts from registering ; as any IP address used for staticly defined ; hosts. This helps avoid the configuration ; error of allowing your users to register at ; the same address as a SIP provider. On Tue, Jul 2, 2013 at 10:04 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: [servera] type=friend username=servera secret=servera host=10.30.2.5 port=5060 context=Manila insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=yes disallow=all allow=g729 allow=ulaw allow=alaw deny=0.0.0.0/0.0.0.0 permit=10.30.2.5/255.255.255.0 If i use host=dynamic, it wont communicate each other and will result to unmonitored and the IP segment is two different segment. where am able to ping each other. On Wed, Jul 3, 2013 at 1:29 AM, Asghar Mohammad asghar...@gmail.comwrote: hi, paste server a trunk also, if you want register why you are not using host=dynamic? both servers are on 10.10.10.0 ? if no then check your deny permit seting. On Tue, Jul 2, 2013 at 9:53 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: Also tried one more scenario, particularly from one IP to other IP not registering. For example like 10.10.10.5 to 10.20.10.5 If it is 10.10.10.5 to 10.30.2.5 - working If it is 10.30.2.5 to 10.20.10.4 works fine. really strange... I suspect some issue on the network side... Problem is there is no packet loss.. with mtr it is fine, tracepath is fine, ping is fine... :( On Wed, Jul 3, 2013 at 1:05 AM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: Am using Asterisk 11.2 in one location and 11.1 in another location. when I trunk between two servers, the status is unreachable. But with different server with 11.2 and 11.2 it works fine. I tried both IAX and SIP. the trunk in sip.conf what i have is, [serverb] type=friend username=serverb secret=serverb host=10.10.10.5 port=5060 context=default insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=3000 nat=force_rport,comedia disallow=all allow=g729 allow=ulaw allow=alaw deny=0.0.0.0/0.0.0.0 permit=10.10.10.5/255.255.255.0 Is there any issue with 11.1? -- _ -- 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 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http
Re: [asterisk-users] Asterisk trunking between two location
*1st Location* [manila] type=peer username=indman01 secret=indman01 host=10.30.2.5 -- ip of 2nd location port=5060 context=Manila insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=yes disallow=all allow=g729 allow=ulaw 1st location dialplan exten = _2XXX,1,Dial(SIP/manila/${EXTEN} http://10.30.2.5/$%7BEXTEN%7D) exten = _2XXX,n,Hangup *2nd Location* [india] type=friend username=manind01 secret=manind01 host=dynamic port=5060 context=10.20.111.48 - ip of 1st location insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=yes nat=force_rport,comedia disallow=all allow=g729 allow=ulaw allow=alaw 2st location dialplan exten = _2XXX,1,Dial(SIP/india/${EXTEN} http://10.30.2.5/$%7BEXTEN%7D) exten = _2XXX,n,Hangup then you should handle the call when it arrive in any server let me know if it work. On Tue, Jul 2, 2013 at 10:56 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: I tried creating two trunks with following, *1st Location* [10.30.2.5] type=friend username=indman01 secret=indman01 host=dynamic port=5060 context=Manila insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=yes disallow=all allow=g729 allow=ulaw *2nd Location* [10.20.111.48] type=friend username=manind01 secret=manind01 host=dynamic port=5060 context=india insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=yes nat=force_rport,comedia disallow=all allow=g729 allow=ulaw allow=alaw My dialplan is like this exten = _2XXX,1,Dial(SIP/10.30.2.5/${EXTEN}http://10.30.2.5/$%7BEXTEN%7D ) exten = _2XXX,n,Hangup And the output I get is Executing [2001@Test:1] Dial(SIP/3081-27d2, SIP/10.30.2.5/2001) in new stack [Jul 2 16:49:57] WARNING[15766][C-2b94]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent) == Everyone is busy/congested at this time (1:0/0/1) -- Executing [2001@Test:2] Hangup(SIP/3081-27d2, ) in new stack == Spawn extension (Test, 2001, 2) exited non-zero on 'SIP/3081-27d2' Actually the trunk which i mentioned in my first email, it was working... and from today it is not Still breaking... what could be the reason... ! On Wed, Jul 3, 2013 at 2:05 AM, Asghar Mohammad asghar...@gmail.comwrote: yes you can. just create trunks on both side with static ip and in dial use trunk name. exten = _X.,1,Dial(SIP/trunka/${EXTEN}) on side b and exten = _X.,1,Dial(SIP/trunkb/${EXTEN}) on side a. make a call from a to b and one from b to and post cli log here or upload anyware else. On Tue, Jul 2, 2013 at 10:25 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: can't we use without register command both way as peer to peer? On Wed, Jul 3, 2013 at 1:45 AM, Asghar Mohammad asghar...@gmail.comwrote: 1. you permiting 10.10.10.0 on b but you should permit 10.30.2.0 on b and 10.10.10.0 on a. 2. use host=dynamic type=friend on side A and host=ip type=peer on side B. 3. general section in sip.conf of side B register with server A. please see comments in sip.conf ;dynamic_exclude_static = yes ; Disallow all dynamic hosts from registering ; as any IP address used for staticly defined ; hosts. This helps avoid the configuration ; error of allowing your users to register at ; the same address as a SIP provider. On Tue, Jul 2, 2013 at 10:04 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: [servera] type=friend username=servera secret=servera host=10.30.2.5 port=5060 context=Manila insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=yes disallow=all allow=g729 allow=ulaw allow=alaw deny=0.0.0.0/0.0.0.0 permit=10.30.2.5/255.255.255.0 If i use host=dynamic, it wont communicate each other and will result to unmonitored and the IP segment is two different segment. where am able to ping each other. On Wed, Jul 3, 2013 at 1:29 AM, Asghar Mohammad asghar...@gmail.comwrote: hi, paste server a trunk also, if you want register why you are not using host=dynamic? both servers are on 10.10.10.0 ? if no then check your deny permit seting. On Tue, Jul 2, 2013 at 9:53 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: Also tried one more scenario, particularly from one IP to other IP not registering. For example like 10.10.10.5 to 10.20.10.5 If it is 10.10.10.5 to 10.30.2.5 - working If it is 10.30.2.5 to 10.20.10.4 works fine. really strange... I suspect some issue on the network side... Problem is there is no packet loss.. with mtr it is fine, tracepath is fine, ping is fine... :( On Wed, Jul 3, 2013 at 1:05 AM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: Am using Asterisk 11.2 in one location and 11.1 in another location. when I trunk between two servers
Re: [asterisk-users] Asterisk trunking between two location
make a call and post cli log On Tue, Jul 2, 2013 at 11:54 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: still the peer shows unreachable let me restart and give a try... On Wed, Jul 3, 2013 at 2:49 AM, Asghar Mohammad asghar...@gmail.comwrote: *1st Location* [manila] type=peer username=indman01 secret=indman01 host=10.30.2.5 -- ip of 2nd location port=5060 context=Manila insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=yes disallow=all allow=g729 allow=ulaw 1st location dialplan exten = _2XXX,1,Dial(SIP/manila/${EXTEN} http://10.30.2.5/$%7BEXTEN%7D ) exten = _2XXX,n,Hangup *2nd Location* [india] type=friend username=manind01 secret=manind01 host=dynamic port=5060 context=10.20.111.48 - ip of 1st location insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=yes nat=force_rport,comedia disallow=all allow=g729 allow=ulaw allow=alaw 2st location dialplan exten = _2XXX,1,Dial(SIP/india/${EXTEN} http://10.30.2.5/$%7BEXTEN%7D) exten = _2XXX,n,Hangup then you should handle the call when it arrive in any server let me know if it work. On Tue, Jul 2, 2013 at 10:56 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: I tried creating two trunks with following, *1st Location* [10.30.2.5] type=friend username=indman01 secret=indman01 host=dynamic port=5060 context=Manila insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=yes disallow=all allow=g729 allow=ulaw *2nd Location* [10.20.111.48] type=friend username=manind01 secret=manind01 host=dynamic port=5060 context=india insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=yes nat=force_rport,comedia disallow=all allow=g729 allow=ulaw allow=alaw My dialplan is like this exten = _2XXX,1,Dial(SIP/10.30.2.5/${EXTEN}http://10.30.2.5/$%7BEXTEN%7D ) exten = _2XXX,n,Hangup And the output I get is Executing [2001@Test:1] Dial(SIP/3081-27d2, SIP/10.30.2.5/2001) in new stack [Jul 2 16:49:57] WARNING[15766][C-2b94]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent) == Everyone is busy/congested at this time (1:0/0/1) -- Executing [2001@Test:2] Hangup(SIP/3081-27d2, ) in new stack == Spawn extension (Test, 2001, 2) exited non-zero on 'SIP/3081-27d2' Actually the trunk which i mentioned in my first email, it was working... and from today it is not Still breaking... what could be the reason... ! On Wed, Jul 3, 2013 at 2:05 AM, Asghar Mohammad asghar...@gmail.comwrote: yes you can. just create trunks on both side with static ip and in dial use trunk name. exten = _X.,1,Dial(SIP/trunka/${EXTEN}) on side b and exten = _X.,1,Dial(SIP/trunkb/${EXTEN}) on side a. make a call from a to b and one from b to and post cli log here or upload anyware else. On Tue, Jul 2, 2013 at 10:25 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: can't we use without register command both way as peer to peer? On Wed, Jul 3, 2013 at 1:45 AM, Asghar Mohammad asghar...@gmail.comwrote: 1. you permiting 10.10.10.0 on b but you should permit 10.30.2.0 on b and 10.10.10.0 on a. 2. use host=dynamic type=friend on side A and host=ip type=peer on side B. 3. general section in sip.conf of side B register with server A. please see comments in sip.conf ;dynamic_exclude_static = yes ; Disallow all dynamic hosts from registering ; as any IP address used for staticly defined ; hosts. This helps avoid the configuration ; error of allowing your users to register at ; the same address as a SIP provider. On Tue, Jul 2, 2013 at 10:04 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: [servera] type=friend username=servera secret=servera host=10.30.2.5 port=5060 context=Manila insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=yes disallow=all allow=g729 allow=ulaw allow=alaw deny=0.0.0.0/0.0.0.0 permit=10.30.2.5/255.255.255.0 If i use host=dynamic, it wont communicate each other and will result to unmonitored and the IP segment is two different segment. where am able to ping each other. On Wed, Jul 3, 2013 at 1:29 AM, Asghar Mohammad asghar...@gmail.com wrote: hi, paste server a trunk also, if you want register why you are not using host=dynamic? both servers are on 10.10.10.0 ? if no then check your deny permit seting. On Tue, Jul 2, 2013 at 9:53 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: Also tried one more scenario, particularly from one IP to other IP not registering. For example like 10.10.10.5 to 10.20.10.5 If it is 10.10.10.5 to 10.30.2.5 - working If it is 10.30.2.5 to 10.20.10.4 works fine. really strange... I suspect some issue
Re: [asterisk-users] how to send dtmf after pause ?
hi, you can add more w (ww1234#) for more delay. On Fri, Jun 7, 2013 at 7:17 PM, Yves A. yves...@gmx.de wrote: This would be possible with an agi... the agi can wait for silence or 10 seconds, as u like and then play the dtmf tones and bridge the call to your extension afterwards. yves Am 07.06.2013 17:51, schrieb Sean Darcy: I'm trying to call a conference service, wait 10 seconds, then send the passcode. I've tried ww: Dial(SIP/18005551212ww12345#@s**ip.com http://sip.com,60,r) The sip channel didn't like that. Added 'p' , still no help. I tried D: Dial(SIP/18005551...@sip.com,**60,rD(12345#) The dtmf is sent too soon. I tried inserting 'ww' but that was just sent. I tried G: exten = 234.1.Dial(SIP/18005551212@**sip.com 18005551...@sip.com ,60,rG(next)) same=n(next),Wait(10) same=n,SendDTMF(12345#) but that didn't work at all, This is a common use case. There must be some simple answer I'm missing. Thanks for any help. sean -- __**__**_ -- 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 -- __**__**_ -- 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 -- _ -- 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 send dtmf after pause ?
hi. check here for agi http://forum.voxilla.com/threads/introducing-waits-w-in-dial-destination-number-variable.14628/ On Fri, Jun 7, 2013 at 7:50 PM, Sean Darcy seandar...@gmail.com wrote: On 06/07/2013 01:17 PM, Yves A. wrote: This would be possible with an agi... the agi can wait for silence or 10 seconds, as u like and then play the dtmf tones and bridge the call to your extension afterwards. yves Am 07.06.2013 17:51, schrieb Sean Darcy: I'm trying to call a conference service, wait 10 seconds, then send the passcode. I've tried ww: Dial(SIP/18005551212ww12345#@s**ip.com http://sip.com,60,r) The sip channel didn't like that. Added 'p' , still no help. I tried D: Dial(SIP/18005551...@sip.com,**60,rD(12345#) The dtmf is sent too soon. I tried inserting 'ww' but that was just sent. I tried G: exten = 234.1.Dial(SIP/18005551212@**sip.com 18005551...@sip.com ,60,rG(next)) same=n(next),Wait(10) same=n,SendDTMF(12345#) but that didn't work at all, This is a common use case. There must be some simple answer I'm missing. Thanks for any help. sean Thanks for the response. My agi mojo is not strong. I was hoping to do this with dialplan logic. sean -- __**__**_ -- 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 -- _ -- 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] Installing Asterisk 11 on VirtualBox: Illegal Instruction
what is host architecture ? try to install ubuntu x86 not x86_64. On Thu, Jun 6, 2013 at 5:12 PM, jorgeart...@protoboardmx.com wrote: I'm trying to install and run Asterisk 11 on Ubuntu 12.04.2 running over Oracle VM VirtualBox (v 4.1.8). So far I have tried it following two guides. The first is the one from Asterisk: The Definitive Guide 4th edition ( http://ofps.oreilly.com/titles/9781449332426/asterisk-Install.html) and the one from Billy Chia How to Install Asterisk 11 on Ubuntu 12.04 LTS ( http://blogs.digium.com/2012/11/14/how-to-install-asterisk-11-on-ubuntu-12-4-lts/ ). I'm able to install Dahdi, Libpri and Asterisk with no errors but as soon as I try to start asterisk with: /etc/init.d/asterisk start I got an error: Illegal Instruction (coredump). For what I have read this might be because Asterisk isn't compiling for the right architecture but I don't know how to solve this issue. Hope you can give me some guidance here. -- _ -- 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] Difference MySQL between 1.6.x and 11.4.x
asterisk trying connect to mysql via socket remove that line from config files. 1 check if port 3306 is open in iptables on both servers. 2 check permissions on db for user Asterisk. On Mon, Jun 3, 2013 at 9:18 PM, Olivier CALVANO o.calv...@gmail.com wrote: on this server we don't have mysql.socket because he don't have mysql server we want access to a mysql based on a other server 2013/6/3 Bakko asannu...@gmail.com Hello, are you sure MySQL socket is in /tmp directory? dbsock = /tmp/mysql.sock Regards El 03/06/2013 12:16, Olivier CALVANO escribió: Thanks for your help Ron, Do you know where is the confirguration ? Because i have put into res_config_mysql.conf: [general] dbhost = myhost.mydomain.net dbname = MyDB dbuser = MyUser dbpass = MyPassword dbport = 3306 dbsock = /tmp/mysql.sock dbcharset = latin1 requirements = warn after in extconfig.conf: sipusers = mysql,general,Comptes_SIP sippeers = mysql,general,Comptes_SIP iaxusers = mysql,general,Comptes_IAX iaxpeers = mysql,general,Comptes_IAX extensions = mysql,general,Extensions meetme = mysql,general,MeetMe musiconhold = mysql,general,Musiconhold voicemail = mysql,general,VoiceMail and in cdr_mysql.conf [global] hostname=myhost.mydomain.net dbname=MyDB table=Cdr password=MyPassword user=MyUser port=3306 sock=/tmp/mysql.sock [aliases] start=calldate end=callend callerid=clid src=src dst=dst dcontext=dcontext channel=channel dstchannel=dstchannel lastapp=lastapp lastdata=lastdata duration=duration billsec=billsec disposition=disposition amaflags=amaflags accountcode=accountcode userfield=userfield uniqueid=uniqueid CodeTier=CodeTier you know what file I forgot to configure? Olivier 2013/6/3 Ron Wheeler rwhee...@artifact-software.com Fix this. [Jun 3 17:09:49] WARNING[3464] res_config_mysql.c: MySQL RealTime: No database user found, using 'asterisk' as default. [Jun 3 17:09:49] WARNING[3464] res_config_mysql.c: MySQL RealTime: No database password found, using 'asterisk' as default. [Jun 3 17:09:49] WARNING[3464] res_config_mysql.c: MySQL RealTime: No database host found, using localhost via socket. [Jun 3 17:09:49] WARNING[3464] res_config_mysql.c: MySQL RealTime: No database name found, using 'asterisk' as default. [Jun 3 17:09:49] WARNING[3464] res_config_mysql.c: MySQL RealTime: No database port found, using 3306 as default. [Jun 3 17:09:49] WARNING[3464] res_config_mysql.c: MySQL RealTime: No database socket found (and unable to detect a suitable path). Asterisk is telling you that you have not configured ANY database. It is not worrying about what tables are in it because you have not even defined the database itself. There is NO database at all so worrying about versions is not Asterisk's big problem.. The rest of the messages after that are a bit screwy because the routines producing the error are not aware that there is no database at all so they just complain about the piece that they know about. Ron On 03/06/2013 12:19 PM, Olivier CALVANO wrote: No other idea ? 2013/6/3 Olivier CALVANO o.calv...@gmail.com Hi i have installed a new Asterisk server on Fedora. My first server use Asterisk 1.6.x with a MySQL CDR and realtime. I have a small problems, when i configure on the new server, the same information in MySQL, we have a error: [Jun 3 16:27:59] ERROR[3140] res_config_mysql.c: MySQL RealTime: Failed to connect database server SSI on myhost.myserver.com (err 2003). Check debug for more info. [Jun 3 16:27:59] WARNING[3140] res_config_mysql.c: Table VoiceMail not found in database. This table should exist if you're using realtime. [Jun 3 16:27:59] ERROR[3140] cdr_mysql.c: Failed to connect to mysql database SSI on myhost.myserver.com. [Jun 3 16:30:14] ERROR[3220] cdr_mysql.c: Failed to connect to mysql database SSI on myhost.myserver.com. [Jun 3 16:30:34] WARNING[3220] res_config_mysql.c: MySQL RealTime: No database user found, using 'asterisk' as default. [Jun 3 16:30:34] WARNING[3220] res_config_mysql.c: MySQL RealTime: No database password found, using 'asterisk' as default. [Jun 3 16:30:34] WARNING[3220] res_config_mysql.c: MySQL RealTime: No database host found, using localhost via socket. [Jun 3 16:30:34] WARNING[3220] res_config_mysql.c: MySQL RealTime: No database name found, using 'asterisk' as default. [Jun 3 16:30:34] WARNING[3220] res_config_mysql.c: MySQL RealTime: No database port found, using 3306 as default. [Jun 3 16:30:34] WARNING[3220] res_config_mysql.c: MySQL RealTime: No database socket found (and unable to detect a suitable path). The exacly same config work on 1.6.x and from the new server, the database access is Ok: [root@voip-2 log]# !mys mysql -h myhost.myserver.com -u Asterisk -p SSI Enter password: Reading table information for completion of table and column names You can turn off this feature to get a
Re: [asterisk-users] Not able to build the chan_sip.c module
please provide more information. how you are try to build asterisk, what is output of configure. witch headers configure script not found etc. On Tue, May 28, 2013 at 9:29 AM, upendra uppi...@gmail.com wrote: hi, anyone can help me to debug this ?? -- upendar On Mon, May 27, 2013 at 4:09 PM, upendra uppi...@gmail.com wrote: hi, chan_local and res_crypto are building but the chan_sip is not building . installed openssl also but still the chan_sip not building. -- Upendra On Mon, May 27, 2013 at 2:59 PM, Alec Davis siva...@paradise.net.nzwrote: i am trying to install asterisk newer version on the Elastix machine, but while installing the chan_sip,c module is not building while make. when i see in make menuselect options it showing XXX -- extended , please let me know how to enable it and make build chan_sip module. -- Upendra from makeselect you'll find chan_sip depends on the following Depends on: chan_local(M), res_crypto(M), res_http_websocket(M) then you'll find res_crytpo is dependant on open_ssl Depends on: openssl(E) which for me on debian wheezy is libssl-dev Alec Davis -- _ -- 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] DTMF recognized after call establishment
i had this in past there was an ATA configured to send 9 at the end of dialing in my case. On Tue, May 28, 2013 at 8:21 AM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: Hi, I am receiving DTMF without any reason after call establishment. The log as follows, and I suspect something related to directmedia, [May 17 00:33:35] VERBOSE[4238] app_dial.c: -- SIP/MyTrunk-000a4b49 is making progress passing it to SIP/MAN-000a4b48 [May 17 00:33:35] VERBOSE[4238] app_dial.c: -- SIP/MyTrunk-000a4b49 answered SIP/MAN-000a4b48 [May 17 00:33:35] DTMF[4238] channel.c: DTMF end '*' received on SIP/MyTrunk-000a4b49, duration 0 ms [May 17 00:33:35] DTMF[4238] channel.c: DTMF end accepted without begin '*' on SIP/MyTrunk-000a4b49 [May 17 00:33:35] DTMF[4238] channel.c: DTMF end passthrough '*' on SIP/MyTrunk-000a4b49 [May 17 00:33:36] DTMF[4238] channel.c: DTMF end '8' received on SIP/MyTrunk-000a4b49, duration 0 ms [May 17 00:33:36] DTMF[4238] channel.c: DTMF end accepted without begin '8' on SIP/MyTrunk-000a4b49 [May 17 00:33:36] DTMF[4238] channel.c: DTMF end passthrough '8' on SIP/MyTrunk-000a4b49 [May 17 00:33:36] DTMF[4104] channel.c: DTMF end '8' received on SIP/MAN-000a4af0, duration 100 ms [May 17 00:33:36] DTMF[4104] channel.c: DTMF begin emulation of '8' with duration 100 queued on SIP/MAN-000a4af0 [May 17 00:33:36] DTMF[4104] channel.c: DTMF end emulation of '8' queued on SIP/MAN-000a4af0 [May 17 00:33:37] DTMF[4234] channel.c: DTMF end '1' received on SIP/MAN-000a4b41, duration 100 ms [May 17 00:33:37] DTMF[4234] channel.c: DTMF begin emulation of '1' with duration 100 queued on SIP/MAN-000a4b41 [May 17 00:33:37] DTMF[4234] channel.c: DTMF end emulation of '1' queued on SIP/MAN-000a4b41 [May 17 00:33:55] VERBOSE[4106] pbx.c: == Spawn extension (sip-trunk-inbound, 2127773456, 1) exited non-zero on 'SIP/MyTrunk-000a4af3' [May 17 00:33:56] VERBOSE[4136] pbx.c: -- Executing [h@trunk-outbound:1] NoOp(SIP/MAN-000a4b09, 16) in new stack [May 17 00:33:56] VERBOSE[4136] pbx.c: == Spawn extension (trunk-outbound, 87457712, 2) exited non-zero on 'SIP/MAN-000a4b09' Is this some thing related to SIP RE-INVITE? Thanks. -- _ -- 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] DTMF recognized after call establishment
work around was block dtmf. set wrong type of dtmf in incoming trunk. On Tue, May 28, 2013 at 11:15 AM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: So any resolution for this? I suspect it could be related to RE INVITE On Tue, May 28, 2013 at 2:09 PM, Asghar Mohammad asghar...@gmail.comwrote: i had this in past there was an ATA configured to send 9 at the end of dialing in my case. On Tue, May 28, 2013 at 8:21 AM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: Hi, I am receiving DTMF without any reason after call establishment. The log as follows, and I suspect something related to directmedia, [May 17 00:33:35] VERBOSE[4238] app_dial.c: -- SIP/MyTrunk-000a4b49 is making progress passing it to SIP/MAN-000a4b48 [May 17 00:33:35] VERBOSE[4238] app_dial.c: -- SIP/MyTrunk-000a4b49 answered SIP/MAN-000a4b48 [May 17 00:33:35] DTMF[4238] channel.c: DTMF end '*' received on SIP/MyTrunk-000a4b49, duration 0 ms [May 17 00:33:35] DTMF[4238] channel.c: DTMF end accepted without begin '*' on SIP/MyTrunk-000a4b49 [May 17 00:33:35] DTMF[4238] channel.c: DTMF end passthrough '*' on SIP/MyTrunk-000a4b49 [May 17 00:33:36] DTMF[4238] channel.c: DTMF end '8' received on SIP/MyTrunk-000a4b49, duration 0 ms [May 17 00:33:36] DTMF[4238] channel.c: DTMF end accepted without begin '8' on SIP/MyTrunk-000a4b49 [May 17 00:33:36] DTMF[4238] channel.c: DTMF end passthrough '8' on SIP/MyTrunk-000a4b49 [May 17 00:33:36] DTMF[4104] channel.c: DTMF end '8' received on SIP/MAN-000a4af0, duration 100 ms [May 17 00:33:36] DTMF[4104] channel.c: DTMF begin emulation of '8' with duration 100 queued on SIP/MAN-000a4af0 [May 17 00:33:36] DTMF[4104] channel.c: DTMF end emulation of '8' queued on SIP/MAN-000a4af0 [May 17 00:33:37] DTMF[4234] channel.c: DTMF end '1' received on SIP/MAN-000a4b41, duration 100 ms [May 17 00:33:37] DTMF[4234] channel.c: DTMF begin emulation of '1' with duration 100 queued on SIP/MAN-000a4b41 [May 17 00:33:37] DTMF[4234] channel.c: DTMF end emulation of '1' queued on SIP/MAN-000a4b41 [May 17 00:33:55] VERBOSE[4106] pbx.c: == Spawn extension (sip-trunk-inbound, 2127773456, 1) exited non-zero on 'SIP/MyTrunk-000a4af3' [May 17 00:33:56] VERBOSE[4136] pbx.c: -- Executing [h@trunk-outbound:1] NoOp(SIP/MAN-000a4b09, 16) in new stack [May 17 00:33:56] VERBOSE[4136] pbx.c: == Spawn extension (trunk-outbound, 87457712, 2) exited non-zero on 'SIP/MAN-000a4b09' Is this some thing related to SIP RE-INVITE? Thanks. -- _ -- 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
Re: [asterisk-users] Registration timed out - for created users
you don't need register = string here, it only need you want asterisk register to another sip proxy as client. just remove that line and you should fine. for X-lite or any other sip phone the user AlphaUser is sufficient. On Fri, May 24, 2013 at 12:32 PM, luke devon luke_de...@yahoo.com wrote: Hi all , I have managed to install and configure the 1. asterisk-1.8-current 2. dahdi-linux-complete-current I did not faced any issues during the installation. After that I installed X-Lite soft phone in two different PCs and tested the setup. every thing was success. I was able make calls from each extensions. But when I observe the log files , i could see some messages .. chan_sip.c:-- Registration for 'alphaUser@192.168.1.12' timed out, trying again (Attempt #2) Something is not right. I have double check the configurations. But I could not find where I have done the mistake. following is my configurations, sip.conf --- register = alpahaUser:1234@192.168.1.10 [alphaUser] type=friend username=alphaUser secret=1234 context=tutorial host=dynamic canreinvite=no dtfmode=rfc2833 disallow=all allow=ulaw subscribecontext=tutorial mailbox=alphaUser@internal extensions.conf [tutorial] exten = ,1,Dial(SIP/alphaUser) Please help me to identify and resolve the issue . Thanks in Advance Luke. -- _ -- 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] Cut offs on outgoing SIP calls
asterisk is behind nat? On Wed, May 15, 2013 at 8:18 PM, Daniel - Asterisk earohua...@gmail.comwrote: Hello everyone, I've suffering cut offs after 6 or 7 seconds a call is answered, incoming calls are working fine, but outgoing ones show the gollowing messages when are being dropped: [2013-05-15 12:55:14] WARNING[3569]: chan_sip.c:3641 retrans_pkt: Retransmission timeout reached on transmission ZjJkZjlkZWMyZTE4ZmY2NWZlZTExNDM1MDRhMTY4MTc. for seqno 2 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions Packet timed out after 6399ms with no response [2013-05-15 12:55:14] WARNING[3569]: chan_sip.c:3670 retrans_pkt: Hanging up call ZjJkZjlkZWMyZTE4ZmY2NWZlZTExNDM1MDRhMTY4MTc. - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions). This is happening with my PBX hosted on an external network and peers on my local network. It seems the SIP ACK is not being received properly. I'm using asterisk 1.8.19.0 on Debian 6.0.6 and 1.8.11.1 on Centos 5.9 Elder D. Arohuanca Lima - Peru -- _ -- 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] Cut offs on outgoing SIP calls
please show us peer configuration. On Wed, May 15, 2013 at 9:46 PM, Daniel - Asterisk earohua...@gmail.comwrote: Users (softphones) are behind a NAT, Asterisk has its own public ip address On Wed, May 15, 2013 at 1:30 PM, Asghar Mohammad asghar...@gmail.comwrote: asterisk is behind nat? On Wed, May 15, 2013 at 8:18 PM, Daniel - Asterisk earohua...@gmail.comwrote: Hello everyone, I've suffering cut offs after 6 or 7 seconds a call is answered, incoming calls are working fine, but outgoing ones show the gollowing messages when are being dropped: [2013-05-15 12:55:14] WARNING[3569]: chan_sip.c:3641 retrans_pkt: Retransmission timeout reached on transmission ZjJkZjlkZWMyZTE4ZmY2NWZlZTExNDM1MDRhMTY4MTc. for seqno 2 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions Packet timed out after 6399ms with no response [2013-05-15 12:55:14] WARNING[3569]: chan_sip.c:3670 retrans_pkt: Hanging up call ZjJkZjlkZWMyZTE4ZmY2NWZlZTExNDM1MDRhMTY4MTc. - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions). This is happening with my PBX hosted on an external network and peers on my local network. It seems the SIP ACK is not being received properly. I'm using asterisk 1.8.19.0 on Debian 6.0.6 and 1.8.11.1 on Centos 5.9 Elder D. Arohuanca Lima - Peru -- _ -- 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
Re: [asterisk-users] Cut offs on outgoing SIP calls
sip set debug peer 90102 and check in log why call drop or upload log somewhere. configuration seems ok. On Wed, May 15, 2013 at 10:09 PM, Daniel - Asterisk earohua...@gmail.comwrote: Current configuration follows: [general] context=default allowguest=no alwaysauthreject=yes allowoverlap=yes allowtransfer=yes tcpenable=no tlsenable=no srvlookup=yes vmexten=vm rtcachefriends=yes nat=no directmedia=nonat directrtpsetup=no videosupport=yes maxcallbitrate=384 disallow=all allow=ulaw allow=alaw allow=g729 allow=gsm allow=ilbc allow=speex allow=g726 allow=g723 mohinterpret=default mohsuggest=default dtmfmode=rfc2833 timer1b=6 transport=udp [carrier-1] host=a.b.c.d type=friend context=from-pstn disallow=all allow=ulaw,alaw qualify=yes trunk=yes [90102] secret=xx mailbox=90102@default cid_number=NX accountcode=401 type=friend host=dynamic port=5060 qualify=yes nat=yes transport=udp context=users disallow=all allow=ulaw,alaw,g729,gsm,speex,ilbc,h264,h263p,h263 directmedia=no canreinvite=no videosupport=no -- _ -- 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] Monitoring SIP trunk status on call by call basis
i think DIALSTATUS is not suitable for failover if trunk is down you get dialstatus after time out in dial string. it is too late for failover, you can use some script to check if destination host is up. if you want to do failover when destination host is up then dialstatus are good. On Tue, May 14, 2013 at 5:30 PM, Ishfaq Malik i...@pack-net.co.uk wrote: Hi I'm using asterisk 1.8.7.0 and adding a fail over trunk in case my primary goes down. I'm wondering what the best method of checking if the primary being up is. Is DIALSTATUS suitable for this or is there any good SIP headers to look at after the Dial step? Thanks in Advance Ish -- Ishfaq Malik i...@pack-net.co.uk Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: i...@pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, 2A ENTERPRISE HOUSE, LLOYD STREET NORTH, MANCHESTER SCIENCE PARK, MANCHESTER, M156SE COMPANY REG NO. 04920552 -- _ -- 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] Using PHPMyAdmin to remotely access Asterisk MySQL Database
what problem you encounter? On Tue, May 14, 2013 at 9:42 PM, Lobna Hegazy lobna.heg...@gmail.comwrote: Dear All, I'm trying to connect to Asterisk CDR database using PHPMyAdmin but unfortunately all my trials and searches failed. So I'd be more than grateful if someone helped me with right steps to do this. Kindly note that I'm working on a remore server that I can connect to as a root using *ssh. * Asterisk Version: 11.3.0 MySQL Version: mysql-server.x86_64 0:5.1.69-1.el6_4 Please ask me for any specifications you need, thank you in advance. -- Best Regards, Lobna Hegazy -- _ -- 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] Sangoma Wanpipe Driver
Dial(DAHDI/i0/number, is it not Dial(DAHDI/r0/number or Dial(DAHDI/R0/number or Dial(DAHDI/g0/number or Dial(DAHDI/G0/number? On Mon, May 13, 2013 at 12:53 PM, Yves A. yves...@gmx.de wrote: mmh... actually supportline is closed... why proceeds the call to dahdi/pseudo-?? i have never seen this before... thx., yves Am 13.05.2013 11:42, schrieb Duncan Turnbull: We have had challenges with the latest kernel versions on Ubuntu and sangoma wanpipe drivers An older kernel - no problem, latest ones, sometime risky. There are release notes on their site stating the supported versions so it might pay to check that But if it compiled ok it might be something else Sangoma support will dial in and help you if you ask them Cheers Duncan On 13/05/2013, at 9:29 PM, Yves A. yves...@gmx.de wrote: Hi, I migrated from asterisk 1.6 to 11.3. The Server has a Sangoma A104 quadPri card installed. OS is a fresh installed Ubuntu 12.04 64bit libpri, dahdi etc. all latest releases.. Sangoma says... driver is compatible with ANY asterisk version... I tried driver 3.5.8... Setup ended with error. I tried (latest) driver 7.0.1 Setup went through, Asterisk is showing dahdi channels... all fine I thought... but..: when dialing Dial(DAHDI/i0/number) it accepts the call, but generates a DAHDI/Pseudo channel and the call goes not into the PSTN... What am I doing wrong? Has anybody successfully compiled sangoma driver 7.0.1 in combination with an asterisk 11.3? thanks for hints, regards, yves -- __**__** _ -- 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 -- __**__**_ -- 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 -- __**__**_ -- 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 -- _ -- 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] Integrate Astreisk with SIP interface
what you mean by interface? if you want connect sip phone with asterisk there are 2 file to modify 1. sip.conf 2. extensions.conf. for creating sip user add following in sip.conf [ivr_user] defaultuser=ivruser ;username for sip phone secret=ivruser ;password for sip phone context=ivrcontext for more read examples in sip.conf for ivr add following in extensions.conf [ivruser] exten 123,1,Playback(your ivr file goes here) exten 123,n.Hangup for more read examples in extensions.conf reload asterisk register sip phone with asterisk dial 123 from sip phone hope this will help you. On Sun, May 12, 2013 at 4:04 AM, luke devon luke_de...@yahoo.com wrote: Hi Once I installed astrisk , how do we connect with SIP interface ? Can somebody guide me how to integrate SIP interface with asterisk ? I want to use Astrisk just for IVR purpose. Thank you Luke -- _ -- 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] time zone setting in asterisk
you can try to set usegmtime=no in cdr.conf On Sun, May 12, 2013 at 3:40 AM, Joseph syscon...@gmail.com wrote: Which file in Asterisk have a setting for time zone? When asterisk record incoming call in Master.csv the time is 6hr. ahead. I'm on: Canada/Mountain zone -- Joseph -- __**__**_ -- 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 -- _ -- 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] time zone setting in asterisk
solved? On Sun, May 12, 2013 at 5:39 PM, Joseph syscon...@gmail.com wrote: On 05/12/13 12:18, Asghar Mohammad wrote: you can try to set usegmtime=no in cdr.conf I commented it out, as no is the default setting; but for some reason it was enabled on Gentoo installation. -- Joseph -- __**__**_ -- 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 -- _ -- 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] ISP trunk session ID?
you can find in [general] section. useragent=asterisk; Allows you to change the user agent string ; The default user agent string also contains the Asterisk ; version. If you don't want to expose this, change the ; useragent string. sdpsession=asterisk; Allows you to change the SDP session name string, (s=) ; Like the useragent parameter, the default user agent string ; also contains the Asterisk version. ;sdpowner=root ; Allows you to change the username field in the SDP owner string, (o=) On Sat, May 11, 2013 at 5:16 AM, Nick Khamis sym...@gmail.com wrote: Sorry to chime in here, is it possible to change the Server: Asterisk , s=Asterisk, and o= within sip.conf? What are the directives exactly please? Thanks in Advance, Nick. On 5/10/13, Asghar Mohammad asghar...@gmail.com wrote: hi, you can try to change sip user agent and sdp session s , owner in sip config same as your phone,s (modem). asterisk by default send user agent = asterisk version , s= asterisk , o= asterisk. some providers are not happy if they see asterisk word :) On Sat, May 11, 2013 at 12:27 AM, Sergej Petrovsky sergej5...@yandex.comwrote: Hi folks, What I trying to do here is exactly this: http://www.asteriskdocs.org/en/2nd_Edition/asterisk-book-html-chunk/I_sect14_tt599.html My provider given me a Huawei modem which have 2 phone jacks on it, but instead of using it I rather redirect my POTS number to my PBX. I ran into couple of bumps on the road but now it's half-working. I extracted the SIP user, pass, server info from the modem and even managed to put my PBX into the same VLAN they use, on the exact same IP address like the modem but there is 1 problem: It seems this modem also sends some session ID to the ISP's sip server, something what Asterisk doesn't by default. So if I do this: 1, Let the modem register at the sip service (the phone number can be called and ringing out) 2, Disconnect the modem 3, Let the PBX connect to the SIP server 4, PBX accepts the calls 5, About 5-10 minutes later it stops doing it, when I call the number it shows busy (beep, beep, beep), no matter if I restart Asterisk or not it won't work anymore just if I do the same trick again I'm sure the remote SIP server breaks the voip channel or something, it does NOT drop me out tho, my PBX can register any time without problem but no packets will ever come forward me anymore. It's kind of hard to solve this from 1 side. There must be some solution for this. Please help! Thank You, Sergej -- _ -- 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] dahdi driver not getting install
install kernel source. On Sat, May 11, 2013 at 10:15 AM, Harish Mandowara hari...@cdac.in wrote: Dear, I have redhat enterprise linux 6.3. after uname -a i am getting Linux genesys-dell 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux now when i am trying to insall dahdi driver on my server i am getting below error. [root@genesys-dell dahdi-linux-complete-2.6.2+2.6.2]# make all make -C linux all make[1]: Entering directory `/root/Downloads/dahdi-linux-complete-2.6.2+2.6.2/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory `/root/Downloads/dahdi-linux-complete-2.6.2+2.6.2/linux/drivers/dahdi/firmware' make[2]: Leaving directory `/root/Downloads/dahdi-linux-complete-2.6.2+2.6.2/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 2.6.32-279.el6.x86_64 kernel installed. make[1]: *** [modules] Error 1 make[1]: Leaving directory `/root/Downloads/dahdi-linux-complete-2.6.2+2.6.2/linux' make: *** [all] Error 2 Any suggestion Thank you -- With Warm Regards Harish --- This e-mail is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies and the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email is strictly prohibited and appropriate legal action will be taken. --- -- _ -- 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 driver not getting install
installing kernel source on debian use *apt*-*get insatll* linux-headers-$( *uname* -r) On Sat, May 11, 2013 at 12:20 PM, Alec Davis siva...@paradise.net.nzwrote: -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Harish Mandowara Sent: Saturday, 11 May 2013 8:15 p.m. To: asterisk-users@lists.digium.com Subject: [asterisk-users] dahdi driver not getting install Dear, I have redhat enterprise linux 6.3. snip `/root/Downloads/dahdi-linux-complete-2.6.2+2.6.2/linux/driver s/dahdi/firmware' You do not appear to have the sources for the 2.6.32-279.el6.x86_64 kernel installed. make[1]: *** [modules] Error 1 make[1]: Leaving directory `/root/Downloads/dahdi-linux-complete-2.6.2+2.6.2/linux' make: *** [all] Error 2 I'm a debian user after an inplace upgrade of Debian 6.0 to Debian 7.0, but had exactly that last night. From googling I reckon you need to install kernel-headers-2.6.32-279.el6.x86_64.rpm Alec Davis -- _ -- 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 driver not getting install
he is using debian. debian have yum? On Sat, May 11, 2013 at 2:44 PM, Andrew Colin and...@vsave.co.za wrote: Do a yum install kernel-devel kernel-headers Reboot and it will work Sent from my iPhone On 11 May 2013, at 12:20 PM, Alec Davis siva...@paradise.net.nz wrote: -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Harish Mandowara Sent: Saturday, 11 May 2013 8:15 p.m. To: asterisk-users@lists.digium.com Subject: [asterisk-users] dahdi driver not getting install Dear, I have redhat enterprise linux 6.3. snip `/root/Downloads/dahdi-linux-complete-2.6.2+2.6.2/linux/driver s/dahdi/firmware' You do not appear to have the sources for the 2.6.32-279.el6.x86_64 kernel installed. make[1]: *** [modules] Error 1 make[1]: Leaving directory `/root/Downloads/dahdi-linux-complete-2.6.2+2.6.2/linux' make: *** [all] Error 2 I'm a debian user after an inplace upgrade of Debian 6.0 to Debian 7.0, but had exactly that last night. From googling I reckon you need to install kernel-headers-2.6.32-279.el6.x86_64.rpm Alec Davis -- _ -- 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] ISP trunk session ID?
hi, you can try to change sip user agent and sdp session s , owner in sip config same as your phone,s (modem). asterisk by default send user agent = asterisk version , s= asterisk , o= asterisk. some providers are not happy if they see asterisk word :) On Sat, May 11, 2013 at 12:27 AM, Sergej Petrovsky sergej5...@yandex.comwrote: Hi folks, What I trying to do here is exactly this: http://www.asteriskdocs.org/en/2nd_Edition/asterisk-book-html-chunk/I_sect14_tt599.html My provider given me a Huawei modem which have 2 phone jacks on it, but instead of using it I rather redirect my POTS number to my PBX. I ran into couple of bumps on the road but now it's half-working. I extracted the SIP user, pass, server info from the modem and even managed to put my PBX into the same VLAN they use, on the exact same IP address like the modem but there is 1 problem: It seems this modem also sends some session ID to the ISP's sip server, something what Asterisk doesn't by default. So if I do this: 1, Let the modem register at the sip service (the phone number can be called and ringing out) 2, Disconnect the modem 3, Let the PBX connect to the SIP server 4, PBX accepts the calls 5, About 5-10 minutes later it stops doing it, when I call the number it shows busy (beep, beep, beep), no matter if I restart Asterisk or not it won't work anymore just if I do the same trick again I'm sure the remote SIP server breaks the voip channel or something, it does NOT drop me out tho, my PBX can register any time without problem but no packets will ever come forward me anymore. It's kind of hard to solve this from 1 side. There must be some solution for this. Please help! Thank You, Sergej -- _ -- 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] question about CDR
hi, asterisk insert cdr when call is hangup and last dial statment, i dont understatnd why you are using 2 dial statment on same extenstion? if you you want dial to both extensions you can use 506,1,Dial(SIP/223SIP/276) if you want dial both same time or if you want to do failover the check Dial status and gotoif dialstatus = NO ANSWER or what ever you need. On Thu, May 9, 2013 at 10:46 AM, Salaheddine Elharit salah.elharit...@gmail.com wrote: hello list, i need your help about cdr ,i have installed the module cdr in my asterisk 1.4 . for the inbound calls when i call my sip exten like below : exten = 506,1,Dial(SIP/223, 10) exten = 506,n,Dial(SIP/276, 10) in CDR i have just one line with SIP /276 the last line but there is no historic for the first SIP 223 recid Record ID | calldate |clid |src | dst |dcontext |channel | dstchannel |lastapp |lastdata |duration |billsec |disposition |amaflags |accountcode |uniqueid |3 | 626747 |2013-05-09 09:22:55|0661551203 |0661551203|506 |default |Zap/14-1 |SIP/276-092ac7b0 |Dial|SIP/276| 10|21 |0 |NO ANSWER any help please to have the historic for 223 and 276 thanks and 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 -- _ -- 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] Gateway?
are you talking about sip to pstn? thats called fxo ATA. On Tue, Apr 30, 2013 at 8:59 PM, Don Kelly d...@donkelly.biz wrote: Guys and gals - these are all excellent answers - I am not being clear, I think. ** ** Let me see if I can illustrate it. ** ** If you cannot see my diagramme, let me know and I will make a word-type chart. ** ** So, the Ip device at the top is a SIP phone Asterisk Server Gateway /IP ** ** - This gateway is where the SIP Trunk is - so, a provider like Packet 8 or Broadcomm would have this - this connects directly to the public telephone system (somehow) - a Digium card would not work for me as I am not looking to connect to a dial tone. - Does this make sense? So, the Gateway/IP based - what the hell is that called? I am sure there is such an animal as most of us have configured SIP trunks on Asterisk - so, I'm thinking that this thing that connect to the public phone system is what we see as a SIP trunk - right? ** ** So, how the hell do I do that? Probably not that simple. ** ** Thanks! ** ** Glen ** ** ** ** No, it doesn’t make sense to me J ** ** If you don’t need a “dial tone,” you don’t need the PSTN. ** ** If you are using Broadcomm, etc., you simply use your Asterisk’s system’s Ethernet connection. ** ** Let’s start with your application—what do you want to accomplish? --Don -- _ -- 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] h323-sip: one way connection
try UserByAlias=yes in general and type=user in user context. On Fri, Apr 26, 2013 at 9:48 AM, s m sam.gh1...@gmail.com wrote: oh yes, i'm using h323 not openh323 On Fri, Apr 26, 2013 at 1:16 AM, Asghar Mohammad asghar...@gmail.comwrote: nuFone h323 or openh323? On Thu, Apr 25, 2013 at 9:33 PM, s m sam.gh1...@gmail.com wrote: flavor? i do not understand what you mean. please explain more. thanks On Wed, Apr 24, 2013 at 8:16 PM, Asghar Mohammad asghar...@gmail.comwrote: what flavor of h323 you are using? On Wed, Apr 24, 2013 at 8:50 AM, s m sam.gh1...@gmail.com wrote: thanks Asghar, i do it, but no thing happened:( asterisk do not identify host line as ip address of the other end On Tue, Apr 23, 2013 at 9:15 PM, Asghar Mohammad asghar...@gmail.comwrote: try type=peer instead of friend. On Tue, Apr 23, 2013 at 10:04 AM, s m sam.gh1...@gmail.com wrote: i know what is the exactly problem. i enable debug for h323 and it says: could not find user by name 200 or address 192.168.0.146 when i change peer-146 to 200 every thing is ok and i can call from two side. but it is not good for me because 200 is the name of extension and when i config asterisk systems, i don't know the name of extensions, therefore i should use addresses not name of extensions. do you know how i should define address of the other end in h323.conf file? i define the address by host=192.168.0.146 but asterisk can not find it? why? On Mon, Apr 22, 2013 at 8:23 PM, Asghar Mohammad asghar...@gmail.com wrote: please post cli output for both calls. On Mon, Apr 22, 2013 at 11:32 AM, s m sam.gh1...@gmail.com wrote: hello everybody i want to have sip connection between two asterisk systems (145 and 146). connection from 145 to 146 is ok but i can not call from 146 to 145. this is h323.conf file in 145: [peer146] host=192.168.0.146 type=friend context=from-trunk [to-146] type=peer host=192.168.0.146 faststart=yes tunneling=no progress_audio=yes disallow=all allow=alaw allow=ulaw this is mu extensions.conf file in 145: [from-trunk] exten=_1.,1,Dial(SIP/to-231/1${EXTEN:1}) [line-231] exten=_2.,1,Dial(H323/to-146/2${EXTEN:1}) i have this error: dropping call because extensions '100', 's' and 'i' doesn't exists in context default. if i change peer146 to general, every thing is ok and i can call from two side. my question is: in h323 connection, is it a MUST to have general context in h323.conf? if not, why i have this error and how i can solve it? thanks in advance sam -- _ -- 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 -- _ -- 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] h323-sip: one way connection
nuFone h323 or openh323? On Thu, Apr 25, 2013 at 9:33 PM, s m sam.gh1...@gmail.com wrote: flavor? i do not understand what you mean. please explain more. thanks On Wed, Apr 24, 2013 at 8:16 PM, Asghar Mohammad asghar...@gmail.comwrote: what flavor of h323 you are using? On Wed, Apr 24, 2013 at 8:50 AM, s m sam.gh1...@gmail.com wrote: thanks Asghar, i do it, but no thing happened:( asterisk do not identify host line as ip address of the other end On Tue, Apr 23, 2013 at 9:15 PM, Asghar Mohammad asghar...@gmail.comwrote: try type=peer instead of friend. On Tue, Apr 23, 2013 at 10:04 AM, s m sam.gh1...@gmail.com wrote: i know what is the exactly problem. i enable debug for h323 and it says: could not find user by name 200 or address 192.168.0.146 when i change peer-146 to 200 every thing is ok and i can call from two side. but it is not good for me because 200 is the name of extension and when i config asterisk systems, i don't know the name of extensions, therefore i should use addresses not name of extensions. do you know how i should define address of the other end in h323.conf file? i define the address by host=192.168.0.146 but asterisk can not find it? why? On Mon, Apr 22, 2013 at 8:23 PM, Asghar Mohammad asghar...@gmail.comwrote: please post cli output for both calls. On Mon, Apr 22, 2013 at 11:32 AM, s m sam.gh1...@gmail.com wrote: hello everybody i want to have sip connection between two asterisk systems (145 and 146). connection from 145 to 146 is ok but i can not call from 146 to 145. this is h323.conf file in 145: [peer146] host=192.168.0.146 type=friend context=from-trunk [to-146] type=peer host=192.168.0.146 faststart=yes tunneling=no progress_audio=yes disallow=all allow=alaw allow=ulaw this is mu extensions.conf file in 145: [from-trunk] exten=_1.,1,Dial(SIP/to-231/1${EXTEN:1}) [line-231] exten=_2.,1,Dial(H323/to-146/2${EXTEN:1}) i have this error: dropping call because extensions '100', 's' and 'i' doesn't exists in context default. if i change peer146 to general, every thing is ok and i can call from two side. my question is: in h323 connection, is it a MUST to have general context in h323.conf? if not, why i have this error and how i can solve it? thanks in advance sam -- _ -- 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 -- _ -- 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
Re: [asterisk-users] h323-sip: one way connection
what flavor of h323 you are using? On Wed, Apr 24, 2013 at 8:50 AM, s m sam.gh1...@gmail.com wrote: thanks Asghar, i do it, but no thing happened:( asterisk do not identify host line as ip address of the other end On Tue, Apr 23, 2013 at 9:15 PM, Asghar Mohammad asghar...@gmail.comwrote: try type=peer instead of friend. On Tue, Apr 23, 2013 at 10:04 AM, s m sam.gh1...@gmail.com wrote: i know what is the exactly problem. i enable debug for h323 and it says: could not find user by name 200 or address 192.168.0.146 when i change peer-146 to 200 every thing is ok and i can call from two side. but it is not good for me because 200 is the name of extension and when i config asterisk systems, i don't know the name of extensions, therefore i should use addresses not name of extensions. do you know how i should define address of the other end in h323.conf file? i define the address by host=192.168.0.146 but asterisk can not find it? why? On Mon, Apr 22, 2013 at 8:23 PM, Asghar Mohammad asghar...@gmail.comwrote: please post cli output for both calls. On Mon, Apr 22, 2013 at 11:32 AM, s m sam.gh1...@gmail.com wrote: hello everybody i want to have sip connection between two asterisk systems (145 and 146). connection from 145 to 146 is ok but i can not call from 146 to 145. this is h323.conf file in 145: [peer146] host=192.168.0.146 type=friend context=from-trunk [to-146] type=peer host=192.168.0.146 faststart=yes tunneling=no progress_audio=yes disallow=all allow=alaw allow=ulaw this is mu extensions.conf file in 145: [from-trunk] exten=_1.,1,Dial(SIP/to-231/1${EXTEN:1}) [line-231] exten=_2.,1,Dial(H323/to-146/2${EXTEN:1}) i have this error: dropping call because extensions '100', 's' and 'i' doesn't exists in context default. if i change peer146 to general, every thing is ok and i can call from two side. my question is: in h323 connection, is it a MUST to have general context in h323.conf? if not, why i have this error and how i can solve it? thanks in advance sam -- _ -- 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 -- _ -- 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] h323-sip: one way connection
try type=peer instead of friend. On Tue, Apr 23, 2013 at 10:04 AM, s m sam.gh1...@gmail.com wrote: i know what is the exactly problem. i enable debug for h323 and it says: could not find user by name 200 or address 192.168.0.146 when i change peer-146 to 200 every thing is ok and i can call from two side. but it is not good for me because 200 is the name of extension and when i config asterisk systems, i don't know the name of extensions, therefore i should use addresses not name of extensions. do you know how i should define address of the other end in h323.conf file? i define the address by host=192.168.0.146 but asterisk can not find it? why? On Mon, Apr 22, 2013 at 8:23 PM, Asghar Mohammad asghar...@gmail.comwrote: please post cli output for both calls. On Mon, Apr 22, 2013 at 11:32 AM, s m sam.gh1...@gmail.com wrote: hello everybody i want to have sip connection between two asterisk systems (145 and 146). connection from 145 to 146 is ok but i can not call from 146 to 145. this is h323.conf file in 145: [peer146] host=192.168.0.146 type=friend context=from-trunk [to-146] type=peer host=192.168.0.146 faststart=yes tunneling=no progress_audio=yes disallow=all allow=alaw allow=ulaw this is mu extensions.conf file in 145: [from-trunk] exten=_1.,1,Dial(SIP/to-231/1${EXTEN:1}) [line-231] exten=_2.,1,Dial(H323/to-146/2${EXTEN:1}) i have this error: dropping call because extensions '100', 's' and 'i' doesn't exists in context default. if i change peer146 to general, every thing is ok and i can call from two side. my question is: in h323 connection, is it a MUST to have general context in h323.conf? if not, why i have this error and how i can solve it? thanks in advance sam -- _ -- 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
Re: [asterisk-users] h323-sip: one way connection
please post cli output for both calls. On Mon, Apr 22, 2013 at 11:32 AM, s m sam.gh1...@gmail.com wrote: hello everybody i want to have sip connection between two asterisk systems (145 and 146). connection from 145 to 146 is ok but i can not call from 146 to 145. this is h323.conf file in 145: [peer146] host=192.168.0.146 type=friend context=from-trunk [to-146] type=peer host=192.168.0.146 faststart=yes tunneling=no progress_audio=yes disallow=all allow=alaw allow=ulaw this is mu extensions.conf file in 145: [from-trunk] exten=_1.,1,Dial(SIP/to-231/1${EXTEN:1}) [line-231] exten=_2.,1,Dial(H323/to-146/2${EXTEN:1}) i have this error: dropping call because extensions '100', 's' and 'i' doesn't exists in context default. if i change peer146 to general, every thing is ok and i can call from two side. my question is: in h323 connection, is it a MUST to have general context in h323.conf? if not, why i have this error and how i can solve it? thanks in advance sam -- _ -- 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] External call control for Asterisk
AGI is your friend. check A2billing. On Fri, Apr 19, 2013 at 10:43 AM, Lenz Emilitri lenz.lo...@gmail.comwrote: Not sure if that's what you are looking for, but I would think about having the dialplan call a web service (maybe using CURL) and passing account and current number. The system would reply with the number to actually dial, or none if blocked, and the maximum possible call length. Then it's all Asterisk (or turtles all the way down). 2013/4/10 Simon Green simon.c.gr...@gmail.com Hi there, I’m new to Asterisk and there’s a ton of documentation. I’m not really sure where to start. What I want to do is this: a PBX service ala FreePBX, but where call control is passed via SIP to an external service which will tell Asterisk: a) * Whether the call is allowed b) * Where to connect the call, if necessary (i.e. forced redirection to a C-party) c) * To disconnect the call at some time in future based on charging considerations (i.e. online charging) There is also the option of not using Asterisk at all, and simply using the other service directly, but Asterisk is much better suited to handling end-user devices. The external service does control logic only. Loway - home of QueueMetrics - http://queuemetrics.com Test-drive WombatDialer beta @ http://wombatdialer.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 -- _ -- 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] Dropping call because extensions '200', 's' and 'i' doesn't exists
why you are removing 2 and adding 2 ? exten= _2.,1,Dial(SIP/to-232/here your are adding --2${EXTEN: here you are removing 1st digit (2) -- 1}) try this exten= _X.,1,Dial(SIP/to-232/${EXTEN}) show me also sip users of both side. let me know if this solve your problem. On Sat, Apr 13, 2013 at 10:29 AM, s m sam.gh1...@gmail.com wrote: thanks Asghar, but it doesn't help. i have below error yet:((( Dropping call because extensions '200', 's' and 'i' doesn't exists in context [from-trunk] i think that something is wring with my extensions in extensions.conf but i don't know how to fix it. please let me know if you have any other suggestion. thanks sam On 4/11/13, Asghar Mohammad asghar...@gmail.com wrote: hi, try exten= _2.,1,Dial(SIP/to-232/2${EXTEN:1}) Note space before underscore. On Thu, Apr 11, 2013 at 2:50 PM, s m sam.gh1...@gmail.com wrote: this is my [from-trunk] extension: [from-trunk] exten=_2.,1,Dial(SIP/to-232/2${EXTEN:1}) and this is [to-231] in sip_additional.conf: [to-232] host=192.168.0.232 type=peer qualify=yes and 192.168.0.232 in the ip address of my freepbx. On 4/11/13, A J Stiles asterisk_l...@earthshod.co.uk wrote: On Thursday 11 April 2013, s m wrote: when i call 100 from 200, every thing is ok and phone is ringing but when i call 200 from 100, it says service unavailable. i debug asterisk in my system 2 and see below message: Dropping call because extensions '200', 's' and 'i' doesn't exists in context [from-trunk] OK. What do you have in the [from-trunk] context in your extensions.conf ? -- AJS Answers come *after* questions. -- _ -- 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
Re: [asterisk-users] Dropping call because extensions '200', 's' and 'i' doesn't exists
hi, try exten= _2.,1,Dial(SIP/to-232/2${EXTEN:1}) Note space before underscore. On Thu, Apr 11, 2013 at 2:50 PM, s m sam.gh1...@gmail.com wrote: this is my [from-trunk] extension: [from-trunk] exten=_2.,1,Dial(SIP/to-232/2${EXTEN:1}) and this is [to-231] in sip_additional.conf: [to-232] host=192.168.0.232 type=peer qualify=yes and 192.168.0.232 in the ip address of my freepbx. On 4/11/13, A J Stiles asterisk_l...@earthshod.co.uk wrote: On Thursday 11 April 2013, s m wrote: when i call 100 from 200, every thing is ok and phone is ringing but when i call 200 from 100, it says service unavailable. i debug asterisk in my system 2 and see below message: Dropping call because extensions '200', 's' and 'i' doesn't exists in context [from-trunk] OK. What do you have in the [from-trunk] context in your extensions.conf ? -- AJS Answers come *after* questions. -- _ -- 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] Setting a CDR field from using feature codes...
hi, you have not assign any value to CDR(userfield). try code = #111,self,SET(CDR(userfield)=111) On Thu, Apr 11, 2013 at 12:53 AM, Carlos Chavez cur...@telecomabmex.comwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am trying to set the CDR(userfield) to a certain vaule using the application map of features.conf but I am not able to do it. When I receive a call I would like to tag it with a client code (3 digit numeric) so I can referenci it later from the CDR. I have edited features.conf with something like: code = #111,self,SET(CDR(userfield(111)) or code = #111,self,AGI(code.agi) The DYNAMIC_FEATURES variable is in the globals section and includes the application map name. When I do a features reload I can see everything loads and when I dial the code during a call I can see a message like: - -- Feature Found: code exten: code The problem is that my CDR variable is not being written to. The first example does not show anything on screen. For the second when I turn agi debug on I can see: SIP/2001-0003AGI Rx SET VARIABLE CDR(userfield) 111 But when I hang up neither my h extension or the CDR itself will show the value I set, it is empty. I do not know what I am doing wrong or maybe CDR variables are not available from features? - -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez Prats Director de Tecnología +52-55-91169161 ext 2001 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlFl7VYACgkQqmNh+MyHzx7SzACggvfeVZEE70JhVUXjzEvCTTg9 d2gAoJWAYR7cBI7DCfbL47s6afIiZB9G =SJlv -END PGP SIGNATURE- -- _ -- 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] Is there a php script to analyse and show call detail reports from Asterisk CDR?
hi, it is not difficult in php and mysql i have created a simple billing system for my wholesale postpay clients without any AGI. it report ACD ASR all calls ANSWERD calls filter by date by callerid etc. do billing as soon as call end. for billing i am using mysql trigger. report live calls. 2 interfaces 1 for admin and other for clients, every client can login with his accountcode and password and can see live calls cdr report billing etc. i am still working on this so codes are not clean. if someone need to create a new interface i can help. On Wed, Apr 10, 2013 at 11:22 PM, Daniel - Asterisk earohua...@gmail.comwrote: Hello Brynjolfur Thorvardsson, Can I take a look at you CDR reporting tool? I'm planning on using it on Postgresql but MySQL could be used too. Thank you! Elder D. Arohuanca dCAP Lima - Peru On Fri, Feb 10, 2012 at 11:55 AM, asterisk jobs asteriskcod...@gmail.comwrote: No, that doesn't do the job I specifically asked and installation instructions are all over the place... Thanks though. On Fri, Feb 10, 2012 at 11:36 AM, Tim Nelson tnel...@rockbochs.comwrote: - Original Message - Yes, this is exactly what I am looking for - hopefully in English :-) Date or range selection would make this perfect. I have been looking for something like this for quite a while but there is none. I would really appreciate it if you share this with me. Question here, does the .php code read from database and displays or does it analyse the custom-cdr.csv file? Don't forget about the ever-popular Asterisk-stat and the newly revised cdr-stats projects, both web based, proven, and work fantastic: http://www.areski.net/areski/index.php?option=com_contenttask=viewid=22Itemid=54 http://www.cdr-stats.org/ --Tim -- _ -- 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
Re: [asterisk-users] Setting a CDR field from using feature codes...
i am using exten = _XXX.,n,Set(CDR(cli_name)=${CHANNEL(peerip)}) cli_name is field in mysql and it work fine. show me cli output without AGI. On Thu, Apr 11, 2013 at 6:41 PM, Carlos Chavez cur...@telecomabmex.comwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/11/13 11:18 AM, Asghar Mohammad wrote: hi, you have not assign any value to CDR(userfield). try code = #111,self,SET(CDR(userfield)=111) On Thu, Apr 11, 2013 at 12:53 AM, Carlos Chavez cur...@telecomabmex.com mailto:cur...@telecomabmex.com wrote: I am trying to set the CDR(userfield) to a certain vaule using the application map of features.conf but I am not able to do it. When I receive a call I would like to tag it with a client code (3 digit numeric) so I can referenci it later from the CDR. I have edited features.conf with something like: code = #111,self,SET(CDR(userfield(111)) or code = #111,self,AGI(code.agi) The DYNAMIC_FEATURES variable is in the globals section and includes the application map name. When I do a features reload I can see everything loads and when I dial the code during a call I can see a message like: -- Feature Found: code exten: code The problem is that my CDR variable is not being written to. The first example does not show anything on screen. For the second when I turn agi debug on I can see: SIP/2001-0003AGI Rx SET VARIABLE CDR(userfield) 111 But when I hang up neither my h extension or the CDR itself will show the value I set, it is empty. I do not know what I am doing wrong or maybe CDR variables are not available from features? That was a copy/paste error on my part. The line is as you put it but I cannot get the value after. - -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez Prats Director de Tecnología +52-55-91169161 ext 2001 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlFm56gACgkQqmNh+MyHzx6VpwCePy+X5YzFX68fTbTDtqXRe3PO kvMAn3mEXOddPyd9wu/HTRu7QjPAv5xJ =rbhr -END PGP SIGNATURE- -- _ -- 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] Setting a CDR field from using feature codes...
how you are executing? show me your full context and how call enter in context. On Thu, Apr 11, 2013 at 7:07 PM, Carlos Chavez cur...@telecomabmex.comwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When I execute without using the AGI method I get no output on the CLI at all. On 4/11/13 11:54 AM, Asghar Mohammad wrote: i am using exten = _XXX.,n,Set(CDR(cli_name)=${CHANNEL(peerip)}) cli_name is field in mysql and it work fine. show me cli output without AGI. On Thu, Apr 11, 2013 at 6:41 PM, Carlos Chavez cur...@telecomabmex.com mailto:cur...@telecomabmex.com wrote: On 4/11/13 11:18 AM, Asghar Mohammad wrote: hi, you have not assign any value to CDR(userfield). try code = #111,self,SET(CDR(userfield)=111) On Thu, Apr 11, 2013 at 12:53 AM, Carlos Chavez cur...@telecomabmex.com mailto:cur...@telecomabmex.com mailto:cur...@telecomabmex.com mailto:cur...@telecomabmex.com wrote: I am trying to set the CDR(userfield) to a certain vaule using the application map of features.conf but I am not able to do it. When I receive a call I would like to tag it with a client code (3 digit numeric) so I can referenci it later from the CDR. I have edited features.conf with something like: code = #111,self,SET(CDR(userfield(111)) or code = #111,self,AGI(code.agi) The DYNAMIC_FEATURES variable is in the globals section and includes the application map name. When I do a features reload I can see everything loads and when I dial the code during a call I can see a message like: -- Feature Found: code exten: code The problem is that my CDR variable is not being written to. The first example does not show anything on screen. For the second when I turn agi debug on I can see: SIP/2001-0003AGI Rx SET VARIABLE CDR(userfield) 111 But when I hang up neither my h extension or the CDR itself will show the value I set, it is empty. I do not know what I am doing wrong or maybe CDR variables are not available from features? That was a copy/paste error on my part. The line is as you put it but I cannot get the value after. -- _ - -- 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 - -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez Prats Director de Tecnología +52-55-91169161 ext 2001 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlFm7e8ACgkQqmNh+MyHzx6POwCeLtZtIH42LgTPE/N0/l7kpfDP XpkAnRqtgX6iFhaGzn29B+rjFhXd6tIv =VW+3 -END PGP SIGNATURE- -- _ -- 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] Setting a CDR field from using feature codes...
Mohammad wrote: how you are executing? show me your full context and how call enter in context. On Thu, Apr 11, 2013 at 7:07 PM, Carlos Chavez cur...@telecomabmex.com mailto:cur...@telecomabmex.com wrote: When I execute without using the AGI method I get no output on the CLI at all. On 4/11/13 11:54 AM, Asghar Mohammad wrote: i am using exten = _XXX.,n,Set(CDR(cli_name)=${CHANNEL(peerip)}) cli_name is field in mysql and it work fine. show me cli output without AGI. On Thu, Apr 11, 2013 at 6:41 PM, Carlos Chavez cur...@telecomabmex.com mailto:cur...@telecomabmex.com mailto:cur...@telecomabmex.com mailto:cur...@telecomabmex.com wrote: On 4/11/13 11:18 AM, Asghar Mohammad wrote: hi, you have not assign any value to CDR(userfield). try code = #111,self,SET(CDR(userfield)=111) On Thu, Apr 11, 2013 at 12:53 AM, Carlos Chavez cur...@telecomabmex.com mailto:cur...@telecomabmex.com mailto:cur...@telecomabmex.com mailto:cur...@telecomabmex.com mailto:cur...@telecomabmex.com mailto:cur...@telecomabmex.com mailto:cur...@telecomabmex.com mailto:cur...@telecomabmex.com wrote: I am trying to set the CDR(userfield) to a certain vaule using the application map of features.conf but I am not able to do it. When I receive a call I would like to tag it with a client code (3 digit numeric) so I can referenci it later from the CDR. I have edited features.conf with something like: code = #111,self,SET(CDR(userfield(111)) or code = #111,self,AGI(code.agi) The DYNAMIC_FEATURES variable is in the globals section and includes the application map name. When I do a features reload I can see everything loads and when I dial the code during a call I can see a message like: -- Feature Found: code exten: code The problem is that my CDR variable is not being written to. The first example does not show anything on screen. For the second when I turn agi debug on I can see: SIP/2001-0003AGI Rx SET VARIABLE CDR(userfield) 111 But when I hang up neither my h extension or the CDR itself will show the value I set, it is empty. I do not know what I am doing wrong or maybe CDR variables are not available from features? That was a copy/paste error on my part. The line is as you put it but I cannot get the value after. -- _ -- 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 - -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez Prats Director de Tecnología +52-55-91169161 ext 2001 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlFm9DMACgkQqmNh+MyHzx7kwgCdHX2VbatBYwN/3S7VRaJExFal C0YAoKSQEN25USZwUMPXiLt2b9g63m5V =+iSh -END PGP SIGNATURE- -- _ -- 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
Re: [asterisk-users] sip set debug on output to file only (not to console)
hi, open debug only on problematic peer. sip set debug peer peer name or sip set debug ip peer ip On Fri, Mar 29, 2013 at 2:02 PM, Marie Fischer ma...@vtl.ee wrote: Hello everybody, I am trying to find an intermittent SIP error with one provider and thought the best first step would be to have sip set debug on for some days and check the logs. Everything gets logged nicely, but the SIP log clutters up the console quite badly. Is it possible to have SIP debug log go only to the log file and not to the console? My logger.conf: console = notice,warning,error messages = notice,warning,error full = notice,warning,error,debug,verbose,dtmf,fax On the console, I entered: core set verbose 3 core set debug 0 sip set debug on Thanks, -- marie -- _ -- 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] Need help about round-robin
hi, i think we miss understood you Question? you need round robin on tdm trunk or on 2 internet connections? what are you asking about burden-sharing between Wimax and FH? On Fri, Mar 22, 2013 at 4:24 PM, Salaheddine Elharit salah.elharit...@gmail.com wrote: ok thank you so much i use dial(zap/r2) instead of g2 and it works without problem now my question i have 2 providers i use g1 for the first and g2 for the second if i understand i must use r1 instead of g1 for the first provider and r2 instead of g2 for the second provider in order to use the burden-sharing between Wimax and FH thanks and regards 2013/3/21 Asghar Mohammad asghar...@gmail.com hi, exten = _0612.,1,Set(CALLERID(number)=520460587) exten = _0612.,n,MixMonitor(zap_g2_${EXTEN}_${UNIQUEID}.wav|av(0}V(0)) exten = _0612.,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes) exten = _0612.,n,Dial(Zap/r2/${EXTEN},30,A(this-call-may-be-monitored-or-recorded) exten = _0612.,n,Hangup() Note r in Dial. you can use r for Ascending and R for Descending order On Thu, Mar 21, 2013 at 6:00 PM, Salaheddine Elharit salah.elharit...@gmail.com wrote: how can i use Dial(zap/r2/2) below an exemple from my extensions.conf exten = _0612.,1,Set(CALLERID(number)=520460587) exten = _0612.,n,MixMonitor(zap_g2_${EXTEN}_${UNIQUEID}.wav|av(0}V(0)) exten = _0612.,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes) exten = _0612.,n,Dial(Zap/g2/${EXTEN},30,A(this-call-may-be-monitored-or-recorded) exten = _0612.,n,Hangup(); thanks and regards. 2013/3/21 Bharat Lalcheta bharatlalch...@gmail.com File is ok there is no etc/zapata file. On Mar 21, 2013 9:42 PM, Steve Edwards asterisk@sedwards.com wrote: On Thu, 21 Mar 2013, Salaheddine Elharit wrote: i have installed 2 diguim cards in my server using asterisk 1.4 (i use the old version with zapata.conf and zaptel.conf) question 2: what is difference between etc\zapataa.conf and etc\asterisk\zapata.conf There is no /etc/zapata.conf. The 2 files are /etc/zaptel.conf and /etc/asterisk/zapata.conf. Note that the direction of the 'slash' is significant as is the leading slash. -- Thanks in advance, --**--** - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867PST Newline Fax: +1-760-731-3000 -- __**__** _ -- 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 -- _ -- 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 -- _ -- 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] Need help about round-robin
your dialplan nothing to do with bandwidth it dial out to digium card what ever come in. 1. if your providers calls come in via digium card and you want send out using sip or any other tech. then use context defined in group 1 for provider 1 and context defined in group 2 for provider 2. 2. if your providers come in using sip just give him deferent ips, provider 1 send to wimax ip and provider to FH. or explain if you are using other scenario. On Fri, Mar 22, 2013 at 7:14 PM, Salaheddine Elharit salah.elharit...@gmail.com wrote: yes i want to use the burden-sharing between Wimax and FH using a diguim cards 2013/3/22 Asghar Mohammad asghar...@gmail.com hi, i think we miss understood you Question? you need round robin on tdm trunk or on 2 internet connections? what are you asking about burden-sharing between Wimax and FH? On Fri, Mar 22, 2013 at 4:24 PM, Salaheddine Elharit salah.elharit...@gmail.com wrote: ok thank you so much i use dial(zap/r2) instead of g2 and it works without problem now my question i have 2 providers i use g1 for the first and g2 for the second if i understand i must use r1 instead of g1 for the first provider and r2 instead of g2 for the second provider in order to use the burden-sharing between Wimax and FH thanks and regards 2013/3/21 Asghar Mohammad asghar...@gmail.com hi, exten = _0612.,1,Set(CALLERID(number)=520460587) exten = _0612.,n,MixMonitor(zap_g2_${EXTEN}_${UNIQUEID}.wav|av(0}V(0)) exten = _0612.,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes) exten = _0612.,n,Dial(Zap/r2/${EXTEN},30,A(this-call-may-be-monitored-or-recorded) exten = _0612.,n,Hangup() Note r in Dial. you can use r for Ascending and R for Descending order On Thu, Mar 21, 2013 at 6:00 PM, Salaheddine Elharit salah.elharit...@gmail.com wrote: how can i use Dial(zap/r2/2) below an exemple from my extensions.conf exten = _0612.,1,Set(CALLERID(number)=520460587) exten = _0612.,n,MixMonitor(zap_g2_${EXTEN}_${UNIQUEID}.wav|av(0}V(0)) exten = _0612.,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes) exten = _0612.,n,Dial(Zap/g2/${EXTEN},30,A(this-call-may-be-monitored-or-recorded) exten = _0612.,n,Hangup(); thanks and regards. 2013/3/21 Bharat Lalcheta bharatlalch...@gmail.com File is ok there is no etc/zapata file. On Mar 21, 2013 9:42 PM, Steve Edwards asterisk@sedwards.com wrote: On Thu, 21 Mar 2013, Salaheddine Elharit wrote: i have installed 2 diguim cards in my server using asterisk 1.4 (i use the old version with zapata.conf and zaptel.conf) question 2: what is difference between etc\zapataa.conf and etc\asterisk\zapata.conf There is no /etc/zapata.conf. The 2 files are /etc/zaptel.conf and /etc/asterisk/zapata.conf. Note that the direction of the 'slash' is significant as is the leading slash. -- Thanks in advance, --**--** - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- __**__** _ -- 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 -- _ -- 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
Re: [asterisk-users] Asterisk 1.8 and dual stack support
please see, http://lists.digium.com/pipermail/asterisk-users/2013-March/278130.html On Thu, Mar 21, 2013 at 5:47 PM, Jaap Winius jwin...@umrk.nl wrote: Hi folks, Following an upgrade to Debian wheezy, I'm now running Asterisk 1.8.13.1. As opposed to Asterisk 1.6.2.9 that I ran with squeeze, this version can support IPv6. However, it seems that I can't get it to support both IPv4 and IPv6 at the same time. For example, if in sip.conf I set the bindaddr variable to '::' it will only listen on IPv6 and none of my IPv4-only friends and peers will be able to connect to it. On the other hand, if I set it to '0.0.0.0' then it will not listen on IPv6. Is this a bug, or is this simply a limitation of Asterisk 1.8.13.1, or is there some other way to configure it for dual-stack support? Thanks, Jaap -- _ -- 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] Need help about round-robin
hi, exten = _0612.,1,Set(CALLERID(number)=520460587) exten = _0612.,n,MixMonitor(zap_g2_${EXTEN}_${UNIQUEID}.wav|av(0}V(0)) exten = _0612.,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes) exten = _0612.,n,Dial(Zap/r2/${EXTEN},30,A(this-call-may-be-monitored-or-recorded) exten = _0612.,n,Hangup() Note r in Dial. you can use r for Ascending and R for Descending order On Thu, Mar 21, 2013 at 6:00 PM, Salaheddine Elharit salah.elharit...@gmail.com wrote: how can i use Dial(zap/r2/2) below an exemple from my extensions.conf exten = _0612.,1,Set(CALLERID(number)=520460587) exten = _0612.,n,MixMonitor(zap_g2_${EXTEN}_${UNIQUEID}.wav|av(0}V(0)) exten = _0612.,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes) exten = _0612.,n,Dial(Zap/g2/${EXTEN},30,A(this-call-may-be-monitored-or-recorded) exten = _0612.,n,Hangup(); thanks and regards. 2013/3/21 Bharat Lalcheta bharatlalch...@gmail.com File is ok there is no etc/zapata file. On Mar 21, 2013 9:42 PM, Steve Edwards asterisk@sedwards.com wrote: On Thu, 21 Mar 2013, Salaheddine Elharit wrote: i have installed 2 diguim cards in my server using asterisk 1.4 (i use the old version with zapata.conf and zaptel.conf) question 2: what is difference between etc\zapataa.conf and etc\asterisk\zapata.conf There is no /etc/zapata.conf. The 2 files are /etc/zaptel.conf and /etc/asterisk/zapata.conf. Note that the direction of the 'slash' is significant as is the leading slash. -- Thanks in advance, --**--** - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867PST Newline Fax: +1-760-731-3000 -- __**__** _ -- 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 -- _ -- 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] Howto create variable from the name of another one and get content of it
hi, ${myVar}STATUS is empty you have not assign any value here your var Set(__${myVar}STATUS=) is empty. use instead Set(__myVar=${ARG1}STATUS) and remove second line. On Thu, Mar 21, 2013 at 7:45 PM, Administrator TOOTAI ad...@tootai.netwrote: Hello, I have a variable created like ... Set(__myVar=${ARG1}) ... Set(__${myVar}STATUS=) If ARG1 is abcd, variable is abcdSTATUS and should be empty. This is OK. Now I would like to get the value of abcdSTATUS. How to do it? ${${myVar}STATUS}} isn't working, nor ${{myvar}STATUS} Thanks for any hint -- Daniel -- __**__**_ -- 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 -- _ -- 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] Allow/Disallow
please post sip.conf. On Thu, Mar 21, 2013 at 8:01 PM, Nick Khamis sym...@gmail.com wrote: Hello Everyone, I have disallow=all and allow=g729 set in sip.conf however, it seems that asterisk still thinks it support other codecs: Capabilities: us - 0x8008000e (gsm|ulaw|alaw|h263|testlaw). How can I disable gsm,ulaw,alaw. Thanks in Advance, Nick. -- _ -- 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] Asterisk 1.8 and dual stack support
:) On Thu, Mar 21, 2013 at 10:27 PM, Jaap Winius jwin...@umrk.nl wrote: On Thu, 21 Mar 2013 12:21:44 -0700, Michael L. Young wrote: How are you determining that it is not listening on IPv4? bindaddr=:: should allow you to support dual stack. That's what I thought would happen. When I set bindaddr=:: and use 'netstat -lpn |grep 5060' it shows: udp6 0 0 :::5060 :::* 9898/asterisk Services like this usually also support IPv4 and as much is suggested by this comment in the sip.conf that comes with my Asterisk package: ; (Note that using bindaddr=:: will show only a single ; IPv6 socket in netstat. IPv4 is supported at the same ; time using IPv4-mapped IPv6 addresses.) However, the moment I reload my sip.conf with bindaddr=::, my entire list of IPv4-only peers loses contact with Asterisk with warnings about the network being unreachable. So, it would appear that the version of Asterisk that I'm using is operating with a single stack socket. Cheers, Jaap -- _ -- 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] Delay before audio starts
hi, exten 000,1.Progress() work in some situation. On Thu, Mar 21, 2013 at 9:30 PM, Gerard gsara...@rarcoa.com wrote: On 03/21/13 14:14, Gerard wrote: I think a simple tcpdump of the traffic will show the mystery. It can be your provider doing something nasty. Have you tried using some other cheap SIP termination? or arrange a fake termination yourself on another server? Leandro I thought so too, but it doesn't appear to . I just bought a door intercom device, set up the extension for it and it's doing the same thing, when it connects there is a 10 second delay before the other side can hear my voice. However watching tcpdump, the audio starts streaming both ways immediately. Changing the dialplan fixes the issue: 957 = { // Test door phone Answer(); // --- this line fixes the problem! Dial(SIP/199,20); Hangup(); }; It's an ok workaround for the door intercom, but in the case of the forwarded calls below, as soon as I Answer() their ringback disappears and the line goes dead while they wait for our guy to answer the phone. I may start a separate post about getting ringback to work after Answer(); As a followup, hold music instead of ringback works fine, so as my current workaround, I'm using an mp3 of the ringback sound as the hold music. Anything is better then a dead line :) Thanks for the help by the way. -Gerard On 03/01/13 14:34, Leandro Dardini wrote: 2013/3/1 Gerard gsara...@rarcoa.com I thought it was the re-invites too, but I have it turned off everywhere. On 03/01/13 08:36, Eric Wieling wrote: When Answer fixes the issue, the root cause is often NAT (could be firewall) since Answering the call prevents any reinvites. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] On Behalf Of Gerard Sent: Friday, March 01, 2013 9:33 AM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Delay before audio starts I've found a workaround of sorts, If I change my below code to : 1AA = { NoOp(${CALLERID(num)}); Answer(); // --- add this Ringing; Set(CHANNEL(musicclass)=none); Dial(${OUTBOUND-TRUNKR}/1XX,30); Voicemail(198,u); }; That fixes the issue. It doesn't fix the call forward issue on the phone though. I've made a few extra extensions, one each corresponding to a number he wants to call forward to, if I have him forward to the extensions who then forward to the real number, it works, thanks to adding Answer() to the dialplan. -Gerard On 02/26/13 13:19, Gerard wrote: Hi everyone, I'm having a hard time figuring this issue out, we just switched from a T1 PRI to a SIP trunk provider and that's when the issue started. Now when someone forwards all calls on their phone to a cellphone, when a customer calls in, Asterisk correctly calls the cellphone and connects the call, but there is a long delay before the audio starts, basically for the first 6-10 seconds of the call there is dead silence, eventually the audio will start and everything works correctly. We never had this problem with the PRI. So I suspect it has something to do with a call coming in as SIP and going out as SIP. At first I thought it was a call forwarding issue because I got this message in the console: [Feb 26 12:35:19] NOTICE[1143][C-025d]: app_dial.c:958 do_forward: Not accepting call completion offers from call-forward recipient Local/1XX@default-0013;1 So I put this in my dial plan: 1AA = { NoOp(${CALLERID(num)}); Ringing; Set(CHANNEL(musicclass)=none); Dial(${OUTBOUND-TRUNKR}/1XX,30); Voicemail(198,u); }; So basically as soon as someone calls incoming number AA, Asterisk dials phone number XX. it's a quick and dirty way to call forward.. and this does the same thing, there's a good 8 second delay before the audio kicks in. There is a Linux firewall with NAT in the path, but I have no other audio issues, so don't *think* it's a factor. I just upgraded to asterisk 11.2.1. Asterisk 11.2.1 built by root @ phonesys2 on a i686 running Linux on 2013-02-23 01:40:02 UTC Any help would be appreciated, Thanks, -- _ -- 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 -- Gerard Saraber Network Admin. Rarcoa, Inc (630) 654-2580 x199 (630) 654-3556 (fax) (630) 915-4122 (cell) --
Re: [asterisk-users] Diagnosing call problem
hi Bharat, why you are giving same answer as mine over and over ? please read posts carefully. On Wed, Mar 20, 2013 at 6:48 AM, Bharat Lalcheta bharatlalch...@gmail.comwrote: Did u changed rtp.conf ? port is showing 39408. Asterisk definetly drop rtp packet for this port if not updated in rtp.conf Regards, Bharat Lalcheta -- _ -- 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] AGI return codes
Hi ishfaq, if you want just loging some info into db you can do in dialplan without any AGI. i am doing billing on the fly in dialplan and mysql for every single user without AGI and enhanced call capacity almost double. let me know you need some examples. On Wed, Mar 20, 2013 at 12:56 PM, Ishfaq Malik i...@pack-net.co.uk wrote: On Wed, 2013-03-20 at 22:52 +1100, Andrew Yager wrote: Hi Ishfaq, On 20/03/2013, at 10:46 PM, Ishfaq Malik i...@pack-net.co.uk wrote: On Wed, 2013-03-20 at 22:32 +1100, Andrew Yager wrote: Hi Andrew Thanks for the advice, I will look into it (I'm using php) The script executes successfully over 99% of the time, it is run very very frequently. I'm trying to track down why the 1% failures are happening which is always a bit trickier than tracking down why a script always fails! In these cases it's always (very) good to think about attaching standard debugging tools like strace to the asterisk process or your AGI to see what's going on. The use of good debug logging (make sure you output information to a file on the file system) to help you keep track of what your script is doing will also be very useful, and a lot less headachy than attaching strafe to a php or asterisk process. Thanks, Andrew Hi Andrew I have an even simpler fix for this particular script. This one isn't really a true AGI script, all it's doing is taking the arguments presented to it and logging them in a db table. I'm going to try the system command instead, should have done that in the first place but the AGI command was just my 'goto place'... Thanks for all the advice though -- Ishfaq Malik i...@pack-net.co.uk Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: i...@pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, 2A ENTERPRISE HOUSE, LLOYD STREET NORTH, MANCHESTER SCIENCE PARK, MANCHESTER, M156SE COMPANY REG NO. 04920552 -- _ -- 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] Diagnosing call problem
On Wed, Mar 20, 2013 at 7:11 PM, Asghar Mohammad asghar...@gmail.comwrote: hi, problem seem to client end i am going to install SFLPhone i will let you know when finish, have you check firewall on clients pc? -- _ -- 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] Diagnosing call problem
client phone not sending rtp at all there is nothing to do with sip invites. some firewall blocking rtp packets or softphone is missconfigured. On Wed, Mar 20, 2013 at 7:25 PM, Mitch Claborn mitch...@claborn.net wrote: There is no firewall on the client. I've compared the SIP messages between a successful call and a failed call, and I can see no difference except for things like port numbers and call IDs. It only fails occasionally, not on every call. Mitch On 03/20/2013 01:16 PM, Asghar Mohammad wrote: On Wed, Mar 20, 2013 at 7:11 PM, Asghar Mohammad asghar...@gmail.com mailto:asghar...@gmail.com wrote: hi, problem seem to client end i am going to install SFLPhone i will let you know when finish, have you check firewall on clients pc? -- __**__**_ -- 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 -- __**__**_ -- 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 -- _ -- 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] Diagnosing call problem
hi, sflphone work fine installed and tested on debian with nat and without nat. please check setting in preferences my sflphone use alsa device. you should check with alsamixer maybe sometime mic get muted or you agent mute the mic. also check out what advice Mitch. NB. you can test with IAX also. On Wed, Mar 20, 2013 at 8:09 PM, Matthew J. Roth mr...@imminc.com wrote: Mitch Claborn wrote: Where is a good place to find documentation on the various fields in the INVITE SIP message and the response? I'd like to dig into them and try to understand them more completely. For the SIP headers: http://en.wikipedia.org/wiki/Session_Initiation_Protocol http://www.ietf.org/rfc/rfc3261.txt For the SDP content: http://en.wikipedia.org/wiki/Session_Description_Protocol http://www.ietf.org/rfc/rfc4566.txt Don't forget that SIP is a request-response protocol. The server sends an INVITE with SDP describing the media session on its end (RTP IP and port, codec, etc.) but that only gives you half of the picture. The client returns an OK with SDP describing its side of the media session. You have to look at both to determine if the call was negotiated properly. To start, I'm going to strip down one of the SIP traces you sent so it's not overwhelming: INVITE from Asterisk server (172.16.0.245) to client (172.16.0.71) c=IN IP4 172.16.0.245 m=audio 13428 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=sendrecv This says that the Asterisk server's RTP for the call will be at 172.16.0.245 (from the c= line) port 13428 (from the m= line), the allowed codecs are u-law (0 PCMU), a-law (8 PCMA), and DTMF (101 telephone-event) (from the m= and a= lines), and Asterisk will both send and receive packets. Note that this is the port (13428) that must be within the range defined in rtp.conf. The port returned in the client's OK is specific to the client and Asterisk has no control over it. Speaking of the client's OK: OK from client (172.16.0.71) to Asterisk server (172.16.0.245) c=IN IP4 172.16.0.71 m=audio 39408 RTP/AVP 0 a=rtpmap:0 PCMU/8000 a=sendrecv a=rtpmap:101 telephone-event/8000 This says that the client's RTP for the call will be at 172.16.0.71 (from the c= line) port 39408 (from the m= line), the allowed codec is u-law (0 PCMU) (from the m= and a= lines), and the client will both send and receive packets. There is also a stray a= line describing DTMF, but its payload type (101) isn't listed on the m= line. I may be wrong, but that seems broken to me. I don't think it would cause the audio issues you're describing, but it's something you could ask SFLphone support about. So the IPs and ports are agreed on (Asterisk = 172.16.0.245:13428, client = 172.16.0.71:39408), both endpoints share an allowed codec (u-law), and they're both ready to send and receive packets. The good news is that the call should work. The bad news is it doesn't. The RTCP information you posted bears this out: Fraction lost: 254 / 256 Cumulative number of packets lost: 37134 Extended highest sequence number received: 37331 Over 99% of the packets are lost, so the call is setup fine but something is getting in the way of the RTP. Your first post said: Occasionally an agent will get a call (or more often a series of calls in a row) where neither party can hear the other, or can only hear each other sporadically. A MixMonitor recording of the call plays only the caller - none of the agent's audio is heard in the recording. This means that the agent's RTP never makes it to the Asterisk process. I doubt it's even making it to the server, but you could prove it by running: # tcpdump -s 0 -A host 172.16.0.71 and portrange 1-65535 at the Linux command line during a bad call. If you only see packets going to the client that takes your Asterisk configuration out of the equation. Then you have to start tracing it back to the client. First rule out the firewall on the Asterisk server, then the cable to the switch, then the switch, then the cable to the client, then the client's firewall, then the softphone on the client. Something on that path has to be stopping (or not producing) the agent's RTP. Don't forget the simple stuff either. It could be something like the agent putting their microphone on mute. Regards, Matthew Roth InterMedia Marketing Solutions Software Engineer and Systems Developer -- _ -- 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] Diagnosing call problem
hi satish, try to debug rtp on that ip and look rtp flow you can also test directmedia=no i encounter this as well i server is on public ip and clients connect via vpn , vpn server is also same asterisk server calls come in via public ip and go to call center via vpn i solved this by directmedia=no canreinvite=no On Tue, Mar 19, 2013 at 5:51 AM, Satish Barot satish4aster...@gmail.comwrote: On Tue, Mar 19, 2013 at 12:00 AM, Mitch Claborn mitch...@claborn.netwrote: Asterisk 11.1.0 Various soft-phone SIP clients call center with 10-12 agents online at once using asterisk queue Occasionally an agent will get a call (or more often a series of calls in a row) where neither party can hear the other, or can only hear each other sporadically. A MixMonitor recording of the call plays only the caller - none of the agent's audio is heard in the recording. Looking for ideas on how to begin to diagnose this or clues about what might be wrong. Is there a console command that will show details of a specific call in progress that might have some clues? -- Mitch -- __**__**_ -- 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 Silly guess, If there is no then NAT did you check that your headphones work properly every time you start the softphone? This has happened to me in past. --Satish Barot Ahmedabad, India. -- _ -- 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] SIP account registration fails after upgrade to 1.8
hi, try srvlookup=yes On Tue, Mar 19, 2013 at 3:15 AM, Jaap Winius jwin...@umrk.nl wrote: Hi folks, Following an upgrade from Debian squeeze to wheezy, and Asterisk 1.6.2.9 to 1.8.13, my server is no longer able to register a connection to a SIP account at my ISP (XS4ALL in the Netherlands). At the same time, it is still able to register a different account with another SIP provider, so it must be that they no longer have the same basic requirements. The relevant part of my sip.conf looks like this: [general] context=incoming-j canreinvite=no dtmfmode=inband qualify=yes srvlookup=no disallow=all allow=alaw allow=ulaw allow=g722 allow=g726 allow=g729 insecure=port,invite register = telno:password@sip.xs4all.nl/telno Does anyone know of any new variables that have been introduced since Asterisk 1.6.2.9, that apply here and might be causing this problem? Thanks, Jaap -- _ -- 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] Diagnosing call problem
hi, rtp set debug ip 1.2.3.4 On Tue, Mar 19, 2013 at 2:09 PM, Mitch Claborn mitch...@claborn.net wrote: Thanks for the suggestions. 1) directmedia was taking the default of yes. I set to no. Will watch and see. 2) NAT is turned off (nat=no). I've never done any RTP debugging. Is that rtp set debug on ip 1.2.3.4? How would I interpret the output? 3) mixmonitor recordings are stored on a local disk (RAID array, very fast) 4) This would have to be a last resort option, as there is a business requirement to record the agent calls Mitch On 03/19/2013 12:01 AM, Bharat Lalcheta wrote: 1) Check directmedia option in sip. If enabled set it to no 2) Check NAT option and RTP debug in live scenario for any particular agent 3) if not solved yet, Where are your storing your mixmonitor recording? On any storage ? If yes, try to record on local harddisk. 4) Remove mixmonitor and test again Hope you find can find problem 99% in above scenario. Regards, Bharat Lalcheta On Tue, Mar 19, 2013 at 10:21 AM, Satish Barot satish4aster...@gmail.com mailto:satish4asterisk@gmail.**comsatish4aster...@gmail.com wrote: On Tue, Mar 19, 2013 at 12:00 AM, Mitch Claborn mitch...@claborn.net mailto:mitch...@claborn.net wrote: Asterisk 11.1.0 Various soft-phone SIP clients call center with 10-12 agents online at once using asterisk queue Occasionally an agent will get a call (or more often a series of calls in a row) where neither party can hear the other, or can only hear each other sporadically. A MixMonitor recording of the call plays only the caller - none of the agent's audio is heard in the recording. Looking for ideas on how to begin to diagnose this or clues about what might be wrong. Is there a console command that will show details of a specific call in progress that might have some clues? -- Mitch -- __**__** _ -- 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 http://lists.digium.com/**mailman/listinfo/asterisk-**usershttp://lists.digium.com/mailman/listinfo/asterisk-users Silly guess, If there is no then NAT did you check that your headphones work properly every time you start the softphone? This has happened to me in past. --Satish Barot Ahmedabad, India. -- __**__** _ -- 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 -- Bharat Lalcheta -- __**__**_ -- 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 -- __**__**_ -- 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 -- _ -- 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] Diagnosing call problem
witch softphone you are using? on client pc installed some kind of virtualpc like vmware or virtualbox? client pc have more then one network interfaces? you can capture sip invites from soft phone by enabling debug on client ip sip set debug ip ip of softphon upload sip trace then somebody can halp you, should provide more information's. On Tue, Mar 19, 2013 at 5:39 PM, Mitch Claborn mitch...@claborn.net wrote: rtp debug on the calls that do not work correctly shows packets from server to client only, none from client to server. I do have nat=no directmedia=no in sip.conf. Are there other settings that might apply? This last instance that I looked at, the problem persisted even after restarting the client softphone program. It was fixed after rebooting the client computer. Any ideas on a next step for debugging? I was thinking I would start a wireshark trace to see if the rtp packets are actually leaving the client computer. Mitch On 03/19/2013 08:28 AM, Bharat Lalcheta wrote: rtp set debug ip 1.2.3.4 where 1.2.3.4 is ip of your particular agent. Say your x agent is not getting voice, rtp debu his ip. You got rtp packet from and to for that ip. If you find rtp packet from your agent to your server ip and rtp packet from your server to agent ip, then no need to check anything in asterisk. Its related to your agent pc problem If you find any single side rtp, then its problem related to nat or direct media etc. if mix monitor is on storage than only you can face problem and thats also very rare. In that case you get voice in break, but it will be from both side not in single side. So, this is not your problem at all. Hope you will get something in rtp debug. R u using any trunk then also check rtp debug between your server and trunk regards, Bharat Lalcheta On Tue, Mar 19, 2013 at 6:39 PM, Mitch Claborn mitch...@claborn.net mailto:mitch...@claborn.net wrote: Thanks for the suggestions. 1) directmedia was taking the default of yes. I set to no. Will watch and see. 2) NAT is turned off (nat=no). I've never done any RTP debugging. Is that rtp set debug on ip 1.2.3.4? How would I interpret the output? 3) mixmonitor recordings are stored on a local disk (RAID array, very fast) 4) This would have to be a last resort option, as there is a business requirement to record the agent calls Mitch On 03/19/2013 12:01 AM, Bharat Lalcheta wrote: 1) Check directmedia option in sip. If enabled set it to no 2) Check NAT option and RTP debug in live scenario for any particular agent 3) if not solved yet, Where are your storing your mixmonitor recording? On any storage ? If yes, try to record on local harddisk. 4) Remove mixmonitor and test again Hope you find can find problem 99% in above scenario. Regards, Bharat Lalcheta On Tue, Mar 19, 2013 at 10:21 AM, Satish Barot satish4aster...@gmail.com mailto:satish4asterisk@gmail.**comsatish4aster...@gmail.com mailto:satish4asterisk@gmail.**__com mailto:satish4asterisk@gmail.**com satish4aster...@gmail.com wrote: On Tue, Mar 19, 2013 at 12:00 AM, Mitch Claborn mitch...@claborn.net mailto:mitch...@claborn.net mailto:mitch...@claborn.net mailto:mitch...@claborn.net** wrote: Asterisk 11.1.0 Various soft-phone SIP clients call center with 10-12 agents online at once using asterisk queue Occasionally an agent will get a call (or more often a series of calls in a row) where neither party can hear the other, or can only hear each other sporadically. A MixMonitor recording of the call plays only the caller - none of the agent's audio is heard in the recording. Looking for ideas on how to begin to diagnose this or clues about what might be wrong. Is there a console command that will show details of a specific call in progress that might have some clues? -- Mitch -- __**__** _ -- 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 http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Diagnosing call problem
hi, User Datagram Protocol, Src Port: 39409 (39409), Dst Port: 13429 (13429) copy from asterisk 11 rtp.conf rtpstart=1 rtpend=2 have you changed port range? if no then your client sending rtp to a port higher then configured in rtp port range and asterisk ignore that port. try to change rtpend=3 or if there is option in softphone restrict it to use same range as in rtp.conf. let me know if this solve you problem. On Tue, Mar 19, 2013 at 10:54 PM, Asghar Mohammad asghar...@gmail.comwrote: hi, User Datagram Protocol, Src Port: 39409 (39409), Dst Port: 13429 (13429) copy from asterisk 11 rtp.conf rtpstart=1 rtpend=2 have you changed port range? if no then your client sending rtp to a port higher then configured in rtp port range and asterisk ignore that port. try to change rtpend=3 or if there is option in softphone restrict it to use same range as in rtp.conf. let me know if this solve you problem. On Tue, Mar 19, 2013 at 10:22 PM, Mitch Claborn mitch...@claborn.netwrote: We have Ubuntu 12.04 clients, using either SFLPhone or Bria 3. There is no NAT involved in the network at all (it is disabled in sip.conf). Here are the SIP messages capture via wireshark on the client during one problem call. Following these SIP messages, the wireshark trace shows only RTP packets from server (172.16.0.245) to client (172.16.0.71) except for an occasional RTCP packet from client to server (sample below). Any help is appreciated. The uses are really beating me up to get this fixed. INVITE sip:KWakmn@172.16.0.71:5060 SIP/2.0 Via: SIP/2.0/UDP 172.16.0.245:5060;branch=**z9hG4bK19e2246d Max-Forwards: 70 From: sip:2392230612@172.16.0.245;**tag=as4b489afc To: sip:KWakmn@172.16.0.71:5060 Contact: sip:2392230612@172.16.0.245:**5060http://sip:2392230612@172.16.0.245:5060 Call-ID: 52106f231b41169c7eabd3b43d0fc6**e8@172.16.0.245:5060http://52106f231b41169c7eabd3b43d0fc6e8@172.16.0.245:5060 CSeq: 102 INVITE User-Agent: Asterisk PBX 11.1.0 Date: Tue, 19 Mar 2013 20:47:26 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer X-mm-call: http://www.mcmurrayhatchery.**comhttp://www.mcmurrayhatchery.com Content-Type: application/sdp Content-Length: 257 v=0 o=root 682517197 682517197 IN IP4 172.16.0.245 s=Asterisk PBX 11.1.0 c=IN IP4 172.16.0.245 t=0 0 m=audio 13428 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv --**- SIP/2.0 180 Ringing Via: SIP/2.0/UDP 172.16.0.245:5060;received=**172.16.0.245;branch=** z9hG4bK19e2246d Call-ID: 52106f231b41169c7eabd3b43d0fc6**e8@172.16.0.245:5060http://52106f231b41169c7eabd3b43d0fc6e8@172.16.0.245:5060 From: sip:2392230612@172.16.0.245;**tag=as4b489afc To: sip:KWakmn@172.16.0.71;tag=**7543f39a-7ca0-434b-8281-**e6dc2adc4aa3 CSeq: 102 INVITE Contact: sip:KWakmn@172.16.0.71:5060 Allow: PRACK, SUBSCRIBE, NOTIFY, REFER, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, REGISTER, OPTIONS, MESSAGE, INVITE, ACK, BYE, CANCEL Content-Length: 0 --**--- SIP/2.0 200 OK Via: SIP/2.0/UDP 172.16.0.245:5060;received=**172.16.0.245;branch=** z9hG4bK19e2246d Call-ID: 52106f231b41169c7eabd3b43d0fc6**e8@172.16.0.245:5060http://52106f231b41169c7eabd3b43d0fc6e8@172.16.0.245:5060 From: sip:2392230612@172.16.0.245;**tag=as4b489afc To: sip:KWakmn@172.16.0.71;tag=**7543f39a-7ca0-434b-8281-**e6dc2adc4aa3 CSeq: 102 INVITE Allow: PRACK, SUBSCRIBE, NOTIFY, REFER, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, REGISTER, OPTIONS, MESSAGE, INVITE, ACK, BYE, CANCEL Contact: sip:KWakmn@172.16.0.71:5060 Supported: replaces, 100rel Content-Type: application/sdp Content-Length: 234 v=0 o=asset071 3572714846 1 IN IP4 172.16.0.71 s=sflphone c=IN IP4 172.16.0.71 t=0 0 m=audio 39408 RTP/AVP 0 a=rtpmap:0 PCMU/8000 a=sendrecv a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=rtcp:39409 IN IP4 172.16.0.71 --**- ACK sip:KWakmn@172.16.0.71:5060 SIP/2.0 Via: SIP/2.0/UDP 172.16.0.245:5060;branch=**z9hG4bK289d6da2 Max-Forwards: 70 From: sip:2392230612@172.16.0.245;**tag=as4b489afc To: sip:KWakmn@172.16.0.71:5060;**tag=7543f39a-7ca0-434b-8281-** e6dc2adc4aa3 Contact: sip:2392230612@172.16.0.245:**5060http://sip:2392230612@172.16.0.245:5060 Call-ID: 52106f231b41169c7eabd3b43d0fc6**e8@172.16.0.245:5060http://52106f231b41169c7eabd3b43d0fc6e8@172.16.0.245:5060 CSeq: 102 ACK User-Agent: Asterisk PBX 11.1.0 Content-Length: 0 --**-- SAMPLE RTCP packet from client to server No. TimeSourceDestination Protocol Length Info 240 15:47:39.965483 172.16.0.71 172.16.0.245 RTCP 102 Receiver Report Source description Frame 240: 102
Re: [asterisk-users] Need help understanding CDR
hi, 00:00 -- Call Connected to asterisk - duration start here 00:01 -- welcome greeting starts billisec start here 00:11 -- welcome greeting ends (10 sec wav file) 00:12 -- Call enters queue and at the same time rings on first available extension 00:15 -- Call is answered by an agent 01:15 -- Conversation over, Call disconnected -- agents spoke for 60 sec --- both end here duration = 01:15 bilsec = 01:14 duration start as soon as call arrived in asterisk. bilsec start as soon as call answered. exten s,1,Answer() duration and bilsec start at same time because you answered the call immidataly exten s,n,Plaback(something) exten s,n,Dial(agent) exten s,n,Hangup duration and billsec are same exten s,1,Ringing(10) -- duration start here exten s,n,Answer() bilsec start here exten s,n,Plaback(something) exten s,n,Dial(agent) exten s,n,Hangup duration and billsec end here so billsec is 10 seconds less then duration hope this will help you. On Mon, Mar 18, 2013 at 6:29 AM, RSCL Mumbai rscl.mum...@gmail.com wrote: I am using SIP. I am still a bit confused about answered billed time. For example: 00:00 -- Call Connected to asterisk 00:01 -- welcome greeting starts 00:11 -- welcome greeting ends (10 sec wav file) 00:12 -- Call enters queue and at the same time rings on first available extension 00:15 -- Call is answered by an agent 01:15 -- Conversation over, Call disconnected -- agents spoke for 60 sec. In the given schematic what will be the Answered time and billed time. Thank you for the help in advance!! On Sun, Mar 17, 2013 at 10:06 PM, Asghar Mohammad asghar...@gmail.comwrote: If you have analog FXO ports then the call is considered answered as soon as dialing is completed not always true if FXO configured properly it should not send back answered as soon as dialed. On Sun, Mar 17, 2013 at 5:29 PM, Eric Wieling ewiel...@nyigc.com wrote: If you have analog FXO ports then the call is considered answered as soon as dialing is completed. This does not apply to SIP, PRI, or other technologies which support far end answer detection. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] On Behalf Of RSCL Mumbai Sent: Sunday, March 17, 2013 12:15 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Need help understanding CDR Hi, Attached is a sample CDR. I need some help to understand the billsec column. PS: the time value in billsec duration is same. With reference to the attached log, what does the 10 sec / 6 sec / 2 sec correspond to: (a) Time between call connection to asterisk and disconnection from asterisk? (b) Time after welcome greeting and before hangup -- the time the call rang on the extension? (c) Or any other scenario Thank you in advance. Best regards, Sans -- _ -- 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
Re: [asterisk-users] Need help understanding CDR
hi, try Asterisk manager or AGI. On Mon, Mar 18, 2013 at 12:36 PM, RSCL Mumbai rscl.mum...@gmail.com wrote: Thank you every one. Now I understand why I was confused. I have always been using Asterisk in an Inbound environment. Hence my thought were misaligned wrt answered billed. Now I understand. Thank you all!! Is there anyway to capture the time for conversation, IVR, hold etc etc. If not inbuilt into AsteriskCDR, by way of any patch or Dialplan or any 3rd party application, more suitable for an Inbound environment. It would help a lot if I could capture fragmented distribution of time per call -- time in IVR, Queue, Call etc. Regards, Sans On Mon, Mar 18, 2013 at 4:33 PM, Asghar Mohammad asghar...@gmail.comwrote: hi, 00:00 -- Call Connected to asterisk - duration start here 00:01 -- welcome greeting starts billisec start here 00:11 -- welcome greeting ends (10 sec wav file) 00:12 -- Call enters queue and at the same time rings on first available extension 00:15 -- Call is answered by an agent 01:15 -- Conversation over, Call disconnected -- agents spoke for 60 sec --- both end here duration = 01:15 bilsec = 01:14 duration start as soon as call arrived in asterisk. bilsec start as soon as call answered. exten s,1,Answer() duration and bilsec start at same time because you answered the call immidataly exten s,n,Plaback(something) exten s,n,Dial(agent) exten s,n,Hangup duration and billsec are same exten s,1,Ringing(10) -- duration start here exten s,n,Answer() bilsec start here exten s,n,Plaback(something) exten s,n,Dial(agent) exten s,n,Hangup duration and billsec end here so billsec is 10 seconds less then duration hope this will help you. On Mon, Mar 18, 2013 at 6:29 AM, RSCL Mumbai rscl.mum...@gmail.comwrote: I am using SIP. I am still a bit confused about answered billed time. For example: 00:00 -- Call Connected to asterisk 00:01 -- welcome greeting starts 00:11 -- welcome greeting ends (10 sec wav file) 00:12 -- Call enters queue and at the same time rings on first available extension 00:15 -- Call is answered by an agent 01:15 -- Conversation over, Call disconnected -- agents spoke for 60 sec. In the given schematic what will be the Answered time and billed time. Thank you for the help in advance!! On Sun, Mar 17, 2013 at 10:06 PM, Asghar Mohammad asghar...@gmail.comwrote: If you have analog FXO ports then the call is considered answered as soon as dialing is completed not always true if FXO configured properly it should not send back answered as soon as dialed. On Sun, Mar 17, 2013 at 5:29 PM, Eric Wieling ewiel...@nyigc.comwrote: If you have analog FXO ports then the call is considered answered as soon as dialing is completed. This does not apply to SIP, PRI, or other technologies which support far end answer detection. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] On Behalf Of RSCL Mumbai Sent: Sunday, March 17, 2013 12:15 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Need help understanding CDR Hi, Attached is a sample CDR. I need some help to understand the billsec column. PS: the time value in billsec duration is same. With reference to the attached log, what does the 10 sec / 6 sec / 2 sec correspond to: (a) Time between call connection to asterisk and disconnection from asterisk? (b) Time after welcome greeting and before hangup -- the time the call rang on the extension? (c) Or any other scenario Thank you in advance. Best regards, Sans -- _ -- 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] Need help understanding CDR
hi, billsec is time in seconds after call has answered, duration is total time in seconds of call. as your calls answered imidiatly your billsec and duration is almost same. On Sun, Mar 17, 2013 at 5:14 PM, RSCL Mumbai rscl.mum...@gmail.com wrote: Hi, Attached is a sample CDR. I need some help to understand the billsec column. PS: the time value in billsec duration is same. With reference to the attached log, what does the 10 sec / 6 sec / 2 sec correspond to: (a) Time between call connection to asterisk and disconnection from asterisk? (b) Time after welcome greeting and before hangup -- the time the call rang on the extension? (c) Or any other scenario Thank you in advance. Best regards, Sans -- _ -- 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] Need help understanding CDR
If you have analog FXO ports then the call is considered answered as soon as dialing is completed not always true if FXO configured properly it should not send back answered as soon as dialed. On Sun, Mar 17, 2013 at 5:29 PM, Eric Wieling ewiel...@nyigc.com wrote: If you have analog FXO ports then the call is considered answered as soon as dialing is completed. This does not apply to SIP, PRI, or other technologies which support far end answer detection. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] On Behalf Of RSCL Mumbai Sent: Sunday, March 17, 2013 12:15 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Need help understanding CDR Hi, Attached is a sample CDR. I need some help to understand the billsec column. PS: the time value in billsec duration is same. With reference to the attached log, what does the 10 sec / 6 sec / 2 sec correspond to: (a) Time between call connection to asterisk and disconnection from asterisk? (b) Time after welcome greeting and before hangup -- the time the call rang on the extension? (c) Or any other scenario Thank you in advance. Best regards, Sans -- _ -- 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] Sending SMS from asterisk
HI bilal, I don't think DAHDI can send SMS you have 2 options chan_mobile or chan_datacard ex chan_dongle chan_datacard i have not tested but with some mobile phones you can send sms i have tested also with some made in china unbranded phone that are capable to send and receive sms but not good for call termination, they send answer on connect. not all BT dongles are compatible you should go to trail and error for finding combination of dongle and phone. PS: yesterday tested asterisk 11 with chan_mobile and worked without any modification. On Wed, Mar 13, 2013 at 10:29 PM, bilal ghayyad bilmar...@yahoo.com wrote: Hi Asghar; I was looking to use chan_mobile for sending SMS, is it possible? Or it is only for calls? By the way, if I have GSM adaptor that convert from SIM card to FXS port, then who I need chan_mobile? I can use DAHDI. So when to use chan_mobile? Regards Bilal - HI Bilal, i am using chan_mobile for call termination, you can use it but you need to tweak chan_mobile.c it is broken from a long time. let me know if you want give it a try. On Mon, Mar 11, 2013 at 6:22 PM, bilal ghayyad bilmar...@yahoo.com wrote: - What are the elements of this solution? Is it only: 3G dongles and chan_dongle only? Or there are something else? Bash and perl programing, asterisk and chan_dongle. * Bash and perl programing to do what? It is going to use AMI instead of sending the messages from the commands given in the extensions.conf? Why to use chan_dongle and not chan_mobile? Regards Bilal -- _ -- 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