Quantcast
Channel: FreePBX Community Forums - Latest posts
Viewing all 228224 articles
Browse latest View live

No compatible codecs, not accepting this offer! Since Module updates

$
0
0

uh-exp-pbx-01*CLI> core show codecs audio
Disclaimer: this command is for informational purposes only.
It does not indicate anything about your configuration.
ID TYPE NAME DESCRIPTION

   5 audio     g726 (G.726 RFC3551)
   3 audio     alaw (G.711 a-law)
   1 audio     g723 (G.723.1)
  19 audio    speex (SpeeX)
  20 audio    speex (SpeeX 16khz)
  21 audio    speex (SpeeX 32khz)
  23 audio     g722 (G722)
   7 audio    adpcm (Dialogic ADPCM)
  24 audio   siren7 (ITU G.722.1 (Siren7, licensed from Polycom))
  27 audio     g719 (ITU G.719)
  18 audio     g729 (G.729A)
   8 audio     slin (16 bit Signed Linear PCM)
   9 audio     slin (16 bit Signed Linear PCM (12kHz))
  10 audio     slin (16 bit Signed Linear PCM (16kHz))
  11 audio     slin (16 bit Signed Linear PCM (24kHz))
  12 audio     slin (16 bit Signed Linear PCM (32kHz))
  13 audio     slin (16 bit Signed Linear PCM (44kHz))
  14 audio     slin (16 bit Signed Linear PCM (48kHz))
  15 audio     slin (16 bit Signed Linear PCM (96kHz))
  16 audio     slin (16 bit Signed Linear PCM (192kHz))
   2 audio     ulaw (G.711 u-law)
  17 audio    lpc10 (LPC10)
  26 audio  testlaw (G.711 test-law)
  39 audio     none (<Null> codec)
  25 audio  siren14 (ITU G.722.1 Annex C, (Siren14, licensed from Polycom))
   6 audio g726aal2 (G.726 AAL2)
   4 audio      gsm (GSM)
  22 audio     ilbc (iLBC)
  28 audio     opus (Opus Codec)

No compatible codecs, not accepting this offer! Since Module updates

$
0
0

Did you see my screen shot of the asterisk sip settings where the codec list is not correct?

Mystery Chan SIP Peer

$
0
0

So Zulu is disabled and there is no extension 112. Maybe enable zulu?

No compatible codecs, not accepting this offer! Since Module updates

$
0
0

Yes. Everything works fine for me. If you go to Asterisk SIP Settings you dont see any codecs?

No compatible codecs, not accepting this offer! Since Module updates

No compatible codecs, not accepting this offer! Since Module updates

$
0
0

This is the workaround we are currently using on FreePBX 13 systems as well, thanks for the suggestion.

No compatible codecs, not accepting this offer! Since Module updates

$
0
0

What version of Asterisk is this?

No compatible codecs, not accepting this offer! Since Module updates

$
0
0

-exp-pbx-01 asterisk]# rasterisk
Asterisk 13.7.1, Copyright © 1999 - 2014, Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

Connected to Asterisk 13.7.1 currently running on uh-exp-pbx-01 (pid = 14528)
uh-exp-pbx-01*CLI>
Disconnected from Asterisk server


Updated working system and now no extensions are connected

$
0
0

I’m not saying it wouldn’t be effective, but it isn’t a solution either. The next time you update the system, you’re going to have this problem again.

No compatible codecs, not accepting this offer! Since Module updates

$
0
0

BTW, I appreciate your helping with this.

No compatible codecs, not accepting this offer! Since Module updates

$
0
0

Asterisk 13.7.1 is really old. We are up to 13.21.0 now. WITH security fixes.

Blacklist - Caller ID Config

$
0
0

Add a “context=from-pstn-e164-us” all of your trunks that don’t currently have one. If a call comes in on one of your outbound trunks, it will get processed to the e164 context, which should solve your issue.

Global time condition day/night toggle

$
0
0

Try it. I’m dubious that it will work, but I’ve been wronger about simpler.

Updated working system and now no extensions are connected

$
0
0

Oh I understand its nothing more than a really short term solution but the system is scheduled to go out of use on Friday so its long enough for my purpose in this case…unless something goes wrong on Friday and I have to swtich back.

No compatible codecs, not accepting this offer! Since Module updates


Email notification about missed calls from the module follow me

$
0
0

Hi
I use the follow-me module to forward calls to mobile phones
I want the system to send an email about missed calls if the mobile was disconnected, busy or the caller did not wait for a response
Now I’m using the code in extensions_custom.conf

exten => 2222,1,GotoIf($["${QUEUESTATUS}"=“CONTINUE”]?answered)
same => n,ExecIf($["${CDR(dstchannel)}"=""]?System(echo Missed call ${CALLERID(num)}" | sendmail -f missed -t 2222@example.com))

it sends a message if an internal number was not available
Can I make a notice for the module follow me?

eg

internal number 100 - follow me to the mobile 100000000 - if the call is not accepted on the mobile send an email to the mail 100@example.com

internal number 200 - follow me to the mobile 200000000 - if the call is not received on the mobile send an email to the mail 200@example.com

and so on

thank you for your help

No compatible codecs, not accepting this offer! Since Module updates

Can't edit pjsip trunk since module update

$
0
0

ran the last module update and now i cant view pjsip trunks

the gui shows this error
PDOException (42S22)
SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘key’ in ‘where clause’

/var/www/html/admin/modules/core/Core.class.php

                    if (isset($confdetail)) {
                        $confdetail .= $result['keyword'] .'='. $result['data'] . "\n";
                    } else {
                        $confdetail = $result['keyword'] .'='. $result['data'] . "\n";
                    }
                }
            }
            return isset($confdetail)?$confdetail:null;
        }
     
        public function getTrunkRegisterStringByID($trunkid) {
            $tech = $this->getTrunkTech($trunkid);
            if (!$this->trunkHasRegistrations($tech)){
                return '';
            }
            // TODO: These should be deferred to their respective driver
            if('pjsip' == $tech){
                $sql = "SELECT `data` FROM pjsip WHERE `id` = :trunkid and `key` = 'registration'";
                $sth = $this->database->prepare($sql);
                $sth->execute(array(':trunkid' => $trunkid));

this was updated

This is an automatic notification from your FreePBX server.

Module(s) requiring upgrades: blacklist, bulkhandler, calendar,
callrecording, cel, contactmanager, core, digium_phones, framework,
infoservices, ivr, languages, motif, paging, queues, sipsettings, soundlang,
superfecta, ucp
Upgrading module ‘framework’ from 14.0.3.2 to 14.0.3.4
Module framework successfully downloaded in 4 seconds
Upgrading module ‘core’ from 14.0.12 to 14.0.18.16
Module core successfully downloaded in 6 seconds
Upgrading module ‘sipsettings’ from 14.0.27.1 to 14.0.27.2
Module sipsettings successfully downloaded in 0 seconds
Upgrading module ‘blacklist’ from 13.0.14.8 to 14.0.1
Module blacklist successfully downloaded in 1 seconds
Upgrading module ‘bulkhandler’ from 13.0.14.4 to 13.0.14.6
Module bulkhandler successfully downloaded in 0 seconds
Upgrading module ‘calendar’ from 14.0.2.4 to 14.0.2.5
Module calendar successfully downloaded in 1 seconds
Upgrading module ‘callrecording’ from 13.0.11.5 to 14.0.1
Module callrecording successfully downloaded in 1 seconds
Upgrading module ‘cel’ from 14.0.2.4 to 14.0.2.6
Module cel successfully downloaded in 0 seconds
Upgrading module ‘contactmanager’ from 14.0.3.5 to 14.0.4.5
Module contactmanager successfully downloaded in 2 seconds
Upgrading module ‘digium_phones’ from 13.0.7.3 to 13.0.7.4
Module digium_phones successfully downloaded in 1 seconds
Upgrading module ‘infoservices’ from 13.0.1.2 to 13.0.1.3
Module infoservices successfully downloaded in 1 seconds
Upgrading module ‘ivr’ from 13.0.27.7 to 14.0.1
Module ivr successfully downloaded in 1 seconds
Upgrading module ‘languages’ from 13.0.6 to 14.0.1.2
Module languages successfully downloaded in 0 seconds
Upgrading module ‘motif’ from 13.0.3.2 to 13.0.4
Module motif successfully downloaded in 0 seconds
Upgrading module ‘paging’ from 14.0.3 to 14.0.4
Module paging successfully downloaded in 0 seconds
Upgrading module ‘queues’ from 14.0.2.15 to 14.0.2.16
Module queues successfully downloaded in 1 seconds
Upgrading module ‘soundlang’ from 14.0.4.3 to 14.0.4.5
Module soundlang successfully downloaded in 1 seconds
Upgrading module ‘superfecta’ from 14.0.6 to 14.0.7
Module superfecta successfully downloaded in 1 seconds
Upgrading module ‘ucp’ from 14.0.2.3 to 14.0.2.6
Module ucp successfully downloaded in 2 seconds
All upgrades completed successfully!

No compatible codecs, not accepting this offer! Since Module updates

$
0
0

framework 13.0.195.4
framework 14.0.3.6

Web Callback html code

$
0
0

If you want to insert a form into your site without using a frame, you need to insert

dataType: “jsonp”,

in your code
like that:

<div id="frame">
	<input type="text" name="num" placeholder="enter number here" id="webcallbackinput" value="">
	<input type="hidden" id="dest" value="https://site.com/wcb.php">
	<input type="hidden" id="i" value="1">
</div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$('#frame').click(function(e){
		if($(e.target).attr("id") == "webcallbackinput") {
			return;
		}
		//ensure we have a value before posting
		if ($('#webcallbackinput').val()) {
			var but = $(this);
			$.ajax({
				url: $('#dest').val(),
				type: 'post',
                            dataType: "jsonp",
				data: {p: $('#webcallbackinput').val(), i: $('#i').val()},
			 	cache: false,
				success: function(data, b, c) {
					data = $.parseJSON(data);
					console.log(data)
					switch (data.Response) {
						case 'Error':
							switch (data.Message) {
								case 'Originate failed':
									alert('');
									break;
								default:
									alert(data.Message);
									break;
							}
							break;
						case 'Success':
							alert('')
							break;
						default:
							break;
					}
				},
				error: function(a, b, c) {
					console.log(a, b, c);
					alert('');
				}
			})
		}
	})
});
</script>
Viewing all 228224 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>