[asterisk-users] pjsip.conf question
Joshua Colp
jcolp at digium.com
Tue Jul 14 14:03:33 CDT 2015
Dan Cropp wrote:
<snip>
>
> My pjsip.conf looks like…
>
> [transport1]
>
> type = transport
>
> bind = 0.0.0.0
>
> protocol = udp
>
> [3400]
>
> type = aor
>
> max_contacts = 1
>
> remove_existing = yes
>
> contact=sip:xxx.xxx.xxx.xxx
>
> [3400]
>
> type = endpoint
>
> context = DEF
>
> transport = transport1
>
> aors = 3400
>
> accountcode = 1
>
> dtmf_mode = inband
>
> device_state_busy_at = 32
chan_pjsip has few defaults. As a result the above endpoint has no
codecs configured. Therefore the SDP negotiation fails. Adding
"allow=ulaw" should allow it to work.
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list