ejabberd+mod_client_asterisk fails 2 start with 2 vhosts

Bug #1159777 reported by Joep van Boekel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ejabberd-mod-client-asterisk
New
Undecided
Unassigned

Bug Description

ejabberd v2.1.11
mod-client-asterisk v2.1

with 1 vhost defined ejabberd+mod_client_asterisk starts fine

when 2 vhosts defined it does not start:
part of ejabberd log:

=INFO REPORT==== 2013-03-25 13:14:24 ===
I(<0.36.0>:mod_client_asterisk:29) : Host "vhost2.nl"

=ERROR REPORT==== 2013-03-25 13:14:24 ===
C(<0.36.0>:gen_mod:75) : Problem starting the module mod_client_asterisk for host "vhost2.nl"
 options: [{server_asterisk,"localhost"},
           {port_asterisk,5038},
           {username,"admin"},
           {secret,"ABCDEF"},
           {message,"TEXT"},
           {directory,[{"SIP/20","user1","vhost1.nl"},
                       {"SIP/38","user2","vhost1.nl"}]}]
 error: badarg

=ERROR REPORT==== 2013-03-25 13:14:24 ===
C(<0.36.0>:gen_mod:80) : ejabberd initialization was aborted because a module start failed.

=INFO REPORT==== 2013-03-25 13:14:24 ===
I(<0.439.0>:mod_client_asterisk:69) : Server : n

=INFO REPORT==== 2013-03-25 13:14:24 ===
I(<0.439.0>:mod_client_asterisk:71) : Port : 1

=INFO REPORT==== 2013-03-25 13:14:24 ===
I(<0.439.0>:mod_client_asterisk:74) : Username : "a"

=INFO REPORT==== 2013-03-25 13:14:24 ===
I(<0.439.0>:mod_client_asterisk:76) : Secret : "a"

=INFO REPORT==== 2013-03-25 13:14:24 ===
I(<0.439.0>:mod_client_asterisk:79) : message : []

=INFO REPORT==== 2013-03-25 13:14:24 ===
I(<0.439.0>:mod_client_asterisk:84) : Phone packet : {xmlelement,"presence",
                                                      [{"xml:lang","en"}],
                                                      [{xmlelement,"show",[],
                                                        [{xmlcdata,
                                                          <<"dnd">>}]},
                                                       {xmlelement,
                                                        "priority",[],
                                                        [{xmlcdata,
                                                          <<"100">>}]},
                                                       {xmlelement,"status",
                                                        [],
                                                        [{xmlcdata,
                                                          <<" ">>}]}]}

=INFO REPORT==== 2013-03-25 13:14:24 ===
I(<0.439.0>:mod_client_asterisk:95) : Error of connexion : nxdomain with port : 1 and serveur : n

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.