Thorsten Lockert wrote:

Yes, this is correct.
Wonderful. Thank you!

This makes the confusion about SIP addressing disappear. It will be much
easier to see the difference. Great stuff.

/O


-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Olle E. Johansson Sent: Monday, November 24, 2003 8:49 To: [EMAIL PROTECTED] Subject: [Asterisk-Dev] Re: [Asterisk-cvs] asterisk/channels chan_sip.c,1.248,1.249

Do I understand correctly that we now are able to dial a SIP peer
like
    SIP/freeworlddialup/21343

Where [freeworlddialup] is defined in sip.conf

...and dial SIP URLs with
    SIP/[EMAIL PROTECTED]

That would be much more simple to explain to newbies. The old syntax was a
bit
confusing, at least to me before I read the manual...

/O

[EMAIL PROTECTED] wrote:


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv25810/channels

Modified Files:
chan_sip.c Log Message:
Allow SIP/peer/exten like IAX



Index: chan_sip.c =================================================================== RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v retrieving revision 1.248 retrieving revision 1.249 diff -u -d -r1.248 -r1.249 --- chan_sip.c 21 Nov 2003 05:20:43 -0000 1.248 +++ chan_sip.c 24 Nov 2003 01:49:43 -0000 1.249 @@ -5673,8 +5673,15 @@ host++; ext = tmp; } else { - host = tmp; - ext = NULL; + ext = strchr(tmp, '/'); + if (ext) { + *ext++ = '\0'; + host = tmp; + } + else { + host = tmp; + ext = NULL; + } }

/* Assign a default capability */





_______________________________________________
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev

_______________________________________________
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev



--
*** Olle E. Johansson, [EMAIL PROTECTED]

Mobile +46 70 593 68 51, Edvina AB, http://www.edvina.net
Runbov�gen 10, 192 48 Sollentuna, Sweden
Phone: +46 8 594 78 810, Fax: +46 8 594 78 820


_______________________________________________ Asterisk-Dev mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to