Hello
I have installed ejabberd 15.06 on ubuntu 14.04.
All works fine except SIP...
I configured SIP as described in the docs:
port: 5060
transport: udp
module: ejabberd_sip
-
port: 5060
module: ejabberd_sip
-
port: 5061
module: ejabberd_sip
tls: true
certfile: "/opt/ejabberd-15.06/conf/server.pem"
But always when I try to connect I get "Server Internal Error 500" and ejabberdctl live shows:
Function: undefined:data_out/2
** Args: [[["SIP/",##,##,##,##,"500",32,<<"Server Internal Error">>],"\r\n",[[[[<<"Via: ">>,[<<"SIP">>,##,##,##,##,##,<<"UDP">>,32,[<<"##.##.##.##">>,58,"56023"],[[59,<<"branch">>,61,<<"z9hG4bK75afba0bb84aa9604c83fa5b0b15c01e">>]]]],[]],13,10],[[<<"From: ">>,[<<>>,60,<<"sip:1@#####">>,62,[[59,<<"tag">>,61,<<"bj52JhvJ6nw1ZD7UhgdKhD4ZUIHonNuk">>]]]],13,10],[[<<"Call-ID: ">>,<<"EbJKdcfPmYLJfCQ-Mq-7015B1AKfXwXU">>],13,10],[[<<"CSeq: ">>,"16043",32,<<"REGISTER">>],13,10],[[<<"Max-Forwards: ">>,"69"],13,10],[[<<"To: ">>,[<<>>,60,<<"sip:1@#####">>,62,[[59,<<"tag">>,61,<<"1074371573-1602571778">>]]]],13,10],[[<<"Server: ">>,<<"esip/0.1.0">>],13,10],[[<<"Content-Length: ">>,"0"],13,10]],"\r\n",<<>>],{sip_socket,udp,#Port<0.6037>,{{0,0,0,0},5060},{{##,##,##,##},56023},<0.649.0>}]
** Reason: {'EXIT',{undef,[{undefined,data_out,[[["SIP/",##,#,#,#,"500",32,<<"Server Internal Error">>],"\r\n",[[[[<<"Via: ">>,[<<"SIP">>,#,#,#,#,#,<<"UDP">>,32,[<<"##.#.#.#">>,58,"56023"],[[59,<<"branch">>,61,<<"z9hG4bK75afba0bb84aa9604c83fa5b0b15c01e">>]]]],[]],13,10],[[<<"From: ">>,[<<>>,60,<<"sip:1@#####">>,62,[[59,<<"tag">>,61,<<"bj52JhvJ6nw1ZD7UhgdKhD4ZUIHonNuk">>]]]],13,10],[[<<"Call-ID: ">>,<<"EbJKdcfPmYLJfCQ-Mq-7015B1AKfXwXU">>],13,10],[[<<"CSeq: ">>,"16043",32,<<"REGISTER">>],13,10],[[<<"Max-Forwards: ">>,"69"],13,10],[[<<"To: ">>,[<<>>,60,<<"sip:1@###">>,62,[[59,<<"tag">>,61,<<"1074371573-1602571778">>]]]],13,10],[[<<"Server: ">>,<<"esip/0.1.0">>],13,10],[[<<"Content-Length: ">>,"0"],13,10]],"\r\n",<<>>],{sip_socket,udp,#Port<0.6037>,{{0,0,0,0},5060},{{#########},56023},<0.649.0>}],[]},{esip,callback,3,[{file,"src/esip.erl"},{line,594}]},{esip_transport,do_send,2,[{file,"src/esip_transport.erl"},{line,332}]},{esip_server_transaction,send,2,[{file,"src/esip_server_transaction.erl"},{line,349}]},{esip_server_transaction,completed,2,[{file,"src/esip_server_transaction.erl"},{line,251}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,503}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}}
Can anyone assist please? Thank you in advance.