2 Sipgate.de accounts - second one does not register
Hello, I have two sipgate.de accounts and would like to attache them both at the same time to freeswitch. My problem is that I am not sure how to dial out using the second account. For the first one I can do: <action application="bridge" data="sofia/gateway/sipgate.de/$1@sipgate.de"/> and everything works, but for the second one I always get: [INVALID_NUMBER_FORMAT] Whatever combination I try. E.g. "sofia/gateway/sipgate2/$1@sipgate.de" or "sofia/gateway/sipgate.de/$1@sipgate2" My sip profile looks like this: <include> <gateway name="sipgate.de"> <param name="realm" value="sipgate.de"/> <param name="proxy" value="sipgate.de"/> <param name="username" value="******"/> <param name="password" value="******"/> <param name="extension" value="10000"/> </gateway> </include> <include> <gateway name="sipgate2"> <param name="realm" value="sipgate.de"/> <param name="proxy" value="sipgate.de"/> <param name="username" value="******"/> <param name="password" value="******"/> <param name="extension" value="10000"/> </gateway> </include> I tried to change gateway name with realm, but no luck. Thank you very much for your help. Phil -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
Show me the full extension. /b On Dec 21, 2008, at 5:55 PM, can_man@gmx.de wrote:
<action application="bridge" data="sofia/gateway/sipgate.de/$1@sipgate.de "/>
and everything works, but for the second one I always get: [INVALID_NUMBER_FORMAT] Whatever combination I try. E.g. "sofia/gateway/sipgate2/$1@sipgate.de " or "sofia/gateway/sipgate.de/$1@sipgate2"
Show me the full extension.
This extension with sipgate.de works for the single number specified, however when I change it to sipgate2 it doesn't. <extension name="Long Distance"> <condition field="destination_number" expression="^(0708351963)$"> <action application="set" data="effective_caller_id_name=John Freeswitch"/> <action application="set" data="effective_caller_id_number=07083970139"/> <action application="bridge" data="sofia/gateway/sipgate.de/$1@sipgate.de"/> </condition> </extension> Thanks for your help. Phil
On Dec 21, 2008, at 5:55 PM, can_man@gmx.de wrote:
<action application="bridge" data="sofia/gateway/sipgate.de/$1@sipgate.de "/>
and everything works, but for the second one I always get: [INVALID_NUMBER_FORMAT] Whatever combination I try. E.g. "sofia/gateway/sipgate2/$1@sipgate.de " or "sofia/gateway/sipgate.de/$1@sipgate2"
-- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
Hello, I know, no top posting, but I want to say that I resolved my problem. Don't ask me why exactly it works now, but after I removed the effective caller_id_number it works like this: <extension name="Long Distance"> <condition field="destination_number" expression="^(0708351963)$"> <action application="bridge" data="sofia/gateway/sipgate2/$1@sipgate.de"/> </condition> </extension> <include> <gateway name="sipgate.de"> <param name="realm" value="sipgate.de"/> <param name="proxy" value="sipgate.de"/> <param name="username" value="******"/> <param name="password" value="******"/> <param name="extension" value="10000"/> <param name="register" value="true"/> </gateway> </include> <include> <gateway name="sipgate2"> <param name="realm" value="sipgate.de"/> <param name="proxy" value="sipgate.de"/> <param name="username" value="******"/> <param name="password" value="******"/> <param name="extension" value="10000"/> <param name="register" value="true"/> </gateway> </include> I have added a note to the wiki Tested_Phone_Providers_Listing under Sipgate.de Phil
Show me the full extension.
This extension with sipgate.de works for the single number specified, however when I change it to sipgate2 it doesn't.
<extension name="Long Distance"> <condition field="destination_number" expression="^(0708351963)$"> <action application="set" data="effective_caller_id_name=John Freeswitch"/> <action application="set" data="effective_caller_id_number=07083970139"/> <action application="bridge" data="sofia/gateway/sipgate.de/$1@sipgate.de"/> </condition> </extension>
Thanks for your help.
Phil
On Dec 21, 2008, at 5:55 PM, can_man@gmx.de wrote:
<action application="bridge" data="sofia/gateway/sipgate.de/$1@sipgate.de "/>
and everything works, but for the second one I always get: [INVALID_NUMBER_FORMAT] Whatever combination I try. E.g. "sofia/gateway/sipgate2/$1@sipgate.de " or "sofia/gateway/sipgate.de/$1@sipgate2"
-- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
Remove the @sipgate.de it won't work properly if you add that.. you have this setting in the gateway xml so don't add it to the bridge line too. /b On Dec 22, 2008, at 8:05 AM, can_man@gmx.de wrote:
<action application="bridge" data="sofia/gateway/sipgate2/$1@sipgate.de "/>
When dialing via a gateway DO NOT add the @sipgate.de to it. That will cause it to fail. /b On Dec 22, 2008, at 5:06 AM, can_man@gmx.de wrote:
<extension name="Long Distance"> <condition field="destination_number" expression="^(0708351963)$"> <action application="set" data="effective_caller_id_name=John Freeswitch"/> <action application="set" data="effective_caller_id_number=07083970139"/> <action application="bridge" data="sofia/gateway/sipgate.de/$1@sipgate.de "/> </condition> </extension>
When dialing via a gateway DO NOT add the @sipgate.de to it. That will cause it to fail.
Thank you. I have also updated the wiki. Phil -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
participants (2)
-
Brian West
-
can_man@gmx.de