DPMA: installation problem

Hi,

I installed the DMPA-module 1.5.1 and it registred it. Asterisk version is Asterisk 11.2-cert1

CLI>digium_phones license status OK, Valid product license found

I added to general section my sip.conf following lines:
accept_outofcall_messages=yes
outofcall_messages_context=dpma_message_context
auth_message_requests=no

But when the phone contacts the server I get following error:

[May 10 03:39:33] NOTICE[3163][C-00000000]: chan_sip.c:29427 sip_request_call: Asked to get a channel of unsupported format (nothing) while capability is (gsm|ulaw|alaw|h263|testlaw) [May 10 03:39:33] WARNING[3163][C-00000000]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'SIP' (cause 58 - Bearer capability not available) [May 10 03:39:33] NOTICE[3163][C-00000000]: chan_sip.c:29427 sip_request_call: Asked to get a channel of unsupported format (nothing) while capability is (gsm|ulaw|alaw|h263|testlaw) [May 10 03:39:33] WARNING[3163][C-00000000]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'SIP' (cause 58 - Bearer capability not available) [May 10 03:39:33] NOTICE[3163][C-00000000]: chan_sip.c:29427 sip_request_call: Asked to get a channel of unsupported format (nothing) while capability is (gsm|ulaw|alaw|h263|testlaw) [May 10 03:39:33] WARNING[3163][C-00000000]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'SIP' (cause 58 - Bearer capability not available)
What am I missing?

This is the output of sip-debugging

[code]<— SIP read from UDP:192.168.67.30:5060 —>
MESSAGE sip:proxy@192.168.0.4 SIP/2.0
Via: SIP/2.0/UDP 192.168.67.30:5060;rport;branch=z9hG4bKPjtZVB3gfWcASKLRQH2osZW8p0j54A8mJg
Max-Forwards: 70
From: sip:192.168.67.30;tag=2vgp2VVLLYI2B8bwGs9Xm5Wg1YefET6t
To: sip:proxy@192.168.0.4
Call-ID: vxzDq0Af2vrgxSeN2U4eNrCmeHzPirBz
CSeq: 38182 MESSAGE
Accept: text/plain, application/im-iscomposing+xml
Contact: sip:192.168.67.30:5060;ob
User-Agent: Digium D40 1_3_0_0_53680
X-Digium-User-Agent: Digium D40 1_3_0_0_53680
X-Digium-AppServer-RequestType: Handshake
X-Digium-AppServer-MACAddress: 000FD30582FE
X-Digium-Software-Version: 1_3_0_0_53680
X-Digium-AppServer-ID: bootc_573009
Content-Type: text/plain
Content-Length: 875

-----BEGIN CERTIFICATE-----
MIICWTCCAcKgAwIBAgIBVTANBgkqhkiG9w0BAQUFADBgMQswCQYDVQQGEwJVUzEL
MAkGA1UECBMCQ0ExEjAQBgNVBAcTCVNhbiBEaWVnbzEVMBMGA1UEChMMRGlnaXVt
LCBJbmMuMRkwFwYDVQQDExBEaWdpdW0gQXBwc2VydmVyMB4XDTcwMDEwMTAwMDAw
MFoXDTM4MDEwMTAwMDAwMFowTDELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRUw
EwYDVQQKEwxEaWdpdW0sIEluYy4xGTAXBgNVBAMTEERpZ2l1bSBBcHBzZXJ2ZXIw
XDANBgkqhkiG9w0BAQEFAANLADBIAkEAySjaeasKXV7Yh4V+AM6IwpXGKgOYBBVe
i02UIl+ZhPlYQyant3mAjKrEVmmTCeB9GIIJMJJ0Da575EtjkKQ26QIDAQABo3sw
eTAJBgNVHRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVyYXRlZCBD
ZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUx+pPaTtFcFKHfhJblW5VPbeqApcwHwYDVR0j
BBgwFoAUQ4XMqehyfmlcYNQhgohxNy8y3/UwDQYJKoZIhvcNAQEFBQADgYEAYdEU
y6MAcB9uzau2AzvRMU9y8dz1Lskpj0KcZEPrwUmxdrDB3cE62niX0gCI8Mq8BgKJ
FFo8LYuoJKhuosE3J4GWEm2v+krd0NBAFqeJxC+S8rI+ja6xokVycVgGYl2s+wX9
0aKCrBQ4abx1Lr4uVZgphEEs+AMru4/bd9p6jHM=
-----END CERTIFICATE-----
<------------->
— (17 headers 15 lines) —
Receiving message!
Looking for proxy in from-extern (domain 192.168.0.4)

<— Transmitting (no NAT) to 192.168.67.30:5060 —>
SIP/2.0 202 Accepted
Via: SIP/2.0/UDP 192.168.67.30:5060;rport;branch=z9hG4bKPjtZVB3gfWcASKLRQH2osZW8p0j54A8mJg;received=192.168.67.30
From: sip:192.168.67.30;tag=2vgp2VVLLYI2B8bwGs9Xm5Wg1YefET6t
To: sip:proxy@192.168.0.4;tag=as0ecb74ae
Call-ID: vxzDq0Af2vrgxSeN2U4eNrCmeHzPirBz
CSeq: 38182 MESSAGE
Server: Asterisk PBX 11.2-cert1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

<------------>
Scheduling destruction of SIP dialog ‘vxzDq0Af2vrgxSeN2U4eNrCmeHzPirBz’ in 32000 ms (Method: MESSAGE)
[May 10 03:39:33] NOTICE[3163][C-00000000]: chan_sip.c:29427 sip_request_call: Asked to get a channel of unsupported format (nothing) while capability is (gsm|ulaw|alaw|h263|testlaw)
[May 10 03:39:33] WARNING[3163][C-00000000]: app_dial.c:2437 dial_exec_full: Unable to create channel of type ‘SIP’ (cause 58 - Bearer capability not available)
[May 10 03:39:33] NOTICE[3163][C-00000000]: chan_sip.c:29427 sip_request_call: Asked to get a channel of unsupported format (nothing) while capability is (gsm|ulaw|alaw|h263|testlaw)
[May 10 03:39:33] WARNING[3163][C-00000000]: app_dial.c:2437 dial_exec_full: Unable to create channel of type ‘SIP’ (cause 58 - Bearer capability not available)
[May 10 03:39:33] NOTICE[3163][C-00000000]: chan_sip.c:29427 sip_request_call: Asked to get a channel of unsupported format (nothing) while capability is (gsm|ulaw|alaw|h263|testlaw)
[May 10 03:39:33] WARNING[3163][C-00000000]: app_dial.c:2437 dial_exec_full: Unable to create channel of type ‘SIP’ (cause 58 - Bearer capability not available)
[/code]

Hrm…

Are you coming from an older version of Asterisk with an older chan_sip.so module?

Oddly, when I did an 11.2-cert1 install, chan_sip wasn’t selected by default, even though the dependencies were met, so I had to go manually select it, and rebuild. Having done that, everything worked normally.

Hi Malcolm,

I thought I had removed all the elder modules but appearantly I didn’t.
After reinstalling from scratch everything works fine.
Thanks alot,
Tom

Yay! :smile:

I was worried about this one over the weekend, as well, and I’m glad it’s resolved.