Die Verbindung <-> Gemeinschaft zu A1/Vodafone SIP Gateway funktioniert nicht

Bug #567341 reported by mikeanderl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gemeinschaft (by Amooma)
New
Undecided
Unassigned
Gemeinschaft (ph.)
New
Undecided
Unassigned

Bug Description

Für die Verbindung zwischen dem Voip Dienst von A1 (Österreichischer Mobilfunker) und Gemeinschaft ist die Ausgabe von
/opt/gemeinschaft/etc/asterisk/sip-register.conf.php
/opt/gemeinschaft/etc/asterisk/sip-nodes.conf.php
falsch.

cat /tmp/sip-nodes.conf.php.diff
--- sip-nodes.conf.php.orig 2010-04-15 13:12:34.000000000 +0200
+++ sip-nodes.conf.php 2010-04-15 17:50:03.000000000 +0200
@@ -143,6 +143,13 @@ while ($gw = $rs->fetchRow()) {
        //$params['fromdomain' ] = 'gemeinschaft.localdomain';
        $params['fromdomain' ] = null;
        $params['fromuser' ] = null;
+
+ # special settings for A1.net
+ if ($gw['proxy'] == 'sip.a1.net') {
+ $canreinvite = 'no';
+ $params['fromdomain'] = 'a1.net';
+ $params['fromuser'] = $gw['user'];
+ }

        if (preg_match('/@([^@]*)$/', $gw['user'], $m)) {
                # set domain in the From header

cat /tmp/sip-register.conf.php.diff
--- sip-register.conf.php.orig 2010-04-15 12:33:22.000000000 +0200
+++ sip-register.conf.php 2010-04-20 18:28:47.000000000 +0200
@@ -112,6 +112,12 @@ WHERE
 ORDER BY `g`.`id`'
 );
 while ($gw = $rs->fetchRow()) {
+# check A1/Vodafone
+ if ($gw['proxy'] == 'sip.a1.net'){
+ echo 'register => ', $gw['user'],":",$gw['pwd'], "@" , $gw['fromdomain'] , $gw['name'] , "/",$gw['user']; # user
+ continue;
+ }
+
        if ($gw['host'] != '' && $gw['user'] != '') {

                if ($gw['proxy'] == null || $gw['proxy'] === $gw['host']) {

Revision history for this message
mikeanderl (michael-anderl) wrote :
Revision history for this message
mikeanderl (michael-anderl) wrote :
Revision history for this message
Philipp Kempgen (philipp-kempgen) wrote :

Patch ist nicht mehr notwendig, oder?

Changed in gemeinschaft-amooma:
status: New → Incomplete
Changed in gemeinschaft:
status: New → Incomplete
Revision history for this message
mikeanderl (michael-anderl) wrote :

der patch ist noch notwendig um A1/Vodafone (AUSTRIA) zu verbinden.

Changed in gemeinschaft-amooma:
status: Incomplete → New
Changed in gemeinschaft:
status: Incomplete → New
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.