I'm still stuck this/my problem.

Even if I create a friend entry and register my softphone directly to
Asterisk, the Dail(${EXTEN},entity) seems to replace the From: part with the


From: "3400009525" <sip:[EMAIL PROTECTED]:5065> part instead of the 
From: "3400009525" <sip:[EMAIL PROTECTED]>

So if I would add that incoming call to my addressbook the sip URI is wrong.

I'm thinking something in the way of fromuser=${SIPCALLID} would be needed
for this?

I'm also not able to get Asterisk out of the mediastream, I've set the
canreinvite options to yes, but still asterisk stays in the stream.

I've made a SIP scenario trace of the callsetup, I'm a bit puzzled by the 2
time call setup?

Kind regards,

E. Versaevel





-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens E. Versaevel
Verzonden: donderdag 18 november 2004 13:53
Aan: [EMAIL PROTECTED]
Onderwerp: [Asterisk-Users] RE: Setup/SIP routing



The problem is that that should be dynamic :/

Take a look at this sip msg:

        INVITE sip:[EMAIL PROTECTED]:5061 SIP/2.0
        Max-Forwards: 10
        Record-Route: <sip:[EMAIL PROTECTED];ftag=as3f718642;lr=on>
        Via: SIP/2.0/UDP ser.box;branch=z9hG4bK93dc.71ad80b3.0
        Via: SIP/2.0/UDP ser.box:5065;branch=z9hG4bK513b584d
        From: "3400009525" <sip:[EMAIL PROTECTED]:5065>;tag=as3f718642
        To: <sip:[EMAIL PROTECTED]>
        Contact: <sip:[EMAIL PROTECTED]:5065>
        Call-ID: [EMAIL PROTECTED]
        CSeq: 102 INVITE
        User-Agent: Asterisk PBX
        Date: Thu, 18 Nov 2004 12:46:51 GMT
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
        Content-Type: application/sdp
        Content-Length: 220
        P-hint: USRLOC

        v=0
        o=root 26383 26383 IN IP4 ser.box
        s=session
        c=IN IP4 ser.box
        t=0 0
        m=audio 14682 RTP/AVP 0 101
        a=rtpmap:0 PCMU/8000
        a=rtpmap:101 telephone-event/8000
        a=fmtp:101 0-16
        a=silenceSupp:off - - - -

As you can see the from user is not correct, this should be
[EMAIL PROTECTED] If a user adds this entry to a phonebook, the contact
info will be wrong.




-----Oorspronkelijk bericht-----
Van: Benjamin on Asterisk Mailing Lists
[mailto:[EMAIL PROTECTED] 
Verzonden: donderdag 18 november 2004 11:41
Aan: E. Versaevel
Onderwerp: Re: [Asterisk-Users] Setup/SIP routing

Hi

On Thu, 18 Nov 2004 11:32:08 +0100, E. Versaevel <[EMAIL PROTECTED]> wrote:
> However, I'm having troubles routing incoming sip traffic to SER,
asterisks
> keeps messing up the form header (replacing it by the dialed context, ie
> [EMAIL PROTECTED] )

You can control what Asterisk puts into the FROM header through the
parameters "fromuser" and "fromdomain" in sip.conf.

regards
benjamin
-- 
Sunrise Telephone Systems, 9F Shibuya Daikyo Bldg., 1-13-5 Shibuya,
Tokyo, Japan.

NB: Spam filters in place. Messages unrelated to the * mailing lists
may get trashed.

_______________________________________________
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
IpTel                                              Asterisk                     
                      SER                                                
SoftPhone
|                                                  |                            
                      |                                                  | 
<Call><PFrame><Time>
|                                                  |                            
                      |                                                  |
|>F1 INVITE (sdp)--------------------------------->|                            
                      |                                                  |  1 
PF:70  09:27:15.7777
|                                                  |                            
                      |                                                  |
|<---------------------------------- Trying 100 F2<|                            
                      |                                                  |  1 
PF:71  09:27:15.7783
|                                                  |                            
                      |                                                  |
|                                                  |>F3 INVITE 
(sdp)--------------------------------->|                                        
          |  2 PF:72  09:27:15.7789
|                                                  |                            
                      |                                                  |
|                                                  |<-- trying -- your call is 
important to us 100 F4<|                                                  |  2 
PF:73  09:27:15.7795
|                                                  |                            
                      |                                                  |
|                                                  |                            
                      |>F5 INVITE (sdp)--------------------------------->|  2 
PF:74  09:27:15.7795
|                                                  |                            
                      |                                                  |
|                                                  |                            
                      |<---------------------------------- Trying 100 F6<|  2 
PF:75  09:27:15.8200
|                                                  |                            
                      |                                                  |
|                                                  |                            
                      |<--------------------------------- Ringing 180 F7<|  2 
PF:76  09:27:15.9317
|                                                  |                            
                      |                                                  |
|                                                  
|<--------------------------------- Ringing 180 F8<|                            
                      |  2 PF:77  09:27:15.9321
|                                                  |                            
                      |                                                  |
|<--------------------------------- Ringing 180 F9<|                            
                      |                                                  |  1 
PF:78  09:27:15.9326
|                                                  |                            
                      |                                                  |
|                                                  |                            
                      |<--------------------------------(sdp) Ok 200 F10<|  2 
PF:100 09:27:17.9523
|                                                  |                            
                      |                                                  |
|                                                  
|<--------------------------------(sdp) Ok 200 F11<|                            
                      |  2 PF:102 09:27:17.9527
|                                                  |                            
                      |                                                  |
|                                                  |>F12 ACK 
---------------------------------------->|                                      
            |  2 PF:103 09:27:17.9533
|                                                  |                            
                      |                                                  |
|<--------------------------------(sdp) OK 200 F13<|                            
                      |                                                  |  1 
PF:104 09:27:17.9535
|                                                  |                            
                      |                                                  |
|                                                  |>F14 INVITE 
(sdp)-------------------------------->|                                         
         |  2 PF:105 09:27:17.9537
|                                                  |                            
                      |                                                  |
|                                                  |                            
                      |>F15 ACK ---------------------------------------->|  2 
PF:106 09:27:17.9543
|                                                  |                            
                      |                                                  |
|                                                  |<- trying -- your call is 
important to us 100 F16<|                                                  |  2 
PF:107 09:27:17.9550
|                                                  |                            
                      |                                                  |
|                                                  |                            
                      |>F17 INVITE (sdp)-------------------------------->|  2 
PF:108 09:27:17.9551
|                                                  |                            
                      |                                                  |
|                                                  |                            
                      |>F18 INVITE (sdp)-------------------------------->|  2 
PF:115 09:27:17.9815
|                                                  |                            
                      |                                                  |
|                                                  |                            
                      |<--------------------------------- Trying 100 F19<|  2 
PF:117 09:27:17.9982
|                                                  |                            
                      |                                                  |
|                                                  |                            
                      |<--------------------------------(sdp) Ok 200 F20<|  2 
PF:118 09:27:18.0380
|                                                  |                            
                      |                                                  |
|                                                  
|<--------------------------------(sdp) Ok 200 F21<|                            
                      |  2 PF:119 09:27:18.0383
|                                                  |                            
                      |                                                  |
|                                                  |>F22 ACK 
---------------------------------------->|                                      
            |  2 PF:120 09:27:18.0388
|                                                  |                            
                      |                                                  |
|                                                  |                            
                      |>F23 ACK ---------------------------------------->|  2 
PF:121 09:27:18.0393
|                                                  |                            
                      |                                                  |
|>F24 ACK ---------------------------------------->|                            
                      |                                                  |  1 
PF:122 09:27:18.1052
|                                                  |                            
                      |                                                  |
|<--------------------------------(sdp) INVITE F25<|                            
                      |                                                  |  1 
PF:123 09:27:18.1055
|                                                  |                            
                      |                                                  |
|>F26 100 trying -- your call is important to us ->|                            
                      |                                                  |  1 
PF:124 09:27:18.1364
|                                                  |                            
                      |                                                  |
|>F27 200 OK (sdp)-------------------------------->|                            
                      |                                                  |  1 
PF:181 09:27:19.6946
|                                                  |                            
                      |                                                  |
|<---------------------------------------- ACK F28<|                            
                      |                                                  |  1 
PF:182 09:27:19.6949

_______________________________________________
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