VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
mgende at gendesign.com Guest
|
Posted: Tue Sep 29, 2009 11:27 am Post subject: [Freeswitch-users] More than One DID |
|
|
Say, could someone please direct me to information on registering more than one DID with a SIP provider?
When I try this using two XML files in ~/conf/sip_profiles/external, I find only one or the other registers (both work fine when I use them separately).
I don't think the issue is with the provider as we had both DIDs working on our old VoIP server. I'm using the same info.
I'm still pretty new, so I suspect the answer is in front of my face. I could use a nudge.
Regards,
Mike G. |
|
Back to top |
|
|
frank at carmickle.com Guest
|
Posted: Tue Sep 29, 2009 11:48 am Post subject: [Freeswitch-users] More than One DID |
|
|
On Tue, Sep 29, Michael Gende wrote:
Quote: | Say, could someone please direct me to information on registering more than
one DID with a SIP provider?
When I try this using two XML files in ~/conf/sip_profiles/external, I find
only one or the other registers (both work fine when I use them separately).
|
Please post your configs with out passwords. Thanks.
--FC
_______________________________________________
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 |
|
Back to top |
|
|
mgende at gendesign.com Guest
|
Posted: Tue Sep 29, 2009 12:04 pm Post subject: [Freeswitch-users] More than One DID |
|
|
Here they are, mildly modified:
~/conf/sip_profiles/external/gateway1212.xml (name changed):
<include>
<gateway name="33.44.55.66">
<param name="username" value="8158381212"/>
<param name="password" value="bloodyblahbloodyblah"/>
<param name="expire-seconds" value="60"/>>
<!--/// do not register if value="false"///-->
<param name="register" value="true"/>
<param name="register-transport" value="udp"/>
<param name="retry-seconds" value="30"/>
<!--Use the callerid of an inbound call in the from field on outbound calls via this gateway -->
<param name="caller-id-in-from" value="false"/>
<param name="contact-params" value="tport=5060"/>
<!--send an options ping every x seconds, failure will unregister and/or mark it down-->
<param name="ping" value="25"/>
</gateway>
</include>
~/conf/sip_profiles/external/gateway1234.xml (name changed for pseudo tn):
<include>
<gateway name="33.44.55.66">
<param name="username" value="8158381234"/>
<param name="password" value="blahbloodyblahblahblah"/>
<param name="expire-seconds" value="60"/>>
<!--/// do not register if value="false"///-->
<param name="register" value="true"/>
<param name="register-transport" value="udp"/>
<param name="retry-seconds" value="30"/>
<!--Use the callerid of an inbound call in the from field on outbound calls via this gateway -->
<param name="caller-id-in-from" value="false"/>
<param name="contact-params" value="tport=5060"/>
<!--send an options ping every x seconds, failure will unregister and/or mark it down-->
<param name="ping" value="25"/>
</gateway>
</include>
The gateway name is the same for both. Note that each registers and passes calls both ways on their own. I'd like to use 'em at the same time.
Thanks for having a look.
Mike G.
On Tue, Sep 29, 2009 at 11:21 AM, Frank Carmickle <frank@carmickle.com (frank@carmickle.com)> wrote:
Quote: | On Tue, Sep 29, Michael Gende wrote:
Quote: | Say, could someone please direct me to information on registering more than
one DID with a SIP provider?
When I try this using two XML files in ~/conf/sip_profiles/external, I find
only one or the other registers (both work fine when I use them separately).
|
Please post your configs with out passwords. Thanks.
--FC
|
|
|
Back to top |
|
|
frank at carmickle.com Guest
|
Posted: Tue Sep 29, 2009 12:27 pm Post subject: [Freeswitch-users] More than One DID |
|
|
On Tue, Sep 29, Michael Gende wrote:
Quote: | Here they are, mildly modified:
~/conf/sip_profiles/external/gateway1212.xml (name changed):
<include>
<gateway name="33.44.55.66">
<param name="username" value="8158381212"/>
<param name="password" value="bloodyblahbloodyblah"/>
<param name="expire-seconds" value="60"/>>
<!--/// do not register if value="false"///-->
<param name="register" value="true"/>
<param name="register-transport" value="udp"/>
<param name="retry-seconds" value="30"/>
<!--Use the callerid of an inbound call in the from field on
outbound calls via this gateway -->
<param name="caller-id-in-from" value="false"/>
<param name="contact-params" value="tport=5060"/>
<!--send an options ping every x seconds, failure will unregister
and/or mark it down-->
<param name="ping" value="25"/>
</gateway>
</include>
~/conf/sip_profiles/external/gateway1234.xml (name changed for pseudo tn):
<include>
<gateway name="33.44.55.66">
<param name="username" value="8158381234"/>
<param name="password" value="blahbloodyblahblahblah"/>
<param name="expire-seconds" value="60"/>>
<!--/// do not register if value="false"///-->
<param name="register" value="true"/>
<param name="register-transport" value="udp"/>
<param name="retry-seconds" value="30"/>
<!--Use the callerid of an inbound call in the from field on
outbound calls via this gateway -->
<param name="caller-id-in-from" value="false"/>
<param name="contact-params" value="tport=5060"/>
<!--send an options ping every x seconds, failure will unregister
and/or mark it down-->
<param name="ping" value="25"/>
</gateway>
</include>
The gateway name is the same for both. Note that each registers and passes
calls both ways on their own. I'd like to use 'em at the same time.
|
This is what I was suspecting. You can't have two gateways with the same name. If you need to have them be the same domain set that with the option
<param name="realm" value="33.44.55.66"/>
HTH
--FC
_______________________________________________
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 |
|
Back to top |
|
|
dave at 3c.co.uk Guest
|
Posted: Tue Sep 29, 2009 12:34 pm Post subject: [Freeswitch-users] More than One DID |
|
|
Hi Mike,
You might want to try putting them in different profiles (maybe one on
port 5080, one on 5082?) so that the provider sees them as coming from
distinct places - that way they should let you use both at once, rather
than just seeing whichever was the last to register.
Cheers --
Dave
Quote: | Here they are, mildly modified:
~/conf/sip_profiles/external/gateway1212.xml (name changed):
<include>
<gateway name="33.44.55.66">
<param name="username" value="8158381212"/>
<param name="password" value="bloodyblahbloodyblah"/>
<param name="expire-seconds" value="60"/>>
<!--/// do not register if value="false"///-->
<param name="register" value="true"/>
<param name="register-transport" value="udp"/>
<param name="retry-seconds" value="30"/>
<!--Use the callerid of an inbound call in the from field on
outbound calls via this gateway -->
<param name="caller-id-in-from" value="false"/>
<param name="contact-params" value="tport=5060"/>
<!--send an options ping every x seconds, failure will
unregister and/or mark it down-->
<param name="ping" value="25"/>
</gateway>
</include>
~/conf/sip_profiles/external/gateway1234.xml (name changed for pseudo
tn):
<include>
<gateway name="33.44.55.66">
<param name="username" value="8158381234"/>
<param name="password" value="blahbloodyblahblahblah"/>
<param name="expire-seconds" value="60"/>>
<!--/// do not register if value="false"///-->
<param name="register" value="true"/>
<param name="register-transport" value="udp"/>
<param name="retry-seconds" value="30"/>
<!--Use the callerid of an inbound call in the from field on
outbound calls via this gateway -->
<param name="caller-id-in-from" value="false"/>
<param name="contact-params" value="tport=5060"/>
<!--send an options ping every x seconds, failure will
unregister and/or mark it down-->
<param name="ping" value="25"/>
</gateway>
</include>
The gateway name is the same for both. Note that each registers and
passes calls both ways on their own. I'd like to use 'em at the same
time.
Thanks for having a look.
Mike G.
On Tue, Sep 29, 2009 at 11:21 AM, Frank Carmickle
<frank@carmickle.com> wrote:
On Tue, Sep 29, Michael Gende wrote:
Quote: | Say, could someone please direct me to information on
| registering more than
Quote: | one DID with a SIP provider?
When I try this using two XML files in
| ~/conf/sip_profiles/external, I find
Quote: | only one or the other registers (both work fine when I use
| them separately).
Please post your configs with out passwords. Thanks.
--FC
_______________________________________________
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
| --
David Knell, Director, 3C Limited
T: +44 20 3298 2000
E: dave@3c.co.uk
W: http://www.3c.co.uk
_______________________________________________
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 |
|
Back to top |
|
|
mgende at gendesign.com Guest
|
Posted: Tue Sep 29, 2009 12:37 pm Post subject: [Freeswitch-users] More than One DID |
|
|
Thanks for the advice, Dave. Most appreciated.
Regards,
Mike G.
On Tue, Sep 29, 2009 at 12:11 PM, David Knell <dave@3c.co.uk (dave@3c.co.uk)> wrote:
Quote: | Hi Mike,
You might want to try putting them in different profiles (maybe one on
port 5080, one on 5082?) so that the provider sees them as coming from
distinct places - that way they should let you use both at once, rather
than just seeing whichever was the last to register.
Cheers --
Dave
|
|
|
Back to top |
|
|
mgende at gendesign.com Guest
|
Posted: Tue Sep 29, 2009 1:01 pm Post subject: [Freeswitch-users] More than One DID |
|
|
I'll try it. Many thanks.
On Tue, Sep 29, 2009 at 12:03 PM, Frank Carmickle <frank@carmickle.com (frank@carmickle.com)> wrote:
Quote: | On Tue, Sep 29, Michael Gende wrote:
Quote: | Here they are, mildly modified:
~/conf/sip_profiles/external/gateway1212.xml (name changed):
<include>
<gateway name="33.44.55.66">
<param name="username" value="8158381212"/>
<param name="password" value="bloodyblahbloodyblah"/>
<param name="expire-seconds" value="60"/>>
<!--/// do not register if value="false"///-->
<param name="register" value="true"/>
<param name="register-transport" value="udp"/>
<param name="retry-seconds" value="30"/>
<!--Use the callerid of an inbound call in the from field on
outbound calls via this gateway -->
<param name="caller-id-in-from" value="false"/>
<param name="contact-params" value="tport=5060"/>
<!--send an options ping every x seconds, failure will unregister
and/or mark it down-->
<param name="ping" value="25"/>
</gateway>
</include>
~/conf/sip_profiles/external/gateway1234.xml (name changed for pseudo tn):
<include>
<gateway name="33.44.55.66">
<param name="username" value="8158381234"/>
<param name="password" value="blahbloodyblahblahblah"/>
<param name="expire-seconds" value="60"/>>
<!--/// do not register if value="false"///-->
<param name="register" value="true"/>
<param name="register-transport" value="udp"/>
<param name="retry-seconds" value="30"/>
<!--Use the callerid of an inbound call in the from field on
outbound calls via this gateway -->
<param name="caller-id-in-from" value="false"/>
<param name="contact-params" value="tport=5060"/>
<!--send an options ping every x seconds, failure will unregister
and/or mark it down-->
<param name="ping" value="25"/>
</gateway>
</include>
The gateway name is the same for both. Note that each registers and passes
calls both ways on their own. I'd like to use 'em at the same time.
|
This is what I was suspecting. You can't have two gateways with the same name. If you need to have them be the same domain set that with the option
<param name="realm" value="33.44.55.66"/>
HTH
--FC
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
|
|
|
Back to top |
|
|
mgende at gendesign.com Guest
|
Posted: Tue Sep 29, 2009 1:10 pm Post subject: [Freeswitch-users] More than One DID |
|
|
That did it, Frank. You're good deed for the day.
Mike G.
On Tue, Sep 29, 2009 at 12:20 PM, Michael Gende <mgende@gendesign.com (mgende@gendesign.com)> wrote:
Quote: | I'll try it. Many thanks.
On Tue, Sep 29, 2009 at 12:03 PM, Frank Carmickle <frank@carmickle.com (frank@carmickle.com)> wrote:
Quote: | On Tue, Sep 29, Michael Gende wrote:
Quote: | Here they are, mildly modified:
~/conf/sip_profiles/external/gateway1212.xml (name changed):
<include>
<gateway name="33.44.55.66">
<param name="username" value="8158381212"/>
<param name="password" value="bloodyblahbloodyblah"/>
<param name="expire-seconds" value="60"/>>
<!--/// do not register if value="false"///-->
<param name="register" value="true"/>
<param name="register-transport" value="udp"/>
<param name="retry-seconds" value="30"/>
<!--Use the callerid of an inbound call in the from field on
outbound calls via this gateway -->
<param name="caller-id-in-from" value="false"/>
<param name="contact-params" value="tport=5060"/>
<!--send an options ping every x seconds, failure will unregister
and/or mark it down-->
<param name="ping" value="25"/>
</gateway>
</include>
~/conf/sip_profiles/external/gateway1234.xml (name changed for pseudo tn):
<include>
<gateway name="33.44.55.66">
<param name="username" value="8158381234"/>
<param name="password" value="blahbloodyblahblahblah"/>
<param name="expire-seconds" value="60"/>>
<!--/// do not register if value="false"///-->
<param name="register" value="true"/>
<param name="register-transport" value="udp"/>
<param name="retry-seconds" value="30"/>
<!--Use the callerid of an inbound call in the from field on
outbound calls via this gateway -->
<param name="caller-id-in-from" value="false"/>
<param name="contact-params" value="tport=5060"/>
<!--send an options ping every x seconds, failure will unregister
and/or mark it down-->
<param name="ping" value="25"/>
</gateway>
</include>
The gateway name is the same for both. Note that each registers and passes
calls both ways on their own. I'd like to use 'em at the same time.
|
This is what I was suspecting. You can't have two gateways with the same name. If you need to have them be the same domain set that with the option
<param name="realm" value="33.44.55.66"/>
HTH
--FC
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
|
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|