If you have a [provider] peer in sip.conf, what happens if you use a
register command in sip.conf such as:

register => user:[EMAIL PROTECTED]/provider

and in extensions.conf you have:

Dial(SIP/${EXTEN:[EMAIL PROTECTED])


On 5/13/05, Pizco Dominguez <[EMAIL PROTECTED]> wrote:
> Hi.
> 
> I'm new to asterisk and, one way or the other, I manage to get it working
> for me.
> 
> But I'm having a hard time getting calls going to and coming from the
> same provider, since the definition of the peer in sip.conf seems to be
> different AND not compatible for incoming and outgoing call.
> 
> Outgoing calls need a "secret" and "username" definition in the peer
> context of sip.conf, while incoming ones will have nothing to do with
> those fields.
> 
> So I can have incoming or outgoing calls regarding one provider, but not
> both.
> 
> I've also tried the sample sintax
> 
> "exten =>_42X.,1,Dial(SIP/user:[EMAIL PROTECTED]:[EMAIL PROTECTED],30,rT)"
> 
> that comes with the distribution (debian-sarge), but only to get asterisk
> unable to create sip channel because
> 
> "host [EMAIL PROTECTED] doesn't exist". The address
> is that of the provider.
> 
> voip.org and asteriskdocs.org seems to lead me nowhere.
> 
> I must be missing something obvious, but can't figure out what it is.
> 
> Anybody?
> 
> Thanks.
> 
> --
> Pizco Dominguez
> --------------------------------------------------------------------------
> 
> --------------------------------------------------------------------------
> GPGKEY:         gpg --keyserver pgp.rediris.es --recv-key 8DE37A4D
> FINGERPRINT:    85CB 4323 F322 5837 EDB5  2033 6FB2 C326 8DE3 7A4D
> --------------------------------------------------------------------------
> 
> --------------------------------------------------------------------------
> _______________________________________________
> Asterisk-Users mailing list
> [email protected]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to