[asterisk-users] Question on calculating the md5_sum
Using chan_sip, we are able to register with an NEC switch. When I try to REGISTER with PJSIP, the authentication is being rejected. Traces show it's using md5 authentication. The packets looks almost identical. The one area that I suspect is causing the problem is the md5_cred for my pjsip.conf registration. I'm using a Poco MD5 utility to generate the MD5 passing username:realm:password Where username is 3016 Realm is asterisk (default) Password is 3016 which is the same as chan_sip's secret The value I'm setting the md5_cred in auth section to is 63e8aedc77335879c93123055d21211d Would this value match what chan_sip would pass as the md5 credentials? Our sip.conf looks like the following... [general] context = NECTEST bindaddr = 0.0.0.0 bindport = 5060 websocket_enabled = false srvlookup = no allowguest = yes debug = yes sipdebug = yes defaultexpiry = 480 deny = 0.0.0.0/24 permit = 10.100.102.0/24 permit = 192.168.9.0/24 canreinvite = yes callcounter = yes register = 3016:3016@10.100.102.82:5060/3016 [3016] type = friend qualify = no nat = no host = 10.100.102.82:5060 defaultuser = 3016 secret = 3016 incominglimit = 24 accountcode = 33 port = 5060 context = NECTEST dtmfmode = auto disallow = all allow = ulaw defaultexpiry = 480 insecure = invite fromdomain = 10.100.102.82 acl = acl6 Have a great day! Dan -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Asterisk and Airplay
Hi All, Is there a way to get Airplay music into asterisk ? I have used Shairport-sync to get Airplay to play audio on my pulseaudio computer - but was wanting that to come into Asterisk ? Thanks Jerry -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Asterisk and pulseaudio Console/dsp
Hi All, I am running pulseaudio on my asterisk server. I setup and extension to connect me with Console/Dsp. I am hearing the audio but its warbly or does not sound right. Any thoughts on what I need to do for that ? Another thought is I tried to setup the Musiconhold to be custom and the application be a bash script that that plays pulseaudio. [default] mode=custom directory=/var/lib/asterisk/moh application=/usr/local/bin/playconsole and playconsole is: /usr/bin/parecord --format=s16le But I hear nothing. The script is executable. With no file for the parecord it should be going to stdout which should go into asterisk. I also just tried /usr/bin/parecord and no --format=s16le How can I get correct audio from pulseaudio into asterisk ? Thanks, Jerry -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk and pulseaudio Console/dsp
>>> I setup and extension to connect me with Console/Dsp. I am hearing the >>> audio but its warbly or does not sound right. Any thoughts on what I need >>> to do for that ? I had that issue at a previous employer and got around it by using ALSA instead. Doug -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk and pulseaudio Console/dsp
>> I had that issue at a previous employer and got around it by using ALSA instead. Thanks but the other piece I need is forcing me to use pulseaudio. That's what it connects to. Jerry > -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users